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 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('rm', ['-rf', '.git'], { stdio: 'inherit' });
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. 🎉');
@@ -0,0 +1,3 @@
1
+ import vue from '@lenne.tech/eslint-config-vue';
2
+
3
+ export default vue;
@@ -1,40 +1,28 @@
1
1
  // https://nuxt.com/docs/api/configuration/nuxt-config
2
2
  export default defineNuxtConfig({
3
- ssr: true,
4
-
5
- spaLoadingTemplate: false,
6
-
7
- srcDir: './src',
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
- plausible: {
23
- apiHost: '',
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
- app: {
54
- head: {
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
- devServer: {
69
- port: 3001,
70
+ sitemap: {
71
+ exclude: ['/app/**'],
70
72
  },
71
73
 
72
- colorMode: {
73
- classSuffix: '',
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
- imports: {
87
- dirs: ['./states', './stores', './forms', './interfaces', './base', './plugins'],
88
- },
88
+ ssr: true,
89
89
 
90
90
  telemetry: false,
91
91
  });