linked-data-browser 0.0.8-alpha.6 → 0.0.8-alpha.8
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 +68 -1
- package/dist-lib/index.d.mts +40 -3
- package/dist-lib/index.d.ts +40 -3
- package/dist-lib/index.js +894 -711
- package/dist-lib/index.mjs +583 -404
- package/dist-server/RefreshWorker.js +2045 -0
- package/dist-server/_expo/static/css/global-9f1ade27c4ac36316f91e9e008f2f694.css +1 -0
- package/dist-server/_expo/static/js/web/AppEntry-3fb182fd2bcf22f400f77c2d2f09bc56.js +14269 -0
- package/dist-server/index.html +2 -2
- package/dist-standalone/RefreshWorker.js +2045 -0
- package/dist-standalone/_expo/static/css/global-9f1ade27c4ac36316f91e9e008f2f694.css +1 -0
- package/dist-standalone/_expo/static/js/web/AppEntry-3fb182fd2bcf22f400f77c2d2f09bc56.js +14269 -0
- package/dist-standalone/index.html +2 -2
- package/package.json +34 -30
- package/scripts/copy-refresh-worker.js +40 -0
- package/dist-server/_expo/static/css/global-c029fb6f4311978a769388b3a9f28b01.css +0 -1
- package/dist-server/_expo/static/js/web/AppEntry-3f89550cb70ba0801aa1bbc82a590e5d.js +0 -12640
- package/dist-standalone/_expo/static/css/global-c029fb6f4311978a769388b3a9f28b01.css +0 -1
- package/dist-standalone/_expo/static/js/web/AppEntry-3f89550cb70ba0801aa1bbc82a590e5d.js +0 -12640
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
flex: 1;
|
|
24
24
|
}
|
|
25
25
|
</style>
|
|
26
|
-
<link rel="preload" href="/_expo/static/css/global-
|
|
26
|
+
<link rel="preload" href="/_expo/static/css/global-9f1ade27c4ac36316f91e9e008f2f694.css" as="style"><link rel="stylesheet" href="/_expo/static/css/global-9f1ade27c4ac36316f91e9e008f2f694.css"><link rel="icon" href="/favicon.ico" /></head>
|
|
27
27
|
|
|
28
28
|
<body>
|
|
29
29
|
<!-- Use static rendering with Expo Router to support running without JavaScript. -->
|
|
@@ -32,6 +32,6 @@
|
|
|
32
32
|
</noscript>
|
|
33
33
|
<!-- The root element for your Expo app. -->
|
|
34
34
|
<div id="root"></div>
|
|
35
|
-
<script src="/_expo/static/js/web/AppEntry-
|
|
35
|
+
<script src="/_expo/static/js/web/AppEntry-3fb182fd2bcf22f400f77c2d2f09bc56.js" defer></script>
|
|
36
36
|
</body>
|
|
37
37
|
</html>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "linked-data-browser",
|
|
3
|
-
"version": "0.0.8-alpha.
|
|
3
|
+
"version": "0.0.8-alpha.8",
|
|
4
4
|
"exports": {
|
|
5
5
|
".": {
|
|
6
6
|
"types": "./dist-lib/index.d.ts",
|
|
@@ -14,22 +14,23 @@
|
|
|
14
14
|
"dev:android": "expo start -c --android",
|
|
15
15
|
"dev:server-hosted": "concurrently \"npm run solid-server\" \"npm run build:server:watch\"",
|
|
16
16
|
"clean": "rm -rf .expo node_modules dist-standalone dist-server dist-lib",
|
|
17
|
-
"build:standalone": "expo export -p web --output-dir dist-standalone && node scripts/adjust-standalone-paths.js",
|
|
18
|
-
"build:server": "EXPO_PUBLIC_IS_SERVER_HOSTED=true expo export -p web --output-dir dist-server && node scripts/adjust-server-paths.js",
|
|
17
|
+
"build:standalone": "expo export -p web --output-dir dist-standalone && node scripts/adjust-standalone-paths.js && cp node_modules/@uvdsl/solid-oidc-client-browser/dist/esm/web/RefreshWorker.js dist-standalone/RefreshWorker.js",
|
|
18
|
+
"build:server": "EXPO_PUBLIC_IS_SERVER_HOSTED=true expo export -p web --output-dir dist-server && node scripts/adjust-server-paths.js && cp node_modules/@uvdsl/solid-oidc-client-browser/dist/esm/web/RefreshWorker.js dist-server/RefreshWorker.js",
|
|
19
19
|
"build:server:watch": "npx chokidar '**/*' -i 'dist-standalone/**' -i 'dist-server/**' -i 'node_modules/**' -i 'data/**' -c 'npm run build:server'",
|
|
20
20
|
"solid-server": "community-solid-server -c ./test-server/server-config.json -f ./data --seed-config ./test-server/solid-css-seed.json",
|
|
21
21
|
"build:ldo": "ldo build --input .shapes --output .ldo",
|
|
22
22
|
"build:lib": "tsup lib/index.js --format cjs,esm --dts --out-dir dist-lib --clean",
|
|
23
23
|
"build": "npm run build:standalone && npm run build:server && npm run build:lib",
|
|
24
|
+
"copy-refresh-worker": "node scripts/copy-refresh-worker.js",
|
|
24
25
|
"prepublishOnly": "npm run build"
|
|
25
26
|
},
|
|
26
27
|
"dependencies": {
|
|
27
28
|
"@inrupt/solid-client-authn-browser": "^3.0.0",
|
|
28
|
-
"@ldo/connected": "^1.0.0-alpha.
|
|
29
|
-
"@ldo/connected-solid": "^1.0.0-alpha.
|
|
30
|
-
"@ldo/ldo": "^1.0.0-alpha.
|
|
31
|
-
"@ldo/react": "^1.0.0-alpha.
|
|
32
|
-
"@ldo/solid-react": "^1.0.0-alpha.
|
|
29
|
+
"@ldo/connected": "^1.0.0-alpha.51",
|
|
30
|
+
"@ldo/connected-solid": "^1.0.0-alpha.51",
|
|
31
|
+
"@ldo/ldo": "^1.0.0-alpha.51",
|
|
32
|
+
"@ldo/react": "^1.0.0-alpha.51",
|
|
33
|
+
"@ldo/solid-react": "^1.0.0-alpha.51",
|
|
33
34
|
"@monaco-editor/react": "^4.7.0",
|
|
34
35
|
"@radix-ui/react-dialog": "^1.1.14",
|
|
35
36
|
"@radix-ui/react-dropdown-menu": "^2.1.15",
|
|
@@ -40,7 +41,7 @@
|
|
|
40
41
|
"@radix-ui/react-radio-group": "^1.3.7",
|
|
41
42
|
"@radix-ui/react-switch": "^1.2.5",
|
|
42
43
|
"@radix-ui/react-tooltip": "^1.2.7",
|
|
43
|
-
"@react-native-async-storage/async-storage": "2.
|
|
44
|
+
"@react-native-async-storage/async-storage": "2.2.0",
|
|
44
45
|
"@react-navigation/native": "^7.1.14",
|
|
45
46
|
"@rn-primitives/accordion": "^1.2.0",
|
|
46
47
|
"@rn-primitives/aspect-ratio": "^1.2.0",
|
|
@@ -70,36 +71,35 @@
|
|
|
70
71
|
"class-variance-authority": "^0.7.0",
|
|
71
72
|
"clsx": "^2.1.0",
|
|
72
73
|
"constate": "^3.3.3",
|
|
73
|
-
"expo": "
|
|
74
|
-
"expo-document-picker": "~
|
|
75
|
-
"expo-linking": "~
|
|
76
|
-
"expo-navigation-bar": "~
|
|
77
|
-
"expo-splash-screen": "~0.
|
|
78
|
-
"expo-status-bar": "~
|
|
79
|
-
"expo-system-ui": "~
|
|
74
|
+
"expo": "~54.0.34",
|
|
75
|
+
"expo-document-picker": "~14.0.8",
|
|
76
|
+
"expo-linking": "~8.0.12",
|
|
77
|
+
"expo-navigation-bar": "~5.0.10",
|
|
78
|
+
"expo-splash-screen": "~31.0.13",
|
|
79
|
+
"expo-status-bar": "~3.0.9",
|
|
80
|
+
"expo-system-ui": "~6.0.9",
|
|
80
81
|
"lodash": "^4.17.21",
|
|
81
82
|
"lucide-react-native": "^0.511.0",
|
|
82
|
-
"react": "19.
|
|
83
|
-
"react-dom": "19.
|
|
84
|
-
"react-native": "0.
|
|
83
|
+
"react": "19.1.0",
|
|
84
|
+
"react-dom": "19.1.0",
|
|
85
|
+
"react-native": "0.81.5",
|
|
85
86
|
"react-native-notifier": "^2.0.0",
|
|
86
87
|
"react-native-progress": "^5.0.1",
|
|
87
|
-
"react-native-reanimated": "~
|
|
88
|
+
"react-native-reanimated": "~4.1.1",
|
|
88
89
|
"react-native-safe-area-context": "^5.4.0",
|
|
89
|
-
"react-native-screens": "~4.
|
|
90
|
-
"react-native-svg": "15.
|
|
91
|
-
"react-native-web": "
|
|
92
|
-
"react-native-worklets": "
|
|
90
|
+
"react-native-screens": "~4.16.0",
|
|
91
|
+
"react-native-svg": "15.12.1",
|
|
92
|
+
"react-native-web": "^0.21.0",
|
|
93
|
+
"react-native-worklets": "0.5.1"
|
|
93
94
|
},
|
|
94
95
|
"devDependencies": {
|
|
95
96
|
"@babel/core": "^7.26.0",
|
|
96
|
-
"@
|
|
97
|
-
"@
|
|
98
|
-
"@ldo/cli": "^1.0.0-alpha.32",
|
|
97
|
+
"@expo/metro-runtime": "~6.1.2",
|
|
98
|
+
"@ldo/cli": "^1.0.0-alpha.51",
|
|
99
99
|
"@react-native-community/eslint-config": "^3.2.0",
|
|
100
100
|
"@solid/community-server": "^8.0.0-alpha.0",
|
|
101
101
|
"@types/jsonld": "^1.5.15",
|
|
102
|
-
"@types/react": "~19.
|
|
102
|
+
"@types/react": "~19.1.10",
|
|
103
103
|
"@types/shexj": "^2.1.7",
|
|
104
104
|
"chokidar-cli": "^3.0.0",
|
|
105
105
|
"concurrently": "^9.1.2",
|
|
@@ -109,10 +109,14 @@
|
|
|
109
109
|
"tsup": "^8.5.0",
|
|
110
110
|
"typescript": "^5.8.3"
|
|
111
111
|
},
|
|
112
|
+
"bin": {
|
|
113
|
+
"ldb-copy-refresh-worker": "scripts/copy-refresh-worker.js"
|
|
114
|
+
},
|
|
112
115
|
"private": false,
|
|
113
116
|
"files": [
|
|
114
117
|
"dist-lib",
|
|
115
118
|
"dist-server",
|
|
116
|
-
"dist-standalone"
|
|
119
|
+
"dist-standalone",
|
|
120
|
+
"scripts/copy-refresh-worker.js"
|
|
117
121
|
]
|
|
118
|
-
}
|
|
122
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// Copies RefreshWorker.js from @uvdsl/solid-oidc-client-browser into the project's
|
|
3
|
+
// public/ directory so Expo's dev server (and static builds) can serve it at /.
|
|
4
|
+
// Run this after install: npm run copy-refresh-worker
|
|
5
|
+
// Consumers of @o.team/linked-data-browser can add to their own postinstall:
|
|
6
|
+
// "postinstall": "node ./node_modules/@o.team/linked-data-browser/scripts/copy-refresh-worker.js"
|
|
7
|
+
|
|
8
|
+
const path = require('path');
|
|
9
|
+
const fs = require('fs');
|
|
10
|
+
|
|
11
|
+
const PKG = '@uvdsl/solid-oidc-client-browser';
|
|
12
|
+
const WORKER_REL = path.join('dist', 'esm', 'web', 'RefreshWorker.js');
|
|
13
|
+
|
|
14
|
+
function findPackageDir(pkgName, startDir) {
|
|
15
|
+
let dir = startDir;
|
|
16
|
+
while (true) {
|
|
17
|
+
const candidate = path.join(dir, 'node_modules', pkgName);
|
|
18
|
+
if (fs.existsSync(candidate)) return candidate;
|
|
19
|
+
const parent = path.dirname(dir);
|
|
20
|
+
if (parent === dir) return null;
|
|
21
|
+
dir = parent;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
const pkgDir = findPackageDir(PKG, process.cwd());
|
|
26
|
+
if (!pkgDir) {
|
|
27
|
+
console.error(
|
|
28
|
+
`[copy-refresh-worker] Could not find ${PKG} in any node_modules directory. ` +
|
|
29
|
+
'Make sure it is installed.'
|
|
30
|
+
);
|
|
31
|
+
process.exit(1);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
const src = path.join(pkgDir, WORKER_REL);
|
|
35
|
+
const destDir = path.join(process.cwd(), 'public');
|
|
36
|
+
const dest = path.join(destDir, 'RefreshWorker.js');
|
|
37
|
+
|
|
38
|
+
fs.mkdirSync(destDir, { recursive: true });
|
|
39
|
+
fs.copyFileSync(src, dest);
|
|
40
|
+
console.log('[copy-refresh-worker] Copied RefreshWorker.js to', dest);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
:root{--focus-ring-color:#2258c3;--focus-ring-width:2px;--focus-ring-offset:2px;--focus-ring-shadow:0 0 0 var(--focus-ring-offset)transparent,0 0 0 calc(var(--focus-ring-offset) + var(--focus-ring-width))var(--focus-ring-color)}:where(button,a[href],area[href],input:not([type=hidden]),select,textarea,summary,[role=button],[role=link],[role=menuitem],[role=menuitemradio],[role=menuitemcheckbox],[role=option],[role=treeitem],[role=tab],[role=switch],[role=checkbox],[role=radio],[role=slider],[role=spinbutton],[role=textbox],[role=combobox],[role=gridcell],[role=rowheader],[role=columnheader],[tabindex]:not([tabindex^=\-])){box-shadow:none;outline:none}:where(button,a[href],area[href],input:not([type=hidden]),select,textarea,summary,[role=button],[role=link],[role=menuitem],[role=menuitemradio],[role=menuitemcheckbox],[role=option],[role=treeitem],[role=tab],[role=switch],[role=checkbox],[role=radio],[role=slider],[role=spinbutton],[role=textbox],[role=combobox],[role=gridcell],[role=rowheader],[role=columnheader],[tabindex]:not([tabindex^=\-]))[disabled],:where([aria-disabled=true],[data-disabled],[data-state=disabled]),:where(button,a[href],area[href],input:not([type=hidden]),select,textarea,summary,[role=button],[role=link],[role=menuitem],[role=menuitemradio],[role=menuitemcheckbox],[role=option],[role=treeitem],[role=tab],[role=switch],[role=checkbox],[role=radio],[role=slider],[role=spinbutton],[role=textbox],[role=combobox],[role=gridcell],[role=rowheader],[role=columnheader],[tabindex]:not([tabindex^=\-])):focus:not(:focus-visible){box-shadow:none!important;outline:none!important}button::-moz-focus-inner{border:0;padding:0}button:-moz-focusring:not(:focus-visible){outline:none}@layer base{:root{--background:0 0% 99%;--foreground:220 15% 12%;--card:0 0% 100%;--card-foreground:220 15% 12%;--popover:0 0% 100%;--popover-foreground:220 15% 12%;--primary:220 70% 45%;--primary-foreground:0 0% 100%;--secondary:220 14% 96%;--secondary-foreground:220 15% 20%;--muted:220 14% 96%;--muted-foreground:220 10% 42%;--accent:220 14% 94%;--accent-foreground:220 15% 20%;--destructive:0 72% 51%;--destructive-foreground:0 0% 100%;--border:220 13% 91%;--input:220 13% 91%;--ring:220 70% 45%;--radius:.5rem;--radius-sm:.375rem;--radius-lg:.75rem}.dark:root,html.dark{--background:222 18% 8%;--foreground:210 20% 96%;--card:222 18% 10%;--card-foreground:210 20% 96%;--popover:222 18% 10%;--popover-foreground:210 20% 96%;--primary:217 91% 60%;--primary-foreground:0 0% 100%;--secondary:217 18% 18%;--secondary-foreground:210 20% 96%;--muted:217 18% 16%;--muted-foreground:215 16% 57%;--accent:217 18% 14%;--accent-foreground:210 20% 96%;--destructive:0 62% 50%;--destructive-foreground:0 0% 100%;--border:217 18% 18%;--input:217 18% 18%;--ring:217 91% 60%}}html.bg-background{background-color:hsl(var(--background))}.scrollbar-hide{-ms-overflow-style:none;scrollbar-width:none}.scrollbar-hide::-webkit-scrollbar{display:none}
|