electronup 0.1.0 → 0.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/README.md CHANGED
@@ -38,7 +38,7 @@ pnpm add electronup -D
38
38
 
39
39
  前提条件
40
40
  > 熟悉命令行
41
- > 已安装 16.0 或更高版本的 Node.js
41
+ > 已安装 18.0 或更高版本的 Node.js
42
42
 
43
43
 
44
44
  因为使用了 tsup 构建主进程代码,所以该命令行及脚手架只支持 TypeScript ,不支持 JavaScript。
@@ -29,7 +29,7 @@ var import_node_fs = __toESM(require("fs"));
29
29
  var import_cac = require("cac");
30
30
 
31
31
  // package.json
32
- var version = "0.1.0";
32
+ var version = "0.1.1";
33
33
 
34
34
  // transform/getConfig.ts
35
35
  var import_path = require("path");
@@ -75,4 +75,4 @@ declare function defineConfig(config: Promise<ElectronupConfig>): Promise<Electr
75
75
  declare function defineConfig(config: ElectronupConfigFnObject): ElectronupConfigFnObject;
76
76
  declare function defineConfig(config: ElectronupConfigExport): ElectronupConfigExport;
77
77
 
78
- export { BuilderConfig, ConfigEnv, ElectronupConfig, TsupConfig, ViteConfig, defineConfig };
78
+ export { type BuilderConfig, type ConfigEnv, type ElectronupConfig, type TsupConfig, type ViteConfig, defineConfig };
@@ -75,4 +75,4 @@ declare function defineConfig(config: Promise<ElectronupConfig>): Promise<Electr
75
75
  declare function defineConfig(config: ElectronupConfigFnObject): ElectronupConfigFnObject;
76
76
  declare function defineConfig(config: ElectronupConfigExport): ElectronupConfigExport;
77
77
 
78
- export { BuilderConfig, ConfigEnv, ElectronupConfig, TsupConfig, ViteConfig, defineConfig };
78
+ export { type BuilderConfig, type ConfigEnv, type ElectronupConfig, type TsupConfig, type ViteConfig, defineConfig };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "electronup",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "融合构建 electron 应用需要的构建工具,保留原有配置习惯的命令行工具 ",
5
5
  "author": "quiteer",
6
6
  "license": "MIT",
@@ -37,8 +37,8 @@
37
37
  "update-version": "bumpp package.json"
38
38
  },
39
39
  "peerDependencies": {
40
- "@types/node": ">= 16",
41
- "node": ">= 16",
40
+ "@types/node": ">= 18",
41
+ "node": ">= 18",
42
42
  "vue": ">= 3"
43
43
  },
44
44
  "dependencies": {
@@ -52,9 +52,8 @@
52
52
  "kolorist": "^1.8.0",
53
53
  "portfinder": "^1.0.32",
54
54
  "prompts": "^2.4.2",
55
- "tsup": "^7.2.0",
55
+ "tsup": "^7.3.0",
56
56
  "vite": "^4.5.1",
57
57
  "yaml": "^2.3.4"
58
- },
59
- "devDependencies": { }
58
+ }
60
59
  }