@lwrjs/legacy-npm-module-provider 0.11.0-alpha.9 → 0.11.1
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.
|
@@ -31,7 +31,7 @@ var import_path = __toModule(require("path"));
|
|
|
31
31
|
var import_esinstall = __toModule(require("esinstall"));
|
|
32
32
|
var import_fs = __toModule(require("fs"));
|
|
33
33
|
var import_resolve = __toModule(require("resolve"));
|
|
34
|
-
var
|
|
34
|
+
var import_diagnostics = __toModule(require("@lwrjs/diagnostics"));
|
|
35
35
|
function getPkgVersion(specifier) {
|
|
36
36
|
const pkgPath = import_resolve.default.sync((0, import_path.join)(specifier, "/package.json"));
|
|
37
37
|
return JSON.parse((0, import_fs.readFileSync)(pkgPath, "utf-8")).version;
|
|
@@ -92,7 +92,7 @@ async function resolveNpmModuleSpecifierBlock(specifier, dest, config) {
|
|
|
92
92
|
version
|
|
93
93
|
};
|
|
94
94
|
} catch (err) {
|
|
95
|
-
|
|
95
|
+
import_diagnostics.logger.error(`[npm-module-provider][esintsall] resolveNpmModules: ${specifier} ${dest}`, {err});
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
var Queue = class {
|
|
@@ -3,7 +3,7 @@ import { dirname, join } from 'path';
|
|
|
3
3
|
import { install } from 'esinstall';
|
|
4
4
|
import { readFileSync, copyFileSync, mkdirSync, existsSync, writeFileSync } from 'fs';
|
|
5
5
|
import resolve from 'resolve';
|
|
6
|
-
import { logger } from '@lwrjs/
|
|
6
|
+
import { logger } from '@lwrjs/diagnostics';
|
|
7
7
|
function getPkgVersion(specifier) {
|
|
8
8
|
const pkgPath = resolve.sync(join(specifier, '/package.json'));
|
|
9
9
|
return JSON.parse(readFileSync(pkgPath, 'utf-8')).version;
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
8
|
-
"version": "0.11.
|
|
8
|
+
"version": "0.11.1",
|
|
9
9
|
"homepage": "https://developer.salesforce.com/docs/platform/lwr/overview",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
@@ -36,13 +36,14 @@
|
|
|
36
36
|
"test": "jest"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@lwrjs/types": "0.11.
|
|
39
|
+
"@lwrjs/types": "0.11.1",
|
|
40
40
|
"jest": "^26.6.3",
|
|
41
41
|
"ts-jest": "^26.5.6",
|
|
42
42
|
"typescript": "^4.9.5"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@lwrjs/
|
|
45
|
+
"@lwrjs/diagnostics": "0.11.1",
|
|
46
|
+
"@lwrjs/shared-utils": "0.11.1",
|
|
46
47
|
"esinstall": "^1.1.7"
|
|
47
48
|
},
|
|
48
49
|
"engines": {
|
|
@@ -51,5 +52,5 @@
|
|
|
51
52
|
"volta": {
|
|
52
53
|
"extends": "../../../package.json"
|
|
53
54
|
},
|
|
54
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "b7c40fdcd86635dd4e368c0a2e91c5d3374c0fcf"
|
|
55
56
|
}
|