@atlaspack/config-default 3.0.2-canary.3672 → 3.0.2-canary.3673
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/package.json +33 -52
- package/test/config.test.js +3 -17
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@atlaspack/config-default",
|
3
|
-
"version": "3.0.2-canary.
|
3
|
+
"version": "3.0.2-canary.3673+8386ca4dc",
|
4
4
|
"license": "(MIT OR Apache-2.0)",
|
5
5
|
"publishConfig": {
|
6
6
|
"access": "public"
|
@@ -14,58 +14,39 @@
|
|
14
14
|
"test-ci": "mocha"
|
15
15
|
},
|
16
16
|
"dependencies": {
|
17
|
-
"@atlaspack/bundler-default": "2.13.2-canary.
|
18
|
-
"@atlaspack/compressor-raw": "2.13.2-canary.
|
19
|
-
"@atlaspack/namer-default": "2.13.2-canary.
|
20
|
-
"@atlaspack/optimizer-css": "2.13.2-canary.
|
21
|
-
"@atlaspack/optimizer-htmlnano": "2.13.2-canary.
|
22
|
-
"@atlaspack/optimizer-image": "3.0.2-canary.
|
23
|
-
"@atlaspack/optimizer-svgo": "2.13.2-canary.
|
24
|
-
"@atlaspack/optimizer-swc": "2.13.2-canary.
|
25
|
-
"@atlaspack/packager-css": "2.13.2-canary.
|
26
|
-
"@atlaspack/packager-html": "2.13.2-canary.
|
27
|
-
"@atlaspack/packager-js": "2.13.2-canary.
|
28
|
-
"@atlaspack/packager-raw": "2.13.2-canary.
|
29
|
-
"@atlaspack/packager-svg": "2.13.2-canary.
|
30
|
-
"@atlaspack/packager-wasm": "2.13.2-canary.
|
31
|
-
"@atlaspack/reporter-dev-server": "2.13.2-canary.
|
32
|
-
"@atlaspack/resolver-default": "2.13.2-canary.
|
33
|
-
"@atlaspack/runtime-browser-hmr": "2.13.2-canary.
|
34
|
-
"@atlaspack/runtime-js": "2.13.2-canary.
|
35
|
-
"@atlaspack/runtime-react-refresh": "2.13.2-canary.
|
36
|
-
"@atlaspack/runtime-service-worker": "2.13.2-canary.
|
37
|
-
"@atlaspack/transformer-css": "2.13.2-canary.
|
38
|
-
"@atlaspack/transformer-html": "2.13.2-canary.
|
39
|
-
"@atlaspack/transformer-image": "3.0.2-canary.
|
40
|
-
"@atlaspack/transformer-js": "3.0.2-canary.
|
41
|
-
"@atlaspack/transformer-json": "2.13.2-canary.
|
42
|
-
"@atlaspack/transformer-postcss": "2.13.2-canary.
|
43
|
-
"@atlaspack/transformer-posthtml": "2.13.2-canary.
|
44
|
-
"@atlaspack/transformer-raw": "2.13.2-canary.
|
45
|
-
"@atlaspack/transformer-react-refresh-wrap": "2.13.2-canary.
|
46
|
-
"@atlaspack/transformer-svg": "2.13.2-canary.
|
47
|
-
},
|
48
|
-
"parcelDependencies": {
|
49
|
-
"@atlaspack/optimizer-data-url": "2.13.2-canary.3672+3460531d9",
|
50
|
-
"@atlaspack/packager-raw-url": "2.13.2-canary.3672+3460531d9",
|
51
|
-
"@atlaspack/packager-ts": "2.13.2-canary.3672+3460531d9",
|
52
|
-
"@atlaspack/packager-xml": "2.13.2-canary.3672+3460531d9",
|
53
|
-
"@atlaspack/transformer-glsl": "2.13.2-canary.3672+3460531d9",
|
54
|
-
"@atlaspack/transformer-graphql": "2.13.2-canary.3672+3460531d9",
|
55
|
-
"@atlaspack/transformer-inline-string": "2.13.2-canary.3672+3460531d9",
|
56
|
-
"@atlaspack/transformer-jsonld": "2.13.2-canary.3672+3460531d9",
|
57
|
-
"@atlaspack/transformer-mdx": "2.13.2-canary.3672+3460531d9",
|
58
|
-
"@atlaspack/transformer-pug": "2.13.2-canary.3672+3460531d9",
|
59
|
-
"@atlaspack/transformer-sass": "2.13.2-canary.3672+3460531d9",
|
60
|
-
"@atlaspack/transformer-toml": "2.13.2-canary.3672+3460531d9",
|
61
|
-
"@atlaspack/transformer-typescript-types": "2.13.2-canary.3672+3460531d9",
|
62
|
-
"@atlaspack/transformer-webmanifest": "2.13.2-canary.3672+3460531d9",
|
63
|
-
"@atlaspack/transformer-worklet": "2.13.2-canary.3672+3460531d9",
|
64
|
-
"@atlaspack/transformer-xml": "2.13.2-canary.3672+3460531d9",
|
65
|
-
"@atlaspack/transformer-yaml": "2.13.2-canary.3672+3460531d9"
|
17
|
+
"@atlaspack/bundler-default": "2.13.2-canary.3673+8386ca4dc",
|
18
|
+
"@atlaspack/compressor-raw": "2.13.2-canary.3673+8386ca4dc",
|
19
|
+
"@atlaspack/namer-default": "2.13.2-canary.3673+8386ca4dc",
|
20
|
+
"@atlaspack/optimizer-css": "2.13.2-canary.3673+8386ca4dc",
|
21
|
+
"@atlaspack/optimizer-htmlnano": "2.13.2-canary.3673+8386ca4dc",
|
22
|
+
"@atlaspack/optimizer-image": "3.0.2-canary.3673+8386ca4dc",
|
23
|
+
"@atlaspack/optimizer-svgo": "2.13.2-canary.3673+8386ca4dc",
|
24
|
+
"@atlaspack/optimizer-swc": "2.13.2-canary.3673+8386ca4dc",
|
25
|
+
"@atlaspack/packager-css": "2.13.2-canary.3673+8386ca4dc",
|
26
|
+
"@atlaspack/packager-html": "2.13.2-canary.3673+8386ca4dc",
|
27
|
+
"@atlaspack/packager-js": "2.13.2-canary.3673+8386ca4dc",
|
28
|
+
"@atlaspack/packager-raw": "2.13.2-canary.3673+8386ca4dc",
|
29
|
+
"@atlaspack/packager-svg": "2.13.2-canary.3673+8386ca4dc",
|
30
|
+
"@atlaspack/packager-wasm": "2.13.2-canary.3673+8386ca4dc",
|
31
|
+
"@atlaspack/reporter-dev-server": "2.13.2-canary.3673+8386ca4dc",
|
32
|
+
"@atlaspack/resolver-default": "2.13.2-canary.3673+8386ca4dc",
|
33
|
+
"@atlaspack/runtime-browser-hmr": "2.13.2-canary.3673+8386ca4dc",
|
34
|
+
"@atlaspack/runtime-js": "2.13.2-canary.3673+8386ca4dc",
|
35
|
+
"@atlaspack/runtime-react-refresh": "2.13.2-canary.3673+8386ca4dc",
|
36
|
+
"@atlaspack/runtime-service-worker": "2.13.2-canary.3673+8386ca4dc",
|
37
|
+
"@atlaspack/transformer-css": "2.13.2-canary.3673+8386ca4dc",
|
38
|
+
"@atlaspack/transformer-html": "2.13.2-canary.3673+8386ca4dc",
|
39
|
+
"@atlaspack/transformer-image": "3.0.2-canary.3673+8386ca4dc",
|
40
|
+
"@atlaspack/transformer-js": "3.0.2-canary.3673+8386ca4dc",
|
41
|
+
"@atlaspack/transformer-json": "2.13.2-canary.3673+8386ca4dc",
|
42
|
+
"@atlaspack/transformer-postcss": "2.13.2-canary.3673+8386ca4dc",
|
43
|
+
"@atlaspack/transformer-posthtml": "2.13.2-canary.3673+8386ca4dc",
|
44
|
+
"@atlaspack/transformer-raw": "2.13.2-canary.3673+8386ca4dc",
|
45
|
+
"@atlaspack/transformer-react-refresh-wrap": "2.13.2-canary.3673+8386ca4dc",
|
46
|
+
"@atlaspack/transformer-svg": "2.13.2-canary.3673+8386ca4dc"
|
66
47
|
},
|
67
48
|
"peerDependencies": {
|
68
|
-
"@atlaspack/core": "2.13.2-canary.
|
49
|
+
"@atlaspack/core": "2.13.2-canary.3673+8386ca4dc"
|
69
50
|
},
|
70
|
-
"gitHead": "
|
51
|
+
"gitHead": "8386ca4dc318688fbed1af3bbebf2af3e7d24552"
|
71
52
|
}
|
package/test/config.test.js
CHANGED
@@ -10,27 +10,13 @@ describe('@atlaspack/config-default', () => {
|
|
10
10
|
let configPackageReferences: Set<string>;
|
11
11
|
|
12
12
|
before(() => {
|
13
|
-
packageJsonDependencyNames = new Set(
|
14
|
-
|
15
|
-
|
16
|
-
]);
|
13
|
+
packageJsonDependencyNames = new Set(
|
14
|
+
Object.keys(packageJson.dependencies || {}),
|
15
|
+
);
|
17
16
|
configPackageReferences = collectConfigPackageReferences(config);
|
18
17
|
});
|
19
18
|
|
20
19
|
describe('package.json', () => {
|
21
|
-
it('includes every package referenced in the config', () => {
|
22
|
-
let missingReferences = [];
|
23
|
-
for (let reference of configPackageReferences) {
|
24
|
-
if (!packageJsonDependencyNames.has(reference)) {
|
25
|
-
missingReferences.push(reference);
|
26
|
-
}
|
27
|
-
}
|
28
|
-
|
29
|
-
// Assert with deepEqual rather than e.g. missingReferences.size as the
|
30
|
-
// assertion message with deepEqual enumerates the differences nicely
|
31
|
-
assert.deepEqual(missingReferences, []);
|
32
|
-
});
|
33
|
-
|
34
20
|
it('does not include packages not referenced in the config', () => {
|
35
21
|
let unnecessaryDependencies = [];
|
36
22
|
for (let dependency of packageJsonDependencyNames) {
|