create-nuxt-base 0.1.11 → 0.1.13
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/.vscode/settings.json +11 -0
- package/CHANGELOG.md +10 -0
- package/nuxt-base-template/.vscode/settings.json +2 -2
- package/nuxt-base-template/nuxt.config.ts +13 -5
- package/nuxt-base-template/package.json +6 -1
- package/package.json +1 -1
- /package/nuxt-base-template/{public → src/public}/favicon.ico +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,16 @@
|
|
|
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.1.13](https://github.com/lenneTech/nuxt-base-starter/compare/v0.1.12...v0.1.13) (2023-04-23)
|
|
6
|
+
|
|
7
|
+
### [0.1.12](https://github.com/lenneTech/nuxt-base-starter/compare/v0.1.11...v0.1.12) (2023-04-01)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* Add some usefull scripts ([05102f9](https://github.com/lenneTech/nuxt-base-starter/commit/05102f91fcf098aef211db9c15b583bb7fd0aacf))
|
|
13
|
+
* Set nuxt-base watch prop default to false ([48189ea](https://github.com/lenneTech/nuxt-base-starter/commit/48189ea30501b698e2edb7d4cdfc56006964839f))
|
|
14
|
+
|
|
5
15
|
### [0.1.11](https://github.com/lenneTech/nuxt-base-starter/compare/v0.1.10...v0.1.11) (2023-04-01)
|
|
6
16
|
|
|
7
17
|
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"nuxt.isNuxtApp": true,
|
|
2
|
+
"nuxt.isNuxtApp": true,
|
|
3
3
|
"editor.formatOnSave": true,
|
|
4
4
|
"eslint.alwaysShowStatus": true,
|
|
5
|
-
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
|
|
6
5
|
"eslint.options": {
|
|
7
6
|
"extensions": [
|
|
8
7
|
".html",
|
|
@@ -25,4 +24,5 @@
|
|
|
25
24
|
},
|
|
26
25
|
"eslint.format.enable": true,
|
|
27
26
|
"css.validate": false,
|
|
27
|
+
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
|
|
28
28
|
}
|
|
@@ -1,11 +1,19 @@
|
|
|
1
1
|
// https://nuxt.com/docs/api/configuration/nuxt-config
|
|
2
2
|
export default defineNuxtConfig({
|
|
3
|
-
srcDir:
|
|
4
|
-
modules: [
|
|
3
|
+
srcDir: "./src",
|
|
4
|
+
modules: ["@nuxtjs/tailwindcss", "@lenne.tech/nuxt-base"],
|
|
5
5
|
nuxtBase: {
|
|
6
|
-
host:
|
|
6
|
+
host: "http://localhost:3100/api",
|
|
7
|
+
watch: false,
|
|
8
|
+
autoImport: true,
|
|
9
|
+
apollo: {
|
|
10
|
+
authType: "Bearer",
|
|
11
|
+
authHeader: "Authorization",
|
|
12
|
+
tokenStorage: "cookie",
|
|
13
|
+
proxyCookies: true,
|
|
14
|
+
},
|
|
7
15
|
},
|
|
8
16
|
imports: {
|
|
9
|
-
dirs: [
|
|
17
|
+
dirs: ["./states", "./stores"],
|
|
10
18
|
},
|
|
11
|
-
})
|
|
19
|
+
});
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
"name": "nuxt-base-template",
|
|
3
3
|
"private": true,
|
|
4
4
|
"scripts": {
|
|
5
|
+
"reinit": "rm -rf node_modules && rm -rf package-lock.json && npx nuxt cleanup && npm cache clean --force && npm i",
|
|
5
6
|
"build": "nuxt build",
|
|
6
7
|
"dev": "nuxt dev",
|
|
7
8
|
"generate": "nuxt generate",
|
|
@@ -13,7 +14,10 @@
|
|
|
13
14
|
"cy:open": "npx cypress open",
|
|
14
15
|
"lint": "eslint --ext .ts,.js,.vue .",
|
|
15
16
|
"lint:fix": "eslint --ext .ts,.js,.vue . --fix",
|
|
16
|
-
"prepare": "husky install"
|
|
17
|
+
"prepare": "husky install",
|
|
18
|
+
"release": "standard-version && git push --follow-tags origin main",
|
|
19
|
+
"release:minor": "standard-version --release-as minor && git push --follow-tags origin main",
|
|
20
|
+
"release:major": "standard-version --release-as major && git push --follow-tags origin main"
|
|
17
21
|
},
|
|
18
22
|
"dependencies": {
|
|
19
23
|
"@lenne.tech/nuxt-base": "latest",
|
|
@@ -45,6 +49,7 @@
|
|
|
45
49
|
"react": "18.2.0",
|
|
46
50
|
"react-dom": "18.2.0",
|
|
47
51
|
"storybook": "7.0.0-rc.10",
|
|
52
|
+
"standard-version": "9.5.0",
|
|
48
53
|
"ts-loader": "9.4.2",
|
|
49
54
|
"typescript": "4.9.5",
|
|
50
55
|
"vitest": "0.29.8"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-nuxt-base",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.13",
|
|
4
4
|
"description": "Starter to generate a configured environment with VueJS, Nuxt, Tailwind, Eslint, @lenne.tech/nuxt-base, Storybook, Unit Tests, Cypress etc.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
File without changes
|