@shipfox/api-projects 6.0.0 → 8.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 +11 -14
- package/CHANGELOG.md +20 -0
- package/dist/core/projects.d.ts +1 -1
- package/dist/core/projects.d.ts.map +1 -1
- package/dist/core/projects.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/presentation/inter-module.d.ts +1 -1
- package/dist/presentation/inter-module.d.ts.map +1 -1
- package/dist/presentation/inter-module.js +1 -1
- package/dist/presentation/inter-module.js.map +1 -1
- package/dist/presentation/routes/create-project.d.ts +1 -1
- package/dist/presentation/routes/create-project.d.ts.map +1 -1
- package/dist/presentation/routes/create-project.js +1 -1
- package/dist/presentation/routes/create-project.js.map +1 -1
- package/dist/presentation/routes/index.d.ts +1 -1
- package/dist/presentation/routes/index.d.ts.map +1 -1
- package/dist/presentation/routes/index.js.map +1 -1
- package/dist/temporal/workflows/index.bundle.js +17164 -3306
- package/dist/tsconfig.test.tsbuildinfo +1 -1
- package/package.json +8 -26
- package/src/core/projects.test.ts +2 -2
- package/src/core/projects.ts +1 -1
- package/src/index.ts +1 -1
- package/src/presentation/inter-module.ts +1 -1
- package/src/presentation/routes/create-project.ts +1 -1
- package/src/presentation/routes/index.ts +1 -1
- package/src/presentation/routes/projects.test.ts +1 -1
- package/src/presentation/subscribers/on-source-commit-pushed.test.ts +1 -1
- package/tsconfig.build.tsbuildinfo +1 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shipfox/api-projects",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "8.0.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/ShipfoxHQ/shipfox.git",
|
|
@@ -25,35 +25,17 @@
|
|
|
25
25
|
"@temporalio/workflow": "1.18.1",
|
|
26
26
|
"drizzle-orm": "^0.45.2",
|
|
27
27
|
"zod": "^4.4.3",
|
|
28
|
-
"@shipfox/api-
|
|
29
|
-
"@shipfox/api-
|
|
30
|
-
"@shipfox/api-projects-dto": "
|
|
28
|
+
"@shipfox/api-auth-context": "7.1.0",
|
|
29
|
+
"@shipfox/api-integration-core-dto": "8.0.0",
|
|
30
|
+
"@shipfox/api-projects-dto": "8.0.0",
|
|
31
31
|
"@shipfox/inter-module": "0.2.0",
|
|
32
|
-
"@shipfox/node-module": "0.4.0",
|
|
33
|
-
"@shipfox/node-fastify": "0.2.4",
|
|
34
|
-
"@shipfox/node-opentelemetry": "0.5.2",
|
|
35
32
|
"@shipfox/node-drizzle": "0.3.2",
|
|
33
|
+
"@shipfox/node-fastify": "0.3.0",
|
|
34
|
+
"@shipfox/node-module": "0.5.0",
|
|
35
|
+
"@shipfox/node-opentelemetry": "0.6.0",
|
|
36
36
|
"@shipfox/node-outbox": "0.2.4",
|
|
37
37
|
"@shipfox/node-postgres": "0.4.2",
|
|
38
|
-
"@shipfox/node-temporal": "0.
|
|
39
|
-
},
|
|
40
|
-
"devDependencies": {
|
|
41
|
-
"@temporalio/activity": "1.18.1",
|
|
42
|
-
"@temporalio/client": "1.18.1",
|
|
43
|
-
"@temporalio/common": "1.18.1",
|
|
44
|
-
"@temporalio/testing": "1.18.1",
|
|
45
|
-
"@temporalio/worker": "1.18.1",
|
|
46
|
-
"@types/pg": "^8.15.5",
|
|
47
|
-
"drizzle-kit": "^0.31.10",
|
|
48
|
-
"fastify": "^5.3.3",
|
|
49
|
-
"fastify-type-provider-zod": "^6.0.0",
|
|
50
|
-
"fishery": "^2.4.0",
|
|
51
|
-
"@shipfox/biome": "1.8.2",
|
|
52
|
-
"@shipfox/depcruise": "1.0.2",
|
|
53
|
-
"@shipfox/swc": "1.2.6",
|
|
54
|
-
"@shipfox/ts-config": "1.3.8",
|
|
55
|
-
"@shipfox/typescript": "1.1.7",
|
|
56
|
-
"@shipfox/vitest": "1.2.3"
|
|
38
|
+
"@shipfox/node-temporal": "0.4.0"
|
|
57
39
|
},
|
|
58
40
|
"scripts": {
|
|
59
41
|
"build": "shipfox-swc && shipfox-temporal-bundle dist/temporal/workflows/index.js",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {IntegrationsModuleClient} from '@shipfox/api-integration-core-dto';
|
|
2
|
-
import {integrationsInterModuleContract} from '@shipfox/api-integration-core-dto';
|
|
1
|
+
import type {IntegrationsModuleClient} from '@shipfox/api-integration-core-dto/inter-module';
|
|
2
|
+
import {integrationsInterModuleContract} from '@shipfox/api-integration-core-dto/inter-module';
|
|
3
3
|
import {createInterModuleKnownError} from '@shipfox/inter-module';
|
|
4
4
|
import {sql} from 'drizzle-orm';
|
|
5
5
|
import {db} from '#db/index.js';
|
package/src/core/projects.ts
CHANGED
package/src/index.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {dirname, resolve} from 'node:path';
|
|
2
2
|
import {fileURLToPath} from 'node:url';
|
|
3
|
-
import type {IntegrationsModuleClient} from '@shipfox/api-integration-core-dto';
|
|
4
3
|
import {
|
|
5
4
|
INTEGRATION_SOURCE_COMMIT_PUSHED,
|
|
6
5
|
type IntegrationsEventMap,
|
|
7
6
|
} from '@shipfox/api-integration-core-dto';
|
|
7
|
+
import type {IntegrationsModuleClient} from '@shipfox/api-integration-core-dto/inter-module';
|
|
8
8
|
import {projectsEventSchemas} from '@shipfox/api-projects-dto';
|
|
9
9
|
import {type ShipfoxModule, subscriberFactory} from '@shipfox/node-module';
|
|
10
10
|
import {db, migrationsPath, projectsOutbox} from '#db/index.js';
|
|
@@ -2,7 +2,7 @@ import {AUTH_USER, requireUserContext, requireWorkspaceAccess} from '@shipfox/ap
|
|
|
2
2
|
import {
|
|
3
3
|
type IntegrationsModuleClient,
|
|
4
4
|
integrationsInterModuleContract,
|
|
5
|
-
} from '@shipfox/api-integration-core-dto';
|
|
5
|
+
} from '@shipfox/api-integration-core-dto/inter-module';
|
|
6
6
|
import {createProjectBodySchema, projectResponseSchema} from '@shipfox/api-projects-dto';
|
|
7
7
|
import {isInterModuleKnownError} from '@shipfox/inter-module';
|
|
8
8
|
import {ClientError, defineRoute} from '@shipfox/node-fastify';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {IntegrationsModuleClient} from '@shipfox/api-integration-core-dto';
|
|
1
|
+
import type {IntegrationsModuleClient} from '@shipfox/api-integration-core-dto/inter-module';
|
|
2
2
|
import type {RouteGroup} from '@shipfox/node-fastify';
|
|
3
3
|
import {createProjectRoute} from './create-project.js';
|
|
4
4
|
import {getProjectRoute} from './get-project.js';
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
type IntegrationsModuleClient,
|
|
9
9
|
integrationsInterModuleContract,
|
|
10
|
-
} from '@shipfox/api-integration-core-dto';
|
|
10
|
+
} from '@shipfox/api-integration-core-dto/inter-module';
|
|
11
11
|
import {createInterModuleKnownError} from '@shipfox/inter-module';
|
|
12
12
|
import type {AuthMethod} from '@shipfox/node-fastify';
|
|
13
13
|
import {closeApp, createApp} from '@shipfox/node-fastify';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
INTEGRATION_SOURCE_COMMIT_PUSHED,
|
|
3
3
|
type IntegrationSourceCommitPushedEvent,
|
|
4
|
-
type IntegrationsModuleClient,
|
|
5
4
|
type SourcePushPayload,
|
|
6
5
|
} from '@shipfox/api-integration-core-dto';
|
|
6
|
+
import type {IntegrationsModuleClient} from '@shipfox/api-integration-core-dto/inter-module';
|
|
7
7
|
import {PROJECT_SOURCE_COMMIT_OBSERVED} from '@shipfox/api-projects-dto';
|
|
8
8
|
import type {DomainEvent} from '@shipfox/node-outbox';
|
|
9
9
|
import {and, eq, sql} from 'drizzle-orm';
|