@citruslime/create-boilerplate 1.0.0-beta.2 → 1.0.0-beta.6
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/boilerplate-app/package.json +11 -14
- package/boilerplate-app/postcss.config.js +1 -3
- package/boilerplate-app/src/router/index.ts +2 -1
- package/boilerplate-app/src/shims-vue.d.ts +1 -1
- package/boilerplate-app/tsconfig.json +0 -5
- package/boilerplate-app/vite.config.ts +4 -1
- package/index.js +2 -2
- package/package.json +3 -3
|
@@ -16,28 +16,26 @@
|
|
|
16
16
|
"@harlem/plugin-devtools": "^2.0.0",
|
|
17
17
|
"@vueuse/core": "^6.3.3",
|
|
18
18
|
"vue": "^3.2.11",
|
|
19
|
-
"vue-i18n": "^9.1.
|
|
19
|
+
"vue-i18n": "^9.1.8",
|
|
20
20
|
"vue-router": "^4.0.11"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@iconify/vue": "^3.0.0",
|
|
24
|
-
"@tailwindcss/forms": "^0.3.
|
|
25
|
-
"@types/node": "^16.
|
|
26
|
-
"@typescript-eslint/eslint-plugin": "^4.
|
|
27
|
-
"@typescript-eslint/parser": "^4.
|
|
24
|
+
"@tailwindcss/forms": "^0.3.4",
|
|
25
|
+
"@types/node": "^16.10.5",
|
|
26
|
+
"@typescript-eslint/eslint-plugin": "^4.33.0",
|
|
27
|
+
"@typescript-eslint/parser": "^4.33.0",
|
|
28
28
|
"@vitejs/plugin-vue": "^1.9.0",
|
|
29
29
|
"@vue/compiler-sfc": "^3.2.14",
|
|
30
30
|
"@vue/eslint-config-typescript": "^7.0.0",
|
|
31
|
-
"autoprefixer": "^10.3.
|
|
31
|
+
"autoprefixer": "^10.3.7",
|
|
32
32
|
"eslint": "^7.32.0",
|
|
33
33
|
"eslint-plugin-import": "^2.24.2",
|
|
34
34
|
"eslint-plugin-jsdoc": "^36.1.0",
|
|
35
|
-
"eslint-plugin-vue": "^7.
|
|
35
|
+
"eslint-plugin-vue": "^7.19.0",
|
|
36
36
|
"husky": "^7.0.2",
|
|
37
|
-
"lint-staged": "^11.
|
|
38
|
-
"postcss": "^8.3.
|
|
39
|
-
"postcss-combine-media-query": "^1.0.1",
|
|
40
|
-
"postcss-discard-duplicates": "^5.0.1",
|
|
37
|
+
"lint-staged": "^11.2.0",
|
|
38
|
+
"postcss": "^8.3.9",
|
|
41
39
|
"stylelint": "^13.13.1",
|
|
42
40
|
"stylelint-config-idiomatic-order": "^8.1.0",
|
|
43
41
|
"stylelint-config-standard": "^22.0.0",
|
|
@@ -45,10 +43,9 @@
|
|
|
45
43
|
"stylelint-high-performance-animation": "^1.5.2",
|
|
46
44
|
"stylelint-order": "^4.1.0",
|
|
47
45
|
"tailwindcss": "^2.2.14",
|
|
48
|
-
"typescript": "^4.4.
|
|
49
|
-
"typescript-vue-plugin": "^0.27.24",
|
|
46
|
+
"typescript": "^4.4.4",
|
|
50
47
|
"unplugin-vue-components": "^0.15.1",
|
|
51
|
-
"vite": "^2.
|
|
48
|
+
"vite": "^2.6.7",
|
|
52
49
|
"vite-plugin-mkcert": "^1.5.1",
|
|
53
50
|
"vite-plugin-pages": "^0.18.0",
|
|
54
51
|
"vue-tsc": "^0.3.0"
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import generatedRoutes from 'virtual:generated-pages';
|
|
2
|
-
import {
|
|
2
|
+
import type { RouteRecordRaw } from 'vue-router';
|
|
3
|
+
import { createRouter, createWebHashHistory } from 'vue-router';
|
|
3
4
|
|
|
4
5
|
export const routes: RouteRecordRaw[] = [
|
|
5
6
|
...generatedRoutes,
|
|
@@ -24,6 +24,9 @@ export default defineConfig({
|
|
|
24
24
|
}),
|
|
25
25
|
mkcert()
|
|
26
26
|
],
|
|
27
|
+
optimizeDeps: {
|
|
28
|
+
include: [ '@harlem/extension-storage' ]
|
|
29
|
+
},
|
|
27
30
|
define: {
|
|
28
31
|
/* eslint-disable @typescript-eslint/naming-convention */
|
|
29
32
|
__VUE_I18N_FULL_INSTALL__: true,
|
|
@@ -34,7 +37,7 @@ export default defineConfig({
|
|
|
34
37
|
resolve: {
|
|
35
38
|
alias: {
|
|
36
39
|
'@': path.resolve(__dirname, 'src'),
|
|
37
|
-
'vue-i18n': 'vue-i18n/dist/vue-i18n.
|
|
40
|
+
'vue-i18n': 'vue-i18n/dist/vue-i18n.esm-bundler.js'
|
|
38
41
|
}
|
|
39
42
|
},
|
|
40
43
|
server: {
|
package/index.js
CHANGED
|
@@ -170,7 +170,7 @@ function testScriptParams(targetDir, packageName, pkgManager, portFrontend, port
|
|
|
170
170
|
throw new Error(red('✖') + ' The back-end port parameter is required and must be a number.');
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
|
|
173
|
+
const arBool = (autoRun.toString().toLowerCase() === 'true' ?
|
|
174
174
|
true :
|
|
175
175
|
(autoRun.toString().toLowerCase() === 'false' ?
|
|
176
176
|
false :
|
|
@@ -226,7 +226,7 @@ function ensureFilesDoNotContainBoilerplateData() {
|
|
|
226
226
|
const files = getFilesInFlatArray(root);
|
|
227
227
|
|
|
228
228
|
for (const filePath of files) {
|
|
229
|
-
|
|
229
|
+
const oldFilePath = path.join(root, filePath);
|
|
230
230
|
let newFilePath = path.join(root, filePath);
|
|
231
231
|
|
|
232
232
|
if (!fs.lstatSync(oldFilePath).isDirectory()) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@citruslime/create-boilerplate",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.6",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "Citrus-Lime Ltd",
|
|
6
6
|
"url": "https://citruslime.com"
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
"node": ">=12.0.0"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"core-js": "3.18.
|
|
29
|
+
"core-js": "3.18.3",
|
|
30
30
|
"kolorist": "^1.5.0",
|
|
31
31
|
"minimist": "^1.2.5",
|
|
32
|
-
"prompts": "^2.4.
|
|
32
|
+
"prompts": "^2.4.2"
|
|
33
33
|
}
|
|
34
34
|
}
|