@styleframe/cli 1.0.3 → 1.0.5
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 +12 -0
- package/dist/index.cjs +2 -1
- package/dist/index.js +2 -2
- package/dist/{init-CqzvVXEs.js → init-8BBfDuR2.js} +1 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @styleframe/cli
|
|
2
2
|
|
|
3
|
+
## 1.0.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#43](https://github.com/styleframe-dev/styleframe/pull/43) [`7e3d008`](https://github.com/styleframe-dev/styleframe/commit/7e3d00849067618802334d5e6823fc31f3aa2612) Thanks [@alexgrozav](https://github.com/alexgrozav)! - feat: add support for generic records in createUseVariable
|
|
8
|
+
|
|
9
|
+
## 1.0.4
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#40](https://github.com/styleframe-dev/styleframe/pull/40) [`1787ee2`](https://github.com/styleframe-dev/styleframe/commit/1787ee2b19740e077431b5196a3676ba8543838b) Thanks [@alexgrozav](https://github.com/alexgrozav)! - feat: add @styleframe/pro to dependencies
|
|
14
|
+
|
|
3
15
|
## 1.0.3
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/index.cjs
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
}
|
|
23
23
|
return Object.freeze(Object.defineProperty(n2, Symbol.toStringTag, { value: "Module" }));
|
|
24
24
|
}
|
|
25
|
-
const version$1 = "1.0.
|
|
25
|
+
const version$1 = "1.0.5";
|
|
26
26
|
const description = "A command-line interface for styleframe.";
|
|
27
27
|
const main$1 = citty.defineCommand({
|
|
28
28
|
meta: {
|
|
@@ -117,6 +117,7 @@ export default s;
|
|
|
117
117
|
if (!packageJson.devDependencies) packageJson.devDependencies = {};
|
|
118
118
|
packageJson.devDependencies["styleframe"] = "^1.0.0";
|
|
119
119
|
packageJson.devDependencies["@styleframe/theme"] = "^1.0.0";
|
|
120
|
+
packageJson.devDependencies["@styleframe/pro"] = "^1.0.0";
|
|
120
121
|
await promises$1.writeFile(packageJsonPath, JSON.stringify(packageJson, null, 2));
|
|
121
122
|
consola.success(`Added dependencies to "package.json".`);
|
|
122
123
|
} else {
|
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 = "1.0.
|
|
3
|
+
const version = "1.0.5";
|
|
4
4
|
const description = "A command-line interface for styleframe.";
|
|
5
5
|
const main = defineCommand({
|
|
6
6
|
meta: {
|
|
@@ -9,7 +9,7 @@ const main = defineCommand({
|
|
|
9
9
|
description
|
|
10
10
|
},
|
|
11
11
|
subCommands: {
|
|
12
|
-
init: () => import("./init-
|
|
12
|
+
init: () => import("./init-8BBfDuR2.js").then((m) => m.default),
|
|
13
13
|
build: () => import("./build-DMySNOvV.js").then((n) => n.e).then((m) => m.default)
|
|
14
14
|
}
|
|
15
15
|
});
|
|
@@ -85,6 +85,7 @@ async function addPackageJsonDependencies(cwd) {
|
|
|
85
85
|
if (!packageJson.devDependencies) packageJson.devDependencies = {};
|
|
86
86
|
packageJson.devDependencies["styleframe"] = "^1.0.0";
|
|
87
87
|
packageJson.devDependencies["@styleframe/theme"] = "^1.0.0";
|
|
88
|
+
packageJson.devDependencies["@styleframe/pro"] = "^1.0.0";
|
|
88
89
|
await writeFile$1(packageJsonPath, JSON.stringify(packageJson, null, 2));
|
|
89
90
|
consola.success(`Added dependencies to "package.json".`);
|
|
90
91
|
} else {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@styleframe/cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"description": "A command-line interface for styleframe.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
"vite-plugin-dts": "^4.5.4",
|
|
34
34
|
"vite-plugin-node": "^7.0.0",
|
|
35
35
|
"vitest": "^3.2.4",
|
|
36
|
+
"@styleframe/config-typescript": "^1.0.1",
|
|
36
37
|
"@styleframe/core": "^1.0.2",
|
|
37
|
-
"@styleframe/config-vite": "^1.0.1"
|
|
38
|
-
"@styleframe/config-typescript": "^1.0.1"
|
|
38
|
+
"@styleframe/config-vite": "^1.0.1"
|
|
39
39
|
},
|
|
40
40
|
"homepage": "https://github.com/styleframe-dev/styleframe#readme",
|
|
41
41
|
"bugs": {
|