@atlaspack/package-manager 2.12.1-dev.3365 → 2.12.1-dev.3398
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 +286 -286
- package/lib/index.js.map +1 -1
- package/package.json +10 -10
- package/src/NodePackageManager.js +3 -3
- package/src/Npm.js +2 -2
- package/src/Yarn.js +2 -2
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@atlaspack/package-manager",
|
3
|
-
"version": "2.12.1-dev.
|
3
|
+
"version": "2.12.1-dev.3398+81c73b3cd",
|
4
4
|
"description": "Blazing fast, zero configuration web application bundler",
|
5
5
|
"license": "MIT",
|
6
6
|
"publishConfig": {
|
@@ -39,13 +39,13 @@
|
|
39
39
|
}
|
40
40
|
},
|
41
41
|
"dependencies": {
|
42
|
-
"@atlaspack/diagnostic": "2.12.1-dev.
|
43
|
-
"@atlaspack/fs": "2.12.1-dev.
|
44
|
-
"@atlaspack/logger": "2.12.1-dev.
|
45
|
-
"@atlaspack/node-resolver-core": "3.3.1-dev.
|
46
|
-
"@atlaspack/types": "2.12.1-dev.
|
47
|
-
"@atlaspack/utils": "2.12.1-dev.
|
48
|
-
"@atlaspack/workers": "2.12.1-dev.
|
42
|
+
"@atlaspack/diagnostic": "2.12.1-dev.3398+81c73b3cd",
|
43
|
+
"@atlaspack/fs": "2.12.1-dev.3398+81c73b3cd",
|
44
|
+
"@atlaspack/logger": "2.12.1-dev.3398+81c73b3cd",
|
45
|
+
"@atlaspack/node-resolver-core": "3.3.1-dev.3398+81c73b3cd",
|
46
|
+
"@atlaspack/types": "2.12.1-dev.3398+81c73b3cd",
|
47
|
+
"@atlaspack/utils": "2.12.1-dev.3398+81c73b3cd",
|
48
|
+
"@atlaspack/workers": "2.12.1-dev.3398+81c73b3cd",
|
49
49
|
"@swc/core": "^1.3.36",
|
50
50
|
"semver": "^7.5.2"
|
51
51
|
},
|
@@ -56,7 +56,7 @@
|
|
56
56
|
"split2": "^3.1.1"
|
57
57
|
},
|
58
58
|
"peerDependencies": {
|
59
|
-
"@atlaspack/core": "^2.12.1-dev.
|
59
|
+
"@atlaspack/core": "^2.12.1-dev.3398+81c73b3cd"
|
60
60
|
},
|
61
61
|
"browser": {
|
62
62
|
"./src/NodePackageManager.js": false,
|
@@ -64,5 +64,5 @@
|
|
64
64
|
"./src/Pnpm.js": false,
|
65
65
|
"./src/Yarn.js": false
|
66
66
|
},
|
67
|
-
"gitHead": "
|
67
|
+
"gitHead": "81c73b3cdf93adf8b0013be9fed5422579bd5910"
|
68
68
|
}
|
@@ -288,11 +288,11 @@ export class NodePackageManager implements PackageManager {
|
|
288
288
|
diagnostic: {
|
289
289
|
message: escapeMarkdown(e.message),
|
290
290
|
hints: [
|
291
|
-
'Autoinstall is disabled, please install this package manually and restart
|
291
|
+
'Autoinstall is disabled, please install this package manually and restart Parcel.',
|
292
292
|
],
|
293
293
|
},
|
294
294
|
});
|
295
|
-
// $FlowFixMe - needed for
|
295
|
+
// $FlowFixMe - needed for loadParcelPlugin
|
296
296
|
err.code = 'MODULE_NOT_FOUND';
|
297
297
|
throw err;
|
298
298
|
} else {
|
@@ -521,7 +521,7 @@ export class NodePackageManager implements PackageManager {
|
|
521
521
|
message: md`${path.relative(
|
522
522
|
this.projectRoot,
|
523
523
|
resolved.resolved,
|
524
|
-
)} contains non-statically analyzable dependencies in its module graph. This causes
|
524
|
+
)} contains non-statically analyzable dependencies in its module graph. This causes Parcel to invalidate the cache on startup.`,
|
525
525
|
origin: '@atlaspack/package-manager',
|
526
526
|
});
|
527
527
|
}
|
package/src/Npm.js
CHANGED
@@ -32,8 +32,8 @@ export class Npm implements PackageInstaller {
|
|
32
32
|
modules.map(npmSpecifierFromModuleRequest),
|
33
33
|
);
|
34
34
|
|
35
|
-
// When
|
36
|
-
// added. When
|
35
|
+
// When Parcel is run by npm (e.g. via package.json scripts), several environment variables are
|
36
|
+
// added. When parcel in turn calls npm again, these can cause npm to behave stragely, so we
|
37
37
|
// filter them out when installing packages.
|
38
38
|
let env = {};
|
39
39
|
for (let key in process.env) {
|
package/src/Yarn.js
CHANGED
@@ -73,8 +73,8 @@ export class Yarn implements PackageInstaller {
|
|
73
73
|
}
|
74
74
|
}
|
75
75
|
|
76
|
-
// When
|
77
|
-
// added. When
|
76
|
+
// When Parcel is run by Yarn (e.g. via package.json scripts), several environment variables are
|
77
|
+
// added. When parcel in turn calls Yarn again, these can cause Yarn to behave stragely, so we
|
78
78
|
// filter them out when installing packages.
|
79
79
|
let env = {};
|
80
80
|
for (let key in process.env) {
|