@shipfox/client-runners 22.0.0 → 22.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/.turbo/turbo-build.log +1 -1
- package/CHANGELOG.md +8 -0
- package/dist/components/manual-registration-tokens-settings-section.d.ts.map +1 -1
- package/dist/components/manual-registration-tokens-settings-section.js +1 -1
- package/dist/components/manual-registration-tokens-settings-section.js.map +1 -1
- package/dist/components/provisioner-tokens-settings-section.d.ts.map +1 -1
- package/dist/components/provisioner-tokens-settings-section.js +5 -12
- package/dist/components/provisioner-tokens-settings-section.js.map +1 -1
- package/dist/routes/provisioners-settings.js +17 -4
- package/dist/routes/provisioners-settings.js.map +1 -1
- package/dist/routes/runners-settings.js +17 -4
- package/dist/routes/runners-settings.js.map +1 -1
- package/dist/tsconfig.test.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/components/manual-registration-tokens-settings-section.tsx +1 -2
- package/src/components/provisioner-tokens-settings-section.tsx +0 -4
- package/src/routes/provisioners-settings.tsx +10 -3
- package/src/routes/runners-settings.tsx +10 -3
- package/tsconfig.build.tsbuildinfo +1 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shipfox/client-runners",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "22.0.
|
|
4
|
+
"version": "22.0.1",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/ShipfoxHQ/shipfox.git",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"@tanstack/react-form": "^1.32.0",
|
|
30
30
|
"@shipfox/api-runners-dto": "13.0.0",
|
|
31
31
|
"@shipfox/client-api": "6.0.1",
|
|
32
|
-
"@shipfox/client-shell": "22.0.
|
|
32
|
+
"@shipfox/client-shell": "22.0.1",
|
|
33
33
|
"@shipfox/client-ui": "22.0.0",
|
|
34
34
|
"@shipfox/react-ui": "2.1.0"
|
|
35
35
|
},
|
|
@@ -48,8 +48,7 @@ export function WorkspaceManualRegistrationTokensSettingsSection({
|
|
|
48
48
|
<div className="flex flex-col gap-tight">
|
|
49
49
|
<Header variant="h3">Runner registration tokens</Header>
|
|
50
50
|
<Text size="sm" className="text-foreground-neutral-muted">
|
|
51
|
-
|
|
52
|
-
reusable until revoked.
|
|
51
|
+
Tokens are reusable until they expire or are revoked.
|
|
53
52
|
</Text>
|
|
54
53
|
</div>
|
|
55
54
|
<div className="flex items-center gap-cluster">
|
|
@@ -52,10 +52,6 @@ export function WorkspaceProvisionerTokensSettingsSection({workspaceId}: {worksp
|
|
|
52
52
|
<div className="flex items-center justify-between gap-group max-[640px]:items-start">
|
|
53
53
|
<div className="flex flex-col gap-tight">
|
|
54
54
|
<Header variant="h3">Runner provisioner registration tokens</Header>
|
|
55
|
-
<Text size="sm" className="text-foreground-neutral-muted">
|
|
56
|
-
Register runner provisioners that connect to this workspace and create runners
|
|
57
|
-
dynamically based on demand.
|
|
58
|
-
</Text>
|
|
59
55
|
</div>
|
|
60
56
|
<div className="flex items-center gap-cluster">
|
|
61
57
|
{(tokensQuery.isFetching && !tokensQuery.isPending) ||
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import {defineRoute, useActiveWorkspace} from '@shipfox/client-shell/runtime';
|
|
2
|
+
import {Header} from '@shipfox/react-ui/typography';
|
|
2
3
|
import {WorkspaceProvisionerTokensSettingsSection} from '#index.js';
|
|
3
4
|
|
|
4
5
|
export default defineRoute({
|
|
5
6
|
staticData: {frame: 'content'},
|
|
6
|
-
component: () =>
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
component: () => {
|
|
8
|
+
const workspace = useActiveWorkspace();
|
|
9
|
+
return (
|
|
10
|
+
<div className="flex min-w-0 flex-col gap-section">
|
|
11
|
+
<Header variant="h1">Runner provisioners</Header>
|
|
12
|
+
<WorkspaceProvisionerTokensSettingsSection workspaceId={workspace.id} />
|
|
13
|
+
</div>
|
|
14
|
+
);
|
|
15
|
+
},
|
|
9
16
|
});
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import {defineRoute, useActiveWorkspace} from '@shipfox/client-shell/runtime';
|
|
2
|
+
import {Header} from '@shipfox/react-ui/typography';
|
|
2
3
|
import {WorkspaceManualRegistrationTokensSettingsSection} from '#index.js';
|
|
3
4
|
|
|
4
5
|
export default defineRoute({
|
|
5
6
|
staticData: {frame: 'content'},
|
|
6
|
-
component: () =>
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
component: () => {
|
|
8
|
+
const workspace = useActiveWorkspace();
|
|
9
|
+
return (
|
|
10
|
+
<div className="flex min-w-0 flex-col gap-section">
|
|
11
|
+
<Header variant="h1">Runners</Header>
|
|
12
|
+
<WorkspaceManualRegistrationTokensSettingsSection workspaceId={workspace.id} />
|
|
13
|
+
</div>
|
|
14
|
+
);
|
|
15
|
+
},
|
|
9
16
|
});
|