Skip to content

Commit 0aaac5b

Browse files
fix: add missing dependency declarations for turbo boundaries compliance
1 parent e8cdde6 commit 0aaac5b

File tree

107 files changed

+1301
-302
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+1301
-302
lines changed

.changeset/brave-foxes-clap.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
'@o2s/api-harmonization': patch
3+
'@o2s/eslint-config': patch
4+
'@o2s/frontend': patch
5+
---
6+
7+
fix: resolve build and lint issues
8+
9+
- Fix `src/` bare import in organizations module to use relative path
10+
- Convert express import to type-only in context-headers middleware
11+
- Update page model to import `CMS` from `@o2s/configs.integrations`
12+
- Add `@typescript-eslint/no-empty-object-type: off` rule to frontend-block ESLint config
13+
- Add `npm dedupe` step to api-harmonization and frontend Dockerfiles
14+
- Add `tsconfig.tsbuildinfo` to `.gitignore` across all packages

.changeset/eight-paws-fold.md

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
---
2+
'@o2s/blocks.checkout-shipping-address': patch
3+
'@o2s/blocks.notification-details': patch
4+
'@o2s/blocks.notification-summary': patch
5+
'@o2s/blocks.checkout-billing-payment': patch
6+
'@o2s/blocks.notification-list': patch
7+
'@o2s/blocks.checkout-company-data': patch
8+
'@o2s/blocks.featured-service-list': patch
9+
'@o2s/blocks.article-search': patch
10+
'@o2s/blocks.recommended-products': patch
11+
'@o2s/blocks.feature-section-grid': patch
12+
'@o2s/blocks.category-list': patch
13+
'@o2s/blocks.order-confirmation': patch
14+
'@o2s/blocks.article-list': patch
15+
'@o2s/blocks.checkout-summary': patch
16+
'@o2s/blocks.payments-history': patch
17+
'@o2s/blocks.payments-summary': patch
18+
'@o2s/blocks.product-details': patch
19+
'@o2s/blocks.service-details': patch
20+
'@o2s/blocks.feature-section': patch
21+
'@o2s/blocks.pricing-section': patch
22+
'@o2s/blocks.category': patch
23+
'@o2s/blocks.article': patch
24+
'@o2s/blocks.ticket-details': patch
25+
'@o2s/blocks.ticket-summary': patch
26+
'@o2s/blocks.document-list': patch
27+
'@o2s/blocks.media-section': patch
28+
'@o2s/blocks.orders-summary': patch
29+
'@o2s/blocks.product-list': patch
30+
'@o2s/blocks.service-list': patch
31+
'@o2s/blocks.ticket-recent': patch
32+
'@o2s/blocks.user-account': patch
33+
'@o2s/blocks.invoice-list': patch
34+
'@o2s/blocks.hero-section': patch
35+
'@o2s/blocks.order-details': patch
36+
'@o2s/blocks.cta-section': patch
37+
'@o2s/blocks.quick-links': patch
38+
'@o2s/blocks.surveyjs-form': patch
39+
'@o2s/blocks.ticket-list': patch
40+
'@o2s/blocks.bento-grid': patch
41+
'@o2s/blocks.order-list': patch
42+
'@o2s/blocks.cart': patch
43+
'@o2s/blocks.faq': patch
44+
'@o2s/integrations.contentful-cms': patch
45+
'@o2s/integrations.mocked-dxp': patch
46+
'@o2s/integrations.strapi-cms': patch
47+
'@o2s/integrations.medusajs': patch
48+
'@o2s/integrations.zendesk': patch
49+
'@o2s/integrations.mocked': patch
50+
'@o2s/eslint-config': patch
51+
'@o2s/modules.surveyjs': patch
52+
'@o2s/utils.frontend': patch
53+
'@o2s/api-harmonization': patch
54+
'@o2s/frontend': patch
55+
'@o2s/ui': patch
56+
'@o2s/docs': patch
57+
---
58+
59+
fix: add missing dependency declarations for turbo boundaries compliance
60+
61+
Declare previously undeclared imports as explicit dependencies across 55 packages. This resolves all `turbo boundaries` violations where packages imported modules not listed in their `package.json`.
62+
63+
Key dependency categories added:
64+
- `@storybook/nextjs-vite`, `@storybook/react`, `storybook` for story files
65+
- `vitest`, `@nestjs/testing`, `@o2s/vitest-config` for test files
66+
- `lucide-react`, `dayjs`, `string-template`, `class-variance-authority` for runtime code
67+
- `vite` for vitest configs in integrations
68+
- `@o2s/api-harmonization`, `@auth/core`, `@docusaurus/*` for app-level imports

