@tomjs/create-app 0.2.1 → 0.2.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/dist/index.mjs CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tomjs/create-app",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "create tomjs web app",
5
5
  "keywords": [
6
6
  "tomjs",
@@ -42,6 +42,15 @@
42
42
  "engines": {
43
43
  "node": ">=18"
44
44
  },
45
+ "scripts": {
46
+ "dev": "tsup --watch",
47
+ "build": "tsup --minify",
48
+ "lint": "run-s lint:eslint lint:prettier",
49
+ "lint:eslint": "eslint \"src/**/*.{js,cjs,ts}\" *.{js,cjs,ts} --fix --cache",
50
+ "lint:prettier": "prettier --write \"src/**/*.{js,cjs,ts,json,md}\" *.{js,cjs,ts,json,md}",
51
+ "prepare": "husky install",
52
+ "prepublishOnly": "npm run build && np --any-branch --no-yarn --yolo --no-publish --message \"chore: release v%s\""
53
+ },
45
54
  "dependencies": {
46
55
  "kolorist": "^1.8.0",
47
56
  "lodash-es": "^4.17.21",
@@ -57,23 +66,16 @@
57
66
  "@tomjs/tsconfig": "^1.0.8",
58
67
  "@types/lodash-es": "^4.17.12",
59
68
  "@types/minimist": "^1.2.5",
60
- "@types/node": "^18.19.1",
69
+ "@types/node": "^18.19.2",
61
70
  "@types/prompts": "^2.4.9",
62
71
  "@types/shelljs": "^0.8.15",
63
72
  "eslint": "^8.55.0",
64
73
  "husky": "^8.0.3",
65
- "lint-staged": "^15.1.0",
74
+ "lint-staged": "^15.2.0",
66
75
  "np": "^9.0.0",
67
76
  "npm-run-all": "^4.1.5",
68
77
  "prettier": "^3.1.0",
69
78
  "tsup": "^8.0.1",
70
79
  "typescript": "~5.2.2"
71
- },
72
- "scripts": {
73
- "dev": "tsup --watch",
74
- "build": "tsup --minify",
75
- "lint": "run-s lint:eslint lint:prettier",
76
- "lint:eslint": "eslint \"src/**/*.{js,cjs,ts}\" *.{js,cjs,ts} --fix --cache",
77
- "lint:prettier": "prettier --write \"src/**/*.{js,cjs,ts,json,md}\" *.{js,cjs,ts,json,md}"
78
80
  }
79
- }
81
+ }
@@ -197,3 +197,7 @@ Procfile text
197
197
  *.xlsx binary
198
198
  *.ppt binary
199
199
  *.pptx binary
200
+
201
+ ## EXTENSIONS
202
+ *.crx binary
203
+ *.xpi binary
@@ -33,8 +33,8 @@
33
33
  "@tomjs/prettier": "^1.0.6",
34
34
  "@tomjs/stylelint": "^1.0.7",
35
35
  "@tomjs/tsconfig": "^1.0.8",
36
- "@types/node": "^18.19.1",
37
- "@types/react": "^18.2.40",
36
+ "@types/node": "^18.19.2",
37
+ "@types/react": "^18.2.41",
38
38
  "@types/react-dom": "^18.2.17",
39
39
  "@types/shelljs": "^0.8.15",
40
40
  "@vitejs/plugin-react-swc": "^3.5.0",
@@ -42,7 +42,7 @@
42
42
  "electron-builder": "^24.9.1",
43
43
  "eslint": "^8.55.0",
44
44
  "husky": "^8.0.3",
45
- "lint-staged": "^15.1.0",
45
+ "lint-staged": "^15.2.0",
46
46
  "npm-run-all": "^4.1.5",
47
47
  "prettier": "^3.1.0",
48
48
  "rimraf": "^5.0.5",
@@ -51,7 +51,7 @@
51
51
  "tree-kill": "^1.2.2",
52
52
  "tsx": "^4.6.2",
53
53
  "typescript": "~5.2.2",
54
- "vite": "^5.0.4",
54
+ "vite": "^5.0.5",
55
55
  "vite-plugin-electron": "^0.15.4",
56
56
  "vite-plugin-electron-renderer": "^0.14.5"
57
57
  }
@@ -31,14 +31,14 @@
31
31
  "@tomjs/prettier": "^1.0.6",
32
32
  "@tomjs/stylelint": "^1.0.7",
33
33
  "@tomjs/tsconfig": "^1.0.8",
34
- "@types/node": "^18.19.1",
34
+ "@types/node": "^18.19.2",
35
35
  "@types/shelljs": "^0.8.15",
36
36
  "@vitejs/plugin-vue": "^4.5.1",
37
37
  "electron": "^27.1.3",
38
38
  "electron-builder": "^24.9.1",
39
39
  "eslint": "^8.55.0",
40
40
  "husky": "^8.0.3",
41
- "lint-staged": "^15.1.0",
41
+ "lint-staged": "^15.2.0",
42
42
  "npm-run-all": "^4.1.5",
