@papillonarts/setup 0.11.0 → 0.13.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/babel/index.d.ts +5 -0
- package/babel/index.d.ts.map +1 -0
- package/eslint/index.d.ts +80 -0
- package/eslint/index.d.ts.map +1 -0
- package/jest/config.d.ts +27 -0
- package/jest/config.d.ts.map +1 -0
- package/jest/index.d.ts +3 -0
- package/jest/index.d.ts.map +1 -0
- package/jest/setup.d.ts +2 -0
- package/jest/setup.d.ts.map +1 -0
- package/package.json +5 -3
- package/prettier/index.d.ts +6 -0
- package/prettier/index.d.ts.map +1 -0
- package/storybook/index.d.ts +4 -0
- package/storybook/index.d.ts.map +1 -0
- package/storybook/mainSetup.d.ts +8 -0
- package/storybook/mainSetup.d.ts.map +1 -0
- package/storybook/managerSetup.d.ts +5 -0
- package/storybook/managerSetup.d.ts.map +1 -0
- package/storybook/previewSetup.d.ts +10 -0
- package/storybook/previewSetup.d.ts.map +1 -0
- package/stylelint/index.d.ts +16 -0
- package/stylelint/index.d.ts.map +1 -0
- package/webpack/constant/index.d.ts +10 -0
- package/webpack/constant/index.d.ts.map +1 -0
- package/webpack/constant/index.js +1 -1
- package/webpack/index.d.ts +24 -0
- package/webpack/index.d.ts.map +1 -0
- package/webpack/loader/babelLoader.d.ts +21 -0
- package/webpack/loader/babelLoader.d.ts.map +1 -0
- package/webpack/loader/babelLoader.js +1 -1
- package/webpack/loader/cssLoader.d.ts +14 -0
- package/webpack/loader/cssLoader.d.ts.map +1 -0
- package/webpack/loader/fontLoader.d.ts +5 -0
- package/webpack/loader/fontLoader.d.ts.map +1 -0
- package/webpack/loader/imageLoader.d.ts +5 -0
- package/webpack/loader/imageLoader.d.ts.map +1 -0
- package/webpack/loader/markdownLoader.d.ts +11 -0
- package/webpack/loader/markdownLoader.d.ts.map +1 -0
- package/webpack/loader/postCSSLoader.d.ts +11 -0
- package/webpack/loader/postCSSLoader.d.ts.map +1 -0
- package/webpack/loader/sassLoader.d.ts +14 -0
- package/webpack/loader/sassLoader.d.ts.map +1 -0
- package/webpack/loader/svgrLoader.d.ts +13 -0
- package/webpack/loader/svgrLoader.d.ts.map +1 -0
- package/webpack/plugin/bannerPlugin.d.ts +3 -0
- package/webpack/plugin/bannerPlugin.d.ts.map +1 -0
- package/webpack/plugin/cleanWebpackPlugin.d.ts +12 -0
- package/webpack/plugin/cleanWebpackPlugin.d.ts.map +1 -0
- package/webpack/plugin/copyWebpackPlugin.d.ts +6 -0
- package/webpack/plugin/copyWebpackPlugin.d.ts.map +1 -0
- package/webpack/plugin/cssMinimizerWebpackPlugin.d.ts +3 -0
- package/webpack/plugin/cssMinimizerWebpackPlugin.d.ts.map +1 -0
- package/webpack/plugin/dotenvWebpack.d.ts +13 -0
- package/webpack/plugin/dotenvWebpack.d.ts.map +1 -0
- package/webpack/plugin/hotModuleReplacementPlugin.d.ts +3 -0
- package/webpack/plugin/hotModuleReplacementPlugin.d.ts.map +1 -0
- package/webpack/plugin/htmlWebpackPlugin.d.ts +14 -0
- package/webpack/plugin/htmlWebpackPlugin.d.ts.map +1 -0
- package/webpack/plugin/miniCSSExtractPlugin.d.ts +5 -0
- package/webpack/plugin/miniCSSExtractPlugin.d.ts.map +1 -0
- package/webpack/plugin/moduleConcatenationPlugin.d.ts +5 -0
- package/webpack/plugin/moduleConcatenationPlugin.d.ts.map +1 -0
- package/webpack/plugin/webpackBundleAnalyzer.d.ts +2 -0
- package/webpack/plugin/webpackBundleAnalyzer.d.ts.map +1 -0
- package/webpack/plugin/webpackManifestPlugin.d.ts +3 -0
- package/webpack/plugin/webpackManifestPlugin.d.ts.map +1 -0
- package/webpack/server/devServer.d.ts +12 -0
- package/webpack/server/devServer.d.ts.map +1 -0
- package/webpack/setup/commonSetup.d.ts +53 -0
- package/webpack/setup/commonSetup.d.ts.map +1 -0
- package/webpack/setup/commonSetup.js +1 -1
- package/webpack/setup/developmentSetup.d.ts +8 -0
- package/webpack/setup/developmentSetup.d.ts.map +1 -0
- package/webpack/setup/productionSetup.d.ts +8 -0
- package/webpack/setup/productionSetup.d.ts.map +1 -0
package/babel/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/babel/index.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
export declare namespace env {
|
|
2
|
+
let amd: boolean;
|
|
3
|
+
let browser: boolean;
|
|
4
|
+
let commonjs: boolean;
|
|
5
|
+
let es2020: boolean;
|
|
6
|
+
let jasmine: boolean;
|
|
7
|
+
let jest: boolean;
|
|
8
|
+
let mocha: boolean;
|
|
9
|
+
let node: boolean;
|
|
10
|
+
}
|
|
11
|
+
declare let _extends: string[];
|
|
12
|
+
export { _extends as extends };
|
|
13
|
+
export declare namespace globals {
|
|
14
|
+
export let document: boolean;
|
|
15
|
+
export let expect: boolean;
|
|
16
|
+
let jest_1: boolean;
|
|
17
|
+
export { jest_1 as jest };
|
|
18
|
+
export let jsdom: boolean;
|
|
19
|
+
export let renderMount: boolean;
|
|
20
|
+
export let renderShallow: boolean;
|
|
21
|
+
}
|
|
22
|
+
export declare let parser: string;
|
|
23
|
+
export declare namespace parserOptions {
|
|
24
|
+
namespace ecmaFeatures {
|
|
25
|
+
let jsx: boolean;
|
|
26
|
+
}
|
|
27
|
+
let ecmaVersion: number;
|
|
28
|
+
namespace projectService {
|
|
29
|
+
let allowDefaultProject: string[];
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
export declare let plugins: string[];
|
|
33
|
+
export declare let rules: {
|
|
34
|
+
'import/named': number;
|
|
35
|
+
'import/no-extraneous-dependencies': (number | {
|
|
36
|
+
devDependencies: string[];
|
|
37
|
+
})[];
|
|
38
|
+
'import/prefer-default-export': string;
|
|
39
|
+
'import/no-relative-packages': string;
|
|
40
|
+
'jsx-a11y/accessible-emoji': number;
|
|
41
|
+
'prettier/prettier': string;
|
|
42
|
+
'react-hooks/exhaustive-deps': string;
|
|
43
|
+
'react-hooks/rules-of-hooks': string;
|
|
44
|
+
'react/jsx-boolean-value': number;
|
|
45
|
+
'react/jsx-filename-extension': (number | {
|
|
46
|
+
extensions: string[];
|
|
47
|
+
})[];
|
|
48
|
+
'react/jsx-fragments': number;
|
|
49
|
+
'react/jsx-props-no-spreading': number;
|
|
50
|
+
'react/jsx-uses-react': string;
|
|
51
|
+
'react/react-in-jsx-scope': string;
|
|
52
|
+
semi: string[];
|
|
53
|
+
'import/extensions': (string | {
|
|
54
|
+
js: string;
|
|
55
|
+
jsx: string;
|
|
56
|
+
ts: string;
|
|
57
|
+
tsx: string;
|
|
58
|
+
})[];
|
|
59
|
+
'@typescript-eslint/no-empty-function': number;
|
|
60
|
+
'@typescript-eslint/strict-boolean-expressions': number;
|
|
61
|
+
'@typescript-eslint/prefer-nullish-coalescing': number;
|
|
62
|
+
'object-curly-spacing': number;
|
|
63
|
+
'comma-dangle': number;
|
|
64
|
+
'no-unused-vars': number;
|
|
65
|
+
};
|
|
66
|
+
export declare let settings: {
|
|
67
|
+
'import/resolver': {
|
|
68
|
+
alias: {
|
|
69
|
+
map: string[][];
|
|
70
|
+
extensions: string[];
|
|
71
|
+
};
|
|
72
|
+
node: {
|
|
73
|
+
extensions: string[];
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
react: {
|
|
77
|
+
version: string;
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/eslint/index.js"],"names":[],"mappings":""}
|
package/jest/config.d.ts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
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
|
+
};
|
|
27
|
+
//# sourceMappingURL=config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/jest/config.js"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;;;;;EAoBC"}
|
package/jest/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/jest/index.js"],"names":[],"mappings":""}
|
package/jest/setup.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"setup.d.ts","sourceRoot":"","sources":["../../src/jest/setup.js"],"names":[],"mappings":"AAIA,qCAIC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@papillonarts/setup",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.0",
|
|
4
4
|
"description": "Papillon Arts Setup",
|
|
5
5
|
"homepage": "https://github.com/papillonarts/papillonarts/tree/master/packages/setup",
|
|
6
6
|
"repository": {
|
|
@@ -24,10 +24,12 @@
|
|
|
24
24
|
"clean-up": "rm -rf build node_modules package-lock.json",
|
|
25
25
|
"install-packages": "npm i",
|
|
26
26
|
"install-papillonarts-latest": "echo \"setup skipping install-papillonarts-latest\" && exit 0",
|
|
27
|
-
"
|
|
27
|
+
"generate-typing": "tsc",
|
|
28
|
+
"generate-commonjs": "rm -rf build && babel --copy-files --no-copy-ignored --extensions '.js,.jsx,.ts,.tsx' --out-dir build src --ignore **/__tests__",
|
|
29
|
+
"build": "npm-run-all generate-commonjs generate-typing",
|
|
28
30
|
"build-test": "npm run build",
|
|
29
31
|
"build-acceptance": "npm run build",
|
|
30
32
|
"build-release": "npm run build"
|
|
31
33
|
},
|
|
32
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "bb268fb3b282a79414f1724397ceafc488b765df"
|
|
33
35
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/prettier/index.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/storybook/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AACnD,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAA;AACzD,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { StorybookConfig } from '@storybook/react-webpack5';
|
|
2
|
+
export declare function getStorybookMainSetup({ storiesBasePath, includeBasePath, modulesBasePath, rootAttributesDefaults }: {
|
|
3
|
+
storiesBasePath: any;
|
|
4
|
+
includeBasePath: any;
|
|
5
|
+
modulesBasePath: any;
|
|
6
|
+
rootAttributesDefaults: any;
|
|
7
|
+
}): StorybookConfig;
|
|
8
|
+
//# sourceMappingURL=mainSetup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mainSetup.d.ts","sourceRoot":"","sources":["../../src/storybook/mainSetup.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAIhE,wBAAgB,qBAAqB,CAAC,EAAE,eAAe,EAAE,eAAe,EAAE,eAAe,EAAE,sBAAsB,EAAE;;;;;CAAA,GAAG,eAAe,CA2QpI"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"managerSetup.d.ts","sourceRoot":"","sources":["../../src/storybook/managerSetup.ts"],"names":[],"mappings":"AAGA,wBAAgB,wBAAwB,CAAC,EAAE,aAAa,EAAE,KAAK,EAAE;;;CAAA,QAKhE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"previewSetup.d.ts","sourceRoot":"","sources":["../../src/storybook/previewSetup.tsx"],"names":[],"mappings":"AAGA,wBAAgB,wBAAwB,CAAC,EAAE,UAAU,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,EAAE;;;;;;CAAA;;EA8ClF"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare let _extends: string[];
|
|
2
|
+
export { _extends as extends };
|
|
3
|
+
export declare let plugins: string[];
|
|
4
|
+
export declare let rules: {
|
|
5
|
+
'alpha-value-notation': any;
|
|
6
|
+
'at-rule-no-unknown': any;
|
|
7
|
+
'color-function-notation': any;
|
|
8
|
+
'declaration-empty-line-before': any;
|
|
9
|
+
'keyframes-name-pattern': any;
|
|
10
|
+
'prettier/prettier': boolean;
|
|
11
|
+
'rule-empty-line-before': any;
|
|
12
|
+
'selector-class-pattern': any;
|
|
13
|
+
'annotation-no-unknown': any;
|
|
14
|
+
'import-notation': string;
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/stylelint/index.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const coreJSVersion = "3.46.0";
|
|
2
|
+
export declare const targetBrowsers: {
|
|
3
|
+
production: string[];
|
|
4
|
+
legacyBrowsers: string[];
|
|
5
|
+
modernBrowsers: string[];
|
|
6
|
+
};
|
|
7
|
+
export declare const manifestFileName = "manifest.json";
|
|
8
|
+
export declare const indexHTMLName = "index.html";
|
|
9
|
+
export declare const extensions: string[];
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/webpack/constant/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,WAAW,CAAA;AAErC,eAAO,MAAM,cAAc;;;;CAe1B,CAAA;AAED,eAAO,MAAM,gBAAgB,kBAAkB,CAAA;AAE/C,eAAO,MAAM,aAAa,eAAe,CAAA;AAEzC,eAAO,MAAM,UAAU,UAAmD,CAAA"}
|
|
@@ -12,4 +12,4 @@ var targetBrowsers = exports.targetBrowsers = {
|
|
|
12
12
|
};
|
|
13
13
|
var manifestFileName = exports.manifestFileName = 'manifest.json';
|
|
14
14
|
var indexHTMLName = exports.indexHTMLName = 'index.html';
|
|
15
|
-
var extensions = exports.extensions = ['.js', '.jsx', '.json', '.scss'];
|
|
15
|
+
var extensions = exports.extensions = ['.js', '.jsx', '.ts', '.tsx', '.json', '.scss'];
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export { getBabelLoaderAdvancedSetup } from './loader/babelLoader';
|
|
2
|
+
export { getCSSLoaderStandardSetup } from './loader/cssLoader';
|
|
3
|
+
export { getFontLoaderStandardSetup } from './loader/fontLoader';
|
|
4
|
+
export { getImageLoaderStandardSetup } from './loader/imageLoader';
|
|
5
|
+
export { getMarkdownLoaderStandardSetup } from './loader/markdownLoader';
|
|
6
|
+
export { getPostCSSLoaderStandardSetup } from './loader/postCSSLoader';
|
|
7
|
+
export { getSassLoaderStandardSetup } from './loader/sassLoader';
|
|
8
|
+
export { getSVGRLoaderStandardSetup, getSVGRLoaderAdvancedSetup } from './loader/svgrLoader';
|
|
9
|
+
export { getBannerPluginStandardSetup } from './plugin/bannerPlugin';
|
|
10
|
+
export { getCleanWebpackPluginStandardSetup, getCleanWebpackPluginAdvancedSetup } from './plugin/cleanWebpackPlugin';
|
|
11
|
+
export { getCopyWebpackPluginStandardSetup } from './plugin/copyWebpackPlugin';
|
|
12
|
+
export { getCSSMinimizerWebpackPluginStandardSetup } from './plugin/cssMinimizerWebpackPlugin';
|
|
13
|
+
export { getDotenvWebpackStandardSetup, getDotenvWebpackAdvancedSetup } from './plugin/dotenvWebpack';
|
|
14
|
+
export { getHotModuleReplacementPluginStandardSetup } from './plugin/hotModuleReplacementPlugin';
|
|
15
|
+
export { getHtmlWebpackPluginStandardSetup, getHtmlWebpackPluginAdvancedSetup } from './plugin/htmlWebpackPlugin';
|
|
16
|
+
export { MiniCSSExtractPluginLoader, getMiniCSSExtractPluginStandardSetup, getMiniCSSExtractPluginAdvancedSetup, } from './plugin/miniCSSExtractPlugin';
|
|
17
|
+
export { getModuleConcatenationPluginStandardSetup } from './plugin/moduleConcatenationPlugin';
|
|
18
|
+
export { getWebpackBundleAnalyzerStandardSetup } from './plugin/webpackBundleAnalyzer';
|
|
19
|
+
export { getWebpackManifestPluginStandardSetup } from './plugin/webpackManifestPlugin';
|
|
20
|
+
export { getDevServerStandardSetup } from './server/devServer';
|
|
21
|
+
export { getWebpackCommonSetup } from './setup/commonSetup';
|
|
22
|
+
export { getWebpackDevelopmentSetup } from './setup/developmentSetup';
|
|
23
|
+
export { getWebpackProductionSetup } from './setup/productionSetup';
|
|
24
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/webpack/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,sBAAsB,CAAA;AAClE,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAA;AAC9D,OAAO,EAAE,0BAA0B,EAAE,MAAM,qBAAqB,CAAA;AAChE,OAAO,EAAE,2BAA2B,EAAE,MAAM,sBAAsB,CAAA;AAClE,OAAO,EAAE,8BAA8B,EAAE,MAAM,yBAAyB,CAAA;AACxE,OAAO,EAAE,6BAA6B,EAAE,MAAM,wBAAwB,CAAA;AACtE,OAAO,EAAE,0BAA0B,EAAE,MAAM,qBAAqB,CAAA;AAChE,OAAO,EAAE,0BAA0B,EAAE,0BAA0B,EAAE,MAAM,qBAAqB,CAAA;AAC5F,OAAO,EAAE,4BAA4B,EAAE,MAAM,uBAAuB,CAAA;AACpE,OAAO,EAAE,kCAAkC,EAAE,kCAAkC,EAAE,MAAM,6BAA6B,CAAA;AACpH,OAAO,EAAE,iCAAiC,EAAE,MAAM,4BAA4B,CAAA;AAC9E,OAAO,EAAE,yCAAyC,EAAE,MAAM,oCAAoC,CAAA;AAC9F,OAAO,EAAE,6BAA6B,EAAE,6BAA6B,EAAE,MAAM,wBAAwB,CAAA;AACrG,OAAO,EAAE,0CAA0C,EAAE,MAAM,qCAAqC,CAAA;AAChG,OAAO,EAAE,iCAAiC,EAAE,iCAAiC,EAAE,MAAM,4BAA4B,CAAA;AACjH,OAAO,EACL,0BAA0B,EAC1B,oCAAoC,EACpC,oCAAoC,GACrC,MAAM,+BAA+B,CAAA;AACtC,OAAO,EAAE,yCAAyC,EAAE,MAAM,oCAAoC,CAAA;AAC9F,OAAO,EAAE,qCAAqC,EAAE,MAAM,gCAAgC,CAAA;AACtF,OAAO,EAAE,qCAAqC,EAAE,MAAM,gCAAgC,CAAA;AACtF,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAA;AAC9D,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAA;AAC3D,OAAO,EAAE,0BAA0B,EAAE,MAAM,0BAA0B,CAAA;AACrE,OAAO,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export declare function getBabelLoaderAdvancedSetup(): {
|
|
2
|
+
test: RegExp;
|
|
3
|
+
exclude: RegExp;
|
|
4
|
+
use: {
|
|
5
|
+
loader: string;
|
|
6
|
+
options: {
|
|
7
|
+
presets: (string | (string | {
|
|
8
|
+
modules: boolean;
|
|
9
|
+
useBuiltIns: string;
|
|
10
|
+
corejs: string;
|
|
11
|
+
targets: {
|
|
12
|
+
browsers: string[];
|
|
13
|
+
};
|
|
14
|
+
})[])[];
|
|
15
|
+
plugins: (string | (string | {
|
|
16
|
+
runtime: string;
|
|
17
|
+
})[])[];
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=babelLoader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"babelLoader.d.ts","sourceRoot":"","sources":["../../../src/webpack/loader/babelLoader.ts"],"names":[],"mappings":"AAIA,wBAAgB,2BAA2B;;;;;;;;;;;;;;;;;;;EAiC1C"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare function getCSSLoaderStandardSetup({ sourceMap, modules, esModule }: {
|
|
2
|
+
sourceMap: any;
|
|
3
|
+
modules: any;
|
|
4
|
+
esModule: any;
|
|
5
|
+
}): {
|
|
6
|
+
loader: string;
|
|
7
|
+
options: {
|
|
8
|
+
importLoaders: number;
|
|
9
|
+
sourceMap: any;
|
|
10
|
+
modules: any;
|
|
11
|
+
esModule: any;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=cssLoader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cssLoader.d.ts","sourceRoot":"","sources":["../../../src/webpack/loader/cssLoader.ts"],"names":[],"mappings":"AAEA,wBAAgB,yBAAyB,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE;;;;CAAA;;;;;;;;EAUzE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fontLoader.d.ts","sourceRoot":"","sources":["../../../src/webpack/loader/fontLoader.ts"],"names":[],"mappings":"AAEA,wBAAgB,0BAA0B;;;EAKzC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"imageLoader.d.ts","sourceRoot":"","sources":["../../../src/webpack/loader/imageLoader.ts"],"names":[],"mappings":"AAEA,wBAAgB,2BAA2B;;;EAK1C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"markdownLoader.d.ts","sourceRoot":"","sources":["../../../src/webpack/loader/markdownLoader.ts"],"names":[],"mappings":"AAGA,wBAAgB,8BAA8B;;;;;;;;;EAa7C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"postCSSLoader.d.ts","sourceRoot":"","sources":["../../../src/webpack/loader/postCSSLoader.ts"],"names":[],"mappings":"AAEA,wBAAgB,6BAA6B;;;;;;;;;EAW5C"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare function getSassLoaderStandardSetup({ includePaths }: {
|
|
2
|
+
includePaths: any;
|
|
3
|
+
}): {
|
|
4
|
+
loader: string;
|
|
5
|
+
options: {
|
|
6
|
+
sassOptions: {
|
|
7
|
+
indentWidth: number;
|
|
8
|
+
includePaths: any;
|
|
9
|
+
quietDeps: boolean;
|
|
10
|
+
silenceDeprecations: string[];
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=sassLoader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sassLoader.d.ts","sourceRoot":"","sources":["../../../src/webpack/loader/sassLoader.ts"],"names":[],"mappings":"AAEA,wBAAgB,0BAA0B,CAAC,EAAE,YAAY,EAAE;;CAAA;;;;;;;;;;EAe1D"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare function getSVGRLoaderStandardSetup(): {
|
|
2
|
+
test: RegExp;
|
|
3
|
+
use: string[];
|
|
4
|
+
};
|
|
5
|
+
export declare function getSVGRLoaderAdvancedSetup(): {
|
|
6
|
+
test: RegExp;
|
|
7
|
+
issuer: RegExp;
|
|
8
|
+
resourceQuery: {
|
|
9
|
+
not: RegExp[];
|
|
10
|
+
};
|
|
11
|
+
use: string[];
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=svgrLoader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"svgrLoader.d.ts","sourceRoot":"","sources":["../../../src/webpack/loader/svgrLoader.ts"],"names":[],"mappings":"AAEA,wBAAgB,0BAA0B;;;EAKzC;AAED,wBAAgB,0BAA0B;;;;;;;EAOzC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bannerPlugin.d.ts","sourceRoot":"","sources":["../../../src/webpack/plugin/bannerPlugin.ts"],"names":[],"mappings":"AAEA,OAAO,OAAO,MAAM,SAAS,CAAA;AAE7B,wBAAgB,4BAA4B,CAAC,WAAW,KAAA,wBAavD"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CleanWebpackPlugin } from 'clean-webpack-plugin';
|
|
2
|
+
export declare function getCleanWebpackPluginStandardSetup(): CleanWebpackPlugin;
|
|
3
|
+
export declare function getCleanWebpackPluginAdvancedSetup({ dry, verbose, cleanStaleWebpackAssets, protectWebpackAssets, cleanOnceBeforeBuildPatterns, cleanAfterEveryBuildPatterns, dangerouslyAllowCleanPatternsOutsideProject, }: {
|
|
4
|
+
dry: any;
|
|
5
|
+
verbose: any;
|
|
6
|
+
cleanStaleWebpackAssets: any;
|
|
7
|
+
protectWebpackAssets: any;
|
|
8
|
+
cleanOnceBeforeBuildPatterns: any;
|
|
9
|
+
cleanAfterEveryBuildPatterns: any;
|
|
10
|
+
dangerouslyAllowCleanPatternsOutsideProject: any;
|
|
11
|
+
}): CleanWebpackPlugin;
|
|
12
|
+
//# sourceMappingURL=cleanWebpackPlugin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cleanWebpackPlugin.d.ts","sourceRoot":"","sources":["../../../src/webpack/plugin/cleanWebpackPlugin.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAEzD,wBAAgB,kCAAkC,uBAEjD;AAED,wBAAgB,kCAAkC,CAAC,EACjD,GAAG,EACH,OAAO,EACP,uBAAuB,EACvB,oBAAoB,EACpB,4BAA4B,EAC5B,4BAA4B,EAC5B,2CAA2C,GAC5C;;;;;;;;CAAA,sBAUA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"copyWebpackPlugin.d.ts","sourceRoot":"","sources":["../../../src/webpack/plugin/copyWebpackPlugin.ts"],"names":[],"mappings":"AAEA,OAAO,iBAAiB,MAAM,qBAAqB,CAAA;AAEnD,wBAAgB,iCAAiC,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE;;;CAAA,qBAa7D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cssMinimizerWebpackPlugin.d.ts","sourceRoot":"","sources":["../../../src/webpack/plugin/cssMinimizerWebpackPlugin.ts"],"names":[],"mappings":"AAEA,OAAO,yBAAyB,MAAM,8BAA8B,CAAA;AAEpE,wBAAgB,yCAAyC,gFAExD"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare function getDotenvWebpackStandardSetup({ path }: {
|
|
2
|
+
path: any;
|
|
3
|
+
}): any;
|
|
4
|
+
export declare function getDotenvWebpackAdvancedSetup({ path, safe, allowEmptyValues, systemvars, silent, defaults, prefix }: {
|
|
5
|
+
path: any;
|
|
6
|
+
safe: any;
|
|
7
|
+
allowEmptyValues: any;
|
|
8
|
+
systemvars: any;
|
|
9
|
+
silent: any;
|
|
10
|
+
defaults: any;
|
|
11
|
+
prefix: any;
|
|
12
|
+
}): any;
|
|
13
|
+
//# sourceMappingURL=dotenvWebpack.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dotenvWebpack.d.ts","sourceRoot":"","sources":["../../../src/webpack/plugin/dotenvWebpack.ts"],"names":[],"mappings":"AAIA,wBAAgB,6BAA6B,CAAC,EAAE,IAAI,EAAE;;CAAA,OAErD;AAED,wBAAgB,6BAA6B,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE;;;;;;;;CAAA,OAUnH"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hotModuleReplacementPlugin.d.ts","sourceRoot":"","sources":["../../../src/webpack/plugin/hotModuleReplacementPlugin.ts"],"names":[],"mappings":"AAEA,OAAO,OAAO,MAAM,SAAS,CAAA;AAE7B,wBAAgB,0CAA0C,uCAEzD"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import HtmlWebpackPlugin from 'html-webpack-plugin';
|
|
2
|
+
export declare function getHtmlWebpackPluginStandardSetup({ title, micrositeWebpackFolderPath }: {
|
|
3
|
+
title: any;
|
|
4
|
+
micrositeWebpackFolderPath: any;
|
|
5
|
+
}): HtmlWebpackPlugin;
|
|
6
|
+
export declare function getHtmlWebpackPluginAdvancedSetup({ title, meta, template, filename, inject, scriptLoading }: {
|
|
7
|
+
title: any;
|
|
8
|
+
meta: any;
|
|
9
|
+
template: any;
|
|
10
|
+
filename: any;
|
|
11
|
+
inject: any;
|
|
12
|
+
scriptLoading: any;
|
|
13
|
+
}): HtmlWebpackPlugin;
|
|
14
|
+
//# sourceMappingURL=htmlWebpackPlugin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"htmlWebpackPlugin.d.ts","sourceRoot":"","sources":["../../../src/webpack/plugin/htmlWebpackPlugin.ts"],"names":[],"mappings":"AAEA,OAAO,iBAAiB,MAAM,qBAAqB,CAAA;AAGnD,wBAAgB,iCAAiC,CAAC,EAAE,KAAK,EAAE,0BAA0B,EAAE;;;CAAA,qBAStF;AACD,wBAAgB,iCAAiC,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,aAAa,EAAE;;;;;;;CAAA,qBAS3G"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import MiniCssExtractPlugin from 'mini-css-extract-plugin';
|
|
2
|
+
export declare const MiniCSSExtractPluginLoader: string;
|
|
3
|
+
export declare function getMiniCSSExtractPluginStandardSetup(): MiniCssExtractPlugin;
|
|
4
|
+
export declare function getMiniCSSExtractPluginAdvancedSetup(): MiniCssExtractPlugin;
|
|
5
|
+
//# sourceMappingURL=miniCSSExtractPlugin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"miniCSSExtractPlugin.d.ts","sourceRoot":"","sources":["../../../src/webpack/plugin/miniCSSExtractPlugin.ts"],"names":[],"mappings":"AAEA,OAAO,oBAAoB,MAAM,yBAAyB,CAAA;AAE1D,eAAO,MAAM,0BAA0B,QAA8B,CAAA;AAErE,wBAAgB,oCAAoC,yBAEnD;AAED,wBAAgB,oCAAoC,yBAKnD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"moduleConcatenationPlugin.d.ts","sourceRoot":"","sources":["../../../src/webpack/plugin/moduleConcatenationPlugin.ts"],"names":[],"mappings":"AAEA,OAAO,OAAO,MAAM,SAAS,CAAA;AAE7B,wBAAgB,yCAAyC;;EAExD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webpackBundleAnalyzer.d.ts","sourceRoot":"","sources":["../../../src/webpack/plugin/webpackBundleAnalyzer.ts"],"names":[],"mappings":"AAIA,wBAAgB,qCAAqC,QAEpD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webpackManifestPlugin.d.ts","sourceRoot":"","sources":["../../../src/webpack/plugin/webpackManifestPlugin.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAA;AAG/D,wBAAgB,qCAAqC,0BASpD"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare function getDevServerStandardSetup(): {
|
|
2
|
+
historyApiFallback: boolean;
|
|
3
|
+
open: boolean;
|
|
4
|
+
compress: boolean;
|
|
5
|
+
hot: boolean;
|
|
6
|
+
port: number;
|
|
7
|
+
host: string;
|
|
8
|
+
headers: {
|
|
9
|
+
'Access-Control-Allow-Origin': string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=devServer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"devServer.d.ts","sourceRoot":"","sources":["../../../src/webpack/server/devServer.ts"],"names":[],"mappings":"AAEA,wBAAgB,yBAAyB;;;;;;;;;;EAUxC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
export declare function getWebpackCommonSetup({ micrositeFolderPaths, packageJSON }: {
|
|
2
|
+
micrositeFolderPaths: any;
|
|
3
|
+
packageJSON: any;
|
|
4
|
+
}): {
|
|
5
|
+
entry: string[];
|
|
6
|
+
plugins: (import("clean-webpack-plugin").CleanWebpackPlugin | import("copy-webpack-plugin") | import("html-webpack-plugin") | import("webpack-manifest-plugin").WebpackManifestPlugin)[];
|
|
7
|
+
module: {
|
|
8
|
+
rules: ({
|
|
9
|
+
test: RegExp;
|
|
10
|
+
exclude: RegExp;
|
|
11
|
+
use: {
|
|
12
|
+
loader: string;
|
|
13
|
+
options: {
|
|
14
|
+
presets: (string | (string | {
|
|
15
|
+
modules: boolean;
|
|
16
|
+
useBuiltIns: string;
|
|
17
|
+
corejs: string;
|
|
18
|
+
targets: {
|
|
19
|
+
browsers: string[];
|
|
20
|
+
};
|
|
21
|
+
})[])[];
|
|
22
|
+
plugins: (string | (string | {
|
|
23
|
+
runtime: string;
|
|
24
|
+
})[])[];
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
} | {
|
|
28
|
+
test: RegExp;
|
|
29
|
+
type: string;
|
|
30
|
+
} | {
|
|
31
|
+
test: RegExp;
|
|
32
|
+
use: ({
|
|
33
|
+
loader: string;
|
|
34
|
+
options?: undefined;
|
|
35
|
+
} | {
|
|
36
|
+
loader: string;
|
|
37
|
+
options: {};
|
|
38
|
+
})[];
|
|
39
|
+
} | {
|
|
40
|
+
test: RegExp;
|
|
41
|
+
issuer: RegExp;
|
|
42
|
+
resourceQuery: {
|
|
43
|
+
not: RegExp[];
|
|
44
|
+
};
|
|
45
|
+
use: string[];
|
|
46
|
+
})[];
|
|
47
|
+
};
|
|
48
|
+
resolve: {
|
|
49
|
+
modules: any[];
|
|
50
|
+
extensions: string[];
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
//# sourceMappingURL=commonSetup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"commonSetup.d.ts","sourceRoot":"","sources":["../../../src/webpack/setup/commonSetup.ts"],"names":[],"mappings":"AAWA,wBAAgB,qBAAqB,CAAC,EAAE,oBAAoB,EAAE,WAAW,EAAE;;;CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwB1E"}
|
|
@@ -18,7 +18,7 @@ function getWebpackCommonSetup(_ref) {
|
|
|
18
18
|
var micrositeFolderPaths = _ref.micrositeFolderPaths,
|
|
19
19
|
packageJSON = _ref.packageJSON;
|
|
20
20
|
return {
|
|
21
|
-
entry: ["".concat(micrositeFolderPaths.src, "/index.
|
|
21
|
+
entry: ["".concat(micrositeFolderPaths.src, "/index.ts")],
|
|
22
22
|
plugins: [(0, _cleanWebpackPlugin.getCleanWebpackPluginStandardSetup)(), (0, _copyWebpackPlugin.getCopyWebpackPluginStandardSetup)({
|
|
23
23
|
from: micrositeFolderPaths["public"],
|
|
24
24
|
to: 'assets'
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare function getWebpackDevelopmentSetup({ webpackCommonSetup, environmentVariablesFilePath, micrositeUrlPath, micrositeFolderPaths, includedSourceFilePaths, }: {
|
|
2
|
+
webpackCommonSetup: any;
|
|
3
|
+
environmentVariablesFilePath: any;
|
|
4
|
+
micrositeUrlPath: any;
|
|
5
|
+
micrositeFolderPaths: any;
|
|
6
|
+
includedSourceFilePaths: any;
|
|
7
|
+
}): any;
|
|
8
|
+
//# sourceMappingURL=developmentSetup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"developmentSetup.d.ts","sourceRoot":"","sources":["../../../src/webpack/setup/developmentSetup.ts"],"names":[],"mappings":"AAQA,wBAAgB,0BAA0B,CAAC,EACzC,kBAAkB,EAClB,4BAA4B,EAC5B,gBAAgB,EAChB,oBAAoB,EACpB,uBAAuB,GACxB;;;;;;CAAA,OAqCA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare function getWebpackProductionSetup({ webpackCommonSetup, environmentVariablesFilePath, micrositeUrlPath, micrositeFolderPaths, packageJSON, }: {
|
|
2
|
+
webpackCommonSetup: any;
|
|
3
|
+
environmentVariablesFilePath: any;
|
|
4
|
+
micrositeUrlPath: any;
|
|
5
|
+
micrositeFolderPaths: any;
|
|
6
|
+
packageJSON: any;
|
|
7
|
+
}): any;
|
|
8
|
+
//# sourceMappingURL=productionSetup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"productionSetup.d.ts","sourceRoot":"","sources":["../../../src/webpack/setup/productionSetup.ts"],"names":[],"mappings":"AAQA,wBAAgB,yBAAyB,CAAC,EACxC,kBAAkB,EAClB,4BAA4B,EAC5B,gBAAgB,EAChB,oBAAoB,EACpB,WAAW,GACZ;;;;;;CAAA,OAmDA"}
|