@papillonarts/setup 0.32.0 → 0.34.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.
- package/build/eslint/index.d.mts.map +1 -1
- package/build/eslint/index.mjs +2 -1
- package/build/jest/config.d.ts +2 -1
- package/build/jest/config.d.ts.map +1 -1
- package/build/jest/config.js +4 -1
- package/build/storybook/mainSetup.d.ts.map +1 -1
- package/build/storybook/mainSetup.js +0 -5
- package/package.json +2 -2
|
@@ -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;;qCAqJC"}
|
package/build/eslint/index.mjs
CHANGED
|
@@ -107,7 +107,8 @@ export function getESLintSetup({ eslintIgnores }) {
|
|
|
107
107
|
project: [
|
|
108
108
|
'<root>/tsconfig.json',
|
|
109
109
|
'<root>packages/components/tsconfig.json',
|
|
110
|
-
'<root>packages/library/
|
|
110
|
+
'<root>packages/library/tsconfig.json',
|
|
111
|
+
'<root>packages/lodash/tsconfig.json',
|
|
111
112
|
'<root>packages/setup/jsconfig.json',
|
|
112
113
|
],
|
|
113
114
|
}),
|
package/build/jest/config.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export declare const transformIgnorePatterns: string[];
|
|
1
2
|
export declare function getJestSetup({ testPathIgnorePatterns, coverageDirectory, collectCoverage, collectCoverageFrom, coverageThreshold }: {
|
|
2
3
|
testPathIgnorePatterns: any;
|
|
3
4
|
coverageDirectory: any;
|
|
@@ -12,6 +13,7 @@ export declare function getJestSetup({ testPathIgnorePatterns, coverageDirectory
|
|
|
12
13
|
cache?: boolean;
|
|
13
14
|
resolver?: string;
|
|
14
15
|
roots?: string[];
|
|
16
|
+
bail?: number | boolean;
|
|
15
17
|
testPathIgnorePatterns?: string[];
|
|
16
18
|
coverageDirectory?: string;
|
|
17
19
|
collectCoverage?: boolean;
|
|
@@ -31,7 +33,6 @@ export declare function getJestSetup({ testPathIgnorePatterns, coverageDirectory
|
|
|
31
33
|
}>>;
|
|
32
34
|
};
|
|
33
35
|
automock?: boolean;
|
|
34
|
-
bail?: number | boolean;
|
|
35
36
|
cacheDirectory?: string;
|
|
36
37
|
ci?: boolean;
|
|
37
38
|
clearMocks?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/jest/config.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/jest/config.ts"],"names":[],"mappings":"AAqGA,eAAO,MAAM,uBAAuB,UAAyD,CAAA;AAE7F,wBAAgB,YAAY,CAAC,EAAE,sBAAsB,EAAE,iBAAiB,EAAE,eAAe,EAAE,mBAAmB,EAAE,iBAAiB,EAAE;;;;;;CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4BlI"}
|
package/build/jest/config.js
CHANGED
|
@@ -5,11 +5,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.getJestSetup = getJestSetup;
|
|
8
|
+
exports.transformIgnorePatterns = void 0;
|
|
8
9
|
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
|
|
9
10
|
var _jestConfig = require("jest-config");
|
|
10
11
|
// https://jestjs.io/docs/configuration
|
|
11
12
|
// https://jestjs.io/docs/getting-started#using-typescript
|
|
12
13
|
|
|
14
|
+
var transformIgnorePackages = ['bail', 'ccount', 'character-entities', 'character-entities-legacy', 'character-reference-invalid', 'comma-separated-tokens', 'decode-named-character-reference', 'devlop', 'escape-string-regexp', 'estree-util-is-identifier-name', 'hast-util-parse-selector', 'hast-util-to-jsx-runtime', 'hast-util-whitespace', 'hastscript', 'html-url-attributes', 'is-alphabetical', 'is-alphanumerical', 'is-blank', 'is-decimal', 'is-hexadecimal', 'is-plain-obj', 'is-whitespace-like', 'jsdom/node_modules/parse5', 'longest-streak', 'markdown-table', 'mdast-util-find-and-replace', 'mdast-util-find-and-replace/node_modules/escape-string-regexp', 'mdast-util-from-markdown', 'mdast-util-gfm', 'mdast-util-gfm-autolink-literal', 'mdast-util-gfm-footnote', 'mdast-util-gfm-strikethrough', 'mdast-util-gfm-table', 'mdast-util-gfm-task-list-item', 'mdast-util-mdx-expression', 'mdast-util-mdx-jsx', 'mdast-util-mdxjs-esm', 'mdast-util-phrasing', 'mdast-util-to-hast', 'mdast-util-to-markdown', 'mdast-util-to-string', 'micromark', 'micromark-core-commonmark', 'micromark-extension-gfm', 'micromark-extension-gfm-autolink-literal', 'micromark-extension-gfm-footnote', 'micromark-extension-gfm-strikethrough', 'micromark-extension-gfm-table', 'micromark-extension-gfm-tagfilter', 'micromark-extension-gfm-task-list-item', 'micromark-factory-destination', 'micromark-factory-label', 'micromark-factory-space', 'micromark-factory-title', 'micromark-factory-whitespace', 'micromark-util-character', 'micromark-util-chunked', 'micromark-util-classify-character', 'micromark-util-combine-extensions', 'micromark-util-decode-numeric-character-reference', 'micromark-util-decode-string', 'micromark-util-encode', 'micromark-util-html-tag-name', 'micromark-util-normalize-identifier', 'micromark-util-resolve-all', 'micromark-util-sanitize-uri', 'micromark-util-subtokenize', 'micromark-util-symbol', 'micromark-util-types', 'parse-entities', 'parse5', 'property-information', 'react-markdown', 'react-syntax-highlighter', 'refractor', 'remark-gfm', 'remark-parse', 'remark-rehype', 'remark-stringify', 'space-separated-tokens', 'trim-lines', 'trough', 'unified', 'unified/node_modules/is-plain-obj', 'unist-util-is', 'unist-util-position', 'unist-util-stringify-position', 'unist-util-visit', 'unist-util-visit-parents', 'uuid', 'vfile', 'vfile-message', 'zwitch'].join('|');
|
|
15
|
+
var transformIgnorePatterns = exports.transformIgnorePatterns = ["node_modules/(?!((@)?".concat(transformIgnorePackages, ")/)")];
|
|
13
16
|
function getJestSetup(_ref) {
|
|
14
17
|
var testPathIgnorePatterns = _ref.testPathIgnorePatterns,
|
|
15
18
|
coverageDirectory = _ref.coverageDirectory,
|
|
@@ -35,7 +38,7 @@ function getJestSetup(_ref) {
|
|
|
35
38
|
'^.+\\.(css|less|scss|md)$': 'identity-obj-proxy'
|
|
36
39
|
},
|
|
37
40
|
// https://jestjs.io/docs/tutorial-react-native#transformignorepatterns-customization
|
|
38
|
-
transformIgnorePatterns:
|
|
41
|
+
transformIgnorePatterns: transformIgnorePatterns,
|
|
39
42
|
moduleFileExtensions: ['js', 'jsx', 'ts', 'tsx'],
|
|
40
43
|
coverageThreshold: coverageThreshold,
|
|
41
44
|
// https://github.com/storybookjs/addon-jest
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mainSetup.d.ts","sourceRoot":"","sources":["../../src/storybook/mainSetup.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAOhE,wBAAgB,qBAAqB,CAAC,EAAE,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE;;;;CAAA,
|
|
1
|
+
{"version":3,"file":"mainSetup.d.ts","sourceRoot":"","sources":["../../src/storybook/mainSetup.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAOhE,wBAAgB,qBAAqB,CAAC,EAAE,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE;;;;CAAA,mBAiQ1E"}
|
|
@@ -247,11 +247,6 @@ function getStorybookMainSetup(_ref) {
|
|
|
247
247
|
},
|
|
248
248
|
skipCompiler: false
|
|
249
249
|
}
|
|
250
|
-
// https://storybook.js.org/docs/configure/environment-variables
|
|
251
|
-
// env: (config) => ({
|
|
252
|
-
// ...config,
|
|
253
|
-
// __DEV__: JSON.stringify(true),
|
|
254
|
-
// }),
|
|
255
250
|
};
|
|
256
251
|
return config;
|
|
257
252
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@papillonarts/setup",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.34.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": "1d84f25ec55009565a268dee39ca2d0ba1cecbbf"
|
|
41
41
|
}
|