@papillonarts/setup 0.28.0 → 0.29.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":"
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/eslint/index.mjs"],"names":[],"mappings":"AAuBA;;qCA4IC"}
|
package/build/eslint/index.mjs
CHANGED
|
@@ -11,6 +11,7 @@ import path from 'node:path'
|
|
|
11
11
|
import { fileURLToPath } from 'node:url'
|
|
12
12
|
import js from '@eslint/js'
|
|
13
13
|
import { FlatCompat } from '@eslint/eslintrc'
|
|
14
|
+
import { createTypeScriptImportResolver } from 'eslint-import-resolver-typescript'
|
|
14
15
|
|
|
15
16
|
const __filename = fileURLToPath(import.meta.url)
|
|
16
17
|
const __dirname = path.dirname(__filename)
|
|
@@ -82,12 +83,6 @@ export function getESLintSetup({ eslintIgnores }) {
|
|
|
82
83
|
settings: {
|
|
83
84
|
'import/resolver': {
|
|
84
85
|
alias: {
|
|
85
|
-
map: [
|
|
86
|
-
['@papillonarts/components', '@papillonarts/components/build'],
|
|
87
|
-
['@papillonarts/css', '@papillonarts/css/build'],
|
|
88
|
-
['@papillonarts/library', '@papillonarts/library/build'],
|
|
89
|
-
['@papillonarts/setup', '@papillonarts/setup/build'],
|
|
90
|
-
],
|
|
91
86
|
extensions: ['.js', '.jsx', '.ts', '.tsx'],
|
|
92
87
|
},
|
|
93
88
|
|
|
@@ -96,8 +91,21 @@ export function getESLintSetup({ eslintIgnores }) {
|
|
|
96
91
|
},
|
|
97
92
|
},
|
|
98
93
|
|
|
94
|
+
// https://www.npmjs.com/package/eslint-import-resolver-typescript
|
|
95
|
+
// https://github.com/import-js/eslint-import-resolver-typescript
|
|
96
|
+
'import-x/resolver-next': [
|
|
97
|
+
createTypeScriptImportResolver({
|
|
98
|
+
project: [
|
|
99
|
+
'<root>/tsconfig.json',
|
|
100
|
+
'<root>packages/components/tsconfig.json',
|
|
101
|
+
'<root>packages/library/jsconfig.json',
|
|
102
|
+
'<root>packages/setup/jsconfig.json',
|
|
103
|
+
],
|
|
104
|
+
}),
|
|
105
|
+
],
|
|
106
|
+
|
|
99
107
|
react: {
|
|
100
|
-
version: '19.2.
|
|
108
|
+
version: '19.2.1',
|
|
101
109
|
},
|
|
102
110
|
},
|
|
103
111
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@papillonarts/setup",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.29.0",
|
|
4
4
|
"description": "Papillon Arts Setup",
|
|
5
5
|
"homepage": "https://github.com/papillonarts/papillonarts/tree/master/packages/setup",
|
|
6
6
|
"repository": {
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"build-acceptance": "npm run build",
|
|
38
38
|
"build-release": "npm run build"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "e49ac777466e8d0c490bd874c5cf99aad7fa9526"
|
|
41
41
|
}
|