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
14 changes: 14 additions & 0 deletions web/ee/css-modules.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/**
* Ambient CSS module declarations for the app.
* Classic tsc tolerates untyped side-effect CSS imports under moduleResolution:bundler;
* the native compiler (TS7) requires a declaration. This mirrors packages/css-modules.d.ts.
*/
declare module "*.module.css" {
const classes: {[key: string]: string}
export default classes
}

declare module "*.css" {
const content: {[key: string]: string}
export default content
}
5 changes: 2 additions & 3 deletions web/ee/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
{
"extends": "../oss/tsconfig.json",
"compilerOptions": {
"baseUrl": "..",
"paths": {
"@/oss/*": ["./ee/src/*", "./oss/src/*"],
"@/agenta-oss-common/*": ["./ee/src/*", "./oss/src/*"]
"@/oss/*": ["./src/*", "../oss/src/*"],
"@/agenta-oss-common/*": ["./src/*", "../oss/src/*"]
}
},
"include": ["next-env.d.ts", "**/*.d.ts", "**/*.ts", "**/*.tsx"],
Expand Down
14 changes: 14 additions & 0 deletions web/oss/css-modules.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/**
* Ambient CSS module declarations for the app.
* Classic tsc tolerates untyped side-effect CSS imports under moduleResolution:bundler;
* the native compiler (TS7) requires a declaration. This mirrors packages/css-modules.d.ts.
*/
declare module "*.module.css" {
const classes: {[key: string]: string}
export default classes
}

declare module "*.css" {
const content: {[key: string]: string}
export default content
}
5 changes: 2 additions & 3 deletions web/oss/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"baseUrl": ".",
"paths": {
"@/oss/*": ["src/*", "src/lib/noop/index.tsx"],
"@/agenta-oss-common/*": ["../ee/src/*", "src/*", "src/lib/noop/index.tsx"]
"@/oss/*": ["./src/*", "./src/lib/noop/index.tsx"],
"@/agenta-oss-common/*": ["../ee/src/*", "./src/*", "./src/lib/noop/index.tsx"]
}
},
"include": ["next-env.d.ts", "**/*.d.ts", "**/*.ts", "**/*.tsx"],
Expand Down
3 changes: 3 additions & 0 deletions web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"@next/eslint-plugin-next": "15.5.18",
"@typescript-eslint/eslint-plugin": "^8.61.0",
"@typescript-eslint/parser": "^8.61.0",
"@typescript/native-preview": "7.0.0-dev.20260707.2",
"eslint": "^9.39.4",
"eslint-config-next": "15.5.18",
"eslint-config-prettier": "^10.1.8",
Expand All @@ -51,6 +52,8 @@
"dev-oss": "turbo run dev --filter=@agenta/oss",
"lint": "turbo run lint",
"lint-fix": "turbo run lint -- --fix",
"type-check": "pnpm --filter @agenta/oss exec tsc --noEmit && pnpm --filter @agenta/ee exec tsc --noEmit",
"type-check:native": "pnpm --filter @agenta/oss exec tsgo --noEmit && pnpm --filter @agenta/ee exec tsgo --noEmit",
"test:revision-centric": "tsx --tsconfig oss/tsconfig.json oss/tests/datalayer/test-revision-centric.ts",
"test:apps": "tsx --tsconfig oss/tsconfig.json oss/tests/datalayer/test-apps.ts",
"test:environments": "tsx --tsconfig oss/tsconfig.json oss/tests/datalayer/test-environments.ts",
Expand Down
81 changes: 81 additions & 0 deletions web/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading