/third_party/node/deps/npm/test/tap/ |
D | install-bad-dep-format.js | 19 var pkgPath = path.resolve(common.pkg, json.name) 20 mkdirp.sync(pkgPath) 22 path.join(pkgPath, 'package.json'), 25 common.npm(['install'], {cwd: pkgPath}, function (err, code, stdout, stderr) {
|
D | version-consistent-newlines.js | 30 const pkgPath = path.resolve(pkg, 'package.json') 31 const pkgStr = fs.readFileSync(pkgPath, 'utf8') 56 const pkgPath = path.resolve(pkg, 'package.json') 57 const pkgStr = fs.readFileSync(pkgPath, 'utf8')
|
D | install-bin-null.js | 51 var pkgPath = path.resolve(pkg, json.name) 52 mkdirp.sync(pkgPath) 54 path.join(pkgPath, 'package.json'),
|
D | install-local-dep-cycle.js | 65 function saveJson (pkgPath, json) { argument 66 mkdirp.sync(pkgPath) 67 fs.writeFileSync(path.join(pkgPath, 'package.json'), JSON.stringify(json, null, 2))
|
D | verify-no-lifecycle-on-repo.js | 62 function saveJson (pkgPath, json) { argument 63 mkdirp.sync(pkgPath) 64 fs.writeFileSync(path.join(pkgPath, 'package.json'), JSON.stringify(json, null, 2))
|
D | gently-rm-symlinked-global-dir.js | 93 var pkgPath = resolvePath(lnk, !isWindows && 'lib', 'node_modules', '@test', 'linked') 96 t.is(result.added[0].path, pkgPath, 'in the right location') 99 t.is(result.updated[0].path, pkgPath, 'in the right location')
|
D | format-package-lock.js | 17 const pkgPath = path.join(testdir, 'package.json') constant 71 const pkgUtf8 = fs.readFileSync(pkgPath, 'utf-8') 95 const pkgUtf8 = fs.readFileSync(pkgPath, 'utf-8')
|
D | install-save-consistent-newlines.js | 69 const pkgPath = path.resolve(pkg, 'package.json') 70 const pkgStr = fs.readFileSync(pkgPath, 'utf8')
|
/third_party/node/lib/internal/modules/cjs/ |
D | loader.js | 412 const { data: pkg, path: pkgPath } = readPackageScope(parentPath) || {}; 427 pathToFileURL(pkgPath + '/package.json'), expansion, pkg, 428 pathToFileURL(parentPath), cjsConditions), request, parentPath, pkgPath); 431 throw createEsmNotFoundErr(request, pkgPath + '/package.json'); 446 const pkgPath = path.resolve(nmPath, name); 447 const pkg = readPackage(pkgPath); 451 pathToFileURL(pkgPath + '/package.json'), '.' + expansion, pkg, null, 452 cjsConditions), request, null, pkgPath); 455 throw createEsmNotFoundErr(request, pkgPath + '/package.json'); 908 function finalizeEsmResolution(match, request, parentPath, pkgPath) { argument [all …]
|
/third_party/node/test/parallel/ |
D | test-corepack-yarn-install.js | 37 const pkgPath = path.join(installDir, 'package.json'); constant 39 fs.writeFileSync(pkgPath, pkgContent);
|
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/deps/npm/node_modules/pacote/lib/fetchers/ |
D | directory.js | 36 const pkgPath = path.join(spec.fetchSpec, 'package.json') 39 readFileAsync(pkgPath).then(readJson).catch({ code: 'ENOENT' }, err => {
|
/third_party/node/lib/internal/modules/esm/ |
D | resolve.js | 81 const pkgPath = fileURLToPath(new URL('.', packageJSONUrl)); 85 `Package ${pkgPath} has a "main" field set to ${JSONStringify(main)}, ` + 87 StringPrototypeSlice(path, pkgPath.length)}", imported from ${ 95 `No "main" or "exports" field defined in the package.json for ${pkgPath 97 StringPrototypeSlice(path, pkgPath.length)}", imported from ${basePath
|
/third_party/node/lib/internal/ |
D | errors.js | 1170 (pkgPath, key, target, isImport = false, base = undefined) => { 1176 `in the package config ${pkgPath}package.json${base ? 1182 pkgPath}package.json${base ? ` imported from ${base}` : ''}${relError ? 1346 E('ERR_PACKAGE_PATH_NOT_EXPORTED', (pkgPath, subpath, base = undefined) => { 1348 return `No "exports" main defined in ${pkgPath}package.json${base ? 1351 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)
|
/third_party/node/deps/npm/node_modules/libcipm/ |
D | index.js | 367 runScript (stage, pkg, pkgPath) { argument 373 pkg, stage, pkgPath, LifecycleOpts(this.opts).concat({
|
/third_party/flutter/flutter/packages/flutter_tools/lib/src/ |
D | cache.dart | 580 final String pkgPath = fs.path.join(pkgDir.path, pkgName); 581 if (!fs.directory(pkgPath).existsSync()) {
|
/third_party/node/tools/ |
D | lint-md.mjs | 19081 * @param {string} pkgPath 19087 (pkgPath, key, target, isImport = false, base = undefined) => { 19097 `in the package config ${pkgPath}package.json${ 19107 )} defined for '${key}' in the package config ${pkgPath}package.json${ 19145 * @param {string} pkgPath 19149 (pkgPath, subpath, base = undefined) => { 19151 return `No "exports" main defined in ${pkgPath}package.json${ 19154 return `Package subpath '${subpath}' is not defined by "exports" in ${pkgPath}package.json${ 19491 const pkgPath = fileURLToPath(new URL$1('.', packageJsonUrl)); 19495 `Package ${pkgPath} has a "main" field set to ${JSON.stringify(main)}, ` + [all …]
|