@realiizlabs/admin 0.16.0 → 0.17.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/dist/git/index.cjs +67 -5
- package/dist/git/index.cjs.map +1 -1
- package/dist/git/index.d.cts +31 -3
- package/dist/git/index.d.ts +31 -3
- package/dist/git/index.js +66 -6
- package/dist/git/index.js.map +1 -1
- package/dist/studio/index.cjs +66 -6
- package/dist/studio/index.cjs.map +1 -1
- package/dist/studio/index.d.cts +7 -2
- package/dist/studio/index.d.ts +7 -2
- package/dist/studio/index.js +66 -6
- package/dist/studio/index.js.map +1 -1
- package/dist/studio-ui/index.cjs +1 -1
- package/dist/studio-ui/index.d.cts +1 -1
- package/dist/studio-ui/index.d.ts +1 -1
- package/dist/studio-ui/index.js +1 -1
- package/dist/{types-BP5G1myE.d.cts → types-Cy9UDz--.d.cts} +11 -4
- package/dist/{types-BP5G1myE.d.ts → types-Cy9UDz--.d.ts} +11 -4
- package/package.json +2 -2
package/dist/studio-ui/index.cjs
CHANGED
|
@@ -3,7 +3,7 @@ import { ReactNode } from 'react';
|
|
|
3
3
|
import { C as ContentTypeEntry } from '../types-DeHdasdP.cjs';
|
|
4
4
|
import { c as SiteBranding, d as SiteMember } from '../members-nhbRSYyr.cjs';
|
|
5
5
|
import { S as ShellUser, N as NavItem } from '../Sidebar-Cx9bvOYi.cjs';
|
|
6
|
-
import { a as PullRequestStatus } from '../types-
|
|
6
|
+
import { a as PullRequestStatus } from '../types-Cy9UDz--.cjs';
|
|
7
7
|
export { A as ADMIN_VERSION } from '../version-DMS0azUx.cjs';
|
|
8
8
|
import 'zod';
|
|
9
9
|
import '@supabase/supabase-js';
|
|
@@ -3,7 +3,7 @@ import { ReactNode } from 'react';
|
|
|
3
3
|
import { C as ContentTypeEntry } from '../types-DeHdasdP.js';
|
|
4
4
|
import { c as SiteBranding, d as SiteMember } from '../members-nhbRSYyr.js';
|
|
5
5
|
import { S as ShellUser, N as NavItem } from '../Sidebar-Cx9bvOYi.js';
|
|
6
|
-
import { a as PullRequestStatus } from '../types-
|
|
6
|
+
import { a as PullRequestStatus } from '../types-Cy9UDz--.js';
|
|
7
7
|
export { A as ADMIN_VERSION } from '../version-DMS0azUx.js';
|
|
8
8
|
import 'zod';
|
|
9
9
|
import '@supabase/supabase-js';
|
package/dist/studio-ui/index.js
CHANGED
|
@@ -11,11 +11,18 @@ interface RepoContext {
|
|
|
11
11
|
owner: string;
|
|
12
12
|
repo: string;
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
15
|
-
* the
|
|
16
|
-
*
|
|
14
|
+
* One of two credentials, both server-only:
|
|
15
|
+
* - `app` — the Realiiz Studio GitHub App (preferred). The repo's owner installs
|
|
16
|
+
* the app once; Studio mints a repo-scoped installation token per hour.
|
|
17
|
+
* - `token` — a personal access token with Contents RW, Pull requests RW, Commit
|
|
18
|
+
* statuses R, Deployments R. The original mechanism; still supported.
|
|
19
|
+
* When both are present, `app` wins.
|
|
17
20
|
*/
|
|
18
|
-
|
|
21
|
+
app?: {
|
|
22
|
+
appId: string;
|
|
23
|
+
privateKey: string;
|
|
24
|
+
} | null;
|
|
25
|
+
token?: string | null;
|
|
19
26
|
/** Default branch to branch from and merge into. Defaults to "main". */
|
|
20
27
|
baseBranch?: string;
|
|
21
28
|
}
|
|
@@ -11,11 +11,18 @@ interface RepoContext {
|
|
|
11
11
|
owner: string;
|
|
12
12
|
repo: string;
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
15
|
-
* the
|
|
16
|
-
*
|
|
14
|
+
* One of two credentials, both server-only:
|
|
15
|
+
* - `app` — the Realiiz Studio GitHub App (preferred). The repo's owner installs
|
|
16
|
+
* the app once; Studio mints a repo-scoped installation token per hour.
|
|
17
|
+
* - `token` — a personal access token with Contents RW, Pull requests RW, Commit
|
|
18
|
+
* statuses R, Deployments R. The original mechanism; still supported.
|
|
19
|
+
* When both are present, `app` wins.
|
|
17
20
|
*/
|
|
18
|
-
|
|
21
|
+
app?: {
|
|
22
|
+
appId: string;
|
|
23
|
+
privateKey: string;
|
|
24
|
+
} | null;
|
|
25
|
+
token?: string | null;
|
|
19
26
|
/** Default branch to branch from and merge into. Defaults to "main". */
|
|
20
27
|
baseBranch?: string;
|
|
21
28
|
}
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@realiizlabs/admin",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.17.0",
|
|
4
4
|
"description": "Realiiz Studio — the publishing dashboard for websites built on site-starter-pro.",
|
|
5
|
-
"releaseNotes": "
|
|
5
|
+
"releaseNotes": "Studio can now reach a website's repository through the Realiiz Studio GitHub App instead of a personal access token: the repository's owner installs the app once, and nobody has to create or copy a token. Sites set GITHUB_APP_ID and GITHUB_APP_PRIVATE_KEY (the same two values everywhere); GITHUB_CONTENT_TOKEN keeps working as before.",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"main": "./dist/index.cjs",
|