remove icons optimize alias
This commit is contained in:
@@ -96,7 +96,6 @@
|
|||||||
"generate-webpack-stats-file": "EXPO_PUBLIC_GENERATE_STATS=1 pnpm build-web",
|
"generate-webpack-stats-file": "EXPO_PUBLIC_GENERATE_STATS=1 pnpm build-web",
|
||||||
"open-analyzer": "EXPO_PUBLIC_OPEN_ANALYZER=1 pnpm build-web",
|
"open-analyzer": "EXPO_PUBLIC_OPEN_ANALYZER=1 pnpm build-web",
|
||||||
"icons:generate": "node ./scripts/icons/generate.mts",
|
"icons:generate": "node ./scripts/icons/generate.mts",
|
||||||
"icons:optimize": "pnpm icons:generate",
|
|
||||||
"icons:check": "node ./scripts/icons/generate.mts --check",
|
"icons:check": "node ./scripts/icons/generate.mts --check",
|
||||||
"icons:test": "node --test ./scripts/icons/lib.test.mts",
|
"icons:test": "node --test ./scripts/icons/lib.test.mts",
|
||||||
"prettier": "prettier --check ."
|
"prettier": "prettier --check ."
|
||||||
|
|||||||
@@ -20,9 +20,8 @@ SVG files under `assets/icons/` are the source of truth. Generated components un
|
|||||||
3. Run `pnpm icons:generate` and commit both the SVG and generated TypeScript.
|
3. Run `pnpm icons:generate` and commit both the SVG and generated TypeScript.
|
||||||
|
|
||||||
`pnpm icons:check` verifies that optimized SVGs and generated TypeScript are current.
|
`pnpm icons:check` verifies that optimized SVGs and generated TypeScript are current.
|
||||||
`pnpm icons:test` runs the focused generator tests. `pnpm icons:optimize` remains an alias for
|
`pnpm icons:test` runs the focused generator tests. Generation warns, but does not fail, when a
|
||||||
generation during the workflow transition. Generation warns, but does not fail, when a generated
|
generated icon uses a viewBox other than 24×24 or 64×64.
|
||||||
icon uses a viewBox other than 24×24 or 64×64.
|
|
||||||
|
|
||||||
## Output grouping
|
## Output grouping
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user