1
0
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:
codecalm
2024-03-14 20:11:58 +01:00
parent d6d0dd6c83
commit acda1fdd77

View File

@@ -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'))