@styleframe/cli 4.1.0 → 4.1.1
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 +9 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +4 -0
- package/dist/index.d.mts +4 -0
- package/dist/index.d.ts +4 -3
- package/dist/index.js +1 -1
- package/package.json +15 -9
- package/dist/commands/build.d.ts +0 -22
- package/dist/commands/build.d.ts.map +0 -1
- package/dist/commands/dtcg/build-dtcg.d.ts +0 -36
- package/dist/commands/dtcg/build-dtcg.d.ts.map +0 -1
- package/dist/commands/dtcg/build-dtcg.test.d.ts +0 -2
- package/dist/commands/dtcg/build-dtcg.test.d.ts.map +0 -1
- package/dist/commands/dtcg/evaluate.d.ts +0 -30
- package/dist/commands/dtcg/evaluate.d.ts.map +0 -1
- package/dist/commands/dtcg/evaluate.test.d.ts +0 -2
- package/dist/commands/dtcg/evaluate.test.d.ts.map +0 -1
- package/dist/commands/dtcg/export.d.ts +0 -24
- package/dist/commands/dtcg/export.d.ts.map +0 -1
- package/dist/commands/dtcg/import.d.ts +0 -38
- package/dist/commands/dtcg/import.d.ts.map +0 -1
- package/dist/commands/dtcg/index.d.ts +0 -3
- package/dist/commands/dtcg/index.d.ts.map +0 -1
- package/dist/commands/figma/export.d.ts +0 -24
- package/dist/commands/figma/export.d.ts.map +0 -1
- package/dist/commands/figma/import.d.ts +0 -38
- package/dist/commands/figma/import.d.ts.map +0 -1
- package/dist/commands/figma/index.d.ts +0 -3
- package/dist/commands/figma/index.d.ts.map +0 -1
- package/dist/commands/init/nuxt.d.ts +0 -2
- package/dist/commands/init/nuxt.d.ts.map +0 -1
- package/dist/commands/init/vite.d.ts +0 -2
- package/dist/commands/init/vite.d.ts.map +0 -1
- package/dist/commands/init.d.ts +0 -26
- package/dist/commands/init.d.ts.map +0 -1
- package/dist/constants.d.ts +0 -8
- package/dist/constants.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/utils.d.ts +0 -7
- package/dist/utils.d.ts.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @styleframe/cli
|
|
2
2
|
|
|
3
|
+
## 4.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#238](https://github.com/styleframe-dev/styleframe/pull/238) [`4ace91d`](https://github.com/styleframe-dev/styleframe/commit/4ace91d5e15020c29d585848ee66f6250946b2d1) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Bundle type declarations on build. The shared Vite config now enables `vite-plugin-dts`'s `bundleTypes`, so each package ships a single rolled-up `.d.ts` per entry (via `@microsoft/api-extractor`) instead of a tree of per-file declarations. `@microsoft/api-extractor` is now a peer dependency of `@styleframe/config-vite`.
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`4ace91d`](https://github.com/styleframe-dev/styleframe/commit/4ace91d5e15020c29d585848ee66f6250946b2d1)]:
|
|
10
|
+
- @styleframe/loader@3.0.3
|
|
11
|
+
|
|
3
12
|
## 4.1.0
|
|
4
13
|
|
|
5
14
|
### Minor Changes
|
package/dist/index.cjs
CHANGED
package/dist/index.d.cts
ADDED
package/dist/index.d.mts
ADDED
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
export default
|
|
3
|
-
|
|
1
|
+
declare function run(): void;
|
|
2
|
+
export default run;
|
|
3
|
+
|
|
4
|
+
export { }
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@styleframe/cli",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.1",
|
|
4
4
|
"description": "A command-line interface for styleframe.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -8,9 +8,14 @@
|
|
|
8
8
|
"main": "./dist/index.cjs",
|
|
9
9
|
"exports": {
|
|
10
10
|
".": {
|
|
11
|
-
"
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
"import": {
|
|
12
|
+
"types": "./dist/index.d.mts",
|
|
13
|
+
"default": "./dist/index.js"
|
|
14
|
+
},
|
|
15
|
+
"require": {
|
|
16
|
+
"types": "./dist/index.d.cts",
|
|
17
|
+
"default": "./dist/index.cjs"
|
|
18
|
+
}
|
|
14
19
|
}
|
|
15
20
|
},
|
|
16
21
|
"files": [
|
|
@@ -27,15 +32,16 @@
|
|
|
27
32
|
"magicast": "^0.5.0"
|
|
28
33
|
},
|
|
29
34
|
"peerDependencies": {
|
|
30
|
-
"@styleframe/loader": "^3.0.
|
|
35
|
+
"@styleframe/loader": "^3.0.3"
|
|
31
36
|
},
|
|
32
37
|
"devDependencies": {
|
|
38
|
+
"@microsoft/api-extractor": "^7.58.7",
|
|
33
39
|
"@styleframe/config-typescript": "^3.0.0",
|
|
34
|
-
"@styleframe/config-vite": "^3.0
|
|
35
|
-
"@styleframe/core": "^3.6.
|
|
40
|
+
"@styleframe/config-vite": "^3.1.0",
|
|
41
|
+
"@styleframe/core": "^3.6.1",
|
|
36
42
|
"@styleframe/license": "^2.0.2",
|
|
37
|
-
"@styleframe/theme": "^3.
|
|
38
|
-
"@styleframe/loader": "^3.0.
|
|
43
|
+
"@styleframe/theme": "^3.8.0",
|
|
44
|
+
"@styleframe/loader": "^3.0.3",
|
|
39
45
|
"@vitest/coverage-v8": "^4.1.7",
|
|
40
46
|
"tsx": "^4.20.6",
|
|
41
47
|
"typescript": "^5.8.3",
|
package/dist/commands/build.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
declare const _default: import('citty').CommandDef<{
|
|
2
|
-
entry: {
|
|
3
|
-
type: "positional";
|
|
4
|
-
description: string;
|
|
5
|
-
default: string;
|
|
6
|
-
valueHint: string;
|
|
7
|
-
};
|
|
8
|
-
outputDir: {
|
|
9
|
-
type: "string";
|
|
10
|
-
description: string;
|
|
11
|
-
default: string;
|
|
12
|
-
alias: string[];
|
|
13
|
-
valueHint: string;
|
|
14
|
-
};
|
|
15
|
-
clean: {
|
|
16
|
-
type: "boolean";
|
|
17
|
-
description: string;
|
|
18
|
-
default: false;
|
|
19
|
-
};
|
|
20
|
-
}>;
|
|
21
|
-
export default _default;
|
|
22
|
-
//# sourceMappingURL=build.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../../src/commands/build.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAKA,wBA6CG"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { Root } from '@styleframe/core';
|
|
2
|
-
import { DTCGDocument, DTCGResolverDocument } from '@styleframe/dtcg';
|
|
3
|
-
export interface BuildDTCGOptions {
|
|
4
|
-
collectionName?: string;
|
|
5
|
-
defaultModeName?: string;
|
|
6
|
-
modifierName?: string;
|
|
7
|
-
includeSchema?: boolean;
|
|
8
|
-
schemaUrl?: string;
|
|
9
|
-
/**
|
|
10
|
-
* Filename referenced as the base `set` in the resolver's `resolutionOrder`.
|
|
11
|
-
* Resolver consumers must be able to load this path via their `fileLoader`.
|
|
12
|
-
* Defaults to `"tokens.json"`.
|
|
13
|
-
*/
|
|
14
|
-
tokensSourceRef?: string;
|
|
15
|
-
}
|
|
16
|
-
export interface BuildDiagnostic {
|
|
17
|
-
name: string;
|
|
18
|
-
level: "warn" | "info";
|
|
19
|
-
reason: string;
|
|
20
|
-
}
|
|
21
|
-
export interface BuildDTCGResult {
|
|
22
|
-
tokens: DTCGDocument;
|
|
23
|
-
resolver?: DTCGResolverDocument;
|
|
24
|
-
diagnostics: BuildDiagnostic[];
|
|
25
|
-
emittedCount: number;
|
|
26
|
-
/**
|
|
27
|
-
* Number of tokens whose final value was derived via fluid-unit
|
|
28
|
-
* substitution (`100vw` → max viewport, `rem` → px) rather than direct
|
|
29
|
-
* arithmetic. Useful for the export CLI's diagnostic summary.
|
|
30
|
-
*/
|
|
31
|
-
fluidNormalisedCount: number;
|
|
32
|
-
/** Max viewport (in px) used when substituting `100vw` for fluid tokens. */
|
|
33
|
-
maxViewport: number;
|
|
34
|
-
}
|
|
35
|
-
export declare function buildDTCG(root: Root, options?: BuildDTCGOptions): BuildDTCGResult;
|
|
36
|
-
//# sourceMappingURL=build-dtcg.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"build-dtcg.d.ts","sourceRoot":"","sources":["../../../src/commands/dtcg/build-dtcg.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,IAAI,EAAmB,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAGN,KAAK,YAAY,EAEjB,KAAK,oBAAoB,EAMzB,MAAM,kBAAkB,CAAC;AAY1B,MAAM,WAAW,gBAAgB;IAChC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,eAAe;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,eAAe;IAC/B,MAAM,EAAE,YAAY,CAAC;IACrB,QAAQ,CAAC,EAAE,oBAAoB,CAAC;IAChC,WAAW,EAAE,eAAe,EAAE,CAAC;IAC/B,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B,4EAA4E;IAC5E,WAAW,EAAE,MAAM,CAAC;CACpB;AA4LD,wBAAgB,SAAS,CACxB,IAAI,EAAE,IAAI,EACV,OAAO,GAAE,gBAAqB,GAC5B,eAAe,CAsPjB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"build-dtcg.test.d.ts","sourceRoot":"","sources":["../../../src/commands/dtcg/build-dtcg.test.ts"],"names":[],"mappings":""}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { TokenValue, Variable } from '@styleframe/core';
|
|
2
|
-
export interface EvaluateContext {
|
|
3
|
-
variables: Map<string, Variable>;
|
|
4
|
-
/** Visited variable names — used to detect ref cycles. */
|
|
5
|
-
visited?: Set<string>;
|
|
6
|
-
/**
|
|
7
|
-
* Viewport width in px substituted for `100vw` when reducing fluid
|
|
8
|
-
* expressions. Defaults to `1440` (the styleframe theme's default
|
|
9
|
-
* `fluid.max-width`); pass an explicit value when the project overrides it.
|
|
10
|
-
*/
|
|
11
|
-
maxViewport?: number;
|
|
12
|
-
}
|
|
13
|
-
export interface EvaluatedValue {
|
|
14
|
-
/** Concrete primitive form, or `null` if the expression couldn't be reduced. */
|
|
15
|
-
resolved: string | number | boolean | null;
|
|
16
|
-
/** When the expression is exactly one reference, this is the target name. */
|
|
17
|
-
aliasTarget?: string;
|
|
18
|
-
/** Original CSS-string form, populated when `resolved` is null. */
|
|
19
|
-
cssExpression?: string;
|
|
20
|
-
/** Diagnostic reason, populated when `resolved` is null. */
|
|
21
|
-
reason?: string;
|
|
22
|
-
/**
|
|
23
|
-
* Set when the value was derived via unit substitution (`100vw` → max
|
|
24
|
-
* viewport, `rem` → px) rather than direct arithmetic. Lets callers attach
|
|
25
|
-
* a `dev.styleframe.fluidBound` extension so the substitution is auditable.
|
|
26
|
-
*/
|
|
27
|
-
normalisationSource?: "fluid-max";
|
|
28
|
-
}
|
|
29
|
-
export declare function evaluateValue(value: TokenValue, context: EvaluateContext): EvaluatedValue;
|
|
30
|
-
//# sourceMappingURL=evaluate.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"evaluate.d.ts","sourceRoot":"","sources":["../../../src/commands/dtcg/evaluate.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAGX,UAAU,EACV,QAAQ,EACR,MAAM,kBAAkB,CAAC;AAE1B,MAAM,WAAW,eAAe;IAC/B,SAAS,EAAE,GAAG,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;IACjC,0DAA0D;IAC1D,OAAO,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,cAAc;IAC9B,gFAAgF;IAChF,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAC;IAC3C,6EAA6E;IAC7E,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,mEAAmE;IACnE,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,4DAA4D;IAC5D,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,WAAW,CAAC;CAClC;AAsND,wBAAgB,aAAa,CAC5B,KAAK,EAAE,UAAU,EACjB,OAAO,EAAE,eAAe,GACtB,cAAc,CAuChB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"evaluate.test.d.ts","sourceRoot":"","sources":["../../../src/commands/dtcg/evaluate.test.ts"],"names":[],"mappings":""}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
declare const _default: import('citty').CommandDef<{
|
|
2
|
-
config: {
|
|
3
|
-
type: "string";
|
|
4
|
-
description: string;
|
|
5
|
-
default: string;
|
|
6
|
-
alias: string[];
|
|
7
|
-
valueHint: string;
|
|
8
|
-
};
|
|
9
|
-
output: {
|
|
10
|
-
type: "string";
|
|
11
|
-
description: string;
|
|
12
|
-
default: string;
|
|
13
|
-
alias: string[];
|
|
14
|
-
valueHint: string;
|
|
15
|
-
};
|
|
16
|
-
collection: {
|
|
17
|
-
type: "string";
|
|
18
|
-
description: string;
|
|
19
|
-
default: string;
|
|
20
|
-
alias: string[];
|
|
21
|
-
};
|
|
22
|
-
}>;
|
|
23
|
-
export default _default;
|
|
24
|
-
//# sourceMappingURL=export.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"export.d.ts","sourceRoot":"","sources":["../../../src/commands/dtcg/export.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAQA,wBA8FG"}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
declare const _default: import('citty').CommandDef<{
|
|
2
|
-
input: {
|
|
3
|
-
type: "string";
|
|
4
|
-
description: string;
|
|
5
|
-
required: true;
|
|
6
|
-
alias: string[];
|
|
7
|
-
valueHint: string;
|
|
8
|
-
};
|
|
9
|
-
output: {
|
|
10
|
-
type: "string";
|
|
11
|
-
description: string;
|
|
12
|
-
default: string;
|
|
13
|
-
alias: string[];
|
|
14
|
-
valueHint: string;
|
|
15
|
-
};
|
|
16
|
-
composables: {
|
|
17
|
-
type: "boolean";
|
|
18
|
-
description: string;
|
|
19
|
-
default: true;
|
|
20
|
-
};
|
|
21
|
-
rem: {
|
|
22
|
-
type: "boolean";
|
|
23
|
-
description: string;
|
|
24
|
-
default: false;
|
|
25
|
-
};
|
|
26
|
-
baseFontSize: {
|
|
27
|
-
type: "string";
|
|
28
|
-
description: string;
|
|
29
|
-
default: string;
|
|
30
|
-
};
|
|
31
|
-
instanceName: {
|
|
32
|
-
type: "string";
|
|
33
|
-
description: string;
|
|
34
|
-
default: string;
|
|
35
|
-
};
|
|
36
|
-
}>;
|
|
37
|
-
export default _default;
|
|
38
|
-
//# sourceMappingURL=import.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"import.d.ts","sourceRoot":"","sources":["../../../src/commands/dtcg/import.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAYA,wBA4FG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/dtcg/index.ts"],"names":[],"mappings":";AAEA,wBAUG"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
declare const _default: import('citty').CommandDef<{
|
|
2
|
-
config: {
|
|
3
|
-
type: "string";
|
|
4
|
-
description: string;
|
|
5
|
-
default: string;
|
|
6
|
-
alias: string[];
|
|
7
|
-
valueHint: string;
|
|
8
|
-
};
|
|
9
|
-
output: {
|
|
10
|
-
type: "string";
|
|
11
|
-
description: string;
|
|
12
|
-
default: string;
|
|
13
|
-
alias: string[];
|
|
14
|
-
valueHint: string;
|
|
15
|
-
};
|
|
16
|
-
collection: {
|
|
17
|
-
type: "string";
|
|
18
|
-
description: string;
|
|
19
|
-
default: string;
|
|
20
|
-
alias: string[];
|
|
21
|
-
};
|
|
22
|
-
}>;
|
|
23
|
-
export default _default;
|
|
24
|
-
//# sourceMappingURL=export.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"export.d.ts","sourceRoot":"","sources":["../../../src/commands/figma/export.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AASA,wBAgGG"}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
declare const _default: import('citty').CommandDef<{
|
|
2
|
-
input: {
|
|
3
|
-
type: "string";
|
|
4
|
-
description: string;
|
|
5
|
-
required: true;
|
|
6
|
-
alias: string[];
|
|
7
|
-
valueHint: string;
|
|
8
|
-
};
|
|
9
|
-
output: {
|
|
10
|
-
type: "string";
|
|
11
|
-
description: string;
|
|
12
|
-
default: string;
|
|
13
|
-
alias: string[];
|
|
14
|
-
valueHint: string;
|
|
15
|
-
};
|
|
16
|
-
composables: {
|
|
17
|
-
type: "boolean";
|
|
18
|
-
description: string;
|
|
19
|
-
default: true;
|
|
20
|
-
};
|
|
21
|
-
rem: {
|
|
22
|
-
type: "boolean";
|
|
23
|
-
description: string;
|
|
24
|
-
default: false;
|
|
25
|
-
};
|
|
26
|
-
baseFontSize: {
|
|
27
|
-
type: "string";
|
|
28
|
-
description: string;
|
|
29
|
-
default: string;
|
|
30
|
-
};
|
|
31
|
-
instanceName: {
|
|
32
|
-
type: "string";
|
|
33
|
-
description: string;
|
|
34
|
-
default: string;
|
|
35
|
-
};
|
|
36
|
-
}>;
|
|
37
|
-
export default _default;
|
|
38
|
-
//# sourceMappingURL=import.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"import.d.ts","sourceRoot":"","sources":["../../../src/commands/figma/import.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAYA,wBA0HG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/figma/index.ts"],"names":[],"mappings":";AAEA,wBAUG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nuxt.d.ts","sourceRoot":"","sources":["../../../src/commands/init/nuxt.ts"],"names":[],"mappings":"AASA,wBAAsB,2BAA2B,CAAC,GAAG,EAAE,MAAM,iBAqB5D"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"vite.d.ts","sourceRoot":"","sources":["../../../src/commands/init/vite.ts"],"names":[],"mappings":"AASA,wBAAsB,2BAA2B,CAAC,GAAG,EAAE,MAAM,iBAyB5D"}
|
package/dist/commands/init.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
interface TsConfigOptions {
|
|
2
|
-
/**
|
|
3
|
-
* Whether to add a `compilerOptions.paths` entry mapping `virtual:styleframe`
|
|
4
|
-
* to `styleframe.d.ts`. Required for type-checkers that cannot resolve a
|
|
5
|
-
* bare-specifier ambient `declare module` (e.g. `vue-tsc` inside `.vue` SFCs).
|
|
6
|
-
* When false, both virtual modules resolve from the ambient `shims.d.ts`
|
|
7
|
-
* (picked up via the includes) with zero extra config.
|
|
8
|
-
*/
|
|
9
|
-
paths: boolean;
|
|
10
|
-
}
|
|
11
|
-
export declare function initializeConfigFile(cwd: string): Promise<void>;
|
|
12
|
-
export declare function initializeTsConfig(cwd: string, options: TsConfigOptions): Promise<void>;
|
|
13
|
-
export declare function addPackageJsonDependencies(cwd: string): Promise<void>;
|
|
14
|
-
export declare function initializeFrameworkFile(cwd: string): Promise<void>;
|
|
15
|
-
declare const _default: import('citty').CommandDef<{
|
|
16
|
-
cwd: {
|
|
17
|
-
type: "string";
|
|
18
|
-
required: false;
|
|
19
|
-
default: string;
|
|
20
|
-
description: string;
|
|
21
|
-
alias: string[];
|
|
22
|
-
valueHint: string;
|
|
23
|
-
};
|
|
24
|
-
}>;
|
|
25
|
-
export default _default;
|
|
26
|
-
//# sourceMappingURL=init.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../src/commands/init.ts"],"names":[],"mappings":"AA+BA,UAAU,eAAe;IACxB;;;;;;OAMG;IACH,KAAK,EAAE,OAAO,CAAC;CACf;AA+CD,wBAAsB,oBAAoB,CAAC,GAAG,EAAE,MAAM,iBAWrD;AAuBD,wBAAsB,kBAAkB,CACvC,GAAG,EAAE,MAAM,EACX,OAAO,EAAE,eAAe,iBAyCxB;AAED,wBAAsB,0BAA0B,CAAC,GAAG,EAAE,MAAM,iBAsB3D;AAED,wBAAsB,uBAAuB,CAAC,GAAG,EAAE,MAAM,iBAWxD;;;;;;;;;;;AAED,wBA2BG"}
|
package/dist/constants.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export declare const HOMEPAGE_URL = "https://styleframe.dev";
|
|
2
|
-
export declare const DOCS_URL = "https://styleframe.dev/docs";
|
|
3
|
-
export declare const DOCS_INSTALLATION_VITE_URL = "https://styleframe.dev/docs/getting-started/installation/vite";
|
|
4
|
-
export declare const DOCS_MANUAL_INSTALLATION_VITE_URL = "https://styleframe.dev/docs/getting-started/installation/manual/vite";
|
|
5
|
-
export declare const DOCS_INSTALLATION_NUXT_URL = "https://styleframe.dev/docs/getting-started/installation/nuxt";
|
|
6
|
-
export declare const DOCS_MANUAL_INSTALLATION_NUXT_URL = "https://styleframe.dev/docs/getting-started/installation/manual/nuxt";
|
|
7
|
-
export declare const DOCS_INSTALLATION_CUSTOM_URL = "https://styleframe.dev/docs/getting-started/installation/custom";
|
|
8
|
-
//# sourceMappingURL=constants.d.ts.map
|
package/dist/constants.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,2BAA2B,CAAC;AACrD,eAAO,MAAM,QAAQ,gCAAyB,CAAC;AAC/C,eAAO,MAAM,0BAA0B,kEAAkD,CAAC;AAC1F,eAAO,MAAM,iCAAiC,yEAAyD,CAAC;AACxG,eAAO,MAAM,0BAA0B,kEAAkD,CAAC;AAC1F,eAAO,MAAM,iCAAiC,yEAAyD,CAAC;AACxG,eAAO,MAAM,4BAA4B,oEAAoD,CAAC"}
|
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAiBA,MAAM,CAAC,OAAO,UAAU,GAAG,SAE1B"}
|
package/dist/utils.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export declare function fileExists(path: string): Promise<boolean>;
|
|
2
|
-
/**
|
|
3
|
-
* Parse a JSONC string (JSON with comments and trailing commas).
|
|
4
|
-
* Handles single-line comments, multi-line comments, and trailing commas.
|
|
5
|
-
*/
|
|
6
|
-
export declare function parseJsonc(text: string): unknown;
|
|
7
|
-
//# sourceMappingURL=utils.d.ts.map
|
package/dist/utils.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAGA,wBAAsB,UAAU,CAAC,IAAI,EAAE,MAAM,oBAO5C;AAED;;;GAGG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAgDhD"}
|