@shipfox/client-secrets 3.0.1 → 5.0.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/.turbo/turbo-build.log +1 -1
- package/CHANGELOG.md +18 -0
- package/dist/feature.d.ts +26 -0
- package/dist/feature.d.ts.map +1 -0
- package/dist/feature.js +34 -0
- package/dist/feature.js.map +1 -0
- package/dist/routes/secrets-settings.d.ts +5 -0
- package/dist/routes/secrets-settings.d.ts.map +1 -0
- package/dist/routes/secrets-settings.js +10 -0
- package/dist/routes/secrets-settings.js.map +1 -0
- package/dist/routes/variables-settings.d.ts +5 -0
- package/dist/routes/variables-settings.d.ts.map +1 -0
- package/dist/routes/variables-settings.js +10 -0
- package/dist/routes/variables-settings.js.map +1 -0
- package/dist/tsconfig.test.tsbuildinfo +1 -1
- package/package.json +12 -34
- package/src/feature.ts +27 -0
- package/src/routes/secrets-settings.tsx +6 -0
- package/src/routes/variables-settings.tsx +6 -0
- package/tsconfig.build.tsbuildinfo +1 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shipfox/client-secrets",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "5.0.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/ShipfoxHQ/shipfox.git",
|
|
@@ -18,14 +18,23 @@
|
|
|
18
18
|
".": {
|
|
19
19
|
"types": "./dist/index.d.ts",
|
|
20
20
|
"default": "./dist/index.js"
|
|
21
|
+
},
|
|
22
|
+
"./feature": {
|
|
23
|
+
"types": "./dist/feature.d.ts",
|
|
24
|
+
"default": "./dist/feature.js"
|
|
25
|
+
},
|
|
26
|
+
"./routes/*": {
|
|
27
|
+
"types": "./dist/routes/*.d.ts",
|
|
28
|
+
"default": "./dist/routes/*.js"
|
|
21
29
|
}
|
|
22
30
|
},
|
|
23
31
|
"dependencies": {
|
|
24
32
|
"@swc/helpers": "^0.5.17",
|
|
25
33
|
"@tanstack/react-form": "^1.32.0",
|
|
26
34
|
"@shipfox/api-secrets-dto": "6.0.0",
|
|
27
|
-
"@shipfox/client-api": "
|
|
28
|
-
"@shipfox/client-
|
|
35
|
+
"@shipfox/client-api": "4.0.0",
|
|
36
|
+
"@shipfox/client-shell": "5.0.0",
|
|
37
|
+
"@shipfox/client-ui": "4.0.0",
|
|
29
38
|
"@shipfox/react-ui": "0.3.5"
|
|
30
39
|
},
|
|
31
40
|
"peerDependencies": {
|
|
@@ -33,37 +42,6 @@
|
|
|
33
42
|
"react": "^19.0.0",
|
|
34
43
|
"react-dom": "^19.0.0"
|
|
35
44
|
},
|
|
36
|
-
"devDependencies": {
|
|
37
|
-
"@argos-ci/cli": "^5.0.0",
|
|
38
|
-
"@argos-ci/storybook": "^6.0.0",
|
|
39
|
-
"@storybook/addon-vitest": "^10.3.6",
|
|
40
|
-
"@storybook/react": "^10.0.0",
|
|
41
|
-
"@storybook/react-vite": "^10.0.0",
|
|
42
|
-
"@tailwindcss/vite": "^4.1.13",
|
|
43
|
-
"@tanstack/react-query": "^5.101.0",
|
|
44
|
-
"@testing-library/jest-dom": "^6.6.3",
|
|
45
|
-
"@testing-library/react": "^16.3.2",
|
|
46
|
-
"@testing-library/user-event": "^14.6.1",
|
|
47
|
-
"@types/react": "^19.1.11",
|
|
48
|
-
"@types/react-dom": "^19.1.7",
|
|
49
|
-
"@vitejs/plugin-react": "^6.0.0",
|
|
50
|
-
"@vitest/browser-playwright": "^4.1.5",
|
|
51
|
-
"jsdom": "^29.0.0",
|
|
52
|
-
"react": "^19.1.1",
|
|
53
|
-
"react-dom": "^19.1.1",
|
|
54
|
-
"storybook": "^10.0.0",
|
|
55
|
-
"storybook-addon-pseudo-states": "^10.0.0",
|
|
56
|
-
"tailwindcss": "^4.1.13",
|
|
57
|
-
"vite": "^8.0.3",
|
|
58
|
-
"vitest": "^4.1.5",
|
|
59
|
-
"@shipfox/biome": "1.8.2",
|
|
60
|
-
"@shipfox/client-test-setup": "0.0.3",
|
|
61
|
-
"@shipfox/swc": "1.2.6",
|
|
62
|
-
"@shipfox/ts-config": "1.3.8",
|
|
63
|
-
"@shipfox/typescript": "1.1.7",
|
|
64
|
-
"@shipfox/vite": "1.2.5",
|
|
65
|
-
"@shipfox/vitest": "1.2.3"
|
|
66
|
-
},
|
|
67
45
|
"scripts": {
|
|
68
46
|
"build": "shipfox-swc",
|
|
69
47
|
"check": "shipfox-biome-check",
|
package/src/feature.ts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import {defineClientFeature} from '@shipfox/client-shell';
|
|
2
|
+
|
|
3
|
+
export const secretsFeature = defineClientFeature({
|
|
4
|
+
id: 'shipfox.secrets',
|
|
5
|
+
routes: [
|
|
6
|
+
{
|
|
7
|
+
path: '/workspaces/$wid/settings/secrets',
|
|
8
|
+
parent: 'workspaceSettings',
|
|
9
|
+
impl: '@shipfox/client-secrets/routes/secrets-settings',
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
path: '/workspaces/$wid/settings/variables',
|
|
13
|
+
parent: 'workspaceSettings',
|
|
14
|
+
impl: '@shipfox/client-secrets/routes/variables-settings',
|
|
15
|
+
},
|
|
16
|
+
],
|
|
17
|
+
settingsSections: [
|
|
18
|
+
{id: 'settings.secrets', pathSegment: 'secrets', label: 'Secrets', icon: 'keyLine', order: 500},
|
|
19
|
+
{
|
|
20
|
+
id: 'settings.variables',
|
|
21
|
+
pathSegment: 'variables',
|
|
22
|
+
label: 'Variables',
|
|
23
|
+
icon: 'bracesLine',
|
|
24
|
+
order: 600,
|
|
25
|
+
},
|
|
26
|
+
],
|
|
27
|
+
});
|