@dword-design/base 10.1.1 → 10.1.3
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 +4 -4
- package/package.json +2 -10
package/dist/index.js
CHANGED
|
@@ -43,14 +43,14 @@ import getGitInfo from "./get-git-info/index.js";
|
|
|
43
43
|
const _require = createRequire(import.meta.url);
|
|
44
44
|
const babelConfig = _require('@dword-design/babel-config');
|
|
45
45
|
const mergeConfigs = (...configs) => {
|
|
46
|
-
var _result$eslintConfig
|
|
46
|
+
var _result$eslintConfig;
|
|
47
47
|
const result = deepmerge.all(configs, {
|
|
48
48
|
customMerge: key => key === 'supportedNodeVersions' ? (a, b) => b : undefined
|
|
49
49
|
});
|
|
50
|
-
if (((_result$eslintConfig = result.eslintConfig) === null || _result$eslintConfig === void 0
|
|
51
|
-
var _ref, _result$eslintConfig
|
|
50
|
+
if (((_result$eslintConfig = result.eslintConfig) === null || _result$eslintConfig === void 0 || (_result$eslintConfig = _result$eslintConfig.rules) === null || _result$eslintConfig === void 0 || (_result$eslintConfig = _result$eslintConfig['import/no-unresolved']) === null || _result$eslintConfig === void 0 ? void 0 : _result$eslintConfig.length) > 0) {
|
|
51
|
+
var _ref, _result$eslintConfig$;
|
|
52
52
|
result.eslintConfig.rules['import/no-unresolved'] = ['error', {
|
|
53
|
-
ignore: (_ref = (_result$eslintConfig$
|
|
53
|
+
ignore: (_ref = (_result$eslintConfig$ = result.eslintConfig.rules['import/no-unresolved'], filter(setting => typeof setting === 'object')(_result$eslintConfig$)), flatMap(setting => setting.ignore)(_ref))
|
|
54
54
|
}];
|
|
55
55
|
}
|
|
56
56
|
return result;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dword-design/base",
|
|
3
|
-
"version": "10.1.
|
|
3
|
+
"version": "10.1.3",
|
|
4
4
|
"description": "Base package for projects.",
|
|
5
5
|
"repository": "dword-design/base",
|
|
6
6
|
"funding": "https://github.com/sponsors/dword-design",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"make-cli": "^3.0.0",
|
|
68
68
|
"mocha": "^10.2.0",
|
|
69
69
|
"mocha-spec-reporter-with-file-names": "npm:@dword-design/mocha-spec-reporter-with-file-names",
|
|
70
|
-
"mocha-ui-exports-auto-describe": "^
|
|
70
|
+
"mocha-ui-exports-auto-describe": "^3.0.0",
|
|
71
71
|
"nyc": "^15.0.0",
|
|
72
72
|
"output-files": "^2.0.0",
|
|
73
73
|
"package-name-regex": "^3.0.0",
|
|
@@ -101,13 +101,5 @@
|
|
|
101
101
|
},
|
|
102
102
|
"publishConfig": {
|
|
103
103
|
"access": "public"
|
|
104
|
-
},
|
|
105
|
-
"baseConfig": {
|
|
106
|
-
"name": "@dword-design/node",
|
|
107
|
-
"depcheckConfig": {
|
|
108
|
-
"ignoreMatches": [
|
|
109
|
-
"husky"
|
|
110
|
-
]
|
|
111
|
-
}
|
|
112
104
|
}
|
|
113
105
|
}
|