@ai-matrx/sharing 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/package.json CHANGED
@@ -1,6 +1,135 @@
1
1
  {
2
2
  "name": "@ai-matrx/sharing",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.0",
4
+ "description": "Sharing for every AI Matrx entity: the permission doors, share links, and the share dialog.",
5
+ "type": "module",
6
+ "main": "./dist/core.cjs",
7
+ "module": "./dist/core.js",
8
+ "types": "./dist/core.d.ts",
9
+ "license": "MIT",
10
+ "keywords": [
11
+ "sharing",
12
+ "permissions",
13
+ "share-links",
14
+ "ai-matrx"
15
+ ],
16
+ "repository": {
17
+ "type": "git",
18
+ "url": "git+https://github.com/AI-Matrix-Engine/aidream.git",
19
+ "directory": "apps/shared/sharing"
20
+ },
21
+ "homepage": "https://github.com/AI-Matrix-Engine/aidream/tree/main/apps/shared/sharing#readme",
22
+ "bugs": {
23
+ "url": "https://github.com/AI-Matrix-Engine/aidream/issues"
24
+ },
25
+ "files": [
26
+ "dist",
27
+ "README.md",
28
+ "LICENSE",
29
+ "CHANGELOG.md"
30
+ ],
31
+ "exports": {
32
+ "./core": {
33
+ "import": {
34
+ "types": "./dist/core.d.ts",
35
+ "default": "./dist/core.js"
36
+ },
37
+ "require": {
38
+ "types": "./dist/core.d.cts",
39
+ "default": "./dist/core.cjs"
40
+ }
41
+ },
42
+ "./react": {
43
+ "import": {
44
+ "types": "./dist/react.d.ts",
45
+ "default": "./dist/react.js"
46
+ },
47
+ "require": {
48
+ "types": "./dist/react.d.cts",
49
+ "default": "./dist/react.cjs"
50
+ }
51
+ },
52
+ "./access/react": {
53
+ "import": {
54
+ "types": "./dist/access-react.d.ts",
55
+ "default": "./dist/access-react.js"
56
+ },
57
+ "require": {
58
+ "types": "./dist/access-react.d.cts",
59
+ "default": "./dist/access-react.cjs"
60
+ }
61
+ },
62
+ "./access/react/cantRemoveDialog.render": {
63
+ "import": {
64
+ "types": "./dist/access-react-cant-remove-dialog.d.ts",
65
+ "default": "./dist/access-react-cant-remove-dialog.js"
66
+ },
67
+ "require": {
68
+ "types": "./dist/access-react-cant-remove-dialog.d.cts",
69
+ "default": "./dist/access-react-cant-remove-dialog.cjs"
70
+ }
71
+ },
72
+ "./package.json": "./package.json"
73
+ },
74
+ "dependencies": {
75
+ "@supabase/supabase-js": "^2.117.0",
76
+ "lucide-react": "^1.48.0",
77
+ "@ai-matrx/api": "latest",
78
+ "@ai-matrx/associations": "latest",
79
+ "@ai-matrx/design-system": "latest",
80
+ "@ai-matrx/data": "latest",
81
+ "@ai-matrx/auth": "latest",
82
+ "@ai-matrx/kit": "latest",
83
+ "@ai-matrx/summon": "latest",
84
+ "@ai-matrx/vault": "latest"
85
+ },
86
+ "peerDependencies": {
87
+ "react": ">=18.0.0",
88
+ "react-dom": ">=18.0.0"
89
+ },
90
+ "devDependencies": {
91
+ "@arethetypeswrong/cli": "^0.18.5",
92
+ "@types/node": "^26.6.2",
93
+ "@types/react": "19.3.0",
94
+ "@types/react-dom": "19.3.0",
95
+ "jsdom": "^30.1.1",
96
+ "publint": "^0.3.24",
97
+ "react": "^19.3.0",
98
+ "react-dom": "^19.3.0",
99
+ "tsup": "^8.5.1",
100
+ "typescript": "^6.0.3",
101
+ "vitest": "^5.0.1"
102
+ },
103
+ "publishConfig": {
104
+ "access": "public",
105
+ "registry": "https://registry.npmjs.org/"
106
+ },
107
+ "engines": {
108
+ "node": ">=20"
109
+ },
110
+ "sideEffects": false,
111
+ "matrx": {
112
+ "charter": "One sharing capability: permissions, links, dialog, lenses.",
113
+ "owns": [
114
+ "resource-type registry and permission doors",
115
+ "share links (/s/<token>)",
116
+ "ShareModal, ShareButton, WhoCanSeeThis and share lens registry",
117
+ "access gate screens (request access, access denied, governed actions)"
118
+ ],
119
+ "mustNotOwn": [
120
+ "Office editors (office)",
121
+ "file actions (file-actions)"
122
+ ],
123
+ "layer": 5
124
+ },
125
+ "scripts": {
126
+ "build": "pnpm clean && tsup && node ../scripts/check-node-env-not-inlined.mjs",
127
+ "clean": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"",
128
+ "check:package": "pnpm build && node ../scripts/check-exports-agreement.mjs && publint && pnpm verify:tarball && node ../scripts/check-tarball-relative-imports.mjs --self-test && node ../scripts/check-tarball-relative-imports.mjs --pack . && node ../scripts/check-package-rules.mjs --self-test && node ../scripts/check-package-rules.mjs .",
129
+ "typecheck": "tsc -p tsconfig.json --noEmit",
130
+ "test": "vitest run",
131
+ "test:watch": "vitest",
132
+ "verify:tarball": "node ./scripts/verify-tarball.mjs"
133
+ },
134
+ "gitHead": "876d49cdb747640f4f12bac15bd2a4ac13cc33af"
135
+ }