.changeset/shy-tigers-walk.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
'@o2s/ui': patch
3+
---
4+
5+
fix: improve accessibility and flexibility of UI form elements
6+
7+
- `PhoneInput`: add `label` and `caption` props for proper form labeling
8+
- `SelectWithDetails`: add `isLabelHidden` prop for visually hidden but accessible labels
9+
- `Switch`: add `SwitchWithLabelAndDetails` variant with description, error, and read-only support
10+
- `LoadingOverlay`: ensure full-width/height coverage on container
11+
- `GlobalProvider`: update CMS import path to use `@o2s/configs.integrations`

.changeset/warm-turtles-learn.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
'@o2s/ui': minor
3+
---
4+
5+
feat: add form components for user management
6+
7+
Add `FormField`, `FormFieldWrapper`, and `InputValidations` components with shared Yup validation schemas for email, phone, password, and role fields.

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,6 @@ agent-os
5858

5959
# Generated files
6060
O2S-API.postman_collection.json
61+
62+
# TypeScript build info
63+
tsconfig.tsbuildinfo

apps/api-harmonization/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,6 @@ pids
5353

5454
# Diagnostic reports (https://nodejs.org/api/report.html)
5555
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
56+
57+
# TypeScript build info
58+
tsconfig.tsbuildinfo

apps/api-harmonization/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ WORKDIR /app
2323
COPY --from=builder /app/out/full/ .
2424

2525
RUN npm i
26+
RUN npm dedupe
2627

2728
# Uncomment and use build args to enable remote caching
2829
# ARG TURBO_TEAM

apps/api-harmonization/package.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@
3333
"@o2s/blocks.article-list": "*",
3434
"@o2s/blocks.article-search": "*",
3535
"@o2s/blocks.bento-grid": "*",
36+
"@o2s/blocks.cart": "*",
3637
"@o2s/blocks.category": "*",
3738
"@o2s/blocks.category-list": "*",
38-
"@o2s/blocks.cart": "*",
3939
"@o2s/blocks.checkout-billing-payment": "*",
4040
"@o2s/blocks.checkout-company-data": "*",
4141
"@o2s/blocks.checkout-shipping-address": "*",
@@ -52,10 +52,10 @@
5252
"@o2s/blocks.notification-details": "*",
5353
"@o2s/blocks.notification-list": "*",
5454
"@o2s/blocks.notification-summary": "*",
55+
"@o2s/blocks.order-confirmation": "*",
5556
"@o2s/blocks.order-details": "*",
5657
"@o2s/blocks.order-list": "*",
5758
"@o2s/blocks.orders-summary": "*",
58-
"@o2s/blocks.order-confirmation": "*",
5959
"@o2s/blocks.payments-history": "*",
6060
"@o2s/blocks.payments-summary": "*",
6161
"@o2s/blocks.pricing-section": "*",
@@ -71,7 +71,7 @@
7171
"@o2s/blocks.ticket-recent": "*",
7272
"@o2s/blocks.ticket-summary": "*",
7373
"@o2s/blocks.user-account": "*",
74-
"@o2s/configs.integrations": "*",
74+
"@o2s/configs.integrations": "^0.6.0",
7575
"@o2s/framework": "*",
7676
"@o2s/integrations.mocked": "*",
7777
"@o2s/modules.surveyjs": "*",
@@ -128,6 +128,7 @@
128128
"ts-loader": "^9.5.4",
129129
"ts-node": "^10.9.2",
130130
"tsconfig-paths": "^4.2.0",
131-
"typescript": "^5.9.3"
131+
"typescript": "^5.9.3",
132+
"vitest": "^4.0.18"
132133
}
133-
}
134+
}

apps/api-harmonization/src/middleware/context-headers.middleware.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Injectable, NestMiddleware } from '@nestjs/common';
22
import { ConfigService } from '@nestjs/config';
3-
import { NextFunction, Request, Response } from 'express';
3+
import type { NextFunction, Request, Response } from 'express';
44

55
import { HeaderName } from '@o2s/framework/headers';
66

apps/api-harmonization/src/modules/organizations/organizations.module.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
import { DynamicModule, Module } from '@nestjs/common';
22
import { CMS, Organizations } from '@o2s/configs.integrations';
3-
import { CMSBaseModule, OrganizationsBaseModule } from 'src/app.module';
43

54
import * as Framework from '@o2s/framework/modules';
65

6+
import { CMSBaseModule, OrganizationsBaseModule } from '../../app.module';
7+
78
import { OrganizationsController } from './organizations.controller';
89
import { OrganizationsService } from './organizations.service';
910

0 commit comments

Comments
 (0)