kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
pull/714/head
rodzic
593af9b1d6
commit
50bf69b5cb
|
@ -36,7 +36,7 @@ export default [
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
files: ['apps/e2e/**/*.ts', 'apps/web/src/**/*.{tsx,ts}', 'stdlib'],
|
files: ['apps/e2e/**/*.ts', 'apps/web/src/**/*.{tsx,ts}', 'stdlib/**/*.ts'],
|
||||||
rules: {
|
rules: {
|
||||||
'no-console': 'off'
|
'no-console': 'off'
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,17 +13,17 @@
|
||||||
},
|
},
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "turbo build --filter=!web",
|
"build": "turbo build --filter=!web --concurrency=32",
|
||||||
"dev": "turbo dev --continue --filter=!./examples/*",
|
"dev": "turbo dev --continue --filter=!./examples/*",
|
||||||
"docs": "turbo run docs",
|
"docs": "turbo run docs",
|
||||||
"clean": "turbo clean",
|
"clean": "turbo clean",
|
||||||
"fix": "run-s fix:*",
|
"fix": "run-s fix:*",
|
||||||
"fix:format": "prettier --write \"**/*.{js,ts,tsx}\"",
|
"fix:format": "prettier --write \"**/*.{js,ts,tsx}\"",
|
||||||
"test": "turbo test",
|
"test": "turbo test --concurrency=32",
|
||||||
"test:format": "prettier --check \"**/*.{js,ts,tsx}\"",
|
"test:format": "prettier --check \"**/*.{js,ts,tsx}\"",
|
||||||
"test:lint": "eslint --cache .",
|
"test:lint": "eslint --cache .",
|
||||||
"test:typecheck": "turbo test:typecheck",
|
"test:typecheck": "turbo test:typecheck --concurrency=32",
|
||||||
"test:unit": "turbo test:unit",
|
"test:unit": "turbo test:unit --concurrency=32",
|
||||||
"pretest": "run-s build",
|
"pretest": "run-s build",
|
||||||
"preinstall": "npx only-allow pnpm",
|
"preinstall": "npx only-allow pnpm",
|
||||||
"prerelease": "run-s build",
|
"prerelease": "run-s build",
|
||||||
|
|
|
@ -375,7 +375,6 @@ export namespace Msg {
|
||||||
return Msg.refusal(msg.refusal)
|
return Msg.refusal(msg.refusal)
|
||||||
} else {
|
} else {
|
||||||
// @TODO: probably don't want to error here
|
// @TODO: probably don't want to error here
|
||||||
// eslint-disable-next-line no-console
|
|
||||||
console.warn('Invalid message', msg)
|
console.warn('Invalid message', msg)
|
||||||
throw new Error('Invalid message')
|
throw new Error('Invalid message')
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue