@atlaspack/package-manager 2.14.15-alshintegrationtestslib.0 → 2.14.15-dev.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/lib/index.js +4 -12
- package/lib/index.js.map +1 -1
- package/package.json +10 -10
- package/src/NodePackageManager.js +5 -20
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@atlaspack/package-manager",
|
3
|
-
"version": "2.14.15-
|
3
|
+
"version": "2.14.15-dev.0",
|
4
4
|
"description": "Blazing fast, zero configuration web application bundler",
|
5
5
|
"license": "(MIT OR Apache-2.0)",
|
6
6
|
"publishConfig": {
|
@@ -39,14 +39,14 @@
|
|
39
39
|
}
|
40
40
|
},
|
41
41
|
"dependencies": {
|
42
|
-
"@atlaspack/build-cache": "2.13.4-
|
43
|
-
"@atlaspack/diagnostic": "2.14.2-
|
44
|
-
"@atlaspack/fs": "2.15.10-
|
45
|
-
"@atlaspack/logger": "2.14.12-
|
46
|
-
"@atlaspack/node-resolver-core": "3.5.15-
|
47
|
-
"@atlaspack/types": "2.15.5-
|
48
|
-
"@atlaspack/utils": "2.15.3-
|
49
|
-
"@atlaspack/workers": "2.14.15-
|
42
|
+
"@atlaspack/build-cache": "2.13.4-dev.0",
|
43
|
+
"@atlaspack/diagnostic": "2.14.2-dev.0",
|
44
|
+
"@atlaspack/fs": "2.15.10-dev.0",
|
45
|
+
"@atlaspack/logger": "2.14.12-dev.0",
|
46
|
+
"@atlaspack/node-resolver-core": "3.5.15-dev.0",
|
47
|
+
"@atlaspack/types": "2.15.5-dev.0",
|
48
|
+
"@atlaspack/utils": "2.15.3-dev.0",
|
49
|
+
"@atlaspack/workers": "2.14.15-dev.0",
|
50
50
|
"@swc/core": "^1.10.0",
|
51
51
|
"semver": "^7.5.2"
|
52
52
|
},
|
@@ -63,5 +63,5 @@
|
|
63
63
|
"./src/Yarn.js": false
|
64
64
|
},
|
65
65
|
"type": "commonjs",
|
66
|
-
"gitHead": "
|
66
|
+
"gitHead": "6ce3565fe038caf52c09fad4e48175829b174571"
|
67
67
|
}
|
@@ -42,13 +42,11 @@ import {transformSync} from '@swc/core';
|
|
42
42
|
const MAIN = 1 << 0;
|
43
43
|
const SOURCE = 1 << 2;
|
44
44
|
const ENTRIES =
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
? SOURCE
|
51
|
-
: 0);
|
45
|
+
MAIN |
|
46
|
+
(process.env.ATLASPACK_BUILD_ENV !== 'production' ||
|
47
|
+
process.env.ATLASPACK_SELF_BUILD
|
48
|
+
? SOURCE
|
49
|
+
: 0);
|
52
50
|
|
53
51
|
const NODE_MODULES = `${path.sep}node_modules${path.sep}`;
|
54
52
|
|
@@ -557,19 +555,6 @@ export class NodePackageManager implements PackageManager {
|
|
557
555
|
return;
|
558
556
|
}
|
559
557
|
|
560
|
-
// Skip invalidation of Atlaspack modules during testing to prevent
|
561
|
-
// module cache conflicts. When using babel-register, this works fine
|
562
|
-
// because it maintains its own internal module cache that we don't
|
563
|
-
// invalidate. However, with compiled Atlaspack packages in integration
|
564
|
-
// tests, invalidation causes multiple module instances to exist
|
565
|
-
// simultaneously, leading to test failures.
|
566
|
-
if (
|
567
|
-
process.env.ATLASPACK_BUILD_ENV === 'test' &&
|
568
|
-
name.startsWith('@atlaspack/')
|
569
|
-
) {
|
570
|
-
return;
|
571
|
-
}
|
572
|
-
|
573
558
|
invalidationsCache.delete(resolved.resolved);
|
574
559
|
|
575
560
|
// $FlowFixMe
|