@yao-pkg/pkg 5.9.1 → 5.10.0
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/README.md +7 -5
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -275,11 +275,13 @@ The startup time of the application might be reduced slightly.
|
|
|
275
275
|
|
|
276
276
|
### Environment
|
|
277
277
|
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
|
281
|
-
|
|
|
282
|
-
|
|
|
278
|
+
All pkg-cache [environment vars](https://github.com/yao-pkg/pkg-fetch#environment), plus:
|
|
279
|
+
|
|
280
|
+
| Var | Description |
|
|
281
|
+
| ---------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
282
|
+
| `CHDIR` | Override process `chdir` |
|
|
283
|
+
| `PKG_STRICT_VER` | Turn on some assertion in the walker code to assert that each file content/state that we appending to the virtual file system applies to a real file, not a symlink. |
|
|
284
|
+
| `PKG_EXECPATH` | Used internally by `pkg`, do not override |
|
|
283
285
|
|
|
284
286
|
Examples
|
|
285
287
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yao-pkg/pkg",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.10.0",
|
|
4
4
|
"description": "Package your Node.js project into an executable",
|
|
5
5
|
"main": "lib-es5/index.js",
|
|
6
6
|
"license": "MIT",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"@babel/generator": "7.23.0",
|
|
26
26
|
"@babel/parser": "7.23.0",
|
|
27
27
|
"@babel/types": "7.23.0",
|
|
28
|
-
"@yao-pkg/pkg-fetch": "3.5.
|
|
28
|
+
"@yao-pkg/pkg-fetch": "3.5.6",
|
|
29
29
|
"chalk": "^4.1.2",
|
|
30
30
|
"fs-extra": "^9.1.0",
|
|
31
31
|
"globby": "^11.1.0",
|