@astryxdesign/cli 0.7.11-canary.ec945c9 → 0.7.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +51 -0
- package/api/build/kit/rank.mjs +4 -21
- package/api/build/kit/words.d.mts +0 -1
- package/api/build/kit/words.mjs +1 -1
- package/api/icon/_adapter.d.mts +2 -3
- package/api/icon/_adapter.mjs +2 -8
- package/api/icon/_authoring.d.mts +0 -1
- package/api/icon/_authoring.mjs +66 -586
- package/api/icon/_records.d.mts +1 -1
- package/api/icon/_records.mjs +0 -1
- package/api/icon/add/add.mjs +38 -224
- package/api/icon/icon.type.d.mts +2 -22
- package/api/icon/icon.type.mjs +2 -6
- package/api/icon/iconAdd.doc.mjs +2 -2
- package/api/icon/iconNewDefinition.doc.mjs +2 -3
- package/api/icon/iconNewSet.doc.mjs +4 -4
- package/api/icon/search/search.mjs +9 -10
- package/api/integration/add-helpers.d.mts +1 -11
- package/api/integration/add-helpers.mjs +2 -5
- package/api/integration/authoring-checks.d.mts +2 -0
- package/api/integration/authoring-checks.mjs +6 -1
- package/api/logger.mjs +1 -2
- package/api/swizzle/_adapter.d.mts +0 -1
- package/api/swizzle/_adapter.mjs +1 -4
- package/api/swizzle/copy/copy.d.mts +43 -2
- package/api/swizzle/copy/copy.mjs +314 -194
- package/api/swizzle/swizzle.d.mts +2 -0
- package/api/swizzle/swizzle.doc.mjs +4 -8
- package/api/swizzle/swizzle.mjs +7 -3
- package/api/swizzle/swizzle.type.d.mts +1 -1
- package/api/swizzle/swizzle.type.mjs +2 -2
- package/assets/discover/official-packages.json +0 -12
- package/assets/docs/tree/icon-sets.doc.mjs +5 -11
- package/assets/templates/pages/file-explorer/page.tsx +79 -103
- package/assets/templates/pages/table-grouped/page.tsx +232 -160
- package/assets/templates/pages/table-grouped/template.doc.mjs +2 -0
- package/assets/templates/pages/theme-showcase/page.tsx +792 -724
- package/assets/templates/pages/theme-showcase/template.doc.mjs +5 -4
- package/clients/cli/commands/experimental/icon.mjs +10 -31
- package/clients/cli/commands/experimental-icon-add.doc.mjs +1 -1
- package/clients/cli/commands/experimental-icon-new-definition.doc.mjs +1 -2
- package/clients/cli/commands/experimental-icon-new-set.doc.mjs +2 -2
- package/clients/cli/commands/swizzle.doc.mjs +3 -6
- package/clients/cli/commands/swizzle.mjs +9 -8
- package/foundation/discovery/component-loader.d.mts +1 -1
- package/foundation/discovery/doc-types.mjs +2 -9
- package/foundation/discovery/icon-ranking.d.mts +3 -27
- package/foundation/discovery/icon-ranking.mjs +8 -125
- package/foundation/discovery/icon-set-checks.mjs +35 -44
- package/foundation/discovery/icon-set-discovery.d.mts +0 -13
- package/foundation/discovery/icon-set-discovery.mjs +0 -25
- package/foundation/discovery/icon-set-writer.d.mts +16 -238
- package/foundation/discovery/icon-set-writer.mjs +79 -676
- package/foundation/discovery/module-exports.d.mts +2 -3
- package/foundation/discovery/module-exports.mjs +37 -167
- package/foundation/fs/paths.d.mts +1 -2
- package/foundation/fs/paths.mjs +4 -3
- package/package.json +6 -6
- package/api/icon/_default-look.d.mts +0 -155
- package/api/icon/_default-look.mjs +0 -474
- package/api/swizzle/_moduleGraph.d.mts +0 -162
- package/api/swizzle/_moduleGraph.mjs +0 -754
- package/foundation/text/shell-arg.d.mts +0 -14
- package/foundation/text/shell-arg.mjs +0 -17
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
// @generated by scripts/sync-api-types.mjs from the JSDoc in foundation/**/*.mjs.
|
|
2
|
-
// DO NOT EDIT — run `pnpm sync:api-types` to regenerate.
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* @file One command-line word for a printed command: a value as written when
|
|
6
|
-
* the shell reads it as one plain word, else single-quoted, so a printed
|
|
7
|
-
* command runs as printed and never substitutes anything.
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* A value as one shell word.
|
|
11
|
-
* @param {string} value
|
|
12
|
-
* @returns {string}
|
|
13
|
-
*/
|
|
14
|
-
export function shellArg(value: string): string;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* @file One command-line word for a printed command: a value as written when
|
|
5
|
-
* the shell reads it as one plain word, else single-quoted, so a printed
|
|
6
|
-
* command runs as printed and never substitutes anything.
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* A value as one shell word.
|
|
11
|
-
* @param {string} value
|
|
12
|
-
* @returns {string}
|
|
13
|
-
*/
|
|
14
|
-
export function shellArg(value) {
|
|
15
|
-
if (/^[A-Za-z0-9@/._-]+$/.test(value)) return value;
|
|
16
|
-
return `'${value.replace(/'/g, `'\\''`)}'`;
|
|
17
|
-
}
|