@gavinc-cn/dsh-path-rules 0.0.0-stage → 0.1.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/locale/zh.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "路径规则守卫",
4
+ "description": "项目内可读写;项目外读允许、写需审批;白名单直通;黑名单一律审批。"
5
+ }
6
+ }
package/package.json CHANGED
@@ -1,6 +1,32 @@
1
1
  {
2
2
  "name": "@gavinc-cn/dsh-path-rules",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "title": "路径规则守卫",
4
+ "description": "第五权限模式「路径规则」的逐调用闸门:项目内可读写 / 项目外读允许·写审批 / 白名单直通 / 黑名单读写都审批 / bash·pwsh 只读放行;经 tools/pre-execute 返回 allow|ask|deny。",
5
+ "version": "0.1.0",
6
+ "type": "module",
7
+ "main": "./lib/index.mjs",
8
+ "files": [
9
+ "lib",
10
+ "locale"
11
+ ],
12
+ "exports": {
13
+ ".": "./lib/index.mjs",
14
+ "./package.json": "./package.json",
15
+ "./locale/*.json": "./locale/*.json"
16
+ },
17
+ "scripts": {
18
+ "test": "node --test test/rules.test.mjs test/classify.test.mjs test/analyze-lex.test.mjs test/analyze-bash.test.mjs test/analyze-pwsh.test.mjs test/decide.test.mjs test/plugin.test.mjs test/analyze-security.test.mjs"
19
+ },
20
+ "license": "MIT",
21
+ "repository": {
22
+ "type": "git",
23
+ "url": "git+https://github.com/gavinc-cn/dsh-plugins.git",
24
+ "directory": "packages/runtime/dsh-path-rules"
25
+ },
26
+ "homepage": "https://github.com/gavinc-cn/dsh-plugins/tree/master/packages/runtime/dsh-path-rules#readme",
27
+ "bugs": "https://github.com/gavinc-cn/dsh-plugins/issues",
28
+ "publishConfig": {
29
+ "registry": "https://registry.npmjs.org",
30
+ "access": "public"
31
+ }
32
+ }