Skip to content

Commit c478e09

Browse files
committed
feat(nuxt): support wider Nuxt range
1 parent 5bf4f3c commit c478e09

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

packages/nuxt/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"prepack": "pnpm run build"
4747
},
4848
"peerDependencies": {
49-
"nuxt": "^3.0.0"
49+
"nuxt": "^3.0.0 || ^4.0.0-0"
5050
},
5151
"dependencies": {
5252
"@nuxt/kit": "catalog:",

test/exports.test.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@ describe('exports-snapshot', async () => {
1616
importMode: 'src',
1717
cwd: pkg.path,
1818
})
19-
await expect(yaml.dump(manifest.exports, { sortKeys: (a, b) => a.localeCompare(b) })).toMatchFileSnapshot(
20-
`./exports/${pkg.name.split('/').pop()}.yaml`,
21-
)
19+
await expect(yaml.dump(manifest.exports, { sortKeys: (a, b) => a.localeCompare(b) }))
20+
.toMatchFileSnapshot(`./exports/${pkg.name.split('/').pop()}.yaml`)
2221
})
2322
}
2423
})

0 commit comments

Comments
 (0)