create-widget 24.1.1-beta.30 → 24.1.1-beta.32

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-widget",
3
- "version": "24.1.1-beta.30",
3
+ "version": "24.1.1-beta.32",
4
4
  "private": false,
5
5
  "description": "An easy way to start a Widget project",
6
6
  "author": "Neo Fu <rtugeek@gmail.com>",
@@ -23,6 +23,7 @@
23
23
  "chalk": "^4.1.2",
24
24
  "consola": "^2.15.3",
25
25
  "ejs": "^3.1.8",
26
+ "esno": "^4.0.0",
26
27
  "fs-extra": "^11.2.0",
27
28
  "gradient-string": "^2.0.2",
28
29
  "minimist": "^1.2.8",
@@ -37,6 +38,9 @@
37
38
  "@types/node": "^18.11.13",
38
39
  "@types/prompts": "^2.4.9",
39
40
  "esbuild": "^0.20.2",
41
+ "eslint": "8.48.0",
42
+ "ora": "^6.2.0",
43
+ "package-json": "^10.0.1",
40
44
  "ts-loader": "^9.4.1",
41
45
  "ts-node": "^10.9.1",
42
46
  "tsup": "^6.5.0",
@@ -45,10 +49,12 @@
45
49
  "zx": "^7.2.3"
46
50
  },
47
51
  "scripts": {
48
- "build": "zx ./scripts/build.mjs",
52
+ "build": "npm run update:version && zx ./scripts/build.mjs",
53
+ "build:only": "zx ./scripts/build.mjs",
49
54
  "watch": "tsup-node src/index.ts --format cjs --watch",
50
- "build:run": "npm run build && npm run create-widget",
55
+ "build:run": "npm run build && npm exec create-widget",
51
56
  "test": "node index.cjs",
57
+ "update:version": "esno scripts/updateVersion.ts",
52
58
  "pnpm:publish": "npm run build && pnpm publish --no-git-checks"
53
59
  }
54
60
  }
@@ -1,30 +1,33 @@
1
- {
2
- "name": "hello-widget",
3
- "type": "module",
4
- "version": "0.0.0",
5
- "private": true,
6
- "scripts": {
7
- "dev": "vite",
8
- "build": "run-p type-check \"build-only {@}\" --",
9
- "preview": "vite preview",
10
- "build-only": "vite build",
11
- "update:widgetjs": "widget dependencies -t remote",
12
- "type-check": "vue-tsc --build --force"
13
- },
14
- "dependencies": {
15
- "@widget-js/core": "0.11.20",
16
- "@widget-js/vue3": "0.11.21-rc.2",
17
- "vue": "^3.3.11",
18
- "vue-router": "^4.2.5"
19
- },
20
- "devDependencies": {
21
- "@tsconfig/node18": "^18.2.2",
22
- "@types/node": "^18.19.3",
23
- "@vitejs/plugin-vue": "^4.5.2",
24
- "@vue/tsconfig": "^0.5.0",
25
- "@widget-js/vite-plugin-widget": "^1.2.8",
26
- "typescript": "~5.3.0",
27
- "vite": "^5.0.10",
28
- "vue-tsc": "^1.8.25"
29
- }
30
- }
1
+ {
2
+ "name": "hello-widget",
3
+ "type": "module",
4
+ "version": "0.0.1",
5
+ "private": true,
6
+ "scripts": {
7
+ "dev": "vite",
8
+ "build": "run-p type-check \"build-only {@}\" --",
9
+ "preview": "vite preview",
10
+ "build-only": "vite build",
11
+ "update:widgetjs": "widget dependencies -t remote",
12
+ "type-check": "vue-tsc --build --force"
13
+ },
14
+ "dependencies": {
15
+ "@vueuse/core": "^11.0.1",
16
+ "@widget-js/core": "^24.1.1-beta.32",
17
+ "@widget-js/vue3": "^24.1.1-beta.32",
18
+ "vue": "^3.3.11",
19
+ "vue-router": "^4.2.5",
20
+ "element-plus": "^2.8.1"
21
+ },
22
+ "devDependencies": {
23
+ "@tsconfig/node18": "^18.2.2",
24
+ "@types/node": "^18.19.3",
25
+ "@vitejs/plugin-vue": "^4.5.2",
26
+ "@vue/tsconfig": "^0.5.0",
27
+ "@widget-js/vite-plugin-widget": "^24.1.1-beta.30",
28
+ "@widget-js/cli": "^24.1.1-beta.31",
29
+ "typescript": "~5.3.0",
30
+ "vite": "^5.0.10",
31
+ "vue-tsc": "^1.8.25"
32
+ }
33
+ }