Home
last modified time | relevance | path

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

/third_party/node/deps/npm/test/tap/
Dinstall-bad-dep-format.js19 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) {
Dversion-consistent-newlines.js30 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')
Dinstall-bin-null.js51 var pkgPath = path.resolve(pkg, json.name)
52 mkdirp.sync(pkgPath)
54 path.join(pkgPath, 'package.json'),
Dinstall-local-dep-cycle.js65 function saveJson (pkgPath, json) { argument
66 mkdirp.sync(pkgPath)
67 fs.writeFileSync(path.join(pkgPath, 'package.json'), JSON.stringify(json, null, 2))
Dverify-no-lifecycle-on-repo.js62 function saveJson (pkgPath, json) { argument
63 mkdirp.sync(pkgPath)
64 fs.writeFileSync(path.join(pkgPath, 'package.json'), JSON.stringify(json, null, 2))
Dgently-rm-symlinked-global-dir.js93 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')
Dformat-package-lock.js17 const pkgPath = path.join(testdir, 'package.json') constant
71 const pkgUtf8 = fs.readFileSync(pkgPath, 'utf-8')
95 const pkgUtf8 = fs.readFileSync(pkgPath, 'utf-8')
Dinstall-save-consistent-newlines.js69 const pkgPath = path.resolve(pkg, 'package.json')
70 const pkgStr = fs.readFileSync(pkgPath, 'utf8')
/third_party/node/lib/internal/modules/cjs/
Dloader.js412 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/
Dtest-corepack-yarn-install.js37 const pkgPath = path.join(installDir, 'package.json'); constant
39 fs.writeFileSync(pkgPath, pkgContent);
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/deps/npm/node_modules/pacote/lib/fetchers/
Ddirectory.js36 const pkgPath = path.join(spec.fetchSpec, 'package.json')
39 readFileAsync(pkgPath).then(readJson).catch({ code: 'ENOENT' }, err => {
/third_party/node/lib/internal/modules/esm/
Dresolve.js81 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/
Derrors.js1170 (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/
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)
/third_party/node/deps/npm/node_modules/libcipm/
Dindex.js367 runScript (stage, pkg, pkgPath) { argument
373 pkg, stage, pkgPath, LifecycleOpts(this.opts).concat({
/third_party/flutter/flutter/packages/flutter_tools/lib/src/
Dcache.dart580 final String pkgPath = fs.path.join(pkgDir.path, pkgName);
581 if (!fs.directory(pkgPath).existsSync()) {
/third_party/node/tools/
Dlint-md.mjs19081 * @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 …]