@unbase-app/cli 0.4.0 → 0.4.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/bin/unbase.mjs +2 -0
- package/lib/content.mjs +63 -0
- package/lib/doctor.mjs +6 -1
- package/lib/frameworks/astro.mjs +5 -2
- package/lib/next-config.mjs +1 -0
- package/lib/readers.mjs +1714 -160
- package/lib/versions.mjs +5 -5
- package/package.json +1 -1
package/lib/versions.mjs
CHANGED
|
@@ -14,13 +14,13 @@ export const SELF = { name: own.name, version: own.version, dev: true };
|
|
|
14
14
|
* Unbase in an Astro site, one package (K5): comment mode, the draft-pages kit and the analytics
|
|
15
15
|
* beacon below, at the versions its own package.json pins (kit/astro; a test holds the two equal).
|
|
16
16
|
*/
|
|
17
|
-
export const ASTRO = { name: "@unbase-app/astro", version: "0.3.
|
|
17
|
+
export const ASTRO = { name: "@unbase-app/astro", version: "0.3.1", dev: false };
|
|
18
18
|
|
|
19
19
|
/** Comments on the live site (`?comment`), and the content schemas, page list and markers it writes. Inside ASTRO. */
|
|
20
|
-
export const COMMENT_MODUS = { name: "@jens4m/comment-modus", version: "1.
|
|
20
|
+
export const COMMENT_MODUS = { name: "@jens4m/comment-modus", version: "1.11.0", dev: false };
|
|
21
21
|
|
|
22
22
|
/** Keeps draft pages out of production builds, and applies the redirects a moved page leaves. Inside ASTRO. */
|
|
23
|
-
export const PAGES = { name: "@unbase-app/pages", version: "0.4.
|
|
23
|
+
export const PAGES = { name: "@unbase-app/pages", version: "0.4.1", dev: false };
|
|
24
24
|
|
|
25
25
|
/** Unbase's analytics beacon (kit/analytics). Inside ASTRO, VITE and NEXT; never installed on its own. */
|
|
26
26
|
export const ANALYTICS = { name: "@unbase-app/analytics", version: "0.1.0", dev: false };
|
|
@@ -32,10 +32,10 @@ export const ANALYTICS = { name: "@unbase-app/analytics", version: "0.1.0", dev:
|
|
|
32
32
|
export const BEFORE = { pages: "@jens4m/unbase-pages", cli: "@jens4m/unbase" };
|
|
33
33
|
|
|
34
34
|
/** Vite + React Router: the draft-pages kit and comment mode's loader, in one Vite plugin (kit/vite). A build tool, so a devDependency, beside vite. */
|
|
35
|
-
export const VITE = { name: "@unbase-app/vite", version: "0.3.
|
|
35
|
+
export const VITE = { name: "@unbase-app/vite", version: "0.3.1", dev: true };
|
|
36
36
|
|
|
37
37
|
/** Next.js: draft pages kept out of production builds, comments on the live site and analytics (`withUnbase`). */
|
|
38
|
-
export const NEXT = { name: "@unbase-app/next", version: "0.3.
|
|
38
|
+
export const NEXT = { name: "@unbase-app/next", version: "0.3.1", dev: false };
|
|
39
39
|
|
|
40
40
|
/**
|
|
41
41
|
* The first version of each framework's package that brings the analytics beacon: doctor's
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unbase-app/cli",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "Adds Unbase to an Astro, Vite + React or Next.js site, checks it, takes it out again, and renames, duplicates and deletes its pages: unbase init, doctor, uninstall and page.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|