create-nuxt-base 0.1.2 → 0.1.4
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/README.md +2 -7
- package/nuxt-base-template/nuxt.config.ts +4 -1
- package/nuxt-base-template/package.json +2 -4
- package/package.json +8 -2
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
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
|
+
|
|
5
|
+
### [0.1.4](https://github.com/lenneTech/nuxt-base-starter/compare/v0.1.3...v0.1.4) (2023-03-31)
|
|
6
|
+
|
|
7
|
+
### [0.1.3](https://github.com/lenneTech/nuxt-base-starter/compare/v0.1.2...v0.1.3) (2023-03-31)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* Add standard version ([08ec915](https://github.com/lenneTech/nuxt-base-starter/commit/08ec9159dd831a76714a7677500dce20ce4347fa))
|
package/README.md
CHANGED
|
@@ -1,13 +1,8 @@
|
|
|
1
1
|
# Nuxt Starter
|
|
2
|
-
This is a starter template to create a Nuxt 3 development environment including Tailwind, Pinia, VueUse, Nuxt Base, Eslint
|
|
2
|
+
This is a starter template to create a Nuxt 3 development environment including Tailwind, Pinia, VueUse, Nuxt Base, Eslint, Cypress with Cucumber, Unit Tests, Husky and Storybook.
|
|
3
3
|
|
|
4
4
|
Just run the following command to create your Nuxt environment:
|
|
5
5
|
|
|
6
6
|
```bash
|
|
7
|
-
npx
|
|
8
|
-
```
|
|
9
|
-
## Options
|
|
10
|
-
To add Tests and storybook to your environment you can add the following flags:
|
|
11
|
-
```bash
|
|
12
|
-
npx @lenne.tech/nuxt-base-starter --tests --storybook my-awesome-project
|
|
7
|
+
npx create-nuxt-base my-awesome-project
|
|
13
8
|
```
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
// https://nuxt.com/docs/api/configuration/nuxt-config
|
|
2
2
|
export default defineNuxtConfig({
|
|
3
3
|
srcDir: './src',
|
|
4
|
-
modules: ['@nuxtjs/tailwindcss', '@
|
|
4
|
+
modules: ['@nuxtjs/tailwindcss', '@lenne.tech/nuxt-base'],
|
|
5
|
+
nuxtBase: {
|
|
6
|
+
host: 'http://localhost:3001/api'
|
|
7
|
+
},
|
|
5
8
|
imports: {
|
|
6
9
|
dirs: ['./states', './stores'],
|
|
7
10
|
},
|
|
@@ -16,10 +16,8 @@
|
|
|
16
16
|
"prepare": "husky install"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@lenne.tech/nuxt-base": "
|
|
20
|
-
"@
|
|
21
|
-
"@vueuse/core": "9.13.0",
|
|
22
|
-
"pinia": "2.0.33"
|
|
19
|
+
"@lenne.tech/nuxt-base": "latest",
|
|
20
|
+
"@vueuse/core": "9.13.0"
|
|
23
21
|
},
|
|
24
22
|
"devDependencies": {
|
|
25
23
|
"@antfu/eslint-config": "0.35.2",
|
package/package.json
CHANGED
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-nuxt-base",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
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": {
|
|
7
7
|
"create-nuxt-base": "./index.js"
|
|
8
8
|
},
|
|
9
|
+
"scripts": {
|
|
10
|
+
"release": "standard-version && git push --follow-tags origin main",
|
|
11
|
+
"release:minor": "standard-version --release-as minor && git push --follow-tags origin main",
|
|
12
|
+
"release:major": "standard-version --release-as major && git push --follow-tags origin main"
|
|
13
|
+
},
|
|
9
14
|
"author": "lenne.Tech GmbH",
|
|
10
15
|
"license": "MIT",
|
|
11
16
|
"dependencies": {
|
|
@@ -13,6 +18,7 @@
|
|
|
13
18
|
"fs-extra": "11.1.1"
|
|
14
19
|
},
|
|
15
20
|
"devDependencies": {
|
|
16
|
-
"prettier": "2.8.7"
|
|
21
|
+
"prettier": "2.8.7",
|
|
22
|
+
"standard-version": "9.5.0"
|
|
17
23
|
}
|
|
18
24
|
}
|