@citruslime/create-boilerplate 1.2.0 → 1.3.0

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
@@ -16,6 +16,10 @@ or
16
16
 
17
17
  `yarn create @citruslime/boilerplate TargetDirectory`
18
18
 
19
+ or
20
+
21
+ `pnpm create @citruslime/boilerplate TargetDirectory`
22
+
19
23
  - **TargetDirectory**
20
24
  - A relative folder path for the script to create the boilerplate app
21
25
  - *Optional* - will be prompted for, if not provided
package/main.mjs CHANGED
@@ -42,10 +42,10 @@ const dependenciesToInstall = [
42
42
  name: '@citruslime/ui'
43
43
  },
44
44
  {
45
- name: '@vueuse/core'
45
+ name: '@popperjs/core'
46
46
  },
47
47
  {
48
- name: 'flatpickr'
48
+ name: '@vueuse/core'
49
49
  },
50
50
  {
51
51
  name: 'pinia'
@@ -53,6 +53,9 @@ const dependenciesToInstall = [
53
53
  {
54
54
  name: 'pinia-plugin-persistedstate'
55
55
  },
56
+ {
57
+ name: 'v-calendar'
58
+ },
56
59
  {
57
60
  name: 'vue'
58
61
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@citruslime/create-boilerplate",
3
3
  "type": "module",
4
- "version": "1.2.0",
4
+ "version": "1.3.0",
5
5
  "author": {
6
6
  "name": "Citrus-Lime Ltd",
7
7
  "url": "https://citruslime.com"
@@ -1,7 +1,7 @@
1
1
  export const useAuthStore = defineStore('auth', {
2
2
  state: () => ({
3
3
  username: 'Nobody',
4
- loginDate: null as Date | null
4
+ loginDate: null as string | null
5
5
  }),
6
6
  persist: {
7
7
  storage: localStorage
@@ -1,3 +1,4 @@
1
+ /** @type {import('tailwindcss').Config} */
1
2
  module.exports = {
2
3
  presets: [require('@citruslime/theme')],
3
4
  content: [
@@ -1,5 +1,5 @@
1
1
  {
2
- "extends": "@vue/tsconfig/tsconfig.web.json",
2
+ "extends": "@vue/tsconfig/tsconfig.dom.json",
3
3
  "include": [
4
4
  "auto-imports.d.ts",
5
5
  "components.d.ts",
@@ -12,7 +12,9 @@
12
12
  "src/**/__tests__/*"
13
13
  ],
14
14
  "compilerOptions": {
15
+ "composite": true,
15
16
  "baseUrl": ".",
17
+ "moduleResolution": "node",
16
18
  "lib": [
17
19
  "ESNext",
18
20
  "DOM",
@@ -2,7 +2,7 @@
2
2
  "files": [],
3
3
  "references": [
4
4
  {
5
- "path": "./tsconfig.config.json"
5
+ "path": "./tsconfig.node.json"
6
6
  },
7
7
  {
8
8
  "path": "./tsconfig.app.json"
@@ -11,4 +11,4 @@
11
11
  "path": "./tsconfig.vitest.json"
12
12
  }
13
13
  ]
14
- }
14
+ }
@@ -1,11 +1,14 @@
1
1
  {
2
- "extends": "@vue/tsconfig/tsconfig.node.json",
2
+ "extends": "@tsconfig/node18/tsconfig.json",
3
3
  "include": [
4
4
  "vite.config.*",
5
5
  "vitest.config.*",
6
6
  "cypress.config.*"
7
7
  ],
8
8
  "compilerOptions": {
9
+ "composite": true,
10
+ "module": "ESNext",
11
+ "moduleResolution": "node",
9
12
  "types": [
10
13
  "node"
11
14
  ]
@@ -2,6 +2,7 @@
2
2
  "extends": "./tsconfig.app.json",
3
3
  "exclude": [],
4
4
  "compilerOptions": {
5
+ "composite": true,
5
6
  "lib": [],
6
7
  "types": [
7
8
  "node",