@atlaspack/package-manager 2.14.18-typescript-d6e6d169c.0 → 2.14.18-typescript-6de04fbae.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 +5 -4
- package/lib/index.js.map +1 -1
- package/package.json +10 -10
- package/src/NodePackageManager.js +4 -8
package/lib/index.js
CHANGED
@@ -3495,7 +3495,8 @@ var $2oNrA = parcelRequire("2oNrA");
|
|
3495
3495
|
// Package.json fields. Must match package_json.rs.
|
3496
3496
|
const MAIN = 1;
|
3497
3497
|
const SOURCE = 4;
|
3498
|
-
|
3498
|
+
let ENTRIES = MAIN;
|
3499
|
+
if (process.env.ATLASPACK_REGISTER_USE_SRC === 'true') ENTRIES |= SOURCE;
|
3499
3500
|
const NODE_MODULES = `${(0, ($parcel$interopDefault($dufqm$path))).sep}node_modules${(0, ($parcel$interopDefault($dufqm$path))).sep}`;
|
3500
3501
|
// There can be more than one instance of NodePackageManager, but node has only a single module cache.
|
3501
3502
|
// Therefore, the resolution cache and the map of parent to child modules should also be global.
|
@@ -4023,9 +4024,9 @@ var $5cGUP = parcelRequire("5cGUP");
|
|
4023
4024
|
|
4024
4025
|
var $3217T = parcelRequire("3217T");
|
4025
4026
|
|
4026
|
-
var $fdbc4680a0f2f397$var$$parcel$__filename = $dufqm$path.resolve(__dirname, "../src", "installPackage.js");
|
4027
|
-
|
4028
4027
|
var $fdbc4680a0f2f397$var$$parcel$__dirname = $dufqm$path.resolve(__dirname, "../src");
|
4028
|
+
|
4029
|
+
var $fdbc4680a0f2f397$var$$parcel$__filename = $dufqm$path.resolve(__dirname, "../src", "installPackage.js");
|
4029
4030
|
async function $fdbc4680a0f2f397$var$install(fs, packageManager, modules, from, projectRoot, options = {}) {
|
4030
4031
|
let { installPeers: installPeers = true, saveDev: saveDev = true, packageInstaller: packageInstaller } = options;
|
4031
4032
|
let moduleNames = modules.map((m)=>m.name).join(', ');
|
@@ -4729,7 +4730,7 @@ function $770d99f4b6e8471f$export$2e2bcd8739ae039(childProcess) {
|
|
4729
4730
|
});
|
4730
4731
|
|
4731
4732
|
parcelRegister("dmfaS", function(module, exports) {
|
4732
|
-
module.exports = JSON.parse("{\"name\":\"@atlaspack/package-manager\",\"version\":\"2.14.18-typescript-
|
4733
|
+
module.exports = JSON.parse("{\"name\":\"@atlaspack/package-manager\",\"version\":\"2.14.18-typescript-6de04fbae.0\",\"description\":\"Blazing fast, zero configuration web application bundler\",\"license\":\"(MIT OR Apache-2.0)\",\"publishConfig\":{\"access\":\"public\"},\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/atlassian-labs/atlaspack.git\"},\"main\":\"lib/index.js\",\"source\":\"src/index.js\",\"types\":\"index.d.ts\",\"engines\":{\"node\":\">= 16.0.0\"},\"scripts\":{\"build-ts\":\"mkdir -p lib && flow-to-ts src/index.js > lib/index.d.ts\",\"check-ts\":\"tsc --noEmit index.d.ts\",\"test\":\"mocha test\"},\"targets\":{\"types\":false,\"main\":{\"includeNodeModules\":{\"@atlaspack/build-cache\":false,\"@atlaspack/diagnostic\":false,\"@atlaspack/fs\":false,\"@atlaspack/logger\":false,\"@atlaspack/node-resolver-core\":false,\"@atlaspack/types\":false,\"@atlaspack/utils\":false,\"@atlaspack/workers\":false,\"@swc/core\":false,\"semver\":false}}},\"dependencies\":{\"@atlaspack/build-cache\":\"2.13.4-typescript-6de04fbae.0\",\"@atlaspack/diagnostic\":\"2.14.2-typescript-6de04fbae.0\",\"@atlaspack/fs\":\"2.15.13-typescript-6de04fbae.0\",\"@atlaspack/logger\":\"2.14.13-typescript-6de04fbae.0\",\"@atlaspack/node-resolver-core\":\"3.5.18-typescript-6de04fbae.0\",\"@atlaspack/types\":\"2.15.8-typescript-6de04fbae.0\",\"@atlaspack/utils\":\"2.16.2-typescript-6de04fbae.0\",\"@atlaspack/workers\":\"2.14.18-typescript-6de04fbae.0\",\"@swc/core\":\"^1.10.0\",\"semver\":\"^7.5.2\"},\"devDependencies\":{\"command-exists\":\"^1.2.6\",\"cross-spawn\":\"^6.0.4\",\"nullthrows\":\"^1.1.1\",\"split2\":\"^3.1.1\"},\"browser\":{\"./src/NodePackageManager.js\":false,\"./src/Npm.js\":false,\"./src/Pnpm.js\":false,\"./src/Yarn.js\":false},\"type\":\"commonjs\",\"gitHead\":\"6de04fbaeccfba1e7832c737f6318cbd603fc74d\"}");
|
4733
4734
|
|
4734
4735
|
});
|
4735
4736
|
|