@maverickcer/env-cap 0.7.6 → 0.7.7
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/CHANGELOG.md +9 -0
- package/dist/{build-UEENZEUX.js → build-33O5SDTC.js} +2 -2
- package/dist/build.cjs +1 -1
- package/dist/build.js +1 -1
- package/dist/{chunk-TBL3O7IG.js → chunk-4D67AQFY.js} +2 -2
- package/dist/cli/index.js +3 -3
- package/package.json +4 -5
- package/skills/env-cap/SKILL.md +1 -1
- package/skills/env-cap/references/api.md +1 -1
- package/specs/decisions/0049-typescript-7-scanner-uses-a-bundled-typescript-6.md +9 -0
- /package/dist/{build-UEENZEUX.js.map → build-33O5SDTC.js.map} +0 -0
- /package/dist/{chunk-TBL3O7IG.js.map → chunk-4D67AQFY.js.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.7.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- fde4ef4: The published manifest now matches the package.json inside the tarball. `bundleDependencies` lists
|
|
8
|
+
only `@typescript/typescript6`; its TypeScript 6 payload, `@typescript/old`, still ships as that
|
|
9
|
+
package's dependency. Listing `@typescript/old` separately made npm add `"@typescript/old": "*"` to
|
|
10
|
+
the registry manifest, which Socket reported as manifest confusion.
|
|
11
|
+
|
|
3
12
|
## 0.7.6
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
readToolVersion
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4D67AQFY.js";
|
|
5
5
|
|
|
6
6
|
// src/build/evidence-snapshot.ts
|
|
7
7
|
import path3 from "path";
|
|
@@ -5206,4 +5206,4 @@ export {
|
|
|
5206
5206
|
resolveRelativeImport,
|
|
5207
5207
|
writeEnvExample
|
|
5208
5208
|
};
|
|
5209
|
-
//# sourceMappingURL=build-
|
|
5209
|
+
//# sourceMappingURL=build-33O5SDTC.js.map
|
package/dist/build.cjs
CHANGED
package/dist/build.js
CHANGED
package/dist/cli/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
readToolVersion
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-4D67AQFY.js";
|
|
5
5
|
|
|
6
6
|
// src/cli/index.ts
|
|
7
7
|
import { realpathSync } from "fs";
|
|
@@ -536,7 +536,7 @@ ${header}
|
|
|
536
536
|
async function runCheckMode(args) {
|
|
537
537
|
let checkResult;
|
|
538
538
|
try {
|
|
539
|
-
const { checkEnvArtifacts } = await import("../build-
|
|
539
|
+
const { checkEnvArtifacts } = await import("../build-33O5SDTC.js");
|
|
540
540
|
checkResult = await checkEnvArtifacts(artifactOptions(args));
|
|
541
541
|
} catch (error) {
|
|
542
542
|
if (!args.json) throw error;
|
|
@@ -582,7 +582,7 @@ function printManifestSummary(manifest) {
|
|
|
582
582
|
async function runGenerateMode(args) {
|
|
583
583
|
let result;
|
|
584
584
|
try {
|
|
585
|
-
const { generateEnvArtifacts } = await import("../build-
|
|
585
|
+
const { generateEnvArtifacts } = await import("../build-33O5SDTC.js");
|
|
586
586
|
result = await generateEnvArtifacts(artifactOptions(args));
|
|
587
587
|
} catch (error) {
|
|
588
588
|
if (!args.json) throw error;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maverickcer/env-cap",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.7",
|
|
4
4
|
"description": "Each feature declares the environment variables it needs and their format. Your app validates them all in one place at startup, fails fast on a bad value, and reports how they should be rotated before they expire. A TypeScript library that works alongside dotenv, Zod or your secret manager.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"environment-variables",
|
|
@@ -164,8 +164,7 @@
|
|
|
164
164
|
"@typescript/typescript6": "^6.0.2"
|
|
165
165
|
},
|
|
166
166
|
"bundleDependencies": [
|
|
167
|
-
"@typescript/typescript6"
|
|
168
|
-
"@typescript/old"
|
|
167
|
+
"@typescript/typescript6"
|
|
169
168
|
],
|
|
170
169
|
"peerDependencies": {
|
|
171
170
|
"@typescript-eslint/utils": "^8.0.0",
|
|
@@ -197,8 +196,8 @@
|
|
|
197
196
|
"eslint-config-prettier": "10.1.8",
|
|
198
197
|
"fast-check": "^4.10.2",
|
|
199
198
|
"globals": "^17.9.0",
|
|
200
|
-
"internal-package-contract": "github:MaverickCER/internal-package-contract#v0.
|
|
201
|
-
"prettier": "3.
|
|
199
|
+
"internal-package-contract": "github:MaverickCER/internal-package-contract#v0.20.0",
|
|
200
|
+
"prettier": "3.10.0",
|
|
202
201
|
"ts-json-schema-generator": "^2.9.0",
|
|
203
202
|
"tsup": "^9.0.0",
|
|
204
203
|
"typedoc": "^0.28.20",
|
package/skills/env-cap/SKILL.md
CHANGED
|
@@ -87,4 +87,4 @@ Report any check you could not run, and any assumption you made.
|
|
|
87
87
|
|
|
88
88
|
## Authority
|
|
89
89
|
|
|
90
|
-
Target `@maverickcer/env-cap@0.7.
|
|
90
|
+
Target `@maverickcer/env-cap@0.7.7`. The installed package's exports and type declarations are the API: use only what they declare. Its tests and examples establish its behaviour. When this skill and the code disagree, report the disagreement before acting on either.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @maverickcer/env-cap public API
|
|
2
2
|
|
|
3
|
-
Every export a consumer can import, by entry point, for version 0.7.
|
|
3
|
+
Every export a consumer can import, by entry point, for version 0.7.7. Generated from the package's committed API baselines; the type declarations in the installed package are the authority.
|
|
4
4
|
|
|
5
5
|
## `@maverickcer/env-cap`
|
|
6
6
|
|
|
@@ -5,6 +5,15 @@
|
|
|
5
5
|
Accepted. Implemented in `src/build/typescript.ts`. Supersedes the TypeScript 7 paragraph of
|
|
6
6
|
[ADR 0047](0047-supported-toolchain-node-22-and-typescript-5-6.md).
|
|
7
7
|
|
|
8
|
+
## Amendment
|
|
9
|
+
|
|
10
|
+
`bundleDependencies` lists `@typescript/typescript6` only. npm also bundles the dependencies of a
|
|
11
|
+
bundled package, so its `@typescript/old` payload still ships in the tarball. Listing
|
|
12
|
+
`@typescript/old` by name without a matching `dependencies` entry made npm add
|
|
13
|
+
`"@typescript/old": "*"` to the published manifest. The manifest then no longer matched the
|
|
14
|
+
tarball's package.json, which Socket reports as manifest confusion.
|
|
15
|
+
`test/build/typescript-bundled.test.ts` pins both facts.
|
|
16
|
+
|
|
8
17
|
## Context
|
|
9
18
|
|
|
10
19
|
The build-time scanner (`src/build/parse.ts`, `scan-dependencies.ts`, `literal-eval.ts`,
|
|
File without changes
|
|
File without changes
|