@blinkk/root-cms 3.0.1-alpha.1 → 3.0.1-beta.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.
@@ -473,6 +473,7 @@ react-is/cjs/react-is.production.min.js:
473
473
  @tabler/icons-preact/dist/esm/icons/IconAlarmOff.mjs:
474
474
  @tabler/icons-preact/dist/esm/icons/IconAlertTriangle.mjs:
475
475
  @tabler/icons-preact/dist/esm/icons/IconAlignJustified.mjs:
476
+ @tabler/icons-preact/dist/esm/icons/IconArchiveOff.mjs:
476
477
  @tabler/icons-preact/dist/esm/icons/IconArchive.mjs:
477
478
  @tabler/icons-preact/dist/esm/icons/IconArrowBackUp.mjs:
478
479
  @tabler/icons-preact/dist/esm/icons/IconArrowBack.mjs:
@@ -494,7 +495,6 @@ react-is/cjs/react-is.production.min.js:
494
495
  @tabler/icons-preact/dist/esm/icons/IconCircleArrowUp.mjs:
495
496
  @tabler/icons-preact/dist/esm/icons/IconCirclePlus.mjs:
496
497
  @tabler/icons-preact/dist/esm/icons/IconClearFormatting.mjs:
497
- @tabler/icons-preact/dist/esm/icons/IconClipboardCheck.mjs:
498
498
  @tabler/icons-preact/dist/esm/icons/IconClipboardCopy.mjs:
499
499
  @tabler/icons-preact/dist/esm/icons/IconClipboardList.mjs:
500
500
  @tabler/icons-preact/dist/esm/icons/IconClipboard.mjs:
@@ -548,6 +548,7 @@ react-is/cjs/react-is.production.min.js:
548
548
  @tabler/icons-preact/dist/esm/icons/IconLock.mjs:
549
549
  @tabler/icons-preact/dist/esm/icons/IconLogout.mjs:
550
550
  @tabler/icons-preact/dist/esm/icons/IconMapPin.mjs:
551
+ @tabler/icons-preact/dist/esm/icons/IconMessageCirclePlus.mjs:
551
552
  @tabler/icons-preact/dist/esm/icons/IconMessageCircle.mjs:
552
553
  @tabler/icons-preact/dist/esm/icons/IconMessage.mjs:
553
554
  @tabler/icons-preact/dist/esm/icons/IconMoodLookDown.mjs:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blinkk/root-cms",
3
- "version": "3.0.1-alpha.1",
3
+ "version": "3.0.1-beta.2",
4
4
  "author": "s@blinkk.com",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -55,9 +55,13 @@
55
55
  "@ag-grid-community/core": "32.3.9",
56
56
  "@ag-grid-community/react": "32.3.9",
57
57
  "@ag-grid-community/styles": "32.3.9",
58
- "@genkit-ai/ai": "1.26.0",
59
- "@genkit-ai/core": "1.26.0",
60
- "@genkit-ai/google-genai": "1.26.0",
58
+ "@ai-sdk/anthropic": "3.0.74",
59
+ "@ai-sdk/google": "3.0.67",
60
+ "@ai-sdk/openai": "3.0.60",
61
+ "@ai-sdk/openai-compatible": "2.0.46",
62
+ "@ai-sdk/react": "3.0.177",
63
+ "ai": "6.0.175",
64
+ "zod": "4.4.3",
61
65
  "@google-cloud/firestore": "7.11.3",
62
66
  "@hello-pangea/dnd": "18.0.1",
63
67
  "@types/cli-progress": "3.11.6",
@@ -72,7 +76,6 @@
72
76
  "dts-dom": "3.7.0",
73
77
  "@mantine/spotlight": "4.2.12",
74
78
  "fnv-plus": "1.3.1",
75
- "genkit": "1.26.0",
76
79
  "jsonwebtoken": "9.0.2",
77
80
  "kleur": "4.1.5",
78
81
  "minisearch": "7.2.0",
@@ -149,10 +152,10 @@
149
152
  "vite": "8.0.3",
150
153
  "vitest": "4.1.2",
151
154
  "yjs": "13.6.27",
152
- "@blinkk/root": "3.0.1-alpha.1"
155
+ "@blinkk/root": "3.0.1-beta.2"
153
156
  },
154
157
  "peerDependencies": {
155
- "@blinkk/root": "3.0.1-alpha.1",
158
+ "@blinkk/root": "3.0.1-beta.2",
156
159
  "firebase-admin": ">=11",
157
160
  "firebase-functions": ">=4"
158
161
  },
