kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
fix: CI and turbo BS
rodzic
9f4b141856
commit
cf2c894347
|
@ -13,8 +13,7 @@
|
|||
},
|
||||
"ecmaVersion": "latest",
|
||||
"sourceType": "module",
|
||||
// TODO: move to ./packages/tsconfig/tsconfig.json
|
||||
"project": "./packages/core/tsconfig.json"
|
||||
"project": "tsconfig.json"
|
||||
},
|
||||
"rules": {
|
||||
"@typescript-eslint/no-unused-vars": [
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
module.exports = {
|
||||
snapshotDir: 'test/.snapshots',
|
||||
failFast: true,
|
||||
extensions: {
|
||||
ts: 'module'
|
||||
},
|
||||
nodeArguments: ['--loader=tsx', '--no-warnings'],
|
||||
timeout: '30s'
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
.snapshots/
|
||||
build/
|
||||
dist/
|
||||
node_modules/
|
||||
.next/
|
||||
.vercel/
|
|
@ -7,7 +7,10 @@
|
|||
"scripts": {
|
||||
"dev": "next dev",
|
||||
"build-web": "next build",
|
||||
"start": "next start"
|
||||
"start": "next start",
|
||||
"eslint-check": "eslint \"**/*.{ts,tsx}\"",
|
||||
"prettier-check": "prettier --check \"**/*.{js,ts,tsx,md,mdx}\"",
|
||||
"prettier-write": "prettier --write \"**/*.{js,ts,tsx,md,mdx}\""
|
||||
},
|
||||
"dependencies": {
|
||||
"next": "13.4.7",
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"name": "agentic",
|
||||
"private": true,
|
||||
"description": "Everything you need to build reliable AI agents with TypeScript.",
|
||||
"author": "Travis Fischer <travis@transitivebullsh.it>",
|
||||
|
@ -19,9 +20,6 @@
|
|||
"release": "turbo clean && turbo build && changeset publish",
|
||||
"test": "turbo test",
|
||||
"pre-commit": "lint-staged",
|
||||
"eslint-check": "eslint \"**/*.{ts,tsx}\"",
|
||||
"prettier-check": "prettier --check \"**/*.{js,ts,tsx,md,mdx}\"",
|
||||
"prettier-write": "prettier --write \"**/*.{js,ts,tsx,md,mdx}\"",
|
||||
"version-packages": "changeset version"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
.snapshots/
|
||||
build/
|
||||
dist/
|
||||
node_modules/
|
||||
.next/
|
||||
.vercel/
|
|
@ -26,7 +26,10 @@
|
|||
"build-lib": "tsup",
|
||||
"dev": "tsup --watch",
|
||||
"clean": "del build",
|
||||
"test": "NODE_OPTIONS='--loader=tsx --no-warnings' ava"
|
||||
"unit-test": "ava",
|
||||
"eslint-check": "eslint \"**/*.{ts,tsx}\"",
|
||||
"prettier-check": "prettier --check \"**/*.{js,ts,tsx,md,mdx}\"",
|
||||
"prettier-write": "prettier --write \"**/*.{js,ts,tsx,md,mdx}\""
|
||||
},
|
||||
"dependencies": {
|
||||
"@agentic/midjourney-fetch": "^1.0.1",
|
||||
|
@ -64,24 +67,12 @@
|
|||
"devDependencies": {
|
||||
"@keyv/redis": "^2.6.1",
|
||||
"@types/debug": "^4.1.8",
|
||||
"@types/node": "^20.3.2",
|
||||
"@types/sinon": "^10.0.15",
|
||||
"expect-type": "^0.16.0",
|
||||
"hash-obj": "^4.0.0",
|
||||
"ioredis": "^5.3.2",
|
||||
"keyv": "^4.5.2"
|
||||
},
|
||||
"ava": {
|
||||
"snapshotDir": "test/.snapshots",
|
||||
"failFast": true,
|
||||
"extensions": {
|
||||
"ts": "module"
|
||||
},
|
||||
"nodeArguments": [
|
||||
"--loader=tsx",
|
||||
"--no-warnings"
|
||||
]
|
||||
},
|
||||
"keywords": [
|
||||
"ai",
|
||||
"openai",
|
||||
|
|
|
@ -1,17 +1,6 @@
|
|||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"target": "es2020",
|
||||
"lib": ["esnext", "es2022.error", "DOM"],
|
||||
"allowJs": true,
|
||||
"skipLibCheck": true,
|
||||
"strict": true,
|
||||
"noImplicitAny": false,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"esModuleInterop": true,
|
||||
"module": "esnext",
|
||||
"moduleResolution": "node",
|
||||
"resolveJsonModule": true,
|
||||
"isolatedModules": true,
|
||||
"baseUrl": ".",
|
||||
"outDir": "build",
|
||||
"noEmit": true,
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"composite": false,
|
||||
"target": "es2020",
|
||||
"lib": ["esnext", "es2022.error", "DOM"],
|
||||
"allowJs": true,
|
||||
"skipLibCheck": true,
|
||||
"strict": true,
|
||||
"noImplicitAny": false,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"esModuleInterop": true,
|
||||
"module": "esnext",
|
||||
"moduleResolution": "node",
|
||||
"resolveJsonModule": true,
|
||||
"isolatedModules": true,
|
||||
"noEmit": true
|
||||
}
|
||||
}
|
|
@ -13,15 +13,19 @@
|
|||
},
|
||||
"test": {
|
||||
"dependsOn": [
|
||||
"^build",
|
||||
"^test",
|
||||
"prettier-check",
|
||||
"eslint-check",
|
||||
"build",
|
||||
"unit-test"
|
||||
]
|
||||
},
|
||||
"prettier-check": {},
|
||||
"eslint-check": {},
|
||||
"prettier-check": {
|
||||
"dependsOn": ["^build", "build"]
|
||||
},
|
||||
"eslint-check": {
|
||||
"dependsOn": ["^build", "build"]
|
||||
},
|
||||
"unit-test": {
|
||||
"dotEnv": [".env"],
|
||||
"outputs": ["test/.snapshots"]
|
||||
|
@ -30,8 +34,7 @@
|
|||
"dependsOn": ["^build", "build"]
|
||||
},
|
||||
"clean": {
|
||||
"dependsOn": ["^clean"],
|
||||
"outputs": ["build/**"]
|
||||
"cache": false
|
||||
},
|
||||
"dev": {
|
||||
"cache": false,
|
||||
|
|
Ładowanie…
Reference in New Issue