create-nuxt-base 0.3.13 → 0.3.15
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 +14 -0
- package/index.js +3 -3
- package/nuxt-base-template/.env.example +4 -0
- package/nuxt-base-template/nuxt.config.ts +25 -15
- package/nuxt-base-template/package-lock.json +3263 -3863
- package/nuxt-base-template/package.json +17 -16
- package/package.json +2 -2
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.15](https://github.com/lenneTech/nuxt-base-starter/compare/v0.3.14...v0.3.15) (2025-09-05)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* Add Linear API configuration and update dependencies ([291adfd](https://github.com/lenneTech/nuxt-base-starter/commit/291adfd8ee6e2c464c4b7c74e4c27531bda3892e))
|
|
11
|
+
|
|
12
|
+
### [0.3.14](https://github.com/lenneTech/nuxt-base-starter/compare/v0.3.13...v0.3.14) (2025-08-01)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* **DEV-446:** Replace pnpm with npm for dependency installation and project commands ([8274c25](https://github.com/lenneTech/nuxt-base-starter/commit/8274c255384b841862d2d70a12c19ea30ecbb9d8))
|
|
18
|
+
|
|
5
19
|
### [0.3.13](https://github.com/lenneTech/nuxt-base-starter/compare/v0.3.12...v0.3.13) (2025-07-24)
|
|
6
20
|
|
|
7
21
|
|
package/index.js
CHANGED
|
@@ -69,7 +69,7 @@ async function create() {
|
|
|
69
69
|
await waitForChildProcess(gitInit);
|
|
70
70
|
|
|
71
71
|
console.log('Installing dependencies ...');
|
|
72
|
-
const runInstall = spawn('
|
|
72
|
+
const runInstall = spawn('npm', ['install'], { stdio: 'inherit' });
|
|
73
73
|
await waitForSpawn(runInstall);
|
|
74
74
|
|
|
75
75
|
const removeGit = spawn('npx', ['rimraf', '.git'], { stdio: 'inherit' });
|
|
@@ -79,7 +79,7 @@ async function create() {
|
|
|
79
79
|
|
|
80
80
|
if (autoStart) {
|
|
81
81
|
console.log('Building Project ...');
|
|
82
|
-
const runBuild = spawn('
|
|
82
|
+
const runBuild = spawn('npm', ['build'], { stdio: 'inherit' });
|
|
83
83
|
await waitForSpawn(runBuild)
|
|
84
84
|
.then(() => console.log('✅ Project was successfully built'))
|
|
85
85
|
.catch(() => console.log('❌ Error while building the project'));
|
|
@@ -93,7 +93,7 @@ async function create() {
|
|
|
93
93
|
await waitForMS(1000);
|
|
94
94
|
console.log(`Launching ${projectName} ... 🚀`);
|
|
95
95
|
await waitForMS(1000);
|
|
96
|
-
const runDev = spawn('
|
|
96
|
+
const runDev = spawn('npm', ['start'], { stdio: 'inherit' });
|
|
97
97
|
await waitForSpawn(runDev);
|
|
98
98
|
}
|
|
99
99
|
}
|
|
@@ -9,6 +9,15 @@ export default defineNuxtConfig({
|
|
|
9
9
|
},
|
|
10
10
|
},
|
|
11
11
|
|
|
12
|
+
bug: {
|
|
13
|
+
enabled: process.env.NODE_ENV !== 'production',
|
|
14
|
+
|
|
15
|
+
// Linear Integration
|
|
16
|
+
linearApiKey: process.env.LINEAR_API_KEY,
|
|
17
|
+
linearProjectName: process.env.LINEAR_PROJECT_NAME,
|
|
18
|
+
linearTeamName: process.env.LINEAR_TEAM_NAME,
|
|
19
|
+
},
|
|
20
|
+
|
|
12
21
|
colorMode: {
|
|
13
22
|
classSuffix: '',
|
|
14
23
|
},
|
|
@@ -41,6 +50,7 @@ export default defineNuxtConfig({
|
|
|
41
50
|
modules: [
|
|
42
51
|
'@nuxt/test-utils/module',
|
|
43
52
|
'@lenne.tech/nuxt-base',
|
|
53
|
+
'@lenne.tech/bug.lt',
|
|
44
54
|
'@vueuse/nuxt',
|
|
45
55
|
'@nuxtjs/google-fonts',
|
|
46
56
|
'@nuxtjs/color-mode',
|
|
@@ -50,17 +60,6 @@ export default defineNuxtConfig({
|
|
|
50
60
|
'@nuxtjs/seo',
|
|
51
61
|
],
|
|
52
62
|
|
|
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
|
-
|
|
64
63
|
nuxtBase: {
|
|
65
64
|
disableGraphql: false,
|
|
66
65
|
generateTypes: process.env['GENERATE_TYPES'] === '1',
|
|
@@ -70,11 +69,22 @@ export default defineNuxtConfig({
|
|
|
70
69
|
storagePrefix: process.env.STORAGE_PREFIX,
|
|
71
70
|
},
|
|
72
71
|
|
|
72
|
+
// sets the default renderer to chromium
|
|
73
|
+
ogImage: {
|
|
74
|
+
defaults: {
|
|
75
|
+
renderer: 'chromium',
|
|
76
|
+
},
|
|
77
|
+
},
|
|
78
|
+
|
|
73
79
|
plausible: {
|
|
74
80
|
apiHost: process.env.PLAUSIBLE_API_URL,
|
|
75
81
|
ignoredHostnames: ['localhost'],
|
|
76
82
|
},
|
|
77
83
|
|
|
84
|
+
robots: {
|
|
85
|
+
disallow: ['/app', '/auth', '/admin'],
|
|
86
|
+
},
|
|
87
|
+
|
|
78
88
|
runtimeConfig: {
|
|
79
89
|
public: {
|
|
80
90
|
gqlHost: process.env.API_URL + '/graphql',
|
|
@@ -83,15 +93,15 @@ export default defineNuxtConfig({
|
|
|
83
93
|
},
|
|
84
94
|
},
|
|
85
95
|
|
|
86
|
-
sitemap: {
|
|
87
|
-
exclude: ['/app/**', '/auth/**'],
|
|
88
|
-
},
|
|
89
|
-
|
|
90
96
|
site: {
|
|
91
97
|
name: 'Nuxt Base Starter',
|
|
92
98
|
url: process.env.SITE_URL,
|
|
93
99
|
},
|
|
94
100
|
|
|
101
|
+
sitemap: {
|
|
102
|
+
exclude: ['/app/**', '/auth/**'],
|
|
103
|
+
},
|
|
104
|
+
|
|
95
105
|
spaLoadingTemplate: false,
|
|
96
106
|
|
|
97
107
|
ssr: true,
|