@@ -1,19 +0,0 @@
1
- import {
2
- Chat,
3
- ChatClient,
4
- extractJsonFromResponse,
5
- generateImage,
6
- generatePublishMessage,
7
- summarizeDiff,
8
- translateString
9
- } from "./chunk-T5UK2H24.js";
10
- import "./chunk-MLKGABMK.js";
11
- export {
12
- Chat,
13
- ChatClient,
14
- extractJsonFromResponse,
15
- generateImage,
16
- generatePublishMessage,
17
- summarizeDiff,
18
- translateString
19
- };
@@ -1,7 +0,0 @@
1
- import "./chunk-MLKGABMK.js";
2
-
3
- // shared/ai/prompts/altText.txt
4
- var altText_default = "Create a descriptive and concise alt text for the attached image.\n\n- The alt text should be a brief but comprehensive description of the image, including key subjects, the setting, and any relevant details or actions.\n- The alt text should not exceed 125 characters.\n- Only provide one generation, and include only that data in the response. No surrounding text, clarifications, etc. Just the alt text.\n";
5
- export {
6
- altText_default as default
7
- };
@@ -1,192 +0,0 @@
1
- // package.json
2
- var package_default = {
3
- name: "@blinkk/root-cms",
4
- version: "3.0.1-alpha.1",
5
- author: "s@blinkk.com",
6
- license: "MIT",
7
- engines: {
8
- node: ">=16.0.0"
9
- },
10
- repository: {
11
- type: "git",
12
- url: "git+https://github.com/blinkk/rootjs.git",
13
- directory: "packages/root-cms"
14
- },
15
- files: [
16
- "dist/**/*"
17
- ],
18
- bin: {
19
- "root-cms": "./bin/root-cms.js"
20
- },
21
- type: "module",
22
- module: "./dist/index.js",
23
- types: "./dist/index.d.ts",
24
- exports: {
25
- ".": {
26
- types: "./dist/core.d.ts",
27
- import: "./dist/core.js"
28
- },
29
- "./client": {
30
- types: "./dist/client.d.ts",
31
- import: "./dist/client.js"
32
- },
33
- "./core": {
34
- types: "./dist/core.d.ts",
35
- import: "./dist/core.js"
36
- },
37
- "./functions": {
38
- types: "./dist/functions.d.ts",
39
- import: "./dist/functions.js"
40
- },
41
- "./plugin": {
42
- types: "./dist/plugin.d.ts",
43
- import: "./dist/plugin.js"
44
- },
45
- "./project": {
46
- types: "./dist/project.d.ts",
47
- import: "./dist/project.js"
48
- },
49
- "./richtext": {
50
- types: "./dist/richtext.d.ts",
51
- import: "./dist/richtext.js"
52
- }
53
- },
54
- scripts: {
55
- build: 'rm -rf dist && concurrently -n "core,signin,ui" npm:build:core npm:build:signin npm:build:ui',
56
- "build:core": "tsup-node --config=./core/tsup.config.ts",
57
- "//": "NOTE: esbuild is used here because tsup doesn't currently support aliases.",
58
- "build:ui": "esbuild ui/ui.tsx --bundle --minify --alias:react=@preact/compat --alias:react-dom=@preact/compat --tsconfig=ui/tsconfig.json --outdir=dist/ui --legal-comments=external",
59
- "build:signin": "esbuild signin/signin.tsx --bundle --minify --tsconfig=signin/tsconfig.json --outdir=dist/ui --legal-comments=external",
60
- dev: 'rm -rf dist && concurrently -k -n "core,ui" npm:dev:core npm:dev:signin npm:dev:ui',
61
- "dev:core": "pnpm build:core --watch",
62
- "dev:signin": "pnpm build:signin --watch",
63
- "dev:ui": "pnpm build:ui --watch",
64
- test: "pnpm build && firebase emulators:exec 'vitest run --exclude=**/*.visual.test.tsx'",
65
- "test:visual": "vitest run --config=vitest.config.visual.ts",
66
- "test:watch": "pnpm build && firebase emulators:exec 'vitest'"
67
- },
68
- dependencies: {
69
- "@ag-grid-community/client-side-row-model": "32.3.9",
70
- "@ag-grid-community/core": "32.3.9",
71
- "@ag-grid-community/react": "32.3.9",
72
- "@ag-grid-community/styles": "32.3.9",
73
- "@genkit-ai/ai": "1.26.0",
74
- "@genkit-ai/core": "1.26.0",
75
- "@genkit-ai/google-genai": "1.26.0",
76
- "@google-cloud/firestore": "7.11.3",
77
- "@hello-pangea/dnd": "18.0.1",
78
- "@types/cli-progress": "3.11.6",
79
- "body-parser": "1.20.2",
80
- "cli-progress": "3.12.0",
81
- commander: "11.0.0",
82
- "csv-parse": "5.5.2",
83
- "csv-stringify": "6.4.4",
84
- "date-fns": "4.1.0",
85
- "date-fns-tz": "3.2.0",
86
- diff: "8.0.2",
87
- "dts-dom": "3.7.0",
88
- "@mantine/spotlight": "4.2.12",
89
- "fnv-plus": "1.3.1",
90
- genkit: "1.26.0",
91
- jsonwebtoken: "9.0.2",
92
- kleur: "4.1.5",
93
- minisearch: "7.2.0",
94
- sirv: "2.0.3",
95
- "tiny-glob": "0.2.9"
96
- },
97
- "//": "NOTE(stevenle): due to compat issues with mantine and preact, mantine is pinned to v4.2.12",
98
- devDependencies: {
99
- "@babel/core": "7.17.9",
100
- "@blinkk/root": "workspace:*",
101
- "@editorjs/editorjs": "2.30.8",
102
- "@editorjs/header": "2.8.8",
103
- "@editorjs/image": "2.10.2",
104
- "@editorjs/list": "2.0.6",
105
- "@editorjs/nested-list": "1.4.3",
106
- "@editorjs/raw": "2.5.1",
107
- "@editorjs/table": "2.4.4",
108
- "@editorjs/underline": "1.2.1",
109
- "@emotion/react": "11.10.5",
110
- "@firebase/app-compat": "0.5.2",
111
- "@firebase/app-types": "0.9.3",
112
- "@firebase/rules-unit-testing": "5.0.0",
113
- "@lexical/code": "0.33.1",
114
- "@lexical/html": "0.33.1",
115
- "@lexical/link": "0.33.1",
116
- "@lexical/list": "0.33.1",
117
- "@lexical/markdown": "0.33.1",
118
- "@lexical/react": "0.33.1",
119
- "@lexical/rich-text": "0.33.1",
120
- "@lexical/selection": "0.33.1",
121
- "@lexical/table": "0.33.1",
122
- "@lexical/utils": "0.33.1",
123
- "@mantine/core": "4.2.12",
124
- "@mantine/hooks": "4.2.12",
125
- "@mantine/modals": "4.2.12",
126
- "@mantine/notifications": "4.2.12",
127
- "@preact/compat": "18.3.1",
128
- "@tabler/icons-preact": "3.35.0",
129
- "@testing-library/preact": "3.2.4",
130
- "@testing-library/user-event": "14.6.1",
131
- "@types/body-parser": "1.19.3",
132
- "@types/fnv-plus": "1.3.2",
133
- "@types/gapi": "0.0.47",
134
- "@types/gapi.client.drive-v3": "0.0.4",
135
- "@types/gapi.client.sheets-v4": "0.0.4",
136
- "@types/google.accounts": "0.0.14",
137
- "@types/jsonwebtoken": "9.0.1",
138
- "@types/node": "24.3.1",
139
- "@vitest/browser": "4.1.2",
140
- "@vitest/browser-playwright": "4.1.2",
141
- concurrently: "7.6.0",
142
- esbuild: "0.25.9",
143
- firebase: "12.2.1",
144
- "firebase-admin": "13.5.0",
145
- "firebase-functions": "6.4.0",
146
- "firebase-tools": "14.15.2",
147
- "highlight.js": "11.6.0",
148
- jsdom: "27.2.0",
149
- "json-diff-kit": "1.0.29",
150
- lexical: "0.33.1",
151
- marked: "9.1.1",
152
- "mdast-util-from-markdown": "2.0.1",
153
- "mdast-util-gfm": "3.0.0",
154
- "micromark-extension-gfm": "3.0.0",
155
- playwright: "1.56.1",
156
- preact: "10.27.1",
157
- "preact-iso": "2.11.1",
158
- "preact-render-to-string": "6.6.7",
159
- react: "npm:@preact/compat@18.3.1",
160
- "react-dom": "npm:@preact/compat@18.3.1",
161
- "react-easy-crop": "5.5.6",
162
- "react-json-view-compare": "2.0.2",
163
- tsup: "8.5.0",
164
- typescript: "5.9.2",
165
- vite: "8.0.3",
166
- vitest: "4.1.2",
167
- yjs: "13.6.27"
168
- },
169
- peerDependencies: {
170
- "@blinkk/root": "3.0.1-alpha.1",
171
- "firebase-admin": ">=11",
172
- "firebase-functions": ">=4"
173
- },
174
- peerDependenciesMeta: {
175
- "firebase-functions": {
176
- optional: true
177
- }
178
- }
179
- };
180
-
181
- // core/server-version.ts
182
- var SERVER_STARTUP_TS = String(Math.floor((/* @__PURE__ */ new Date()).getTime() / 1e3));
183
- function getServerVersion() {
184
- if (process.env.NODE_ENV === "development") {
185
- return SERVER_STARTUP_TS;
186
- }
187
- return package_default?.version || "root-3.0.0";
188
- }
189
-
190
- export {
191
- getServerVersion
192
- };