43
43
  "prettier": "^3.1.0",
44
44
  "rimraf": "^5.0.5",
@@ -47,7 +47,7 @@
47
47
  "tree-kill": "^1.2.2",
48
48
  "tsx": "^4.6.2",
49
49
  "typescript": "~5.2.2",
50
- "vite": "^5.0.4",
50
+ "vite": "^5.0.5",
51
51
  "vite-plugin-electron": "^0.15.4",
52
52
  "vite-plugin-electron-renderer": "^0.14.5",
53
53
  "vue-tsc": "^1.8.24"
@@ -56,15 +56,17 @@
56
56
  "@tomjs/prettier": "^1.0.6",
57
57
  "@tomjs/tsconfig": "^1.0.8",
58
58
  "@types/jest": "^29.5.10",
59
- "@types/node": "^18.19.1",
59
+ "@types/node": "^18.19.2",
60
+ "@types/shelljs": "^0.8.15",
60
61
  "eslint": "^8.55.0",
61
62
  "husky": "^8.0.3",
62
63
  "jest": "^29.7.0",
63
- "lint-staged": "^15.1.0",
64
+ "lint-staged": "^15.2.0",
64
65
  "np": "^9.0.0",
65
66
  "npm-run-all": "^4.1.5",
66
67
  "prettier": "^3.1.0",
67
68
  "rimraf": "^5.0.5",
69
+ "shelljs": "^0.8.5",
68
70
  "ts-jest": "^29.1.1",
69
71
  "tsup": "^8.0.1",
70
72
  "tsx": "^4.6.2",
@@ -2,6 +2,8 @@
2
2
  "extends": "@tomjs/tsconfig/node.json",
3
3
  "include": [
4
4
  "src/**/*.ts",
5
- "src/**/*.d.ts"
5
+ "src/**/*.d.ts",
6
+ "test/**/*.ts",
7
+ "test/**/*.d.ts"
6
8
  ],
7
9
  }
@@ -57,16 +57,18 @@
57
57
  "@tomjs/prettier": "^1.0.6",
58
58
  "@tomjs/tsconfig": "^1.0.8",
59
59
  "@types/jest": "^29.5.10",
60
- "@types/node": "^18.19.1",
60
+ "@types/node": "^18.19.2",
61
+ "@types/shelljs": "^0.8.15",
61
62
  "electron": "^27.1.3",
62
63
  "eslint": "^8.55.0",
63
64
  "husky": "^8.0.3",
64
65
  "jest": "^29.7.0",
65
- "lint-staged": "^15.1.0",
66
+ "lint-staged": "^15.2.0",
66
67
  "np": "^9.0.0",
67
68
  "npm-run-all": "^4.1.5",
68
69
  "prettier": "^3.1.0",
69
70
  "rimraf": "^5.0.5",
71
+ "shelljs": "^0.8.5",
70
72
  "ts-jest": "^29.1.1",
71
73
  "tsup": "^8.0.1",
72
74
  "tsx": "^4.6.2",
@@ -27,17 +27,17 @@
27
27
  "@tomjs/prettier": "^1.0.6",
28
28
  "@tomjs/stylelint": "^1.0.7",
29
29
  "@tomjs/tsconfig": "^1.0.8",
30
- "@types/node": "^18.19.1",
31
- "@types/react": "^18.2.40",
30
+ "@types/node": "^18.19.2",
31
+ "@types/react": "^18.2.41",
32
32
  "@types/react-dom": "^18.2.17",
33
33
  "@vitejs/plugin-react-swc": "^3.5.0",
34
34
  "eslint": "^8.55.0",
35
35
  "husky": "^8.0.3",
36
- "lint-staged": "^15.1.0",
36
+ "lint-staged": "^15.2.0",
37
37
  "npm-run-all": "^4.1.5",
38
38
  "prettier": "^3.1.0",
39
39
  "stylelint": "^15.11.0",
40
40
  "typescript": "~5.2.2",
41
- "vite": "^5.0.4"
41
+ "vite": "^5.0.5"
42
42
  }
43
43
  }
@@ -26,16 +26,16 @@
26
26
  "@tomjs/prettier": "^1.0.6",
27
27
  "@tomjs/stylelint": "^1.0.7",
28
28
  "@tomjs/tsconfig": "^1.0.8",
29
- "@types/node": "^18.19.1",
29
+ "@types/node": "^18.19.2",
30
30
  "@vitejs/plugin-vue": "^4.5.1",
31
31
  "eslint": "^8.55.0",
32
32
  "husky": "^8.0.3",
33
- "lint-staged": "^15.1.0",
33
+ "lint-staged": "^15.2.0",
34
34
  "npm-run-all": "^4.1.5",
35
35
  "prettier": "^3.1.0",
36
36
  "stylelint": "^15.11.0",
37
37
  "typescript": "~5.2.2",
38
- "vite": "^5.0.4",
38
+ "vite": "^5.0.5",
39
39
  "vue-tsc": "^1.8.24"
40
40
  }
41
41
  }