Fix @nextcloud/vue component imports for v9 exports map
Lint info.xml / xml-lint (push) Successful in 22s
Lint PHP / php-lint (8.2) (push) Successful in 52s
Lint PHP / php-lint (8.4) (push) Successful in 1m1s
PHPUnit / unit-tests (push) Successful in 42s
Build release artifact / package (push) Failing after 1m46s
Lint PHP / php-lint (8.3) (push) Successful in 45s
Lint info.xml / xml-lint (push) Successful in 22s
Lint PHP / php-lint (8.2) (push) Successful in 52s
Lint PHP / php-lint (8.4) (push) Successful in 1m1s
PHPUnit / unit-tests (push) Successful in 42s
Build release artifact / package (push) Failing after 1m46s
Lint PHP / php-lint (8.3) (push) Successful in 45s
v9 restricts subpath imports via package.json "exports" to @nextcloud/vue/components/Xxx; the old dist/Components/Xxx.js deep import path used throughout PersonalSettings.vue is no longer resolvable under Node's ESM export map and failed the build.
This commit is contained in:
@@ -132,13 +132,13 @@
|
|||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import { computed, onMounted, reactive, ref } from 'vue'
|
import { computed, onMounted, reactive, ref } from 'vue'
|
||||||
import NcSettingsSection from '@nextcloud/vue/dist/Components/NcSettingsSection.js'
|
import NcSettingsSection from '@nextcloud/vue/components/NcSettingsSection'
|
||||||
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
|
import NcButton from '@nextcloud/vue/components/NcButton'
|
||||||
import NcTextField from '@nextcloud/vue/dist/Components/NcTextField.js'
|
import NcTextField from '@nextcloud/vue/components/NcTextField'
|
||||||
import NcSelect from '@nextcloud/vue/dist/Components/NcSelect.js'
|
import NcSelect from '@nextcloud/vue/components/NcSelect'
|
||||||
import NcCheckboxRadioSwitch from '@nextcloud/vue/dist/Components/NcCheckboxRadioSwitch.js'
|
import NcCheckboxRadioSwitch from '@nextcloud/vue/components/NcCheckboxRadioSwitch'
|
||||||
import NcLoadingIcon from '@nextcloud/vue/dist/Components/NcLoadingIcon.js'
|
import NcLoadingIcon from '@nextcloud/vue/components/NcLoadingIcon'
|
||||||
import NcNoteCard from '@nextcloud/vue/dist/Components/NcNoteCard.js'
|
import NcNoteCard from '@nextcloud/vue/components/NcNoteCard'
|
||||||
import {
|
import {
|
||||||
createWorkflow,
|
createWorkflow,
|
||||||
deleteWorkflow,
|
deleteWorkflow,
|
||||||
|
|||||||
Reference in New Issue
Block a user