Home
last modified time | relevance | path

Searched refs:pkgPath (Results 1 – 9 of 9) sorted by relevance

/third_party/node/test/es-module/
Dtest-esm-extension-lookup-deprecation.mjs15 const pkgPath = path.join(cwd, './node_modules/pkg/'); constant
16 await mkdir(pkgPath, { recursive: true });
17 await writeFile(path.join(pkgPath, './index.js'), 'console.log("Hello World!")');
18 await writeFile(path.join(pkgPath, './package.json'), JSON.stringify({
33 const pkgPath = path.join(cwd, './node_modules/pkg/'); constant
34 await mkdir(pkgPath, { recursive: true });
35 await writeFile(path.join(pkgPath, './index.js'), 'console.log("Hello World!")');
36 await writeFile(path.join(pkgPath, './package.json'), JSON.stringify({
37 main: path.join(pkgPath, './index.js'),
52 const pkgPath = path.join(cwd, './node_modules/pkg/'); constant
[all …]
/third_party/node/test/internet/
Dtest-corepack-yarn-install.js37 const pkgPath = path.join(installDir, 'package.json'); constant
39 fs.writeFileSync(pkgPath, pkgContent);
/third_party/node/test/parallel/
Dtest-npm-install.js37 const pkgPath = path.join(installDir, 'package.json'); constant
39 fs.writeFileSync(pkgPath, pkgContent);
Dtest-module-loading-globalpaths.js81 const pkgPath = path.join(prefixLibNodePath, `${pkgName}.js`); constant
82 fs.writeFileSync(pkgPath, `exports.string = '${expectedString}';`);
/third_party/node/lib/internal/modules/cjs/
Dloader.js529 const { data: pkg, path: pkgPath } = readPackageScope(parentPath) || {};
544 pathToFileURL(pkgPath + '/package.json'), expansion, pkg,
545 pathToFileURL(parentPath), cjsConditions), parentPath, pkgPath);
548 throw createEsmNotFoundErr(request, pkgPath + '/package.json');
563 const pkgPath = path.resolve(nmPath, name);
564 const pkg = _readPackage(pkgPath);
568 pathToFileURL(pkgPath + '/package.json'), '.' + expansion, pkg, null,
569 cjsConditions), null, pkgPath);
572 throw createEsmNotFoundErr(request, pkgPath + '/package.json');
1083 function finalizeEsmResolution(resolved, parentPath, pkgPath) { argument
[all …]
/third_party/node/lib/internal/modules/esm/
Dresolve.js129 const pkgPath = fileURLToPath(new URL('.', packageJSONUrl));
133 `No "main" or "exports" field defined in the package.json for ${pkgPath
135 StringPrototypeSlice(path, pkgPath.length)}", imported from ${basePath
140 } else if (resolve(pkgPath, main) !== path) {
142 `Package ${pkgPath} has a "main" field set to "${main}", ` +
144 StringPrototypeSlice(path, pkgPath.length)}", imported from ${
/third_party/node/deps/npm/lib/commands/
Dconfig.js350 const pkgPath = resolve(this.npm.prefix, 'package.json')
351 msg.push(`; "publishConfig" from ${pkgPath}`)
/third_party/node/lib/internal/
Derrors.js1329 (pkgPath, key, target, isImport = false, base = undefined) => {
1335 `in the package config ${pkgPath}package.json${base ?
1341 pkgPath}package.json${base ? ` imported from ${base}` : ''}${relError ?
1504 E('ERR_PACKAGE_PATH_NOT_EXPORTED', (pkgPath, subpath, base = undefined) => {
1506 return `No "exports" main defined in ${pkgPath}package.json${base ?
1509 pkgPath}package.json${base ? ` imported from ${base}` : ''}`;
/third_party/vk-gl-cts/scripts/android/
Dbuild_apk.py737 pkgPath = resolvePath(config, [BuildRoot(), self.package.getAppDirName()])
744 libAbsPath = os.path.join(pkgPath, libRelPath)
758 layerAbsPath = os.path.join(pkgPath, layerRelPath)
769 libAbsPath = os.path.join(pkgPath, libRelPath)
775 addFilesToAPK(config, dstPath, pkgPath, libFiles)