@antongolub/lockfile 0.0.0-snapshot.42 → 0.0.0-snapshot.43
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.
- package/package.json +2 -2
- package/target/esm/cli.mjs +6 -0
- package/target/esm/index.mjs +7 -0
- package/target/esm/vendor.mjs +6 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antongolub/lockfile",
|
|
3
|
-
"version": "0.0.0-snapshot.
|
|
3
|
+
"version": "0.0.0-snapshot.43",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"build:index": "node ./src/scripts/build.mjs --entry='./src/main/ts/index.ts' --bundle=src --format='cjs,esm' --external='./src/main/ts/vendor,node:*' --map='../../src/main/ts/vendor:./vendor,../src/main/ts/vendor:./vendor'",
|
|
55
55
|
"build:dts": "tsc --emitDeclarationOnly --skipLibCheck --outDir target/dts",
|
|
56
56
|
"test": "yarn test:unit",
|
|
57
|
-
"test:unit": "c8 -r lcov -r text -o target/coverage -x src/scripts -x src/test uvu -r tsm -i helpers 'src/test/ts/'",
|
|
57
|
+
"test:unit": "c8 -r lcov -r text -o target/coverage -x src/scripts -x src/test uvu -r tsm -i helpers 'src/test/ts/' && uvu -i helpers 'src/test/js/'",
|
|
58
58
|
"test:debug": "DEBUG=true TEMP=temp yarn run test:unit",
|
|
59
59
|
"publish:snap": "yarn build && npm publish --no-git-tag-version --tag snapshot"
|
|
60
60
|
},
|
package/target/esm/cli.mjs
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
// https://github.com/evanw/esbuild/issues/1921
|
|
4
|
+
const require = (await import("node:module")).createRequire(import.meta.url);
|
|
5
|
+
const __filename = (await import("node:url")).fileURLToPath(import.meta.url);
|
|
6
|
+
const __dirname = (await import("node:path")).dirname(__filename);
|
|
7
|
+
|
|
2
8
|
import fs from "node:fs/promises";
|
|
3
9
|
import * as process from "node:process";
|
|
4
10
|
import path from "node:path";
|
package/target/esm/index.mjs
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
|
|
2
|
+
// https://github.com/evanw/esbuild/issues/1921
|
|
3
|
+
const require = (await import("node:module")).createRequire(import.meta.url);
|
|
4
|
+
const __filename = (await import("node:url")).fileURLToPath(import.meta.url);
|
|
5
|
+
const __dirname = (await import("node:path")).dirname(__filename);
|
|
6
|
+
|
|
7
|
+
|
|
1
8
|
// src/main/ts/common.ts
|
|
2
9
|
import semver from "semver";
|
|
3
10
|
import fs from "node:fs/promises";
|
package/target/esm/vendor.mjs
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
|
|
2
|
+
// https://github.com/evanw/esbuild/issues/1921
|
|
3
|
+
const require = (await import("node:module")).createRequire(import.meta.url);
|
|
4
|
+
const __filename = (await import("node:url")).fileURLToPath(import.meta.url);
|
|
5
|
+
const __dirname = (await import("node:path")).dirname(__filename);
|
|
6
|
+
|
|
1
7
|
var __create = Object.create;
|
|
2
8
|
var __defProp = Object.defineProperty;
|
|
3
9
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|