@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 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
  ![version](https://img.shields.io/npm/v/@citruslime/create-boilerplate/latest)
6
6
  ![version next](https://img.shields.io/npm/v/@citruslime/create-boilerplate/next)
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: '@vue/compiler-sfc',
86
+ name: 'husky',
90
87
  dev: true
91
88
  },
92
89
  {
93
- name: 'husky',
90
+ name: 'lint-staged',
94
91
  dev: true
95
92
  },
96
93
  {
97
- name: 'lint-staged',
94
+ name: 'postcss',
98
95
  dev: true
99
96
  },
100
97
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@citruslime/create-boilerplate",
3
- "version": "1.0.0-beta.15",
3
+ "version": "1.0.0-beta.18",
4
4
  "author": {
5
5
  "name": "Citrus-Lime Ltd",
6
6
  "url": "https://citruslime.com"
@@ -4,7 +4,10 @@
4
4
  "dbaeumer.vscode-eslint",
5
5
  "stylelint.vscode-stylelint",
6
6
  "bradlc.vscode-tailwindcss",
7
+ "eamodio.gitlens",
8
+ "christian-kohler.npm-intellisense",
7
9
  "editorconfig.editorconfig",
10
+ "cpylua.language-postcss",
8
11
  "antfu.iconify"
9
12
  ]
10
13
  }
@@ -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
- "git.enableSmartCommit": true,
27
- "git.pruneOnFetch": true,
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
- "git.enableSmartCommit": true,
38
- "git.pruneOnFetch": true,
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
  }
@@ -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",
@@ -5,7 +5,5 @@ export const useAuthStore = defineStore('auth', {
5
5
  username: 'Nobody',
6
6
  loginDate: null as Date | null
7
7
  }),
8
- persist: {
9
- overwrite: true
10
- }
8
+ persist: true
11
9
  });
@@ -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
  });