@citruslime/create-boilerplate 1.0.0-beta.15 → 1.0.0-beta.18
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 +1 -1
- package/main.mjs +6 -9
- package/package.json +1 -1
- package/template/.vscode/extensions.json +3 -0
- package/template/.vscode/settings.json +11 -5
- package/template/.vscode/template.code-workspace +14 -5
- package/template/package.json +1 -1
- package/template/src/state/authentication/index.ts +1 -3
- package/template/vite.config.ts +4 -0
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Citrus-Lime UI Library Create Boilerplate Script
|
|
2
2
|
|
|
3
|
-
A create package for initialising Citrus-Lime web apps.
|
|
3
|
+
A create package script for initialising new Citrus-Lime web apps.
|
|
4
4
|
|
|
5
5
|

|
|
6
6
|

|
package/main.mjs
CHANGED
|
@@ -54,16 +54,13 @@ const dependenciesToInstall = [
|
|
|
54
54
|
name: 'pinia-plugin-persistedstate'
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
|
-
name: 'vue'
|
|
58
|
-
next: true
|
|
57
|
+
name: 'vue'
|
|
59
58
|
},
|
|
60
59
|
{
|
|
61
|
-
name: 'vue-i18n'
|
|
62
|
-
next: true
|
|
60
|
+
name: 'vue-i18n'
|
|
63
61
|
},
|
|
64
62
|
{
|
|
65
|
-
name: 'vue-router'
|
|
66
|
-
next: true
|
|
63
|
+
name: 'vue-router'
|
|
67
64
|
},
|
|
68
65
|
{
|
|
69
66
|
name: '@citruslime/config',
|
|
@@ -86,15 +83,15 @@ const dependenciesToInstall = [
|
|
|
86
83
|
dev: true
|
|
87
84
|
},
|
|
88
85
|
{
|
|
89
|
-
name: '
|
|
86
|
+
name: 'husky',
|
|
90
87
|
dev: true
|
|
91
88
|
},
|
|
92
89
|
{
|
|
93
|
-
name: '
|
|
90
|
+
name: 'lint-staged',
|
|
94
91
|
dev: true
|
|
95
92
|
},
|
|
96
93
|
{
|
|
97
|
-
name: '
|
|
94
|
+
name: 'postcss',
|
|
98
95
|
dev: true
|
|
99
96
|
},
|
|
100
97
|
{
|
package/package.json
CHANGED
|
@@ -3,14 +3,18 @@
|
|
|
3
3
|
"editor.insertSpaces": false
|
|
4
4
|
},
|
|
5
5
|
"css.validate": false,
|
|
6
|
+
"diffEditor.ignoreTrimWhitespace": false,
|
|
6
7
|
"editor.codeActionsOnSave": {
|
|
7
8
|
"source.fixAll": true,
|
|
8
9
|
"source.fixAll.eslint": true,
|
|
9
10
|
"source.fixAll.stylelint": true,
|
|
10
11
|
"source.organizeImports": false
|
|
11
12
|
},
|
|
13
|
+
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
|
|
14
|
+
"editor.detectIndentation": false,
|
|
12
15
|
"editor.formatOnSave": true,
|
|
13
16
|
"editor.linkedEditing": true,
|
|
17
|
+
"eslint.alwaysShowStatus": true,
|
|
14
18
|
"eslint.validate": [
|
|
15
19
|
"html",
|
|
16
20
|
"javascript",
|
|
@@ -19,12 +23,14 @@
|
|
|
19
23
|
],
|
|
20
24
|
"files.encoding": "utf8",
|
|
21
25
|
"files.eol": "\n",
|
|
22
|
-
"files.exclude": {
|
|
23
|
-
"node_modules": true
|
|
24
|
-
},
|
|
25
26
|
"files.trimTrailingWhitespace": true,
|
|
26
|
-
"
|
|
27
|
-
"
|
|
27
|
+
"npm-intellisense.scanDevDependencies": true,
|
|
28
|
+
"npm-intellisense.showBuildInLibs": true,
|
|
29
|
+
"stylelint.validate": [
|
|
30
|
+
"css",
|
|
31
|
+
"postcss",
|
|
32
|
+
"vue"
|
|
33
|
+
],
|
|
28
34
|
"tailwindCSS.includeLanguages": {
|
|
29
35
|
"vue": "html"
|
|
30
36
|
}
|
|
@@ -14,14 +14,18 @@
|
|
|
14
14
|
"editor.insertSpaces": false
|
|
15
15
|
},
|
|
16
16
|
"css.validate": false,
|
|
17
|
+
"diffEditor.ignoreTrimWhitespace": false,
|
|
17
18
|
"editor.codeActionsOnSave": {
|
|
18
19
|
"source.fixAll": true,
|
|
19
20
|
"source.fixAll.eslint": true,
|
|
20
21
|
"source.fixAll.stylelint": true,
|
|
21
22
|
"source.organizeImports": false
|
|
22
23
|
},
|
|
24
|
+
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
|
|
25
|
+
"editor.detectIndentation": false,
|
|
23
26
|
"editor.formatOnSave": true,
|
|
24
27
|
"editor.linkedEditing": true,
|
|
28
|
+
"eslint.alwaysShowStatus": true,
|
|
25
29
|
"eslint.validate": [
|
|
26
30
|
"html",
|
|
27
31
|
"javascript",
|
|
@@ -30,12 +34,14 @@
|
|
|
30
34
|
],
|
|
31
35
|
"files.encoding": "utf8",
|
|
32
36
|
"files.eol": "\n",
|
|
33
|
-
"files.exclude": {
|
|
34
|
-
"node_modules": true
|
|
35
|
-
},
|
|
36
37
|
"files.trimTrailingWhitespace": true,
|
|
37
|
-
"
|
|
38
|
-
"
|
|
38
|
+
"npm-intellisense.scanDevDependencies": true,
|
|
39
|
+
"npm-intellisense.showBuildInLibs": true,
|
|
40
|
+
"stylelint.validate": [
|
|
41
|
+
"css",
|
|
42
|
+
"postcss",
|
|
43
|
+
"vue"
|
|
44
|
+
],
|
|
39
45
|
"tailwindCSS.includeLanguages": {
|
|
40
46
|
"vue": "html"
|
|
41
47
|
}
|
|
@@ -46,7 +52,10 @@
|
|
|
46
52
|
"dbaeumer.vscode-eslint",
|
|
47
53
|
"stylelint.vscode-stylelint",
|
|
48
54
|
"bradlc.vscode-tailwindcss",
|
|
55
|
+
"eamodio.gitlens",
|
|
56
|
+
"christian-kohler.npm-intellisense",
|
|
49
57
|
"editorconfig.editorconfig",
|
|
58
|
+
"cpylua.language-postcss",
|
|
50
59
|
"antfu.iconify"
|
|
51
60
|
]
|
|
52
61
|
}
|
package/template/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"private": true,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "vite",
|
|
7
|
-
"build": "vue-tsc --noEmit && vite build",
|
|
7
|
+
"build": "vue-tsc --noEmit --skipLibCheck && vite build",
|
|
8
8
|
"serve": "vite preview",
|
|
9
9
|
"lint": "eslint . --ext .js,.ts,.vue --fix && stylelint **/*.{css,vue} --fix",
|
|
10
10
|
"pre-commit-lint": "yarn lint-staged",
|
package/template/vite.config.ts
CHANGED
|
@@ -47,8 +47,10 @@ export default defineConfig({
|
|
|
47
47
|
},
|
|
48
48
|
resolve: {
|
|
49
49
|
alias: {
|
|
50
|
+
/* eslint-disable @typescript-eslint/naming-convention */
|
|
50
51
|
'@': path.resolve(__dirname, 'src'),
|
|
51
52
|
'vue-i18n': 'vue-i18n/dist/vue-i18n.esm-bundler.js'
|
|
53
|
+
/* eslint-enable @typescript-eslint/naming-convention */
|
|
52
54
|
}
|
|
53
55
|
},
|
|
54
56
|
server: {
|
|
@@ -57,11 +59,13 @@ export default defineConfig({
|
|
|
57
59
|
// eslint-disable-next-line array-bracket-spacing
|
|
58
60
|
port: [[FRONTEND_PORT]],
|
|
59
61
|
proxy: {
|
|
62
|
+
/* eslint-disable @typescript-eslint/naming-convention */
|
|
60
63
|
'/api': {
|
|
61
64
|
target: 'https://localhost:[[BACKEND_PORT]]',
|
|
62
65
|
secure: false,
|
|
63
66
|
rewrite: (path) => path.replace('/api', '')
|
|
64
67
|
}
|
|
68
|
+
/* eslint-enable @typescript-eslint/naming-convention */
|
|
65
69
|
}
|
|
66
70
|
}
|
|
67
71
|
});
|