@papillonarts/setup 0.24.0 → 0.26.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 -0
- package/{eslint → build/eslint}/index.mjs +6 -1
- package/build/jest/config.d.ts +182 -0
- package/build/jest/config.d.ts.map +1 -0
- package/{jest → build/jest}/config.js +9 -2
- package/build/jest/index.d.ts +3 -0
- package/build/jest/index.d.ts.map +1 -0
- package/build/jest/setup.d.ts +3 -0
- package/build/jest/setup.d.ts.map +1 -0
- package/{storybook → build/storybook}/mainSetup.d.ts.map +1 -1
- package/{storybook → build/storybook}/mainSetup.js +2 -1
- package/{webpack → build/webpack}/setup/commonSetup.d.ts +1 -1
- package/package.json +15 -9
- package/eslint/index.d.mts.map +0 -1
- package/jest/config.d.ts +0 -28
- package/jest/config.d.ts.map +0 -1
- package/jest/index.d.ts +0 -3
- package/jest/index.d.ts.map +0 -1
- package/jest/setup.d.ts +0 -2
- package/jest/setup.d.ts.map +0 -1
- /package/{babel → build/babel}/index.d.ts +0 -0
- /package/{babel → build/babel}/index.d.ts.map +0 -0
- /package/{babel → build/babel}/index.js +0 -0
- /package/{eslint → build/eslint}/index.d.mts +0 -0
- /package/{jest → build/jest}/index.js +0 -0
- /package/{jest → build/jest}/setup.js +0 -0
- /package/{prettier → build/prettier}/index.d.ts +0 -0
- /package/{prettier → build/prettier}/index.d.ts.map +0 -0
- /package/{prettier → build/prettier}/index.js +0 -0
- /package/{storybook → build/storybook}/index.d.ts +0 -0
- /package/{storybook → build/storybook}/index.d.ts.map +0 -0
- /package/{storybook → build/storybook}/index.js +0 -0
- /package/{storybook → build/storybook}/mainSetup.d.ts +0 -0
- /package/{storybook → build/storybook}/managerSetup.d.ts +0 -0
- /package/{storybook → build/storybook}/managerSetup.d.ts.map +0 -0
- /package/{storybook → build/storybook}/managerSetup.js +0 -0
- /package/{storybook → build/storybook}/previewSetup.d.ts +0 -0
- /package/{storybook → build/storybook}/previewSetup.d.ts.map +0 -0
- /package/{storybook → build/storybook}/previewSetup.js +0 -0
- /package/{stylelint → build/stylelint}/index.d.ts +0 -0
- /package/{stylelint → build/stylelint}/index.d.ts.map +0 -0
- /package/{stylelint → build/stylelint}/index.js +0 -0
- /package/{webpack → build/webpack}/constant/index.d.ts +0 -0
- /package/{webpack → build/webpack}/constant/index.d.ts.map +0 -0
- /package/{webpack → build/webpack}/constant/index.js +0 -0
- /package/{webpack → build/webpack}/index.d.ts +0 -0
- /package/{webpack → build/webpack}/index.d.ts.map +0 -0
- /package/{webpack → build/webpack}/index.js +0 -0
- /package/{webpack → build/webpack}/loader/babelLoader.d.ts +0 -0
- /package/{webpack → build/webpack}/loader/babelLoader.d.ts.map +0 -0
- /package/{webpack → build/webpack}/loader/babelLoader.js +0 -0
- /package/{webpack → build/webpack}/loader/cssLoader.d.ts +0 -0
- /package/{webpack → build/webpack}/loader/cssLoader.d.ts.map +0 -0
- /package/{webpack → build/webpack}/loader/cssLoader.js +0 -0
- /package/{webpack → build/webpack}/loader/fontLoader.d.ts +0 -0
- /package/{webpack → build/webpack}/loader/fontLoader.d.ts.map +0 -0
- /package/{webpack → build/webpack}/loader/fontLoader.js +0 -0
- /package/{webpack → build/webpack}/loader/imageLoader.d.ts +0 -0
- /package/{webpack → build/webpack}/loader/imageLoader.d.ts.map +0 -0
- /package/{webpack → build/webpack}/loader/imageLoader.js +0 -0
- /package/{webpack → build/webpack}/loader/markdownLoader.d.ts +0 -0
- /package/{webpack → build/webpack}/loader/markdownLoader.d.ts.map +0 -0
- /package/{webpack → build/webpack}/loader/markdownLoader.js +0 -0
- /package/{webpack → build/webpack}/loader/postCSSLoader.d.ts +0 -0
- /package/{webpack → build/webpack}/loader/postCSSLoader.d.ts.map +0 -0
- /package/{webpack → build/webpack}/loader/postCSSLoader.js +0 -0
- /package/{webpack → build/webpack}/loader/sassLoader.d.ts +0 -0
- /package/{webpack → build/webpack}/loader/sassLoader.d.ts.map +0 -0
- /package/{webpack → build/webpack}/loader/sassLoader.js +0 -0
- /package/{webpack → build/webpack}/loader/svgrLoader.d.ts +0 -0
- /package/{webpack → build/webpack}/loader/svgrLoader.d.ts.map +0 -0
- /package/{webpack → build/webpack}/loader/svgrLoader.js +0 -0
- /package/{webpack → build/webpack}/loader/tsLoader.d.ts +0 -0
- /package/{webpack → build/webpack}/loader/tsLoader.d.ts.map +0 -0
- /package/{webpack → build/webpack}/loader/tsLoader.js +0 -0
- /package/{webpack → build/webpack}/plugin/bannerPlugin.d.ts +0 -0
- /package/{webpack → build/webpack}/plugin/bannerPlugin.d.ts.map +0 -0
- /package/{webpack → build/webpack}/plugin/bannerPlugin.js +0 -0
- /package/{webpack → build/webpack}/plugin/cleanWebpackPlugin.d.ts +0 -0
- /package/{webpack → build/webpack}/plugin/cleanWebpackPlugin.d.ts.map +0 -0
- /package/{webpack → build/webpack}/plugin/cleanWebpackPlugin.js +0 -0
- /package/{webpack → build/webpack}/plugin/copyWebpackPlugin.d.ts +0 -0
- /package/{webpack → build/webpack}/plugin/copyWebpackPlugin.d.ts.map +0 -0
- /package/{webpack → build/webpack}/plugin/copyWebpackPlugin.js +0 -0
- /package/{webpack → build/webpack}/plugin/cssMinimizerWebpackPlugin.d.ts +0 -0
- /package/{webpack → build/webpack}/plugin/cssMinimizerWebpackPlugin.d.ts.map +0 -0
- /package/{webpack → build/webpack}/plugin/cssMinimizerWebpackPlugin.js +0 -0
- /package/{webpack → build/webpack}/plugin/dotenvWebpack.d.ts +0 -0
- /package/{webpack → build/webpack}/plugin/dotenvWebpack.d.ts.map +0 -0
- /package/{webpack → build/webpack}/plugin/dotenvWebpack.js +0 -0
- /package/{webpack → build/webpack}/plugin/forkTSCheckerWebpackPlugin.d.ts +0 -0
- /package/{webpack → build/webpack}/plugin/forkTSCheckerWebpackPlugin.d.ts.map +0 -0
- /package/{webpack → build/webpack}/plugin/forkTSCheckerWebpackPlugin.js +0 -0
- /package/{webpack → build/webpack}/plugin/hotModuleReplacementPlugin.d.ts +0 -0
- /package/{webpack → build/webpack}/plugin/hotModuleReplacementPlugin.d.ts.map +0 -0
- /package/{webpack → build/webpack}/plugin/hotModuleReplacementPlugin.js +0 -0
- /package/{webpack → build/webpack}/plugin/htmlWebpackPlugin.d.ts +0 -0
- /package/{webpack → build/webpack}/plugin/htmlWebpackPlugin.d.ts.map +0 -0
- /package/{webpack → build/webpack}/plugin/htmlWebpackPlugin.js +0 -0
- /package/{webpack → build/webpack}/plugin/miniCSSExtractPlugin.d.ts +0 -0
- /package/{webpack → build/webpack}/plugin/miniCSSExtractPlugin.d.ts.map +0 -0
- /package/{webpack → build/webpack}/plugin/miniCSSExtractPlugin.js +0 -0
- /package/{webpack → build/webpack}/plugin/moduleConcatenationPlugin.d.ts +0 -0
- /package/{webpack → build/webpack}/plugin/moduleConcatenationPlugin.d.ts.map +0 -0
- /package/{webpack → build/webpack}/plugin/moduleConcatenationPlugin.js +0 -0
- /package/{webpack → build/webpack}/plugin/webpackBundleAnalyzer.d.ts +0 -0
- /package/{webpack → build/webpack}/plugin/webpackBundleAnalyzer.d.ts.map +0 -0
- /package/{webpack → build/webpack}/plugin/webpackBundleAnalyzer.js +0 -0
- /package/{webpack → build/webpack}/plugin/webpackManifestPlugin.d.ts +0 -0
- /package/{webpack → build/webpack}/plugin/webpackManifestPlugin.d.ts.map +0 -0
- /package/{webpack → build/webpack}/plugin/webpackManifestPlugin.js +0 -0
- /package/{webpack → build/webpack}/server/devServer.d.ts +0 -0
- /package/{webpack → build/webpack}/server/devServer.d.ts.map +0 -0
- /package/{webpack → build/webpack}/server/devServer.js +0 -0
- /package/{webpack → build/webpack}/setup/commonSetup.d.ts.map +0 -0
- /package/{webpack → build/webpack}/setup/commonSetup.js +0 -0
- /package/{webpack → build/webpack}/setup/developmentSetup.d.ts +0 -0
- /package/{webpack → build/webpack}/setup/developmentSetup.d.ts.map +0 -0
- /package/{webpack → build/webpack}/setup/developmentSetup.js +0 -0
- /package/{webpack → build/webpack}/setup/productionSetup.d.ts +0 -0
- /package/{webpack → build/webpack}/setup/productionSetup.d.ts.map +0 -0
- /package/{webpack → build/webpack}/setup/productionSetup.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/eslint/index.mjs"],"names":[],"mappings":"AAsBA;;qCAqIC"}
|
|
@@ -82,7 +82,12 @@ export function getESLintSetup({ eslintIgnores }) {
|
|
|
82
82
|
settings: {
|
|
83
83
|
'import/resolver': {
|
|
84
84
|
alias: {
|
|
85
|
-
map: [
|
|
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
|
+
],
|
|
86
91
|
extensions: ['.js', '.jsx', '.ts', '.tsx'],
|
|
87
92
|
},
|
|
88
93
|
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
export declare function getJestSetup({ testPathIgnorePatterns, coverageDirectory, collectCoverage, collectCoverageFrom, coverageThreshold }: {
|
|
2
|
+
testPathIgnorePatterns: any;
|
|
3
|
+
coverageDirectory: any;
|
|
4
|
+
collectCoverage: any;
|
|
5
|
+
collectCoverageFrom: any;
|
|
6
|
+
coverageThreshold: any;
|
|
7
|
+
}): {
|
|
8
|
+
filter?: string;
|
|
9
|
+
globals?: {
|
|
10
|
+
[x: string]: unknown;
|
|
11
|
+
};
|
|
12
|
+
testPathIgnorePatterns?: string[];
|
|
13
|
+
coverageDirectory?: string;
|
|
14
|
+
collectCoverage?: boolean;
|
|
15
|
+
collectCoverageFrom?: string[];
|
|
16
|
+
coverageThreshold?: {
|
|
17
|
+
[path: string]: {
|
|
18
|
+
branches?: number | undefined;
|
|
19
|
+
functions?: number | undefined;
|
|
20
|
+
lines?: number | undefined;
|
|
21
|
+
statements?: number | undefined;
|
|
22
|
+
};
|
|
23
|
+
global: import("@sinclair/typebox").Static<import("@sinclair/typebox").TObject<{
|
|
24
|
+
branches: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
25
|
+
functions: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
26
|
+
lines: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
27
|
+
statements: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
28
|
+
}>>;
|
|
29
|
+
};
|
|
30
|
+
automock?: boolean;
|
|
31
|
+
bail?: number | boolean;
|
|
32
|
+
cache?: boolean;
|
|
33
|
+
cacheDirectory?: string;
|
|
34
|
+
ci?: boolean;
|
|
35
|
+
clearMocks?: boolean;
|
|
36
|
+
changedFilesWithAncestor?: boolean;
|
|
37
|
+
changedSince?: string;
|
|
38
|
+
coveragePathIgnorePatterns?: string[];
|
|
39
|
+
coverageProvider?: "babel" | "v8";
|
|
40
|
+
coverageReporters?: ("text" | "json" | "clover" | "cobertura" | "html-spa" | "html" | "json-summary" | "lcov" | "lcovonly" | "none" | "teamcity" | "text-lcov" | "text-summary" | ["text" | "json" | "clover" | "cobertura" | "html-spa" | "html" | "json-summary" | "lcov" | "lcovonly" | "none" | "teamcity" | "text-lcov" | "text-summary", {
|
|
41
|
+
[x: string]: unknown;
|
|
42
|
+
}])[];
|
|
43
|
+
dependencyExtractor?: string;
|
|
44
|
+
detectLeaks?: boolean;
|
|
45
|
+
detectOpenHandles?: boolean;
|
|
46
|
+
displayName?: string | {
|
|
47
|
+
name: string;
|
|
48
|
+
color: "black" | "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "blackBright" | "redBright" | "greenBright" | "yellowBright" | "blueBright" | "magentaBright" | "cyanBright" | "whiteBright";
|
|
49
|
+
};
|
|
50
|
+
expand?: boolean;
|
|
51
|
+
extensionsToTreatAsEsm?: string[];
|
|
52
|
+
fakeTimers?: {
|
|
53
|
+
enableGlobally?: boolean;
|
|
54
|
+
} & ({
|
|
55
|
+
advanceTimers?: number | boolean;
|
|
56
|
+
doNotFake?: ("performance" | "Date" | "hrtime" | "nextTick" | "queueMicrotask" | "requestAnimationFrame" | "cancelAnimationFrame" | "requestIdleCallback" | "cancelIdleCallback" | "setImmediate" | "clearImmediate" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout")[];
|
|
57
|
+
now?: number;
|
|
58
|
+
timerLimit?: number;
|
|
59
|
+
legacyFakeTimers?: false;
|
|
60
|
+
} | {
|
|
61
|
+
legacyFakeTimers?: true;
|
|
62
|
+
});
|
|
63
|
+
findRelatedTests?: boolean;
|
|
64
|
+
forceCoverageMatch?: string[];
|
|
65
|
+
forceExit?: boolean;
|
|
66
|
+
json?: boolean;
|
|
67
|
+
globalSetup?: string;
|
|
68
|
+
globalTeardown?: string;
|
|
69
|
+
haste?: {
|
|
70
|
+
computeSha1?: boolean;
|
|
71
|
+
defaultPlatform?: string;
|
|
72
|
+
forceNodeFilesystemAPI?: boolean;
|
|
73
|
+
enableSymlinks?: boolean;
|
|
74
|
+
hasteImplModulePath?: string;
|
|
75
|
+
platforms?: string[];
|
|
76
|
+
throwOnModuleCollision?: boolean;
|
|
77
|
+
hasteMapModulePath?: string;
|
|
78
|
+
retainAllFiles?: boolean;
|
|
79
|
+
};
|
|
80
|
+
id?: string;
|
|
81
|
+
injectGlobals?: boolean;
|
|
82
|
+
reporters?: (string | [string, {
|
|
83
|
+
[x: string]: unknown;
|
|
84
|
+
}])[];
|
|
85
|
+
logHeapUsage?: boolean;
|
|
86
|
+
lastCommit?: boolean;
|
|
87
|
+
listTests?: boolean;
|
|
88
|
+
maxConcurrency?: number;
|
|
89
|
+
maxWorkers?: string | number;
|
|
90
|
+
moduleDirectories?: string[];
|
|
91
|
+
moduleFileExtensions?: string[];
|
|
92
|
+
moduleNameMapper?: {
|
|
93
|
+
[x: string]: string | string[];
|
|
94
|
+
};
|
|
95
|
+
modulePathIgnorePatterns?: string[];
|
|
96
|
+
modulePaths?: string[];
|
|
97
|
+
noStackTrace?: boolean;
|
|
98
|
+
notify?: boolean;
|
|
99
|
+
notifyMode?: string;
|
|
100
|
+
onlyChanged?: boolean;
|
|
101
|
+
onlyFailures?: boolean;
|
|
102
|
+
openHandlesTimeout?: number;
|
|
103
|
+
outputFile?: string;
|
|
104
|
+
passWithNoTests?: boolean;
|
|
105
|
+
preset?: string;
|
|
106
|
+
prettierPath?: string;
|
|
107
|
+
projects?: (string | {
|
|
108
|
+
[x: string]: unknown;
|
|
109
|
+
})[];
|
|
110
|
+
randomize?: boolean;
|
|
111
|
+
replname?: string;
|
|
112
|
+
resetMocks?: boolean;
|
|
113
|
+
resetModules?: boolean;
|
|
114
|
+
resolver?: string;
|
|
115
|
+
restoreMocks?: boolean;
|
|
116
|
+
rootDir?: string;
|
|
117
|
+
roots?: string[];
|
|
118
|
+
runner?: string;
|
|
119
|
+
runTestsByPath?: boolean;
|
|
120
|
+
runtime?: string;
|
|
121
|
+
sandboxInjectedGlobals?: string[];
|
|
122
|
+
setupFiles?: string[];
|
|
123
|
+
setupFilesAfterEnv?: string[];
|
|
124
|
+
showSeed?: boolean;
|
|
125
|
+
silent?: boolean;
|
|
126
|
+
skipFilter?: boolean;
|
|
127
|
+
skipNodeResolution?: boolean;
|
|
128
|
+
slowTestThreshold?: number;
|
|
129
|
+
snapshotResolver?: string;
|
|
130
|
+
snapshotSerializers?: string[];
|
|
131
|
+
snapshotFormat?: {
|
|
132
|
+
theme?: {
|
|
133
|
+
comment?: string;
|
|
134
|
+
content?: string;
|
|
135
|
+
prop?: string;
|
|
136
|
+
tag?: string;
|
|
137
|
+
value?: string;
|
|
138
|
+
};
|
|
139
|
+
callToJSON?: boolean;
|
|
140
|
+
compareKeys?: null;
|
|
141
|
+
escapeRegex?: boolean;
|
|
142
|
+
escapeString?: boolean;
|
|
143
|
+
highlight?: boolean;
|
|
144
|
+
indent?: number;
|
|
145
|
+
maxDepth?: number;
|
|
146
|
+
maxWidth?: number;
|
|
147
|
+
min?: boolean;
|
|
148
|
+
printBasicPrototype?: boolean;
|
|
149
|
+
printFunctionName?: boolean;
|
|
150
|
+
};
|
|
151
|
+
errorOnDeprecated?: boolean;
|
|
152
|
+
testEnvironment?: string;
|
|
153
|
+
testEnvironmentOptions?: {
|
|
154
|
+
[x: string]: unknown;
|
|
155
|
+
};
|
|
156
|
+
testFailureExitCode?: number;
|
|
157
|
+
testLocationInResults?: boolean;
|
|
158
|
+
testMatch?: string | string[];
|
|
159
|
+
testNamePattern?: string;
|
|
160
|
+
testRegex?: string | string[];
|
|
161
|
+
testResultsProcessor?: string;
|
|
162
|
+
testRunner?: string;
|
|
163
|
+
testSequencer?: string;
|
|
164
|
+
testTimeout?: number;
|
|
165
|
+
transform?: {
|
|
166
|
+
[x: string]: string | [string, unknown];
|
|
167
|
+
};
|
|
168
|
+
transformIgnorePatterns?: string[];
|
|
169
|
+
watchPathIgnorePatterns?: string[];
|
|
170
|
+
unmockedModulePathPatterns?: string[];
|
|
171
|
+
updateSnapshot?: boolean;
|
|
172
|
+
useStderr?: boolean;
|
|
173
|
+
verbose?: boolean;
|
|
174
|
+
waitForUnhandledRejections?: boolean;
|
|
175
|
+
watch?: boolean;
|
|
176
|
+
watchAll?: boolean;
|
|
177
|
+
watchman?: boolean;
|
|
178
|
+
watchPlugins?: (string | [string, unknown])[];
|
|
179
|
+
workerIdleMemoryLimit?: string | number;
|
|
180
|
+
workerThreads?: boolean;
|
|
181
|
+
};
|
|
182
|
+
//# sourceMappingURL=config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/jest/config.ts"],"names":[],"mappings":"AAMA,wBAAgB,YAAY,CAAC,EAAE,sBAAsB,EAAE,iBAAiB,EAAE,eAAe,EAAE,mBAAmB,EAAE,iBAAiB,EAAE;;;;;;CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4BlI"}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
3
4
|
Object.defineProperty(exports, "__esModule", {
|
|
4
5
|
value: true
|
|
5
6
|
});
|
|
6
7
|
exports.getJestSetup = getJestSetup;
|
|
8
|
+
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
|
|
9
|
+
var _jestConfig = require("jest-config");
|
|
10
|
+
// https://jestjs.io/docs/configuration
|
|
7
11
|
// https://jestjs.io/docs/getting-started#using-typescript
|
|
8
12
|
|
|
9
13
|
function getJestSetup(_ref) {
|
|
@@ -12,7 +16,7 @@ function getJestSetup(_ref) {
|
|
|
12
16
|
collectCoverage = _ref.collectCoverage,
|
|
13
17
|
collectCoverageFrom = _ref.collectCoverageFrom,
|
|
14
18
|
coverageThreshold = _ref.coverageThreshold;
|
|
15
|
-
|
|
19
|
+
var config = {
|
|
16
20
|
testMatch: ['**/?(*.)test.(js|ts)?(x)'],
|
|
17
21
|
testPathIgnorePatterns: testPathIgnorePatterns,
|
|
18
22
|
roots: ['<rootDir>'],
|
|
@@ -35,6 +39,9 @@ function getJestSetup(_ref) {
|
|
|
35
39
|
moduleFileExtensions: ['js', 'jsx', 'ts', 'tsx'],
|
|
36
40
|
coverageThreshold: coverageThreshold,
|
|
37
41
|
// https://github.com/storybookjs/addon-jest
|
|
38
|
-
modulePathIgnorePatterns: ['<rootDir>/node_modules', '<rootDir>/jest-test-results.json']
|
|
42
|
+
modulePathIgnorePatterns: ['<rootDir>/node_modules', '<rootDir>/jest-test-results.json'],
|
|
43
|
+
// https://jestjs.io/docs/configuration#moduledirectories-arraystring
|
|
44
|
+
moduleDirectories: (0, _toConsumableArray2["default"])(_jestConfig.defaults.moduleDirectories)
|
|
39
45
|
};
|
|
46
|
+
return config;
|
|
40
47
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/jest/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"setup.d.ts","sourceRoot":"","sources":["../../src/jest/setup.ts"],"names":[],"mappings":"AAAA,OAAO,uBAAuB,CAAA;AAI9B,wBAAgB,YAAY,SAK3B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mainSetup.d.ts","sourceRoot":"","sources":["../../src/storybook/mainSetup.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"mainSetup.d.ts","sourceRoot":"","sources":["../../src/storybook/mainSetup.ts"],"names":[],"mappings":"AAYA,wBAAgB,qBAAqB,CAAC,EAAE,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE;;;;CAAA,uDA+P1E"}
|
|
@@ -14,7 +14,8 @@ var _object = require("@papillonarts/library/object");
|
|
|
14
14
|
var _webpack2 = require("@papillonarts/setup/webpack");
|
|
15
15
|
var _forkTsCheckerWebpackPlugin = _interopRequireDefault(require("fork-ts-checker-webpack-plugin"));
|
|
16
16
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
17
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
17
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } // https://storybook.js.org/docs/configure#configure-story-loading
|
|
18
|
+
// import { isEmptyObject } from '../../../library/src/object'
|
|
18
19
|
// https://storybook.js.org/docs/api
|
|
19
20
|
// https://storybook.js.org/docs/api/main-config/main-config
|
|
20
21
|
// https://storybook.js.org/docs/api/csf/csf-next#definemain
|
|
@@ -3,7 +3,7 @@ export declare function getWebpackCommonSetup({ micrositeFolderPaths, packageJSO
|
|
|
3
3
|
packageJSON: any;
|
|
4
4
|
}): {
|
|
5
5
|
entry: string[];
|
|
6
|
-
plugins: (import("
|
|
6
|
+
plugins: (import("clean-webpack-plugin").CleanWebpackPlugin | import("copy-webpack-plugin") | import("fork-ts-checker-webpack-plugin") | import("html-webpack-plugin") | import("webpack-manifest-plugin", { with: { "resolution-mode": "import" } }).WebpackManifestPlugin)[];
|
|
7
7
|
module: {
|
|
8
8
|
rules: ({
|
|
9
9
|
test: RegExp;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@papillonarts/setup",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.26.0",
|
|
4
4
|
"description": "Papillon Arts Setup",
|
|
5
5
|
"homepage": "https://github.com/papillonarts/papillonarts/tree/master/packages/setup",
|
|
6
6
|
"repository": {
|
|
@@ -11,15 +11,21 @@
|
|
|
11
11
|
"main": "build/index.js",
|
|
12
12
|
"module": "src/index.js",
|
|
13
13
|
"files": [
|
|
14
|
-
"
|
|
15
|
-
"eslint/",
|
|
16
|
-
"jest/",
|
|
17
|
-
"prettier/",
|
|
18
|
-
"storybook/",
|
|
19
|
-
"stylelint/",
|
|
20
|
-
"webpack/",
|
|
14
|
+
"build",
|
|
21
15
|
"README.md"
|
|
22
16
|
],
|
|
17
|
+
"exports": {
|
|
18
|
+
"./babel": "./src/babel/index.js",
|
|
19
|
+
"./eslint": "./src/eslint/index.mjs",
|
|
20
|
+
"./jest": "./src/jest/index.js",
|
|
21
|
+
"./prettier": "./src/prettier/index.js",
|
|
22
|
+
"./storybook": "./src/storybook/index.js",
|
|
23
|
+
"./storybook/mainSetup": "./src/storybook/mainSetup.js",
|
|
24
|
+
"./storybook/managerSetup": "./src/storybook/managerSetup.js",
|
|
25
|
+
"./storybook/previewSetup": "./src/storybook/previewSetup.js",
|
|
26
|
+
"./stylelint": "./src/stylelint/index.js",
|
|
27
|
+
"./webpack": "./src/webpack/index.js"
|
|
28
|
+
},
|
|
23
29
|
"scripts": {
|
|
24
30
|
"cleanup": "rm -rf build node_modules package-lock.json",
|
|
25
31
|
"install-packages": "npm i",
|
|
@@ -31,5 +37,5 @@
|
|
|
31
37
|
"build-acceptance": "npm run build",
|
|
32
38
|
"build-release": "npm run build"
|
|
33
39
|
},
|
|
34
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "b7ae1c632f2e7420524d68035f3dc9e775405804"
|
|
35
41
|
}
|
package/eslint/index.d.mts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/eslint/index.mjs"],"names":[],"mappings":"AAsBA;;qCAgIC"}
|
package/jest/config.d.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export function getJestSetup({ testPathIgnorePatterns, coverageDirectory, collectCoverage, collectCoverageFrom, coverageThreshold }: {
|
|
2
|
-
testPathIgnorePatterns: any;
|
|
3
|
-
coverageDirectory: any;
|
|
4
|
-
collectCoverage: any;
|
|
5
|
-
collectCoverageFrom: any;
|
|
6
|
-
coverageThreshold: any;
|
|
7
|
-
}): {
|
|
8
|
-
testMatch: string[];
|
|
9
|
-
testPathIgnorePatterns: any;
|
|
10
|
-
roots: string[];
|
|
11
|
-
transform: {
|
|
12
|
-
'^.+\\.(js|jsx|ts|tsx)$': string;
|
|
13
|
-
};
|
|
14
|
-
coverageDirectory: any;
|
|
15
|
-
collectCoverage: any;
|
|
16
|
-
coverageReporters: string[];
|
|
17
|
-
collectCoverageFrom: any;
|
|
18
|
-
setupFilesAfterEnv: string[];
|
|
19
|
-
moduleNameMapper: {
|
|
20
|
-
'\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga|md)$': string;
|
|
21
|
-
'^.+\\.(css|less|scss|md)$': string;
|
|
22
|
-
};
|
|
23
|
-
transformIgnorePatterns: string[];
|
|
24
|
-
moduleFileExtensions: string[];
|
|
25
|
-
coverageThreshold: any;
|
|
26
|
-
modulePathIgnorePatterns: string[];
|
|
27
|
-
};
|
|
28
|
-
//# sourceMappingURL=config.d.ts.map
|
package/jest/config.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/jest/config.js"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;EAwBC"}
|
package/jest/index.d.ts
DELETED
package/jest/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/jest/index.js"],"names":[],"mappings":""}
|
package/jest/setup.d.ts
DELETED
package/jest/setup.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"setup.d.ts","sourceRoot":"","sources":["../../src/jest/setup.js"],"names":[],"mappings":"AAIA,qCAKC"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|