Skip to content

Commit 6c07331

Browse files
committed
chore: upgrade turbo
1 parent c8ef94b commit 6c07331

File tree

2 files changed

+106
-45
lines changed

2 files changed

+106
-45
lines changed

package.json

+84-23
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"eslint-plugin-svelte3": "^4.0.0",
4141
"prettier": "2.8.1",
4242
"prettier-plugin-svelte": "^2.8.1",
43-
"turbo": "1.6.3",
43+
"turbo": "1.8.8",
4444
"typescript": "4.9.4"
4545
},
4646
"engines": {
@@ -119,12 +119,22 @@
119119
],
120120
"overrides": [
121121
{
122-
"files": ["*.ts", "*.tsx"],
122+
"files": [
123+
"*.ts",
124+
"*.tsx"
125+
],
123126
"parser": "@typescript-eslint/parser",
124127
"parserOptions": {
125-
"project": ["./packages/**/tsconfig.json", "./apps/**/tsconfig.json"]
128+
"project": [
129+
"./packages/**/tsconfig.json",
130+
"./apps/**/tsconfig.json"
131+
]
132+
},
133+
"settings": {
134+
"react": {
135+
"version": "18"
136+
}
126137
},
127-
"settings": { "react": { "version": "18" } },
128138
"extends": [
129139
"plugin:react/recommended",
130140
"plugin:react/jsx-runtime",
@@ -143,42 +153,89 @@
143153
}
144154
},
145155
{
146-
"files": ["*.test.ts", "*.test.js"],
147-
"extends": ["plugin:jest/recommended"],
148-
"env": { "jest": true }
156+
"files": [
157+
"*.test.ts",
158+
"*.test.js"
159+
],
160+
"extends": [
161+
"plugin:jest/recommended"
162+
],
163+
"env": {
164+
"jest": true
165+
}
149166
},
150167
{
151-
"files": ["docs/**"],
152-
"plugins": ["@docusaurus"],
153-
"extends": ["plugin:@docusaurus/recommended"]
168+
"files": [
169+
"docs/**"
170+
],
171+
"plugins": [
172+
"@docusaurus"
173+
],
174+
"extends": [
175+
"plugin:@docusaurus/recommended"
176+
]
154177
},
155178
{
156-
"files": ["packages/{core,sveltekit}/*.ts"],
157-
"plugins": ["jsdoc"],
158-
"extends": ["plugin:jsdoc/recommended"],
179+
"files": [
180+
"packages/{core,sveltekit}/*.ts"
181+
],
182+
"plugins": [
183+
"jsdoc"
184+
],
185+
"extends": [
186+
"plugin:jsdoc/recommended"
187+
],
159188
"rules": {
160189
"jsdoc/require-param": "off",
161190
"jsdoc/require-returns": "off",
162191
"jsdoc/require-jsdoc": [
163192
"warn",
164-
{ "publicOnly": true, "enableFixer": false }
193+
{
194+
"publicOnly": true,
195+
"enableFixer": false
196+
}
197+
],
198+
"jsdoc/no-multi-asterisks": [
199+
"warn",
200+
{
201+
"allowWhitespace": true
202+
}
165203
],
166-
"jsdoc/no-multi-asterisks": ["warn", { "allowWhitespace": true }],
167204
"jsdoc/tag-lines": "off"
168205
}
169206
},
170207
{
171-
"files": ["packages/frameworks-sveltekit"],
172-
"plugins": ["svelte3"],
173-
"overrides": [{ "files": ["*.svelte"], "processor": "svelte3/svelte3" }],
174-
"parserOptions": { "sourceType": "module", "ecmaVersion": 2020 },
175-
"env": { "browser": true, "es2017": true, "node": true }
208+
"files": [
209+
"packages/frameworks-sveltekit"
210+
],
211+
"plugins": [
212+
"svelte3"
213+
],
214+
"overrides": [
215+
{
216+
"files": [
217+
"*.svelte"
218+
],
219+
"processor": "svelte3/svelte3"
220+
}
221+
],
222+
"parserOptions": {
223+
"sourceType": "module",
224+
"ecmaVersion": 2020
225+
},
226+
"env": {
227+
"browser": true,
228+
"es2017": true,
229+
"node": true
230+
}
176231
}
177232
],
178233
"parserOptions": {
179234
"sourceType": "module",
180235
"ecmaVersion": "latest",
181-
"ecmaFeatures": { "jsx": true }
236+
"ecmaFeatures": {
237+
"jsx": true
238+
}
182239
},
183240
"root": true
184241
},
@@ -191,10 +248,14 @@
191248
"apps/dev/nextjs/pages/api/auth/[...nextauth].ts",
192249
"docs/{sidebars,docusaurus.config}.js"
193250
],
194-
"options": { "printWidth": 150 }
251+
"options": {
252+
"printWidth": 150
253+
}
195254
},
196255
{
197-
"files": ["**/*package.json"],
256+
"files": [
257+
"**/*package.json"
258+
],
198259
"options": {
199260
"trailingComma": "none"
200261
}

pnpm-lock.yaml

+22-22
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)