@dword-design/base-config-nuxt 6.2.10 → 6.2.12
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/dist/index.js +1 -1
- package/dist/lint.js +0 -14
- package/package.json +1 -2
package/dist/index.js
CHANGED
|
@@ -39,7 +39,7 @@ export default function (config) {
|
|
|
39
39
|
},
|
|
40
40
|
editorIgnore: ['.eslintcache', '.stylelintcache', '.stylelintrc.json', '.nuxt', '.output', 'dist', 'nuxt.config.js'],
|
|
41
41
|
eslintConfig: getEslintConfig(pick(config, ['virtualImports'])),
|
|
42
|
-
gitignore: ['
|
|
42
|
+
gitignore: ['/.eslintcache', '/.nuxt', '/.output', '/.stylelintcache', '/dist', '/nuxt.config.js'],
|
|
43
43
|
lint,
|
|
44
44
|
npmPublish: true,
|
|
45
45
|
packageConfig: {
|
package/dist/lint.js
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import dotenv from '@dword-design/dotenv-json-extended';
|
|
2
1
|
import { execaCommand } from 'execa';
|
|
3
2
|
export default async function (options) {
|
|
4
3
|
options = {
|
|
5
|
-
env: {},
|
|
6
4
|
log: process.env.NODE_ENV !== 'test',
|
|
7
5
|
stderr: 'inherit',
|
|
8
6
|
...options
|
|
@@ -12,12 +10,6 @@ export default async function (options) {
|
|
|
12
10
|
stdout: 'inherit'
|
|
13
11
|
}),
|
|
14
12
|
cwd: this.cwd,
|
|
15
|
-
env: {
|
|
16
|
-
...dotenv.parse({
|
|
17
|
-
cwd: this.cwd
|
|
18
|
-
}),
|
|
19
|
-
...options.env
|
|
20
|
-
},
|
|
21
13
|
stderr: options.stderr
|
|
22
14
|
});
|
|
23
15
|
await execaCommand('stylelint --fix --allow-empty-input --ignore-path .gitignore **/*.{css,scss,vue}', {
|
|
@@ -25,12 +17,6 @@ export default async function (options) {
|
|
|
25
17
|
stdout: 'inherit'
|
|
26
18
|
}),
|
|
27
19
|
cwd: this.cwd,
|
|
28
|
-
env: {
|
|
29
|
-
...dotenv.parse({
|
|
30
|
-
cwd: this.cwd
|
|
31
|
-
}),
|
|
32
|
-
...options.env
|
|
33
|
-
},
|
|
34
20
|
stderr: options.stderr
|
|
35
21
|
});
|
|
36
22
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dword-design/base-config-nuxt",
|
|
3
|
-
"version": "6.2.
|
|
3
|
+
"version": "6.2.12",
|
|
4
4
|
"repository": "dword-design/base-config-nuxt",
|
|
5
5
|
"funding": "https://github.com/sponsors/dword-design",
|
|
6
6
|
"license": "MIT",
|
|
@@ -56,7 +56,6 @@
|
|
|
56
56
|
"@playwright/test": "^1.52.0",
|
|
57
57
|
"axios": "^1.9.0",
|
|
58
58
|
"depcheck": "^1.4.7",
|
|
59
|
-
"expect": "^29.7.0",
|
|
60
59
|
"get-port": "^7.1.0",
|
|
61
60
|
"nuxt-dev-ready": "^3.0.0",
|
|
62
61
|
"playwright": "^1.52.0",
|