@dotenvx/next-env 2.5.5 → 3.0.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 +34 -7
- package/dist/dotenvx-darwin-arm64.node +0 -0
- package/dist/dotenvx-darwin-x64.node +0 -0
- package/dist/dotenvx-linux-arm64.node +0 -0
- package/dist/dotenvx-linux-x64.node +0 -0
- package/dist/dotenvx-win32-x64.node +0 -0
- package/dist/index.cjs +1 -735
- package/package.json +6 -9
- package/dist/armorWorker.js +0 -701
- package/dist/spinnerWorker.js +0 -588
package/README.md
CHANGED
|
@@ -23,15 +23,42 @@ npm run dev
|
|
|
23
23
|
npm run build
|
|
24
24
|
```
|
|
25
25
|
|
|
26
|
-
##
|
|
26
|
+
## Native loader
|
|
27
|
+
|
|
28
|
+
The Node addon uses the same Rust SDK as dotenvx for Ruby and Python. It loads
|
|
29
|
+
keys from the environment or `.env.keys` and can delegate missing keys to
|
|
30
|
+
`dotenvx sdk keyring` when a compatible dotenvx CLI is on `PATH`.
|
|
31
|
+
|
|
32
|
+
To build the addon for your current platform from the Forge checkout, install
|
|
33
|
+
the Rust toolchain and run:
|
|
34
|
+
|
|
35
|
+
```sh
|
|
36
|
+
npm ci --prefix next-env
|
|
37
|
+
npm run test:next-env
|
|
38
|
+
```
|
|
27
39
|
|
|
28
|
-
|
|
40
|
+
## Releases
|
|
29
41
|
|
|
30
|
-
- `
|
|
31
|
-
|
|
32
|
-
-
|
|
33
|
-
-
|
|
34
|
-
|
|
42
|
+
From a clean Forge checkout, run `npm run version:batch -- next-env major`
|
|
43
|
+
to bump the npm and Cargo versions, commit the bump, and create a matching
|
|
44
|
+
`next-env-vX.Y.Z` tag. Add `--push` on `main` to push the commit and tag and
|
|
45
|
+
trigger `.github/workflows/next-env.yml`. Use `minor` or `patch` for those bumps.
|
|
46
|
+
|
|
47
|
+
The workflow ships one npm tarball with addons for macOS arm64/x64,
|
|
48
|
+
Linux glibc arm64/x64, and Windows x64. Consumers install it with npm
|
|
49
|
+
without a Rust toolchain.
|
|
50
|
+
|
|
51
|
+
In the npm settings for `@dotenvx/next-env`, add a GitHub Actions trusted publisher:
|
|
52
|
+
|
|
53
|
+
| Field | Value |
|
|
54
|
+
| --- | --- |
|
|
55
|
+
| Organization | `dotenvx` |
|
|
56
|
+
| Repository | `forge` |
|
|
57
|
+
| Workflow filename | `next-env.yml` |
|
|
58
|
+
| Environment | `release` |
|
|
59
|
+
| Allowed action | `npm publish` |
|
|
60
|
+
|
|
61
|
+
## Third Party Notices
|
|
35
62
|
|
|
36
63
|
### eciesjs
|
|
37
64
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|