@papillonarts/setup 0.47.0 → 0.48.0
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/eslint/index.mjs"],"names":[],"mappings":"AAwBA;;
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/eslint/index.mjs"],"names":[],"mappings":"AAwBA;;qCAqKC"}
|
package/build/eslint/index.mjs
CHANGED
|
@@ -46,6 +46,8 @@ export function getESLintSetup({ eslintIgnores }) {
|
|
|
46
46
|
|
|
47
47
|
files: ['**/*.{js,mjs,cjs,jsx,mjsx,ts,tsx,mtsx}'],
|
|
48
48
|
|
|
49
|
+
ignores: ['**/__tests__/**', '**/*.test.ts', '**/*.test.tsx', '**/*.d.ts'],
|
|
50
|
+
|
|
49
51
|
plugins: {
|
|
50
52
|
react: fixupPluginRules(react),
|
|
51
53
|
'react-hooks': fixupPluginRules(reactHooks),
|
|
@@ -93,7 +95,7 @@ export function getESLintSetup({ eslintIgnores }) {
|
|
|
93
95
|
},
|
|
94
96
|
|
|
95
97
|
projectService: {
|
|
96
|
-
allowDefaultProject: ['*.js', '*.jsx', '*.ts', '*.tsx'],
|
|
98
|
+
allowDefaultProject: ['*.js', '*.jsx', '*.ts', '*.tsx', '*.d.ts'],
|
|
97
99
|
},
|
|
98
100
|
},
|
|
99
101
|
},
|
|
@@ -118,7 +120,8 @@ export function getESLintSetup({ eslintIgnores }) {
|
|
|
118
120
|
'<root>packages/components/tsconfig.json',
|
|
119
121
|
'<root>packages/library/tsconfig.json',
|
|
120
122
|
'<root>packages/lodash/tsconfig.json',
|
|
121
|
-
'<root>packages/setup/
|
|
123
|
+
'<root>packages/setup/tsconfig.json',
|
|
124
|
+
'<root>packages/core/tsconfig.json',
|
|
122
125
|
],
|
|
123
126
|
}),
|
|
124
127
|
],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@papillonarts/setup",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.48.0",
|
|
4
4
|
"description": "Papillon Arts Setup",
|
|
5
5
|
"homepage": "https://github.com/papillonarts/papillonarts/tree/master/packages/setup",
|
|
6
6
|
"repository": {
|
|
@@ -27,15 +27,15 @@
|
|
|
27
27
|
"./webpack": "./build/webpack/index.js"
|
|
28
28
|
},
|
|
29
29
|
"scripts": {
|
|
30
|
-
"cleanup": "
|
|
30
|
+
"cleanup": "rimraf build node_modules package-lock.json",
|
|
31
31
|
"install-packages": "npm i",
|
|
32
32
|
"install-papillonarts-latest": "echo \"setup skipping install-papillonarts-latest\" && exit 0",
|
|
33
33
|
"generate-typing": "tsc",
|
|
34
|
-
"generate-commonjs": "
|
|
34
|
+
"generate-commonjs": "rimraf build && babel --copy-files --no-copy-ignored --extensions '.js,.jsx,.ts,.tsx,.md' --out-dir build src --ignore **/__tests__,**/*.md",
|
|
35
35
|
"build": "npm-run-all generate-commonjs generate-typing",
|
|
36
36
|
"build-test": "npm run build",
|
|
37
37
|
"build-acceptance": "npm run build",
|
|
38
38
|
"build-release": "npm run build"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "0e3dc43de7c6e4ff4a2fcec300c7a733e5736ef4"
|
|
41
41
|
}
|
|
File without changes
|