/third_party/node/test/es-module/ |
D | test-esm-extension-lookup-deprecation.mjs | 15 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/ |
D | test-corepack-yarn-install.js | 37 const pkgPath = path.join(installDir, 'package.json'); constant 39 fs.writeFileSync(pkgPath, pkgContent);
|
/third_party/node/test/parallel/ |
D | test-npm-install.js | 37 const pkgPath = path.join(installDir, 'package.json'); constant 39 fs.writeFileSync(pkgPath, pkgContent);
|
D | test-module-loading-globalpaths.js | 81 const pkgPath = path.join(prefixLibNodePath, `${pkgName}.js`); constant 82 fs.writeFileSync(pkgPath, `exports.string = '${expectedString}';`);
|
/third_party/node/lib/internal/modules/cjs/ |
D | loader.js | 529 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/ |
D | resolve.js | 129 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/ |
D | config.js | 350 const pkgPath = resolve(this.npm.prefix, 'package.json') 351 msg.push(`; "publishConfig" from ${pkgPath}`)
|
/third_party/node/lib/internal/ |
D | errors.js | 1329 (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/ |
D | build_apk.py | 737 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)
|