mirror of
https://github.com/tabler/tabler-icons.git
synced 2025-08-29 16:50:15 +02:00
update icons script
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
import { globSync, glob } from 'glob'
|
||||
import { globSync } from 'glob'
|
||||
import fs from 'fs'
|
||||
import path from 'path'
|
||||
import { ICONS_SRC_DIR, getMaxUnicode, getArgvs, getPackageJson } from './helpers.mjs'
|
||||
|
||||
const argv = getArgvs(),
|
||||
newVersion = argv['new-version']
|
||||
pkg = getPackageJson(),
|
||||
newVersion = argv['new-version'] || pkg.version
|
||||
|
||||
const files = globSync(path.join(ICONS_SRC_DIR, '**/*.svg'))
|
||||
|
||||
|
Reference in New Issue
Block a user