Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .mise/tasks/publish-dev
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/env bash
#MISE depends=["yucca-sdk:build"]
pnpm --filter yucca-api-client exec npm version patch
pnpm --filter orchestration-api exec npm version patch
pnpm --filter orchestration-ui exec npm version patch
pnpm --filter yucca-api-client publish --registry http://localhost:4873/ --no-git-checks
pnpm --filter orchestration-api publish --registry http://localhost:4873/ --no-git-checks
pnpm --filter orchestration-ui publish --registry http://localhost:4873/ --no-git-checks
4 changes: 4 additions & 0 deletions .mise/tasks/yucca-sdk/build
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env bash
#MISE description="Build yucca-sdk"
#MISE depends=["yucca-sdk:*:build"]
set -e
2 changes: 1 addition & 1 deletion packages/e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"packageManager": "pnpm@10.27.0",
"devDependencies": {
"@common/server": "workspace:^",
"@futo-org/restic-wrapper": "1.1.0",
"@futo-org/restic-wrapper": "1.1.2",
"@jest/globals": "^30.2.0",
"@types/jest": "^30.0.0",
"@types/jsonwebtoken": "^9.0.10",
Expand Down
2 changes: 1 addition & 1 deletion packages/yucca-api-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "yucca-api-client",
"version": "1.0.0",
"version": "0.1.48",
"description": "",
"type": "module",
"main": "dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/yucca-api/src/services/repository.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,6 @@ export class RepositoryService {
url.password = token;
url.pathname = repository.id;

return { url: url.href };
return { url: `rest:${url.href}` };
}
}
2 changes: 1 addition & 1 deletion packages/yucca-sdk/orchestration-api/bin/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ async function bootstrap() {

app.enableCors({ origin: 'http://localhost:5174' });
app.useGlobalPipes(new ValidationPipe({ whitelist: true }));
app.setGlobalPrefix('/api/yucca');
app.setGlobalPrefix('api');
await app.listen(ORCHESTRATION_PORT, '127.0.0.1');
}

Expand Down
2 changes: 1 addition & 1 deletion packages/yucca-sdk/orchestration-api/bin/sync-openapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ async function main() {
}),
);

app.setGlobalPrefix('api/yucca');
app.setGlobalPrefix('api');

const builder = new DocumentBuilder()
.setTitle('yucca')
Expand Down
Loading
Loading