cna-template
Advanced tools
Comparing version 3.6.0 to 3.7.0
{ | ||
"name": "cna-template", | ||
"version": "3.6.0", | ||
"version": "3.7.0", | ||
"description": "Templates for Create Nuxt App.", | ||
@@ -8,3 +8,4 @@ "files": [ | ||
], | ||
"license": "MIT" | ||
"license": "MIT", | ||
"gitHead": "8a704836023b5b1cdef938274a12ba73137466e6" | ||
} |
@@ -9,3 +9,3 @@ module.exports = { | ||
parserOptions: { | ||
parser: 'babel-eslint' | ||
parser: '@babel/eslint-parser' | ||
}, | ||
@@ -19,9 +19,9 @@ <%_ } _%> | ||
<%_ } _%> | ||
<%_ if (prettier) { _%> | ||
'plugin:prettier/recommended', | ||
<%_ } _%> | ||
<%_ if (test === 'webdriverio') { _%> | ||
'plugin:wdio/recommended', | ||
<%_ } _%> | ||
'plugin:nuxt/recommended' | ||
'plugin:nuxt/recommended', | ||
<%_ if (prettier) { _%> | ||
'prettier' | ||
<%_ } _%> | ||
], | ||
@@ -28,0 +28,0 @@ plugins: [ |
{ | ||
"dependencies": { | ||
"ant-design-vue": "^1.7.4" | ||
"ant-design-vue": "^1.7.6" | ||
} | ||
} |
@@ -9,7 +9,7 @@ { | ||
"@ava/babel": "^1.0.1", | ||
"@vue/test-utils": "^1.1.3", | ||
"@vue/test-utils": "^1.2.1", | ||
"ava": "^3.15.0", | ||
"babel-plugin-module-resolver": "^4.1.0", | ||
"cross-env": "^7.0.3", | ||
"jsdom": "^16.5.1", | ||
"jsdom": "^16.6.0", | ||
"jsdom-global": "^3.0.2", | ||
@@ -16,0 +16,0 @@ "require-extension-hooks": "^0.3.3", |
{ | ||
"dependencies": { | ||
"balm-ui": "^8.25.0" | ||
"balm-ui": "^8.40.4" | ||
} | ||
} |
{ | ||
"dependencies": { | ||
"nuxt-buefy": "^0.4.4" | ||
"nuxt-buefy": "^0.4.8" | ||
} | ||
} |
{ | ||
"dependencies": { | ||
"@chakra-ui/nuxt": "^0.3.0", | ||
"@chakra-ui/nuxt": "^0.3.3", | ||
"@nuxtjs/emotion": "^0.1.0" | ||
} | ||
} |
{ | ||
"dependencies": { | ||
"element-ui": "^2.15.1" | ||
"element-ui": "^2.15.2" | ||
} | ||
} |
@@ -26,3 +26,4 @@ module.exports = { | ||
'<rootDir>/pages/**/*.vue' | ||
] | ||
], | ||
testEnvironment: 'jsdom' | ||
} |
@@ -6,9 +6,9 @@ { | ||
"devDependencies": { | ||
"@vue/test-utils": "^1.1.3", | ||
"@vue/test-utils": "^1.2.1", | ||
"babel-core": "7.0.0-bridge.0", | ||
"babel-jest": "^26.6.3", | ||
"jest": "^26.6.3", | ||
"ts-jest": "^26.5.4", | ||
"babel-jest": "^27.0.5", | ||
"jest": "^27.0.5", | ||
"ts-jest": "^27.0.3", | ||
"vue-jest": "^3.0.4" | ||
} | ||
} |
@@ -6,5 +6,5 @@ { | ||
"devDependencies": { | ||
"nightwatch": "^1.5.1", | ||
"chromedriver": "^89.0.0" | ||
"nightwatch": "^1.7.6", | ||
"chromedriver": "^91.0.1" | ||
} | ||
} |
{ | ||
"dependencies": { | ||
"@oruga-ui/oruga": "^0.3.5" | ||
"@oruga-ui/oruga": "^0.4.2" | ||
} | ||
} |
{ | ||
"devDependencies": { | ||
"@nuxtjs/tailwindcss": "^4.0.1", | ||
"postcss": "^8.2.8" | ||
"@nuxtjs/tailwindcss": "^4.2.0", | ||
"postcss": "^8.3.5" | ||
} | ||
} |
{ | ||
"dependencies": { | ||
"vant": "^2.12.10" | ||
"vant": "^2.12.22" | ||
} | ||
} |
{ | ||
"dependencies": { | ||
"view-design": "^4.5.0" | ||
"view-design": "^4.6.1" | ||
} | ||
} |
{ | ||
"dependencies": { | ||
"vuetify": "^2.5.5" | ||
}, | ||
"devDependencies": { | ||
"@nuxtjs/vuetify": "^1.11.3" | ||
"@nuxtjs/vuetify": "^1.12.1" | ||
} | ||
} |
@@ -6,10 +6,10 @@ { | ||
"devDependencies": { | ||
"@wdio/cli": "^7.2.1", | ||
"@wdio/local-runner": "^7.2.1", | ||
"@wdio/mocha-framework": "^7.2.1", | ||
"@wdio/spec-reporter": "^7.2.1", | ||
"@wdio/sync": "^7.2.1", | ||
"eslint-plugin-wdio": "^7.0.0", | ||
"webdriverio": "^7.2.1" | ||
"@wdio/cli": "^7.7.4", | ||
"@wdio/local-runner": "^7.7.4", | ||
"@wdio/mocha-framework": "^7.7.4", | ||
"@wdio/spec-reporter": "^7.7.3", | ||
"@wdio/sync": "^7.7.4", | ||
"eslint-plugin-wdio": "^7.4.2", | ||
"webdriverio": "^7.7.4" | ||
} | ||
} |
{ | ||
"devDependencies": { | ||
"nuxt-windicss": "^0.4.4" | ||
"nuxt-windicss": "^1.1.1" | ||
} | ||
} |
@@ -27,3 +27,4 @@ <%_ if (ui === 'vuetify') { _%>import colors from 'vuetify/es5/util/colors' | ||
{ name: 'viewport', content: 'width=device-width, initial-scale=1' }, | ||
{ hid: 'description', name: 'description', content: '' } | ||
{ hid: 'description', name: 'description', content: '' }, | ||
{ name: 'format-detection', content: 'telephone=no' } | ||
], | ||
@@ -56,4 +57,2 @@ link: [ | ||
'framevuerk/dist/framevuerk-nuxt.min.css' | ||
<%_ } else if (ui === 'vuesax') { _%> | ||
'vuesax/dist/vuesax.css' | ||
<%_ } else if (ui === 'vant') { _%> | ||
@@ -76,4 +75,2 @@ 'vant/lib/index.css' | ||
'@/plugins/framevuerk' | ||
<%_ } else if (ui === 'vuesax') { _%> | ||
'@/plugins/vuesax' | ||
<%_ } else if (ui === 'vant') { _%> | ||
@@ -122,4 +119,4 @@ '@/plugins/vant' | ||
<%_ } else if (ui === 'oruga') { _%> | ||
// Doc: https://oruga.io/documentation/#nuxt | ||
'@oruga-ui/oruga/nuxt', | ||
// Doc: https://oruga.io/documentation/#nuxt | ||
'@oruga-ui/oruga/nuxt', | ||
<%_ } else if (ui === 'chakra-ui') { _%> | ||
@@ -126,0 +123,0 @@ // https://go.nuxtjs.dev/chakra |
@@ -29,3 +29,3 @@ module.exports = { | ||
delete pkg.devDependencies['@nuxtjs/eslint-module'] | ||
delete pkg.devDependencies['babel-eslint'] | ||
delete pkg.devDependencies['@babel/eslint-parser'] | ||
delete pkg.devDependencies.eslint | ||
@@ -36,5 +36,3 @@ delete pkg.devDependencies['eslint-plugin-nuxt'] | ||
if (!lintStaged) { | ||
delete pkg.husky | ||
delete pkg['lint-staged'] | ||
delete pkg.devDependencies.husky | ||
delete pkg.devDependencies['lint-staged'] | ||
@@ -53,3 +51,2 @@ } | ||
delete pkg.devDependencies['eslint-config-prettier'] | ||
delete pkg.devDependencies['eslint-plugin-prettier'] | ||
delete pkg.devDependencies['stylelint-config-prettier'] | ||
@@ -59,6 +56,9 @@ delete pkg.devDependencies.prettier | ||
if (!commitlint) { | ||
lintStaged && delete pkg.husky.hooks['commit-msg'] | ||
delete pkg.devDependencies['@commitlint/config-conventional'] | ||
delete pkg.devDependencies['@commitlint/cli'] | ||
} | ||
if (!lintStaged && !commitlint) { | ||
delete pkg.devDependencies.husky | ||
delete pkg.scripts.prepare | ||
} | ||
@@ -65,0 +65,0 @@ const lintScript = Object.values(lintScripts).join(' && ') |
@@ -8,3 +8,4 @@ { | ||
"lint:js": "eslint --ext \".js,.vue\" --ignore-path .gitignore .", | ||
"lint:style": "stylelint \"**/*.{vue,css}\" --ignore-path .gitignore" | ||
"lint:style": "stylelint \"**/*.{vue,css}\" --ignore-path .gitignore", | ||
"prepare": "husky install" | ||
}, | ||
@@ -15,37 +16,30 @@ "lint-staged": { | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS", | ||
"pre-commit": "lint-staged" | ||
} | ||
}, | ||
"dependencies": { | ||
"@nuxt/content": "^1.14.0", | ||
"@nuxtjs/axios": "^5.13.1", | ||
"@nuxtjs/axios": "^5.13.6", | ||
"@nuxtjs/pwa": "^3.3.5", | ||
"core-js": "^3.9.1", | ||
"nuxt": "^2.15.3" | ||
"core-js": "^3.15.1", | ||
"nuxt": "^2.15.7" | ||
}, | ||
"devDependencies": { | ||
"@commitlint/config-conventional": "^12.0.1", | ||
"@commitlint/cli": "^12.0.1", | ||
"@nuxt/types": "^2.15.3", | ||
"@commitlint/config-conventional": "^12.1.4", | ||
"@commitlint/cli": "^12.1.4", | ||
"@nuxt/types": "^2.15.7", | ||
"@nuxt/typescript-build": "^2.1.0", | ||
"@nuxtjs/eslint-config": "^6.0.0", | ||
"@nuxtjs/eslint-config-typescript": "^6.0.0", | ||
"@nuxtjs/eslint-config": "^6.0.1", | ||
"@nuxtjs/eslint-config-typescript": "^6.0.1", | ||
"@nuxtjs/eslint-module": "^3.0.2", | ||
"@nuxtjs/stylelint-module": "^4.0.0", | ||
"babel-eslint": "^10.1.0", | ||
"eslint": "^7.22.0", | ||
"eslint-config-prettier": "^8.1.0", | ||
"@babel/eslint-parser": "^7.14.7", | ||
"eslint": "^7.29.0", | ||
"eslint-config-prettier": "^8.3.0", | ||
"eslint-plugin-nuxt": "^2.0.0", | ||
"eslint-plugin-prettier": "^3.3.1", | ||
"eslint-plugin-vue": "^7.7.0", | ||
"husky": "^4.3.8", | ||
"eslint-plugin-vue": "^7.12.1", | ||
"husky": "^6.0.0", | ||
"lint-staged": "^10.5.4", | ||
"prettier": "^2.2.1", | ||
"stylelint": "^13.12.0", | ||
"prettier": "^2.3.2", | ||
"stylelint": "^13.13.1", | ||
"stylelint-config-prettier": "^8.0.2", | ||
"stylelint-config-standard": "^21.0.0" | ||
"stylelint-config-standard": "^22.0.0" | ||
} | ||
} |
@@ -20,2 +20,51 @@ # <%= name %> | ||
For detailed explanation on how things work, check out [Nuxt.js docs](https://nuxtjs.org). | ||
For detailed explanation on how things work, check out the [documentation](https://nuxtjs.org). | ||
## Special Directories | ||
You can create the following extra directories, some of which have special behaviors. Only `pages` is required; you can delete them if you don't want to use their functionality. | ||
### `assets` | ||
The assets directory contains your uncompiled assets such as Stylus or Sass files, images, or fonts. | ||
More information about the usage of this directory in [the documentation](https://nuxtjs.org/docs/2.x/directory-structure/assets). | ||
### `components` | ||
The components directory contains your Vue.js components. Components make up the different parts of your page and can be reused and imported into your pages, layouts and even other components. | ||
More information about the usage of this directory in [the documentation](https://nuxtjs.org/docs/2.x/directory-structure/components). | ||
### `layouts` | ||
Layouts are a great help when you want to change the look and feel of your Nuxt app, whether you want to include a sidebar or have distinct layouts for mobile and desktop. | ||
More information about the usage of this directory in [the documentation](https://nuxtjs.org/docs/2.x/directory-structure/layouts). | ||
### `pages` | ||
This directory contains your application views and routes. Nuxt will read all the `*.vue` files inside this directory and setup Vue Router automatically. | ||
More information about the usage of this directory in [the documentation](https://nuxtjs.org/docs/2.x/get-started/routing). | ||
### `plugins` | ||
The plugins directory contains JavaScript plugins that you want to run before instantiating the root Vue.js Application. This is the place to add Vue plugins and to inject functions or constants. Every time you need to use `Vue.use()`, you should create a file in `plugins/` and add its path to plugins in `nuxt.config.js`. | ||
More information about the usage of this directory in [the documentation](https://nuxtjs.org/docs/2.x/directory-structure/plugins). | ||
### `static` | ||
This directory contains your static files. Each file inside this directory is mapped to `/`. | ||
Example: `/static/robots.txt` is mapped as `/robots.txt`. | ||
More information about the usage of this directory in [the documentation](https://nuxtjs.org/docs/2.x/directory-structure/static). | ||
### `store` | ||
This directory contains your Vuex store files. Creating a file in this directory automatically activates Vuex. | ||
More information about the usage of this directory in [the documentation](https://nuxtjs.org/docs/2.x/directory-structure/store). |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
70
167272
92
1063
1