Skip to content

Commit 47210ef

Browse files
committed
chore: upgrade dev dependencies
1 parent b06f40f commit 47210ef

3 files changed

Lines changed: 360 additions & 1022 deletions

File tree

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"@nuxt/test-utils": "0.2.2",
6060
"@nuxt/types": "2.15.8",
6161
"@nuxt/typescript-build": "2.1.0",
62-
"@nuxtjs/eslint-config-typescript": "6.0.1",
62+
"@nuxtjs/eslint-config-typescript": "7.0.2",
6363
"@nuxtjs/tailwindcss": "4.2.1",
6464
"@release-it/conventional-changelog": "3.3.0",
6565
"@sanity/client": "2.21.7",
@@ -68,13 +68,13 @@
6868
"@types/webpack-env": "1.16.3",
6969
"@vue/test-utils": "1.2.2",
7070
"babel-jest": "27.3.1",
71-
"eslint": "7.32.0",
71+
"eslint": "8.1.0",
7272
"husky": "7.0.4",
7373
"jest": "27.3.1",
7474
"jest-serializer-vue-tjw": "3.19.0",
75-
"lint-staged": "11.2.4",
75+
"lint-staged": "11.2.6",
7676
"nuxt": "2.15.8",
77-
"playwright": "1.16.1",
77+
"playwright": "1.16.2",
7878
"release-it": "14.11.6",
7979
"siroc": "0.16.0",
8080
"ts-loader": "8.3.0"

test/e2e/bundle.test.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { resolve } from 'path'
2-
import { readdirSync, readFileSync } from 'fs-extra'
2+
import { readdir, readFile } from 'fs-extra'
33

44
import { setupTest, getNuxt } from '@nuxt/test-utils'
55

@@ -12,17 +12,17 @@ describe('built files', () => {
1212
build: true,
1313
})
1414

15-
it('should not include module requirements', () => {
15+
it('should not include module requirements', async () => {
1616
const { options } = getNuxt()
1717

1818
const clientDistDir = resolve(options.buildDir, './dist/client')
1919

20-
const distContents = readdirSync(clientDistDir)
20+
const distContents = (await Promise.all((await readdir(clientDistDir))
2121
.map(file =>
22-
readFileSync(
22+
readFile(
2323
resolve(options.buildDir, './dist/client', file),
2424
).toString(),
25-
)
25+
)))
2626
.join('\n')
2727

2828
serverDeps.forEach((dep) => {

0 commit comments

Comments
 (0)