-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ab0f5c5
commit db8f2d1
Showing
40 changed files
with
1,547 additions
and
265 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/** @type {import('next').NextConfig} */ | ||
const nextConfig = { | ||
output: "standalone", | ||
|
||
/** Enables hot reloading for local packages without a build step */ | ||
transpilePackages: ["@mychat/agents", "@mychat/shared", "@mychat/db"], | ||
|
||
/** We already do linting and typechecking as separate tasks in CI */ | ||
eslint: { ignoreDuringBuilds: true }, | ||
typescript: { ignoreBuildErrors: true }, | ||
}; | ||
|
||
export default nextConfig; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,41 @@ | ||
{ | ||
"folders": [ | ||
{ | ||
"path": ".", | ||
}, | ||
{ | ||
"name": "Apps", | ||
"path": "apps", | ||
}, | ||
{ | ||
"name": "Packages", | ||
"path": "packages", | ||
}, | ||
{ | ||
"name": "Tooling", | ||
"path": "tooling", | ||
}, | ||
{ | ||
"name": "Logs", | ||
"path": "logs", | ||
}, | ||
], | ||
"settings": { | ||
"prettier.printWidth": 90, | ||
"tailwindCSS.classAttributes": ["class", "className", "headerClassName"], | ||
"tailwindCSS.lint.cssConflict": "ignore", | ||
"xeslint.options": { "overrideConfigFile": "eslint.config.js" }, | ||
"eslint.useFlatConfig": false, | ||
"eslint.workingDirectories": [ | ||
{ "pattern": "./apps/native/*/" }, | ||
{ "pattern": "./apps/web/*/" }, | ||
{ "pattern": "./apps/server/*/" }, | ||
{ "pattern": "./packages/agents/*/" }, | ||
{ "pattern": "./packages/db/*/" }, | ||
{ "pattern": "./packages/shared/*/" }, | ||
{ "pattern": "./tooling/logger/*/" }, | ||
{ "pattern": "./tooling/eslint/*/" }, | ||
], | ||
"typescript.tsdk": "myChat/node_modules/typescript/lib", | ||
"yaml.schemas": { | ||
"https://raw.githubusercontent.com/compose-spec/compose-spec/master/schema/compose-spec.json": "file:///Users/justin/Projects/myChat/compose.test.yml", | ||
}, | ||
}, | ||
"folders": [ | ||
{ | ||
"path": ".", | ||
}, | ||
{ | ||
"name": "Apps", | ||
"path": "apps", | ||
}, | ||
{ | ||
"name": "Packages", | ||
"path": "packages", | ||
}, | ||
{ | ||
"name": "Tooling", | ||
"path": "tooling", | ||
}, | ||
{ | ||
"name": "Logs", | ||
"path": "logs", | ||
}, | ||
], | ||
"settings": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"editor.formatOnSave": true, | ||
"tailwindCSS.classAttributes": ["class", "className", "headerClassName"], | ||
"tailwindCSS.lint.cssConflict": "ignore", | ||
"xeslint.options": { "overrideConfigFile": "eslint.config.js" }, | ||
"eslint.useFlatConfig": false, | ||
"eslint.workingDirectories": [ | ||
{ "pattern": "apps/*/" }, | ||
{ "pattern": "packages/*/" }, | ||
{ "pattern": "tooling/*/" }, | ||
], | ||
"typescript.tsdk": "myChat/node_modules/typescript/lib", | ||
"typescript.enablePromptUseWorkspaceTsdk": true, | ||
"yaml.schemas": { | ||
"https://raw.githubusercontent.com/compose-spec/compose-spec/master/schema/compose-spec.json": "file:///Users/justin/Projects/myChat/compose.test.yml", | ||
}, | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,15 +13,16 @@ | |
"compose": "docker compose -f compose.yml", | ||
"compose:test": "docker compose -f compose.yml -f compose.test.yml", | ||
"lint": "turbo lint", | ||
"tsc": "turbo tsc", | ||
"typecheck": "turbo typecheck", | ||
"export": "turbo export", | ||
"build": "turbo build --cache-dir=.turbo", | ||
"migration:run": "turbo migration:run", | ||
"dev": "TURBO_EXPERIMENTAL_UI=true turbo dev", | ||
"start": "turbo start", | ||
"start:prod": "turbo start:prod", | ||
"compose:prod": "docker compose -f production.yml", | ||
"clean": "turbo clean && yarn cache clean && rm -rf node_modules yarn.lock ./logs", | ||
"clean": "git clean -xdf node_modules && yarn cache clean && rm -rf ./logs", | ||
"clean:workspaces": "turbo clean", | ||
"tree": "tree -L 4 . --gitignore --dirsfirst --noreport --charset utf-8" | ||
}, | ||
"keywords": [], | ||
|
@@ -31,8 +32,11 @@ | |
"markdown-it": "14.0.0" | ||
}, | ||
"devDependencies": { | ||
"@mychat/prettier-config": "workspace:^", | ||
"@mychat/tsconfig": "workspace:*", | ||
"@turbo/gen": "^1.13.3", | ||
"turbo": "^1.13.3" | ||
}, | ||
"packageManager": "[email protected]" | ||
"packageManager": "[email protected]", | ||
"prettier": "@mychat/prettier-config" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
{ | ||
"extends": "@mychat/tsconfig/base.json", | ||
"compilerOptions": { | ||
"tsBuildInfoFile": "../../node_modules/.cache/tsbuildinfo.json" | ||
}, | ||
"include": ["**/*.ts", "**/*.tsx"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,49 @@ | ||
/** @type {import("eslint").Linter.Config} */ | ||
const config = { | ||
extends: [ | ||
"turbo", | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"prettier", | ||
], | ||
env: { | ||
es2022: true, | ||
node: true, | ||
}, | ||
parser: "@typescript-eslint/parser", | ||
parserOptions: { | ||
project: true, | ||
}, | ||
plugins: ["@typescript-eslint", "import"], | ||
rules: { | ||
"@typescript-eslint/no-unused-vars": [ | ||
"error", | ||
{ argsIgnorePattern: "^_", varsIgnorePattern: "^_" }, | ||
], | ||
"@typescript-eslint/consistent-type-imports": [ | ||
"warn", | ||
{ prefer: "type-imports", fixStyle: "separate-type-imports" }, | ||
], | ||
"@typescript-eslint/no-misused-promises": "off", | ||
"@typescript-eslint/no-empty-object-type": "off", | ||
"@typescript-eslint/strict-boolean-expressions": 0, | ||
"@typescript-eslint/no-explicit-any": 0, | ||
"@typescript-eslint/ban-ts-comment": 0, | ||
"@typescript-eslint/no-redeclare": "off", | ||
"import/consistent-type-specifier-style": "off", | ||
"turbo/no-undeclared-env-vars": "off", | ||
}, | ||
ignorePatterns: ["**/.eslintrc.js", "**/*.config.js", "dist", "yarn.lock", ".turbo"], | ||
reportUnusedDisableDirectives: true, | ||
extends: [ | ||
"turbo", | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"prettier", | ||
], | ||
env: { | ||
es2022: true, | ||
node: true, | ||
}, | ||
parser: "@typescript-eslint/parser", | ||
parserOptions: { | ||
project: true, | ||
}, | ||
plugins: ["@typescript-eslint", "import"], | ||
rules: { | ||
"@typescript-eslint/no-unused-vars": [ | ||
"error", | ||
{ argsIgnorePattern: "^_", varsIgnorePattern: "^_" }, | ||
], | ||
"@typescript-eslint/consistent-type-imports": [ | ||
"warn", | ||
{ prefer: "type-imports", fixStyle: "separate-type-imports" }, | ||
], | ||
"@typescript-eslint/no-misused-promises": "off", | ||
"@typescript-eslint/no-empty-object-type": "off", | ||
"@typescript-eslint/strict-boolean-expressions": 0, | ||
"@typescript-eslint/no-explicit-any": 0, | ||
"@typescript-eslint/ban-ts-comment": 0, | ||
"@typescript-eslint/no-redeclare": "off", | ||
"import/consistent-type-specifier-style": "off", | ||
"turbo/no-undeclared-env-vars": "off", | ||
}, | ||
ignorePatterns: [ | ||
"**/.eslintrc.js", | ||
"**/*.config.js", | ||
"dist", | ||
"yarn.lock", | ||
".turbo", | ||
], | ||
reportUnusedDisableDirectives: true, | ||
settings: { | ||
"import/ignore": ["node_modules(\\\\|/)react-native(\\\\|/)index\\.js$"], | ||
}, | ||
}; | ||
|
||
module.exports = config; |
Oops, something went wrong.