@atlaspack/config-default 3.1.5-canary.49 → 3.1.5-canary.490
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/CHANGELOG.md +2064 -0
- package/package.json +35 -34
- package/test/{config.test.js → config.test.ts} +2 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaspack/config-default",
|
|
3
|
-
"version": "3.1.5-canary.
|
|
3
|
+
"version": "3.1.5-canary.490+c97de81b0",
|
|
4
4
|
"license": "(MIT OR Apache-2.0)",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"publishConfig": {
|
|
@@ -12,42 +12,43 @@
|
|
|
12
12
|
},
|
|
13
13
|
"main": "index.json",
|
|
14
14
|
"scripts": {
|
|
15
|
-
"test-ci": "mocha"
|
|
15
|
+
"test-ci": "mocha",
|
|
16
|
+
"build:lib": "gulp build --gulpfile ../../../gulpfile.js --cwd ."
|
|
16
17
|
},
|
|
17
18
|
"dependencies": {
|
|
18
|
-
"@atlaspack/bundler-default": "2.14.5-canary.
|
|
19
|
-
"@atlaspack/compressor-raw": "2.13.7-canary.
|
|
20
|
-
"@atlaspack/namer-default": "2.14.5-canary.
|
|
21
|
-
"@atlaspack/optimizer-css": "2.14.5-canary.
|
|
22
|
-
"@atlaspack/optimizer-htmlnano": "2.14.5-canary.
|
|
23
|
-
"@atlaspack/optimizer-image": "3.1.5-canary.
|
|
24
|
-
"@atlaspack/optimizer-svgo": "2.14.5-canary.
|
|
25
|
-
"@atlaspack/optimizer-swc": "2.14.5-canary.
|
|
26
|
-
"@atlaspack/packager-css": "2.14.5-canary.
|
|
27
|
-
"@atlaspack/packager-html": "2.14.5-canary.
|
|
28
|
-
"@atlaspack/packager-js": "2.14.5-canary.
|
|
29
|
-
"@atlaspack/packager-raw": "2.14.5-canary.
|
|
30
|
-
"@atlaspack/packager-svg": "2.14.5-canary.
|
|
31
|
-
"@atlaspack/packager-wasm": "2.14.5-canary.
|
|
32
|
-
"@atlaspack/reporter-dev-server": "2.14.5-canary.
|
|
33
|
-
"@atlaspack/resolver-default": "2.14.5-canary.
|
|
34
|
-
"@atlaspack/runtime-browser-hmr": "2.14.5-canary.
|
|
35
|
-
"@atlaspack/runtime-js": "2.14.5-canary.
|
|
36
|
-
"@atlaspack/runtime-react-refresh": "2.14.5-canary.
|
|
37
|
-
"@atlaspack/runtime-service-worker": "2.14.5-canary.
|
|
38
|
-
"@atlaspack/transformer-css": "2.14.5-canary.
|
|
39
|
-
"@atlaspack/transformer-html": "2.14.5-canary.
|
|
40
|
-
"@atlaspack/transformer-image": "3.1.5-canary.
|
|
41
|
-
"@atlaspack/transformer-js": "3.2.3-canary.
|
|
42
|
-
"@atlaspack/transformer-json": "2.14.5-canary.
|
|
43
|
-
"@atlaspack/transformer-postcss": "2.14.5-canary.
|
|
44
|
-
"@atlaspack/transformer-posthtml": "2.14.5-canary.
|
|
45
|
-
"@atlaspack/transformer-raw": "2.14.5-canary.
|
|
46
|
-
"@atlaspack/transformer-react-refresh-wrap": "2.14.5-canary.
|
|
47
|
-
"@atlaspack/transformer-svg": "2.14.5-canary.
|
|
19
|
+
"@atlaspack/bundler-default": "2.14.5-canary.490+c97de81b0",
|
|
20
|
+
"@atlaspack/compressor-raw": "2.13.7-canary.490+c97de81b0",
|
|
21
|
+
"@atlaspack/namer-default": "2.14.5-canary.490+c97de81b0",
|
|
22
|
+
"@atlaspack/optimizer-css": "2.14.5-canary.490+c97de81b0",
|
|
23
|
+
"@atlaspack/optimizer-htmlnano": "2.14.5-canary.490+c97de81b0",
|
|
24
|
+
"@atlaspack/optimizer-image": "3.1.5-canary.490+c97de81b0",
|
|
25
|
+
"@atlaspack/optimizer-svgo": "2.14.5-canary.490+c97de81b0",
|
|
26
|
+
"@atlaspack/optimizer-swc": "2.14.5-canary.490+c97de81b0",
|
|
27
|
+
"@atlaspack/packager-css": "2.14.5-canary.490+c97de81b0",
|
|
28
|
+
"@atlaspack/packager-html": "2.14.5-canary.490+c97de81b0",
|
|
29
|
+
"@atlaspack/packager-js": "2.14.5-canary.490+c97de81b0",
|
|
30
|
+
"@atlaspack/packager-raw": "2.14.5-canary.490+c97de81b0",
|
|
31
|
+
"@atlaspack/packager-svg": "2.14.5-canary.490+c97de81b0",
|
|
32
|
+
"@atlaspack/packager-wasm": "2.14.5-canary.490+c97de81b0",
|
|
33
|
+
"@atlaspack/reporter-dev-server": "2.14.5-canary.490+c97de81b0",
|
|
34
|
+
"@atlaspack/resolver-default": "2.14.5-canary.490+c97de81b0",
|
|
35
|
+
"@atlaspack/runtime-browser-hmr": "2.14.5-canary.490+c97de81b0",
|
|
36
|
+
"@atlaspack/runtime-js": "2.14.5-canary.490+c97de81b0",
|
|
37
|
+
"@atlaspack/runtime-react-refresh": "2.14.5-canary.490+c97de81b0",
|
|
38
|
+
"@atlaspack/runtime-service-worker": "2.14.5-canary.490+c97de81b0",
|
|
39
|
+
"@atlaspack/transformer-css": "2.14.5-canary.490+c97de81b0",
|
|
40
|
+
"@atlaspack/transformer-html": "2.14.5-canary.490+c97de81b0",
|
|
41
|
+
"@atlaspack/transformer-image": "3.1.5-canary.490+c97de81b0",
|
|
42
|
+
"@atlaspack/transformer-js": "3.2.3-canary.490+c97de81b0",
|
|
43
|
+
"@atlaspack/transformer-json": "2.14.5-canary.490+c97de81b0",
|
|
44
|
+
"@atlaspack/transformer-postcss": "2.14.5-canary.490+c97de81b0",
|
|
45
|
+
"@atlaspack/transformer-posthtml": "2.14.5-canary.490+c97de81b0",
|
|
46
|
+
"@atlaspack/transformer-raw": "2.14.5-canary.490+c97de81b0",
|
|
47
|
+
"@atlaspack/transformer-react-refresh-wrap": "2.14.5-canary.490+c97de81b0",
|
|
48
|
+
"@atlaspack/transformer-svg": "2.14.5-canary.490+c97de81b0"
|
|
48
49
|
},
|
|
49
50
|
"peerDependencies": {
|
|
50
|
-
"@atlaspack/core": "
|
|
51
|
+
"@atlaspack/core": "2.39.0"
|
|
51
52
|
},
|
|
52
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "c97de81b0b4b866bef4396e9131f37ffd273258d"
|
|
53
54
|
}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
// @flow
|
|
2
|
-
|
|
3
1
|
import assert from 'assert';
|
|
4
2
|
|
|
5
3
|
import config from '../';
|
|
@@ -18,7 +16,7 @@ describe('@atlaspack/config-default', () => {
|
|
|
18
16
|
|
|
19
17
|
describe('package.json', () => {
|
|
20
18
|
it('does not include packages not referenced in the config', () => {
|
|
21
|
-
let unnecessaryDependencies = [];
|
|
19
|
+
let unnecessaryDependencies: Array<any> = [];
|
|
22
20
|
for (let dependency of packageJsonDependencyNames) {
|
|
23
21
|
if (!configPackageReferences.has(dependency)) {
|
|
24
22
|
unnecessaryDependencies.push(dependency);
|
|
@@ -31,7 +29,7 @@ describe('@atlaspack/config-default', () => {
|
|
|
31
29
|
});
|
|
32
30
|
|
|
33
31
|
function collectConfigPackageReferences(
|
|
34
|
-
configSection:
|
|
32
|
+
configSection: unknown,
|
|
35
33
|
references: Set<string> = new Set(),
|
|
36
34
|
): Set<string> {
|
|
37
35
|
if (configSection == null || typeof configSection !== 'object') {
|