@spences10/pi-child-env 0.1.5 → 0.1.6
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 +16 -0
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# @spences10/pi-child-env
|
|
2
2
|
|
|
3
|
+
[](https://viteplus.dev)
|
|
4
|
+
[](https://vitest.dev)
|
|
5
|
+
[](https://www.npmjs.com/package/@spences10/pi-child-env)
|
|
6
|
+
[](https://www.npmjs.com/package/@spences10/pi-child-env)
|
|
7
|
+
|
|
3
8
|
Shared safe environment builder for Pi child processes.
|
|
4
9
|
|
|
5
10
|
By default it passes only a minimal non-secret baseline (`PATH`,
|
|
@@ -34,3 +39,14 @@ Profile-specific allowlists:
|
|
|
34
39
|
- `team-mode` — `MY_PI_TEAM_MODE_ENV_ALLOWLIST`
|
|
35
40
|
|
|
36
41
|
Use allowlists only for variables the child process truly needs.
|
|
42
|
+
|
|
43
|
+
## Development
|
|
44
|
+
|
|
45
|
+
Package scripts build transitive workspace dependencies first, then
|
|
46
|
+
run local tools through Vite+ with `vp exec`.
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
pnpm --filter @spences10/pi-child-env run check
|
|
50
|
+
pnpm --filter @spences10/pi-child-env run test
|
|
51
|
+
pnpm --filter @spences10/pi-child-env run build
|
|
52
|
+
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spences10/pi-child-env",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"description": "Shared safe environment builder for Pi child processes",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"env",
|
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|
|
39
39
|
"build": "pnpm --filter \"$npm_package_name^...\" run build:self && pnpm run build:self",
|
|
40
|
-
"build:self": "tsc -p tsconfig.build.json",
|
|
40
|
+
"build:self": "vp exec tsc -p tsconfig.build.json",
|
|
41
41
|
"check": "pnpm --filter \"$npm_package_name^...\" run build:self && pnpm run check:self",
|
|
42
|
-
"check:self": "tsc --noEmit -p tsconfig.json",
|
|
42
|
+
"check:self": "vp exec tsc --noEmit -p tsconfig.json",
|
|
43
43
|
"test": "pnpm --filter \"$npm_package_name^...\" run build:self && pnpm run test:self",
|
|
44
|
-
"test:self": "vitest run",
|
|
45
|
-
"coverage:self": "vitest run --coverage",
|
|
44
|
+
"test:self": "vp exec vitest run",
|
|
45
|
+
"coverage:self": "vp exec vitest run --coverage",
|
|
46
46
|
"coverage": "pnpm --filter \"$npm_package_name^...\" run build:self && pnpm run coverage:self"
|
|
47
47
|
}
|
|
48
48
|
}
|