@plakboek/permissions 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/LICENSE +21 -0
- package/README.md +171 -0
- package/dist/index.d.ts +689 -0
- package/dist/index.js +864 -0
- package/package.json +48 -0
package/package.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@plakboek/permissions",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Frozen permission catalogue and role types for Plakboek CMS installations",
|
|
5
|
+
"homepage": "https://github.com/flovan/plakboek/tree/main/packages/permissions#readme",
|
|
6
|
+
"bugs": {
|
|
7
|
+
"url": "https://github.com/flovan/plakboek/issues"
|
|
8
|
+
},
|
|
9
|
+
"license": "MIT",
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "git+https://github.com/flovan/plakboek.git",
|
|
13
|
+
"directory": "packages/permissions"
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist"
|
|
17
|
+
],
|
|
18
|
+
"type": "module",
|
|
19
|
+
"sideEffects": false,
|
|
20
|
+
"exports": {
|
|
21
|
+
".": {
|
|
22
|
+
"types": "./dist/index.d.ts",
|
|
23
|
+
"default": "./dist/index.js"
|
|
24
|
+
},
|
|
25
|
+
"./package.json": "./package.json"
|
|
26
|
+
},
|
|
27
|
+
"publishConfig": {
|
|
28
|
+
"access": "public"
|
|
29
|
+
},
|
|
30
|
+
"devDependencies": {
|
|
31
|
+
"@arethetypeswrong/cli": "^0.18.5",
|
|
32
|
+
"@types/node": "^22.20.2",
|
|
33
|
+
"publint": "^0.3.24",
|
|
34
|
+
"tsdown": "^0.23.0",
|
|
35
|
+
"typescript": "^7.0.2",
|
|
36
|
+
"vitest": "^5.0.0"
|
|
37
|
+
},
|
|
38
|
+
"engines": {
|
|
39
|
+
"node": ">=22.16"
|
|
40
|
+
},
|
|
41
|
+
"scripts": {
|
|
42
|
+
"build": "tsdown",
|
|
43
|
+
"test": "vitest run",
|
|
44
|
+
"typecheck": "tsc --noEmit -p tsconfig.json",
|
|
45
|
+
"check": "publint --strict && attw --pack . --profile esm-only",
|
|
46
|
+
"docs:permissions": "UPDATE_PERMISSIONS_TABLE=1 vitest run tests/readme.test.ts"
|
|
47
|
+
}
|
|
48
|
+
}
|