create-nuxt-base 0.3.8 → 0.3.10

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,20 @@
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.10](https://github.com/lenneTech/nuxt-base-starter/compare/v0.3.9...v0.3.10) (2025-02-20)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * Fix tailwind error, build error and add dayjs and seo modules ([b1cf768](https://github.com/lenneTech/nuxt-base-starter/commit/b1cf7688091d02a09619c9524376481d286b5b5b))
11
+
12
+ ### [0.3.9](https://github.com/lenneTech/nuxt-base-starter/compare/v0.3.8...v0.3.9) (2025-02-17)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * add missing .npmrc ([47f9bab](https://github.com/lenneTech/nuxt-base-starter/commit/47f9bab4920153fb711ac0fdba43811295e33d82))
18
+
5
19
  ### [0.3.8](https://github.com/lenneTech/nuxt-base-starter/compare/v0.3.7...v0.3.8) (2025-02-17)
6
20
 
7
21
 
package/index.js CHANGED
@@ -46,6 +46,13 @@ async function create() {
46
46
  'Copied .gitignore successfully!'
47
47
  );
48
48
 
49
+ // Copy .npmrc
50
+ await writeFile(
51
+ projectDir + '/.npmrc',
52
+ await getRemoteContent('https://raw.githubusercontent.com/lenneTech/nuxt-base-starter/refs/heads/main/nuxt-base-template/.npmrc'),
53
+ 'Copied .npmrc successfully!'
54
+ );
55
+
49
56
  // Copy .env
50
57
  await copyFiles(__dirname + '/nuxt-base-template/.env.example', projectDir + '/.env', 'Copied .env successfully!');
51
58
 
@@ -44,12 +44,23 @@ export default defineNuxtConfig({
44
44
  '@vueuse/nuxt',
45
45
  '@nuxtjs/google-fonts',
46
46
  '@nuxtjs/color-mode',
47
+ 'dayjs-nuxt',
47
48
  '@nuxt/image',
48
- '@nuxtjs/robots',
49
- '@nuxtjs/sitemap',
50
49
  '@nuxtjs/plausible',
50
+ '@nuxtjs/seo',
51
51
  ],
52
52
 
53
+ // sets the default renderer to chromium
54
+ ogImage: {
55
+ defaults: {
56
+ renderer: 'chromium',
57
+ },
58
+ },
59
+
60
+ robots: {
61
+ disallow: ['/app', '/auth', '/admin'],
62
+ },
63
+
53
64
  nuxtBase: {
54
65
  disableGraphql: false,
55
66
  generateTypes: process.env['GENERATE_TYPES'] === '1',
@@ -72,7 +83,12 @@ export default defineNuxtConfig({
72
83
  },
73
84
 
74
85
  sitemap: {
75
- exclude: ['/app/**'],
86
+ exclude: ['/app/**', '/auth/**'],
87
+ },
88
+
89
+ site: {
90
+ name: 'Nuxt Base Starter',
91
+ url: process.env.SITE_URL,
76
92
  },
77
93
 
78
94
  spaLoadingTemplate: false,
@@ -94,6 +110,9 @@ export default defineNuxtConfig({
94
110
  telemetry: false,
95
111
 
96
112
  vite: {
113
+ build: {
114
+ cssMinify: 'lightningcss',
115
+ },
97
116
  plugins: [tailwindcss()],
98
117
  },
99
118
  });
@@ -27,8 +27,7 @@
27
27
  "app:e2e": "playwright test",
28
28
  "test": "echo 'No test specified' && exit 0",
29
29
  "lint": "eslint 'src/**/*.{ts,js,vue}'",
30
- "lint:fix": "eslint 'src/**/*.{ts,js,vue}' --fix",
31
- "postbuild": "node postbuild.js"
30
+ "lint:fix": "eslint 'src/**/*.{ts,js,vue}' --fix"
32
31
  },
33
32
  "dependencies": {
34
33
  "@egoist/tailwindcss-icons": "1.9.0",
@@ -52,8 +51,7 @@
52
51
  "@nuxtjs/color-mode": "3.5.2",
53
52
  "@nuxtjs/google-fonts": "3.2.0",
54
53
  "@nuxtjs/plausible": "1.2.0",
55
- "@nuxtjs/robots": "5.2.2",
56
- "@nuxtjs/sitemap": "7.2.5",
54
+ "@nuxtjs/seo": "2.2.0",
57
55
  "@nuxtjs/tailwindcss": "6.13.1",
58
56
  "@playwright/test": "1.50.1",
59
57
  "@tailwindcss/forms": "0.5.10",
@@ -61,6 +59,7 @@
61
59
  "@tailwindcss/typography": "0.5.16",
62
60
  "@types/node": "22.13.4",
63
61
  "@vitejs/plugin-vue": "5.2.1",
62
+ "dayjs-nuxt": "2.1.11",
64
63
  "@vue/test-utils": "2.4.6",
65
64
  "eslint": "9.20.1",
66
65
  "jsdom": "26.0.0",