Skip to content

fix: import nuxt composables from #imports #763

fix: import nuxt composables from #imports

fix: import nuxt composables from #imports #763

Triggered via pull request November 8, 2023 15:25
Status Failure
Total duration 1m 32s
Artifacts

ci.yaml

on: pull_request
test-module
27s
test-module
test-playground-local
1m 15s
test-playground-local
test-playground-authjs
1m 20s
test-playground-authjs
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 8 warnings
test-module: src/runtime/composables/commonAuthState.ts#L5
`../types` import should occur before import of `#imports`
test-module: src/runtime/middleware/auth.ts#L2
`../utils/url` import should occur before import of `#imports`
test-module: src/runtime/plugin.ts#L1
`#imports` import should occur after import of `./middleware/auth`
test-module
Process completed with exit code 1.
test-module: src/runtime/composables/commonAuthState.ts#L4
'/home/runner/work/nuxt-auth/nuxt-auth/playground-local/.nuxt/imports.d.ts' imported multiple times
test-module: src/runtime/composables/commonAuthState.ts#L6
'/home/runner/work/nuxt-auth/nuxt-auth/playground-local/.nuxt/imports.d.ts' imported multiple times
test-module: src/runtime/middleware/auth.ts#L1
'/home/runner/work/nuxt-auth/nuxt-auth/playground-local/.nuxt/imports.d.ts' imported multiple times
test-module: src/runtime/middleware/auth.ts#L3
'/home/runner/work/nuxt-auth/nuxt-auth/playground-local/.nuxt/imports.d.ts' imported multiple times
test-module: src/runtime/plugin.ts#L1
'/home/runner/work/nuxt-auth/nuxt-auth/playground-local/.nuxt/imports.d.ts' imported multiple times
test-module: src/runtime/plugin.ts#L4
'/home/runner/work/nuxt-auth/nuxt-auth/playground-local/.nuxt/imports.d.ts' imported multiple times
test-module: src/runtime/utils/url.ts#L4
'/home/runner/work/nuxt-auth/nuxt-auth/playground-local/.nuxt/imports.d.ts' imported multiple times
test-module: src/runtime/utils/url.ts#L5
'/home/runner/work/nuxt-auth/nuxt-auth/playground-local/.nuxt/imports.d.ts' imported multiple times