pkg-gate 0.1.1 → 0.2.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 +5 -0
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -101,6 +101,11 @@ npx pkg-gate esbuild --plain
|
|
|
101
101
|
|
|
102
102
|
Exit code `0` on allow, `1` on block, `2` on warn. When a warning triggers in an interactive terminal, prompts the user for confirmation.
|
|
103
103
|
|
|
104
|
+
## Playground
|
|
105
|
+
|
|
106
|
+
Interactive browser playground with live package evaluation, preset scenarios, and architecture flow:
|
|
107
|
+
https://hemanth.github.io/pkg-gate/
|
|
108
|
+
|
|
104
109
|
## Demo
|
|
105
110
|
|
|
106
111
|
```bash
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pkg-gate",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Pre-install security gate for npm lifecycle scripts using TypeSafe System One.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.js",
|
|
@@ -22,7 +22,8 @@
|
|
|
22
22
|
],
|
|
23
23
|
"scripts": {
|
|
24
24
|
"test": "node --test test/*.test.js",
|
|
25
|
-
"demo": "node bin/cli.js test/fixtures/credential-theft.json --mock"
|
|
25
|
+
"demo": "node bin/cli.js test/fixtures/credential-theft.json --mock",
|
|
26
|
+
"playground": "npx serve docs"
|
|
26
27
|
},
|
|
27
28
|
"keywords": [
|
|
28
29
|
"typesafe",
|