test: remove separate test for baseurl (#22467)

This commit is contained in:
Daniel Roe 2023-08-03 14:25:26 +01:00 committed by GitHub
parent f7e2b2bf6e
commit caf8329151
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 11 deletions

View File

@ -112,7 +112,6 @@ jobs:
matrix: matrix:
os: [ubuntu-latest, windows-latest] os: [ubuntu-latest, windows-latest]
module: ['bundler', 'node'] module: ['bundler', 'node']
base: ['with-base-url', 'without-base-url']
steps: steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
@ -135,7 +134,6 @@ jobs:
run: pnpm test:types run: pnpm test:types
env: env:
MODULE_RESOLUTION: ${{ matrix.module }} MODULE_RESOLUTION: ${{ matrix.module }}
TS_BASE_URL: ${{ matrix.base }}
lint: lint:
# autofix workflow will be triggered instead for PRs # autofix workflow will be triggered instead for PRs

View File

@ -19,7 +19,7 @@ export default defineUntypedSchema({
*/ */
reactivityTransform: false, reactivityTransform: false,
// TODO: Remove in v3.6 when nitro has support for mocking traced dependencies // TODO: Remove in v3.8 when nitro has support for mocking traced dependencies
// https://github.com/unjs/nitro/issues/1118 // https://github.com/unjs/nitro/issues/1118
/** /**
* Externalize `vue`, `@vue/*` and `vue-router` when building. * Externalize `vue`, `@vue/*` and `vue-router` when building.

View File

@ -28,14 +28,6 @@ export default defineNuxtConfig({
} }
}, },
modules: [ modules: [
function (_, nuxt) {
// TODO: remove in v3.7
if (process.env.TS_BASE_URL === 'without-base-url') {
nuxt.hook('prepare:types', ({ tsConfig }) => {
delete tsConfig.compilerOptions!.baseUrl
})
}
},
function () { function () {
addTypeTemplate({ addTypeTemplate({
filename: 'test.d.ts', filename: 'test.d.ts',