@blinkk/root-cms 1.0.0-rc.9 → 1.0.1
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 +22 -0
- package/README.md +66 -0
- package/bin/root-cms.js +5 -23
- package/dist/app.js +67 -14
- package/dist/cli.js +210 -100
- package/dist/client.d.ts +81 -4
- package/dist/client.js +267 -8
- package/dist/core.d.ts +2 -3
- package/dist/core.js +275 -8
- package/dist/functions.d.ts +1 -1
- package/dist/functions.js +553 -98
- package/dist/plugin.d.ts +18 -5
- package/dist/plugin.js +668 -140
- package/dist/project.d.ts +2 -2
- package/dist/richtext.d.ts +73 -0
- package/dist/richtext.js +129 -0
- package/dist/{schema-fad0a59a.d.ts → schema--v3Ho5Lj.d.ts} +27 -39
- package/dist/ui/signin.css +8 -0
- package/dist/ui/signin.js +571 -407
- package/dist/ui/ui.css +1006 -27
- package/dist/ui/ui.js +26228 -8796
- package/package.json +53 -36
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blinkk/root-cms",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"author": "s@blinkk.com",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"engines": {
|
|
@@ -44,55 +44,72 @@
|
|
|
44
44
|
"./project": {
|
|
45
45
|
"types": "./dist/project.d.ts",
|
|
46
46
|
"import": "./dist/project.js"
|
|
47
|
+
},
|
|
48
|
+
"./richtext": {
|
|
49
|
+
"types": "./dist/richtext.d.ts",
|
|
50
|
+
"import": "./dist/richtext.js"
|
|
47
51
|
}
|
|
48
52
|
},
|
|
49
53
|
"dependencies": {
|
|
50
|
-
"body-parser": "
|
|
51
|
-
"commander": "
|
|
52
|
-
"csv-parse": "
|
|
53
|
-
"csv-stringify": "
|
|
54
|
-
"dts-dom": "
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
54
|
+
"body-parser": "1.20.2",
|
|
55
|
+
"commander": "11.0.0",
|
|
56
|
+
"csv-parse": "5.5.2",
|
|
57
|
+
"csv-stringify": "6.4.4",
|
|
58
|
+
"dts-dom": "3.7.0",
|
|
59
|
+
"jsonwebtoken": "9.0.2",
|
|
60
|
+
"kleur": "4.1.5",
|
|
61
|
+
"sirv": "2.0.3",
|
|
62
|
+
"tiny-glob": "0.2.9"
|
|
58
63
|
},
|
|
59
64
|
"//": "NOTE(stevenle): due to compat issues with mantine and preact, mantine is pinned to v4.2.12",
|
|
60
65
|
"devDependencies": {
|
|
61
|
-
"@babel/core": "
|
|
62
|
-
"@
|
|
63
|
-
"@
|
|
64
|
-
"@
|
|
65
|
-
"@
|
|
66
|
+
"@babel/core": "7.17.9",
|
|
67
|
+
"@editorjs/editorjs": "2.28.2",
|
|
68
|
+
"@editorjs/header": "2.8.1",
|
|
69
|
+
"@editorjs/image": "2.9.0",
|
|
70
|
+
"@editorjs/list": "1.9.0",
|
|
71
|
+
"@editorjs/nested-list": "1.4.2",
|
|
72
|
+
"@editorjs/raw": "2.5.0",
|
|
73
|
+
"@editorjs/table": "2.3.0",
|
|
74
|
+
"@editorjs/underline": "1.1.0",
|
|
75
|
+
"@emotion/react": "11.10.5",
|
|
76
|
+
"@firebase/app-compat": "0.2.19",
|
|
77
|
+
"@firebase/app-types": "0.9.0",
|
|
78
|
+
"@firebase/rules-unit-testing": "3.0.1",
|
|
66
79
|
"@mantine/core": "4.2.12",
|
|
67
80
|
"@mantine/hooks": "4.2.12",
|
|
68
81
|
"@mantine/modals": "4.2.12",
|
|
69
82
|
"@mantine/notifications": "4.2.12",
|
|
70
83
|
"@mantine/spotlight": "4.2.12",
|
|
71
|
-
"@preact/compat": "
|
|
72
|
-
"@tabler/icons-preact": "
|
|
73
|
-
"@types/body-parser": "
|
|
74
|
-
"@types/
|
|
75
|
-
"@types/
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"
|
|
84
|
+
"@preact/compat": "17.1.2",
|
|
85
|
+
"@tabler/icons-preact": "2.39.0",
|
|
86
|
+
"@types/body-parser": "1.19.3",
|
|
87
|
+
"@types/gapi": "0.0.47",
|
|
88
|
+
"@types/gapi.client.drive-v3": "0.0.4",
|
|
89
|
+
"@types/gapi.client.sheets-v4": "0.0.4",
|
|
90
|
+
"@types/google.accounts": "0.0.14",
|
|
91
|
+
"@types/jsonwebtoken": "9.0.1",
|
|
92
|
+
"@types/node": "18.11.8",
|
|
93
|
+
"concurrently": "7.6.0",
|
|
94
|
+
"esbuild": "0.19.9",
|
|
95
|
+
"firebase": "10.5.2",
|
|
96
|
+
"firebase-admin": "11.11.1",
|
|
97
|
+
"firebase-functions": "4.8.0",
|
|
98
|
+
"firebase-tools": "12.9.1",
|
|
99
|
+
"marked": "9.1.1",
|
|
100
|
+
"preact": "10.19.3",
|
|
101
|
+
"preact-render-to-string": "6.3.1",
|
|
102
|
+
"preact-router": "4.1.2",
|
|
86
103
|
"react": "npm:@preact/compat@^17.1.2",
|
|
87
104
|
"react-dom": "npm:@preact/compat@^17.1.2",
|
|
88
|
-
"tsup": "
|
|
105
|
+
"tsup": "8.0.1",
|
|
89
106
|
"typescript": "5.2.2",
|
|
90
|
-
"vite": "
|
|
91
|
-
"vitest": "
|
|
92
|
-
"@blinkk/root": "1.0.
|
|
107
|
+
"vite": "5.0.8",
|
|
108
|
+
"vitest": "0.34.6",
|
|
109
|
+
"@blinkk/root": "1.0.1"
|
|
93
110
|
},
|
|
94
111
|
"peerDependencies": {
|
|
95
|
-
"@blinkk/root": "1.0.
|
|
112
|
+
"@blinkk/root": "1.0.1",
|
|
96
113
|
"firebase-admin": ">=11",
|
|
97
114
|
"firebase-functions": ">=4",
|
|
98
115
|
"preact": ">=10",
|
|
@@ -107,8 +124,8 @@
|
|
|
107
124
|
"build": "rm -rf dist && concurrently -n \"core,signin,ui\" npm:build:core npm:build:signin npm:build:ui",
|
|
108
125
|
"build:core": "tsup-node --config=./core/tsup.config.ts",
|
|
109
126
|
"//": "NOTE: esbuild is used here because tsup doesn't currently support aliases.",
|
|
110
|
-
"build:ui": "esbuild ui/ui.tsx --bundle --alias:react=@preact/compat --alias:react-dom=@preact/compat --tsconfig=ui/tsconfig.json --outdir=dist/ui",
|
|
111
|
-
"build:signin": "esbuild signin/signin.tsx --bundle --tsconfig=signin/tsconfig.json --outdir=dist/ui",
|
|
127
|
+
"build:ui": "esbuild ui/ui.tsx --bundle --alias:react=@preact/compat --alias:react-dom=@preact/compat --tsconfig=ui/tsconfig.json --sourcemap=inline --outdir=dist/ui",
|
|
128
|
+
"build:signin": "esbuild signin/signin.tsx --bundle --tsconfig=signin/tsconfig.json --sourcemap=inline --outdir=dist/ui",
|
|
112
129
|
"dev": "rm -rf dist && concurrently -k -n \"core,ui\" npm:dev:core npm:dev:signin npm:dev:ui",
|
|
113
130
|
"dev:core": "pnpm build:core --watch",
|
|
114
131
|
"dev:signin": "pnpm build:signin --watch",
|