create-nuxt-base 0.2.10 → 0.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/CHANGELOG.md +12 -0
- package/index.js +1 -1
- package/nuxt-base-template/eslint.config.mjs +3 -0
- package/nuxt-base-template/nuxt.config.ts +37 -37
- package/nuxt-base-template/package-lock.json +7100 -4661
- package/nuxt-base-template/package.json +9 -8
- package/nuxt-base-template/postbuild.js +12 -0
- package/nuxt-base-template/src/app.vue +1 -1
- package/nuxt-base-template/src/components/Transition/TransitionFade.vue +4 -4
- package/nuxt-base-template/src/components/Transition/TransitionFadeScale.vue +4 -4
- package/nuxt-base-template/src/composables/use-form-helper.ts +1 -3
- package/nuxt-base-template/src/composables/use-modal.ts +7 -7
- package/nuxt-base-template/src/composables/use-notification.ts +4 -4
- package/nuxt-base-template/src/composables/use-share.ts +4 -4
- package/nuxt-base-template/src/error.vue +1 -1
- package/nuxt-base-template/src/plugins/form.plugin.ts +1 -1
- package/nuxt-base-template/tailwind.config.js +27 -22
- package/package.json +1 -1
- package/nuxt-base-template/.eslintrc +0 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [0.3.0](https://github.com/lenneTech/nuxt-base-starter/compare/v0.2.10...v0.3.0) (2025-01-29)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **TEC-33:** Bump eslint/vue to 1.0.3 ([#4](https://github.com/lenneTech/nuxt-base-starter/issues/4)) ([28ad752](https://github.com/lenneTech/nuxt-base-starter/commit/28ad752737318593327370cded573e0060d4571e))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* **TEC-20:** fix scripts not working on windows ([#3](https://github.com/lenneTech/nuxt-base-starter/issues/3)) ([c2f4676](https://github.com/lenneTech/nuxt-base-starter/commit/c2f467682be7eb136e158c0820fbb7f33c04559b))
|
|
16
|
+
|
|
5
17
|
### [0.2.10](https://github.com/lenneTech/nuxt-base-starter/compare/v0.2.9...v0.2.10) (2024-10-22)
|
|
6
18
|
|
|
7
19
|
|
package/index.js
CHANGED
|
@@ -58,7 +58,7 @@ async function create() {
|
|
|
58
58
|
const npmInstall = spawn('npm', ['install'], { stdio: 'inherit' });
|
|
59
59
|
await waitForSpawn(npmInstall);
|
|
60
60
|
|
|
61
|
-
const removeGit = spawn('
|
|
61
|
+
const removeGit = spawn('npx', ['rimraf', '.git'], { stdio: 'inherit' });
|
|
62
62
|
await waitForSpawn(removeGit);
|
|
63
63
|
|
|
64
64
|
console.log('Success! Your new project is ready. 🎉');
|
|
@@ -1,40 +1,28 @@
|
|
|
1
1
|
// https://nuxt.com/docs/api/configuration/nuxt-config
|
|
2
2
|
export default defineNuxtConfig({
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
modules: [
|
|
10
|
-
'@nuxt/test-utils/module',
|
|
11
|
-
'@nuxtjs/tailwindcss',
|
|
12
|
-
'@lenne.tech/nuxt-base',
|
|
13
|
-
'@vueuse/nuxt',
|
|
14
|
-
'@nuxtjs/google-fonts',
|
|
15
|
-
'@nuxtjs/color-mode',
|
|
16
|
-
'@nuxt/image',
|
|
17
|
-
'@nuxtjs/robots',
|
|
18
|
-
'@nuxtjs/sitemap',
|
|
19
|
-
'@nuxtjs/plausible',
|
|
20
|
-
],
|
|
3
|
+
app: {
|
|
4
|
+
head: {
|
|
5
|
+
title: 'Nuxt Base Starter',
|
|
6
|
+
viewport: 'width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no',
|
|
7
|
+
},
|
|
8
|
+
},
|
|
21
9
|
|
|
22
|
-
|
|
23
|
-
|
|
10
|
+
colorMode: {
|
|
11
|
+
classSuffix: '',
|
|
24
12
|
},
|
|
25
13
|
|
|
26
14
|
compatibilityDate: '2024-09-05',
|
|
27
15
|
|
|
16
|
+
devServer: {
|
|
17
|
+
port: 3001,
|
|
18
|
+
},
|
|
19
|
+
|
|
28
20
|
experimental: {
|
|
29
21
|
asyncContext: true,
|
|
30
22
|
renderJsonPayloads: false,
|
|
31
23
|
typedPages: true,
|
|
32
24
|
},
|
|
33
25
|
|
|
34
|
-
sitemap: {
|
|
35
|
-
exclude: ['/app/**'],
|
|
36
|
-
},
|
|
37
|
-
|
|
38
26
|
image: {
|
|
39
27
|
ipx: {
|
|
40
28
|
maxAge: 2592000,
|
|
@@ -42,6 +30,23 @@ export default defineNuxtConfig({
|
|
|
42
30
|
provider: 'ipx',
|
|
43
31
|
},
|
|
44
32
|
|
|
33
|
+
imports: {
|
|
34
|
+
dirs: ['./states', './stores', './forms', './interfaces', './base', './plugins'],
|
|
35
|
+
},
|
|
36
|
+
|
|
37
|
+
modules: [
|
|
38
|
+
'@nuxt/test-utils/module',
|
|
39
|
+
'@nuxtjs/tailwindcss',
|
|
40
|
+
'@lenne.tech/nuxt-base',
|
|
41
|
+
'@vueuse/nuxt',
|
|
42
|
+
'@nuxtjs/google-fonts',
|
|
43
|
+
'@nuxtjs/color-mode',
|
|
44
|
+
'@nuxt/image',
|
|
45
|
+
'@nuxtjs/robots',
|
|
46
|
+
'@nuxtjs/sitemap',
|
|
47
|
+
'@nuxtjs/plausible',
|
|
48
|
+
],
|
|
49
|
+
|
|
45
50
|
nuxtBase: {
|
|
46
51
|
generateTypes: process.env['GENERATE_TYPES'] === '1',
|
|
47
52
|
gqlHost: process.env.API_URL + '/graphql',
|
|
@@ -50,11 +55,8 @@ export default defineNuxtConfig({
|
|
|
50
55
|
storagePrefix: process.env.STORAGE_PREFIX,
|
|
51
56
|
},
|
|
52
57
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
title: 'Nuxt Base Starter',
|
|
56
|
-
viewport: 'width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no',
|
|
57
|
-
},
|
|
58
|
+
plausible: {
|
|
59
|
+
apiHost: '',
|
|
58
60
|
},
|
|
59
61
|
|
|
60
62
|
runtimeConfig: {
|
|
@@ -65,13 +67,13 @@ export default defineNuxtConfig({
|
|
|
65
67
|
},
|
|
66
68
|
},
|
|
67
69
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
+
sitemap: {
|
|
71
|
+
exclude: ['/app/**'],
|
|
70
72
|
},
|
|
71
73
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
74
|
+
spaLoadingTemplate: false,
|
|
75
|
+
|
|
76
|
+
srcDir: './src',
|
|
75
77
|
|
|
76
78
|
// googleFonts: {
|
|
77
79
|
// families: {
|
|
@@ -83,9 +85,7 @@ export default defineNuxtConfig({
|
|
|
83
85
|
// stylePath: '~/assets/css/fonts.css',
|
|
84
86
|
// },
|
|
85
87
|
|
|
86
|
-
|
|
87
|
-
dirs: ['./states', './stores', './forms', './interfaces', './base', './plugins'],
|
|
88
|
-
},
|
|
88
|
+
ssr: true,
|
|
89
89
|
|
|
90
90
|
telemetry: false,
|
|
91
91
|
});
|