studiocms 0.1.1 → 0.3.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/CHANGELOG.md +65 -0
- package/dist/cli/add/index.js +6 -5
- package/dist/cli/add/tryToInstallPlugins.js +6 -5
- package/dist/cli/add/updateStudioCMSConfig.js +3 -4
- package/dist/cli/add/validatePlugins.d.ts +1 -2
- package/dist/cli/add/validatePlugins.js +15 -9
- package/dist/cli/crypto/genJWT/index.js +11 -11
- package/dist/cli/debug/index.js +2 -3
- package/dist/cli/getTurso/index.js +1 -1
- package/dist/cli/init/index.js +1 -1
- package/dist/cli/init/steps/env.js +5 -4
- package/dist/cli/init/steps/next.js +9 -7
- package/dist/cli/migrator/index.js +7 -8
- package/dist/cli/users/index.js +1 -1
- package/dist/cli/users/shared.js +3 -3
- package/dist/cli/users/steps/createUsers.js +7 -6
- package/dist/cli/users/steps/modifyUsers.js +9 -8
- package/dist/cli/users/steps/next.d.ts +1 -2
- package/dist/cli/users/steps/next.js +3 -3
- package/dist/cli/utils/checkRequiredEnvVars.js +2 -2
- package/dist/cli/utils/context.d.ts +1 -3
- package/dist/cli/utils/context.js +1 -3
- package/dist/cli/utils/intro.js +2 -2
- package/dist/cli/utils/logger.js +3 -3
- package/dist/cli/utils/user-utils.js +4 -3
- package/dist/consts.js +2 -1
- package/dist/handlers/setupDbStudio.d.ts +3 -1
- package/dist/handlers/setupDbStudio.js +19 -10
- package/dist/index.js +1 -15
- package/dist/toolbar/db-viewer/studio/connection.d.ts +8 -4
- package/dist/toolbar/db-viewer/studio/connection.js +2 -28
- package/dist/toolbar/db-viewer/studio/env/libsql.d.ts +7 -0
- package/dist/toolbar/db-viewer/studio/env/libsql.js +17 -0
- package/dist/toolbar/db-viewer/studio/env/mysql.d.ts +7 -0
- package/dist/toolbar/db-viewer/studio/env/mysql.js +23 -0
- package/dist/toolbar/db-viewer/studio/env/postgres.d.ts +7 -0
- package/dist/toolbar/db-viewer/studio/env/postgres.js +23 -0
- package/dist/toolbar/db-viewer/studio/index.js +20 -56
- package/dist/toolbar/db-viewer/studio/type.d.ts +1 -2
- package/dist/toolbar/db-viewer/studio/virtual-connection/libsql.d.ts +3 -0
- package/dist/toolbar/db-viewer/studio/virtual-connection/libsql.js +24 -0
- package/dist/toolbar/db-viewer/studio/virtual-connection/mysql.d.ts +3 -0
- package/dist/toolbar/db-viewer/studio/virtual-connection/mysql.js +9 -0
- package/dist/toolbar/db-viewer/studio/virtual-connection/postgres.d.ts +3 -0
- package/dist/toolbar/db-viewer/studio/virtual-connection/postgres.js +9 -0
- package/dist/virtual.d.ts +12 -28
- package/dist/virtuals/auth/core.d.ts +5 -5
- package/dist/virtuals/scripts/StorageFileBrowser.d.ts +7 -0
- package/dist/virtuals/scripts/StorageFileBrowser.js +66 -2
- package/frontend/layouts/DashboardLayout.astro +1 -1
- package/frontend/middleware/_authmap.ts +63 -0
- package/frontend/middleware/index.ts +46 -0
- package/frontend/pages/404.astro +5 -8
- package/frontend/pages/studiocms_api/auth/[path].ts +0 -6
- package/frontend/pages/studiocms_api/dashboard/content/page.ts +4 -1
- package/frontend/pages/studiocms_api/integrations/[type]/_routes/db-studio.ts +16 -17
- package/frontend/pages/studiocms_api/rest/v1/[type]/_routes/categories.ts +2 -2
- package/frontend/pages/studiocms_api/rest/v1/[type]/_routes/pages.ts +4 -1
- package/frontend/pages/studiocms_api/rest/v1/[type]/_routes/tags.ts +2 -2
- package/frontend/scripts/formdata-utils.ts +3 -3
- package/frontend/utils/rest-router.ts +20 -21
- package/package.json +33 -21
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "studiocms",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "A Community-Driven Astro native CMS. Built from the ground up by the Astro community.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "withstudiocms",
|
|
@@ -222,25 +222,24 @@
|
|
|
222
222
|
"type": "module",
|
|
223
223
|
"dependencies": {
|
|
224
224
|
"@iconify-json/flat-color-icons": "^1.2.3",
|
|
225
|
-
"@iconify-json/simple-icons": "^1.2.
|
|
225
|
+
"@iconify-json/simple-icons": "^1.2.68",
|
|
226
226
|
"@iconify-json/circle-flags": "^1.2.10",
|
|
227
|
-
"@inox-tools/runtime-logger": "^0.7.
|
|
227
|
+
"@inox-tools/runtime-logger": "^0.7.1",
|
|
228
228
|
"@nanostores/i18n": "^1.2.2",
|
|
229
|
-
"@nanostores/persistent": "^1.
|
|
229
|
+
"@nanostores/persistent": "^1.3.0",
|
|
230
230
|
"@outerbase/sdk-transform": "^1.0.8",
|
|
231
|
-
"@studiocms/ui": "^1.
|
|
232
|
-
"
|
|
233
|
-
"ace-builds": "^1.43.5",
|
|
231
|
+
"@studiocms/ui": "^1.1.1",
|
|
232
|
+
"ace-builds": "^1.43.6",
|
|
234
233
|
"astro-integration-kit": "^0.19.1",
|
|
235
234
|
"boxen": "^8.0.1",
|
|
236
|
-
"
|
|
237
|
-
"diff": "^8.0.2",
|
|
235
|
+
"diff": "^8.0.3",
|
|
238
236
|
"dompurify": "^3.3.1",
|
|
239
237
|
"dotenv": "^17.2.3",
|
|
240
238
|
"fuse.js": "^7.1.0",
|
|
241
239
|
"jose": "^6.1.3",
|
|
242
240
|
"micromark": "^4.0.2",
|
|
243
241
|
"micromark-extension-gfm": "^3.0.0",
|
|
242
|
+
"micromatch": "^4.0.8",
|
|
244
243
|
"magicast": "^0.5.1",
|
|
245
244
|
"mdast-util-to-markdown": "^2.1.2",
|
|
246
245
|
"mrmime": "^2.0.1",
|
|
@@ -251,30 +250,43 @@
|
|
|
251
250
|
"tinyglobby": "^0.2.15",
|
|
252
251
|
"ultrahtml": "^1.6.0",
|
|
253
252
|
"web-vitals": "^5.1.0",
|
|
254
|
-
"@withstudiocms/internal_helpers": "^0.1.
|
|
255
|
-
"@withstudiocms/
|
|
256
|
-
"@withstudiocms/
|
|
253
|
+
"@withstudiocms/internal_helpers": "^0.1.1",
|
|
254
|
+
"@withstudiocms/component-registry": "^0.1.3",
|
|
255
|
+
"@withstudiocms/cli-kit": "^0.2.0",
|
|
256
|
+
"@withstudiocms/auth-kit": "^0.1.3",
|
|
257
257
|
"@withstudiocms/config-utils": "^0.1.0",
|
|
258
|
-
"@withstudiocms/effect": "^0.
|
|
258
|
+
"@withstudiocms/effect": "^0.3.0",
|
|
259
259
|
"@withstudiocms/template-lang": "^0.1.0",
|
|
260
|
-
"@withstudiocms/
|
|
261
|
-
"@withstudiocms/
|
|
260
|
+
"@withstudiocms/sdk": "^0.2.0",
|
|
261
|
+
"@withstudiocms/kysely": "^0.2.0"
|
|
262
262
|
},
|
|
263
263
|
"devDependencies": {
|
|
264
264
|
"@types/mdast": "^4.0.4",
|
|
265
|
+
"@types/micromatch": "^4.0.10",
|
|
265
266
|
"@types/node": "^22.0.0",
|
|
266
267
|
"@types/semver": "^7.7.1",
|
|
267
268
|
"@types/three": "0.169.0",
|
|
268
269
|
"@types/pg": "^8.16.0",
|
|
269
|
-
"typescript": "^5.9.3"
|
|
270
|
+
"typescript": "^5.9.3",
|
|
271
|
+
"vite": "^6.3.4"
|
|
270
272
|
},
|
|
271
273
|
"peerDependencies": {
|
|
272
|
-
"astro": "^5.12.9",
|
|
273
|
-
"effect": "^3.19.14",
|
|
274
|
-
"vite": "^6.3.4",
|
|
275
274
|
"@libsql/client": "^0.15.15",
|
|
276
|
-
"
|
|
277
|
-
"
|
|
275
|
+
"astro": "^5.12.9",
|
|
276
|
+
"effect": "^3.19.15",
|
|
277
|
+
"pg": "^8.17.2",
|
|
278
|
+
"mysql2": "^3.16.2"
|
|
279
|
+
},
|
|
280
|
+
"peerDependenciesMeta": {
|
|
281
|
+
"@libsql/client": {
|
|
282
|
+
"optional": true
|
|
283
|
+
},
|
|
284
|
+
"pg": {
|
|
285
|
+
"optional": true
|
|
286
|
+
},
|
|
287
|
+
"mysql2": {
|
|
288
|
+
"optional": true
|
|
289
|
+
}
|
|
278
290
|
},
|
|
279
291
|
"scripts": {
|
|
280
292
|
"build": "buildkit build 'src/**/*.{ts,astro,css,json,png,webp,woff2,stub.js,d.ts}' --tsconfig=tsconfig.build.json",
|