@styleframe/cli 2.3.0 → 2.3.2
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 +15 -0
- package/dist/{build-CB8xVviw.js → build-aC0xw4RW.js} +1733 -4760
- package/dist/index.cjs +3453 -24278
- package/dist/index.js +4 -3
- package/dist/{init-FJVY7-no.js → init-CzpnWkDQ.js} +1 -1
- package/package.json +6 -6
- package/dist/index-B2xSBfiT.js +0 -10
- package/dist/index-D8fAxJpn.js +0 -15735
- package/dist/json5-Q4GKEAId.js +0 -732
- package/dist/jsonc-C57oN-bL.js +0 -4
- package/dist/multipart-parser-BK9EIb14.js +0 -191
- package/dist/toml-CXkw0Vj1.js +0 -517
- package/dist/yaml-BX37kW78.js +0 -686
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { defineCommand, runMain } from "citty";
|
|
3
|
-
const version = "2.3.
|
|
3
|
+
const version = "2.3.2";
|
|
4
4
|
const description = "A command-line interface for styleframe.";
|
|
5
5
|
const main = defineCommand({
|
|
6
6
|
meta: {
|
|
@@ -9,13 +9,14 @@ const main = defineCommand({
|
|
|
9
9
|
description
|
|
10
10
|
},
|
|
11
11
|
subCommands: {
|
|
12
|
-
init: () => import("./init-
|
|
13
|
-
build: () => import("./build-
|
|
12
|
+
init: () => import("./init-CzpnWkDQ.js").then((m) => m.default),
|
|
13
|
+
build: () => import("./build-aC0xw4RW.js").then((m) => m.default)
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
16
|
function run() {
|
|
17
17
|
runMain(main);
|
|
18
18
|
}
|
|
19
|
+
run();
|
|
19
20
|
export {
|
|
20
21
|
run as default
|
|
21
22
|
};
|
|
@@ -90,9 +90,9 @@ async function addPackageJsonDependencies(cwd) {
|
|
|
90
90
|
packageJson.devDependencies["@styleframe/loader"] = "^2.0.0";
|
|
91
91
|
packageJson.devDependencies["@styleframe/plugin"] = "^2.0.0";
|
|
92
92
|
packageJson.devDependencies["@styleframe/pro"] = "^2.0.0";
|
|
93
|
-
packageJson.devDependencies["@styleframe/runtime"] = "^2.0.0";
|
|
94
93
|
packageJson.devDependencies["@styleframe/theme"] = "^2.0.0";
|
|
95
94
|
packageJson.devDependencies["@styleframe/transpiler"] = "^2.0.0";
|
|
95
|
+
packageJson.dependencies["@styleframe/runtime"] = "^2.0.0";
|
|
96
96
|
await writeFile$1(packageJsonPath, JSON.stringify(packageJson, null, 2));
|
|
97
97
|
consola.success(`Added dependencies to "package.json".`);
|
|
98
98
|
} else {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@styleframe/cli",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.2",
|
|
4
4
|
"description": "A command-line interface for styleframe.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -25,15 +25,15 @@
|
|
|
25
25
|
"magicast": "^0.5.0"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
|
-
"@styleframe/loader": "^2.
|
|
28
|
+
"@styleframe/loader": "^2.4.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@styleframe/config-typescript": "^2",
|
|
32
32
|
"@styleframe/config-vite": "^2",
|
|
33
|
-
"@styleframe/core": "^2.
|
|
34
|
-
"@styleframe/license": "^2.0.
|
|
35
|
-
"@styleframe/theme": "^2.
|
|
36
|
-
"@styleframe/loader": "^2.
|
|
33
|
+
"@styleframe/core": "^2.6.0",
|
|
34
|
+
"@styleframe/license": "^2.0.2",
|
|
35
|
+
"@styleframe/theme": "^2.4.0",
|
|
36
|
+
"@styleframe/loader": "^2.4.0",
|
|
37
37
|
"@vitest/coverage-v8": "^3.2.4",
|
|
38
38
|
"tsx": "^4.20.6",
|
|
39
39
|
"typescript": "^5.8.3",
|
package/dist/index-B2xSBfiT.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { createHash } from "node:crypto";
|
|
2
|
-
const e = globalThis.process?.getBuiltinModule?.("crypto")?.hash, r = "sha256", s = "base64url";
|
|
3
|
-
function digest(t) {
|
|
4
|
-
if (e) return e(r, t, s);
|
|
5
|
-
const o = createHash(r).update(t);
|
|
6
|
-
return globalThis.process?.versions?.webcontainer ? o.digest().toString(s) : o.digest(s);
|
|
7
|
-
}
|
|
8
|
-
export {
|
|
9
|
-
digest
|
|
10
|
-
};
|