linked-data-browser 0.0.0 → 0.0.2
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 +1 -1
- package/app/index.tsx +4 -4
- package/components/DataBrowser.tsx +1 -1
- package/components/ThemeProvider.tsx +3 -3
- package/components/nav/DialogProvider.tsx +2 -2
- package/components/nav/Layout.tsx +5 -5
- package/components/nav/header/AddressBox.tsx +7 -7
- package/components/nav/header/Header.tsx +1 -1
- package/components/nav/header/SignInMenu.tsx +3 -3
- package/components/nav/header/ThemeToggleMenu.tsx +2 -2
- package/components/nav/header/ViewMenu.tsx +4 -4
- package/components/nav/useValidView.tsx +1 -1
- package/components/ui/accordion.tsx +151 -0
- package/components/ui/alert.tsx +83 -0
- package/components/ui/aspect-ratio.tsx +5 -0
- package/components/ui/avatar.tsx +1 -1
- package/components/ui/badge.tsx +59 -0
- package/components/ui/button.tsx +2 -2
- package/components/ui/card.tsx +2 -2
- package/components/ui/checkbox.tsx +35 -0
- package/components/ui/collapsible.tsx +9 -0
- package/components/ui/context-menu.tsx +265 -0
- package/components/ui/dialog.tsx +35 -12
- package/components/ui/dropdown-menu.tsx +6 -6
- package/components/ui/hover-card.tsx +47 -0
- package/components/ui/input.tsx +1 -1
- package/components/ui/label.tsx +1 -1
- package/components/ui/menubar.tsx +288 -0
- package/components/ui/navigation-menu.tsx +2 -2
- package/components/ui/popover.tsx +2 -2
- package/components/ui/progress.tsx +1 -1
- package/components/ui/radio-group.tsx +1 -1
- package/components/ui/select.tsx +215 -0
- package/components/ui/separator.tsx +2 -2
- package/components/ui/skeleton.tsx +40 -0
- package/components/ui/switch.tsx +1 -1
- package/components/ui/table.tsx +132 -0
- package/components/ui/tabs.tsx +70 -0
- package/components/ui/text.tsx +1 -1
- package/components/ui/textarea.tsx +30 -0
- package/components/ui/toggle-group.tsx +100 -0
- package/components/ui/toggle.tsx +96 -0
- package/components/ui/tooltip.tsx +2 -2
- package/components/ui/typography.tsx +157 -0
- package/components.json +3 -3
- package/infra/ansible.cfg +0 -0
- package/infra/hosts +2 -0
- package/infra/hosts.example +2 -0
- package/infra/nginx.conf.j2 +12 -0
- package/infra/playbook.yml +77 -0
- package/infra/secrets.yml +11 -0
- package/lib/android-navigation-bar.ts +1 -1
- package/lib/icons/Check.tsx +1 -1
- package/lib/icons/ChevronDown.tsx +1 -1
- package/lib/icons/ChevronUp.tsx +1 -1
- package/lib/icons/X.tsx +1 -1
- package/package.json +17 -5
- package/resourceViews/Container/ContainerConfig.tsx +2 -2
- package/resourceViews/Container/ContainerView.tsx +12 -12
- package/resourceViews/RawCode/RawCodeConfig.tsx +2 -2
- package/resourceViews/RawCode/RawCodeEditor.tsx +1 -2
- package/resourceViews/RawCode/RawCodeView.tsx +3 -3
- package/tsconfig.json +1 -6
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
- name: Deploy Node Git Server
|
|
2
|
+
hosts: web
|
|
3
|
+
become: yes
|
|
4
|
+
|
|
5
|
+
vars:
|
|
6
|
+
docker_image: "jaxoncreed/integration-pod:latest"
|
|
7
|
+
|
|
8
|
+
vars_files:
|
|
9
|
+
- secrets.yml
|
|
10
|
+
|
|
11
|
+
tasks:
|
|
12
|
+
- name: Install required packages
|
|
13
|
+
apt:
|
|
14
|
+
name:
|
|
15
|
+
- docker.io
|
|
16
|
+
- docker-compose
|
|
17
|
+
- nginx
|
|
18
|
+
- certbot
|
|
19
|
+
- python3-certbot-nginx
|
|
20
|
+
update_cache: yes
|
|
21
|
+
|
|
22
|
+
- name: Enable Docker service
|
|
23
|
+
systemd:
|
|
24
|
+
name: docker
|
|
25
|
+
enabled: yes
|
|
26
|
+
state: started
|
|
27
|
+
|
|
28
|
+
- name: Log in to Docker Hub
|
|
29
|
+
docker_login:
|
|
30
|
+
registry_url: https://index.docker.io/v1/
|
|
31
|
+
username: "{{ dockerhub_username }}"
|
|
32
|
+
password: "{{ dockerhub_password }}"
|
|
33
|
+
|
|
34
|
+
- name: Pull Docker image
|
|
35
|
+
docker_image:
|
|
36
|
+
name: "{{ docker_image }}"
|
|
37
|
+
source: pull
|
|
38
|
+
|
|
39
|
+
- name: Run container
|
|
40
|
+
docker_container:
|
|
41
|
+
name: server
|
|
42
|
+
image: "{{ docker_image }}"
|
|
43
|
+
state: started
|
|
44
|
+
restart_policy: always
|
|
45
|
+
ports:
|
|
46
|
+
- "3000:3000"
|
|
47
|
+
|
|
48
|
+
- name: Set up NGINX config
|
|
49
|
+
template:
|
|
50
|
+
src: nginx.conf.j2
|
|
51
|
+
dest: /etc/nginx/sites-available/server
|
|
52
|
+
notify:
|
|
53
|
+
- Reload nginx
|
|
54
|
+
|
|
55
|
+
- name: Enable site
|
|
56
|
+
file:
|
|
57
|
+
src: /etc/nginx/sites-available/server
|
|
58
|
+
dest: /etc/nginx/sites-enabled/server
|
|
59
|
+
state: link
|
|
60
|
+
force: true
|
|
61
|
+
|
|
62
|
+
- name: Remove default site
|
|
63
|
+
file:
|
|
64
|
+
path: /etc/nginx/sites-enabled/default
|
|
65
|
+
state: absent
|
|
66
|
+
|
|
67
|
+
- name: Obtain SSL cert
|
|
68
|
+
command: >
|
|
69
|
+
certbot --nginx -d {{ domain }} --non-interactive --agree-tos -m {{ email }}
|
|
70
|
+
args:
|
|
71
|
+
creates: "/etc/letsencrypt/live/{{ domain }}"
|
|
72
|
+
|
|
73
|
+
handlers:
|
|
74
|
+
- name: Reload nginx
|
|
75
|
+
service:
|
|
76
|
+
name: nginx
|
|
77
|
+
state: reloaded
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
$ANSIBLE_VAULT;1.1;AES256
|
|
2
|
+
66363662346539366434346433653035333336306162626463336363356639346663336438313331
|
|
3
|
+
3066616236343234333865626233313230396661333865300a623962646230303839643136333039
|
|
4
|
+
66323262396437616333613434303932343462366266323732633439356362373566313062313037
|
|
5
|
+
6337366430376162340a323464316363366439663531373661343339303662633239343762643234
|
|
6
|
+
32353164633332623839353562633932303162323535316665633936623638326234353035663638
|
|
7
|
+
62303032393362623438303064653336343766663737353066656131386436613539353262343562
|
|
8
|
+
61336563346561373762633839396163636530316239616561303338353135373137333235366332
|
|
9
|
+
31383865393732366165393538333839623065336161336335353334393365323965363136333231
|
|
10
|
+
62623635376134316366653630653037343133323566373335323430646362303031383036336139
|
|
11
|
+
6266383137663536623064346636626436623333613566366233
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as NavigationBar from 'expo-navigation-bar';
|
|
2
2
|
import { Platform } from 'react-native';
|
|
3
|
-
import { NAV_THEME } from '
|
|
3
|
+
import { NAV_THEME } from './constants';
|
|
4
4
|
|
|
5
5
|
export async function setAndroidNavigationBar(theme: 'light' | 'dark') {
|
|
6
6
|
if (Platform.OS !== 'android') return;
|
package/lib/icons/Check.tsx
CHANGED
package/lib/icons/ChevronUp.tsx
CHANGED
package/lib/icons/X.tsx
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "linked-data-browser",
|
|
3
3
|
"main": "index.js",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.2",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev:ios": "expo start -c --ios",
|
|
7
7
|
"dev:web": "concurrently \"npm run solid-server\" \"expo start -c --web\"",
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
"build": "npm run build:standalone && npm run build:server"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@inrupt/solid-client-authn-browser": "^
|
|
21
|
-
"@ldo/connected-solid": "^1.0.0-alpha.
|
|
22
|
-
"@ldo/ldo": "^1.0.0-alpha.
|
|
23
|
-
"@ldo/solid-react": "^1.0.0-alpha.
|
|
20
|
+
"@inrupt/solid-client-authn-browser": "^3.0.0",
|
|
21
|
+
"@ldo/connected-solid": "^1.0.0-alpha.27",
|
|
22
|
+
"@ldo/ldo": "^1.0.0-alpha.27",
|
|
23
|
+
"@ldo/solid-react": "^1.0.0-alpha.27",
|
|
24
24
|
"@monaco-editor/react": "^4.7.0",
|
|
25
25
|
"@radix-ui/react-dialog": "^1.1.14",
|
|
26
26
|
"@radix-ui/react-dropdown-menu": "^2.1.15",
|
|
@@ -33,18 +33,30 @@
|
|
|
33
33
|
"@radix-ui/react-tooltip": "^1.2.7",
|
|
34
34
|
"@react-native-async-storage/async-storage": "2.1.2",
|
|
35
35
|
"@react-navigation/native": "^7.1.14",
|
|
36
|
+
"@rn-primitives/accordion": "^1.2.0",
|
|
37
|
+
"@rn-primitives/aspect-ratio": "^1.2.0",
|
|
36
38
|
"@rn-primitives/avatar": "~1.2.0",
|
|
39
|
+
"@rn-primitives/checkbox": "^1.2.0",
|
|
40
|
+
"@rn-primitives/collapsible": "^1.2.0",
|
|
41
|
+
"@rn-primitives/context-menu": "^1.2.0",
|
|
37
42
|
"@rn-primitives/dialog": "^1.2.0",
|
|
38
43
|
"@rn-primitives/dropdown-menu": "^1.2.0",
|
|
44
|
+
"@rn-primitives/hover-card": "^1.2.0",
|
|
39
45
|
"@rn-primitives/label": "^1.2.0",
|
|
46
|
+
"@rn-primitives/menubar": "^1.2.0",
|
|
40
47
|
"@rn-primitives/navigation-menu": "^1.2.0",
|
|
41
48
|
"@rn-primitives/popover": "^1.2.0",
|
|
42
49
|
"@rn-primitives/portal": "~1.3.0",
|
|
43
50
|
"@rn-primitives/progress": "~1.2.0",
|
|
44
51
|
"@rn-primitives/radio-group": "^1.2.0",
|
|
52
|
+
"@rn-primitives/select": "^1.2.0",
|
|
45
53
|
"@rn-primitives/separator": "^1.2.0",
|
|
46
54
|
"@rn-primitives/slot": "~1.2.0",
|
|
47
55
|
"@rn-primitives/switch": "^1.2.0",
|
|
56
|
+
"@rn-primitives/table": "^1.2.0",
|
|
57
|
+
"@rn-primitives/tabs": "^1.2.0",
|
|
58
|
+
"@rn-primitives/toggle": "^1.2.0",
|
|
59
|
+
"@rn-primitives/toggle-group": "^1.2.0",
|
|
48
60
|
"@rn-primitives/tooltip": "~1.2.0",
|
|
49
61
|
"class-variance-authority": "^0.7.0",
|
|
50
62
|
"clsx": "^2.1.0",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ResourceViewConfig } from '
|
|
2
|
-
import { Folders } from '
|
|
1
|
+
import { ResourceViewConfig } from '../../components/ResourceView';
|
|
2
|
+
import { Folders } from '../../lib/icons/Folders';
|
|
3
3
|
import { ContainerView } from './ContainerView';
|
|
4
4
|
|
|
5
5
|
export const ContainerConfig: ResourceViewConfig = {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import React, { FunctionComponent, useCallback } from 'react';
|
|
2
2
|
import { View, FlatList, TouchableWithoutFeedback } from 'react-native';
|
|
3
|
-
import { Text } from '
|
|
4
|
-
import { Button } from '
|
|
3
|
+
import { Text } from '../../components/ui/text';
|
|
4
|
+
import { Button } from '../../components/ui/button';
|
|
5
5
|
import {
|
|
6
6
|
DropdownMenu,
|
|
7
7
|
DropdownMenuTrigger,
|
|
8
8
|
DropdownMenuContent,
|
|
9
9
|
DropdownMenuItem,
|
|
10
|
-
} from '
|
|
11
|
-
import { useTargetResource } from '
|
|
12
|
-
import { ErrorMessageResourceView } from '
|
|
13
|
-
import { CircleX } from '
|
|
14
|
-
import { Folder } from '
|
|
15
|
-
import { Code } from '
|
|
16
|
-
import { File } from '
|
|
17
|
-
import { Trash } from '
|
|
18
|
-
import { Separator } from '
|
|
19
|
-
import { useDialog } from '
|
|
10
|
+
} from '../../components/ui/dropdown-menu';
|
|
11
|
+
import { useTargetResource } from '../../components/TargetResourceProvider';
|
|
12
|
+
import { ErrorMessageResourceView } from '../../components/nav/utilityResourceViews/ErrorMessageResourceView';
|
|
13
|
+
import { CircleX } from '../../lib/icons/CircleX';
|
|
14
|
+
import { Folder } from '../../lib/icons/Folder';
|
|
15
|
+
import { Code } from '../../lib/icons/Code';
|
|
16
|
+
import { File } from '../../lib/icons/File';
|
|
17
|
+
import { Trash } from '../../lib/icons/Trash';
|
|
18
|
+
import { Separator } from '../../components/ui/separator';
|
|
19
|
+
import { useDialog } from '../../components/nav/DialogProvider';
|
|
20
20
|
import {
|
|
21
21
|
SolidContainer,
|
|
22
22
|
SolidContainerSlug,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ResourceViewConfig } from '
|
|
2
|
-
import { Code } from '
|
|
1
|
+
import { ResourceViewConfig } from '../../components/ResourceView';
|
|
2
|
+
import { Code } from '../../lib/icons/Code';
|
|
3
3
|
import { RawCodeView } from './RawCodeView';
|
|
4
4
|
|
|
5
5
|
export const RawCodeConfig: ResourceViewConfig = {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React, { FunctionComponent, useRef } from 'react';
|
|
2
|
-
import { Text } from '~/components/ui/text';
|
|
3
2
|
import Editor, { Monaco, OnMount } from '@monaco-editor/react';
|
|
4
|
-
import { useThemeChange } from '
|
|
3
|
+
import { useThemeChange } from '../../components/ThemeProvider';
|
|
5
4
|
|
|
6
5
|
interface RawCodeEditorProps {
|
|
7
6
|
value: string;
|
|
@@ -5,11 +5,11 @@ import React, {
|
|
|
5
5
|
useEffect,
|
|
6
6
|
useState,
|
|
7
7
|
} from 'react';
|
|
8
|
-
import { useTargetResource } from '
|
|
8
|
+
import { useTargetResource } from '../../components/TargetResourceProvider';
|
|
9
9
|
import { RawCodeEditor } from './RawCodeEditor';
|
|
10
10
|
import { View } from 'react-native';
|
|
11
|
-
import { Button } from '
|
|
12
|
-
import { Text } from '
|
|
11
|
+
import { Button } from '../../components/ui/button';
|
|
12
|
+
import { Text } from '../../components/ui/text';
|
|
13
13
|
import { Notifier } from 'react-native-notifier';
|
|
14
14
|
|
|
15
15
|
export const RawCodeView: FunctionComponent = () => {
|