@papillonarts/setup 0.33.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/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
|
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
|
}
|