@styleframe/cli 2.3.1 → 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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @styleframe/cli
2
2
 
3
+ ## 2.3.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#100](https://github.com/styleframe-dev/styleframe/pull/100) [`6ae30fd`](https://github.com/styleframe-dev/styleframe/commit/6ae30fdd281033eb3a37c0a0b0388692506a0e58) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add `@styleframe/license` as a dependency to the main `styleframe` package and update the CLI init command to add `@styleframe/runtime` as a production dependency instead of a dev dependency.
8
+
3
9
  ## 2.3.1
4
10
 
5
11
  ### Patch Changes
package/dist/index.cjs CHANGED
@@ -3,7 +3,7 @@
3
3
  })(this, (function(citty, consola, promises$1, sysPath, promises, require$$2, magicast, helpers, path, license, require$$1, require$$0, require$$3, require$$4, require$$5, require$$7, require$$8, require$$9, require$$10, require$$11, require$$12) {
4
4
  "use strict";
5
5
  var _documentCurrentScript = typeof document !== "undefined" ? document.currentScript : null;
6
- const version = "2.3.1";
6
+ const version = "2.3.2";
7
7
  const description = "A command-line interface for styleframe.";
8
8
  const main = citty.defineCommand({
9
9
  meta: {
@@ -104,9 +104,9 @@ export default s;
104
104
  packageJson.devDependencies["@styleframe/loader"] = "^2.0.0";
105
105
  packageJson.devDependencies["@styleframe/plugin"] = "^2.0.0";
106
106
  packageJson.devDependencies["@styleframe/pro"] = "^2.0.0";
107
- packageJson.devDependencies["@styleframe/runtime"] = "^2.0.0";
108
107
  packageJson.devDependencies["@styleframe/theme"] = "^2.0.0";
109
108
  packageJson.devDependencies["@styleframe/transpiler"] = "^2.0.0";
109
+ packageJson.dependencies["@styleframe/runtime"] = "^2.0.0";
110
110
  await promises$1.writeFile(packageJsonPath, JSON.stringify(packageJson, null, 2));
111
111
  consola.success(`Added dependencies to "package.json".`);
112
112
  } 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 = "2.3.1";
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,7 +9,7 @@ const main = defineCommand({
9
9
  description
10
10
  },
11
11
  subCommands: {
12
- init: () => import("./init-FJVY7-no.js").then((m) => m.default),
12
+ init: () => import("./init-CzpnWkDQ.js").then((m) => m.default),
13
13
  build: () => import("./build-aC0xw4RW.js").then((m) => m.default)
14
14
  }
15
15
  });
@@ -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.1",
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",
@@ -31,7 +31,7 @@
31
31
  "@styleframe/config-typescript": "^2",
32
32
  "@styleframe/config-vite": "^2",
33
33
  "@styleframe/core": "^2.6.0",
34
- "@styleframe/license": "^2.0.0",
34
+ "@styleframe/license": "^2.0.2",
35
35
  "@styleframe/theme": "^2.4.0",
36
36
  "@styleframe/loader": "^2.4.0",
37
37
  "@vitest/coverage-v8": "^3.2.4",