зеркало из https://github.com/nextcloud/activity.git
chore: Adjust vite config
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
Родитель
731b1b208e
Коммит
9d0b3251a8
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
13
package.json
13
package.json
|
@ -62,10 +62,11 @@
|
|||
"@nextcloud/cypress": "^1.0.0-beta.8",
|
||||
"@nextcloud/eslint-config": "^8.4.1",
|
||||
"@nextcloud/stylelint-config": "^2.4.0",
|
||||
"@nextcloud/vite-config": "^1.2.3",
|
||||
"@nextcloud/vite-config": "^1.4.0",
|
||||
"@testing-library/cypress": "^10.0.2",
|
||||
"@testing-library/vue": "^5.9.0",
|
||||
"@types/dockerode": "^3.3.29",
|
||||
"@vitest/coverage-v8": "^2.0.2",
|
||||
"@vitest/coverage-v8": "^2.0.5",
|
||||
"@vue/test-utils": "^1.3.6",
|
||||
"@vue/tsconfig": "^0.5.1",
|
||||
"cypress": "^13.13.0",
|
||||
|
@ -73,11 +74,11 @@
|
|||
"cypress-vite": "^1.5.0",
|
||||
"cypress-wait-until": "^3.0.1",
|
||||
"dockerode": "^4.0.2",
|
||||
"eslint-plugin-cypress": "^3.2.0",
|
||||
"happy-dom": "^14.12.3",
|
||||
"eslint-plugin-cypress": "^3.5.0",
|
||||
"happy-dom": "^15.0.0",
|
||||
"typescript": "^5.4.5",
|
||||
"vite": "^5.2.3",
|
||||
"vitest": "^2.0.2",
|
||||
"vite": "^5.4.2",
|
||||
"vitest": "^2.0.5",
|
||||
"vue-template-compiler": "^2.7.16",
|
||||
"wait-on": "^7.2.0"
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import type { UserConfig } from 'vitest'
|
||||
import type { UserConfig } from 'vitest/node'
|
||||
import { createAppConfig } from '@nextcloud/vite-config'
|
||||
import { join } from 'path'
|
||||
|
||||
|
@ -13,15 +13,10 @@ export default createAppConfig({
|
|||
adminSettings: join(__dirname, 'src', 'settings-admin.js'),
|
||||
}, {
|
||||
inlineCSS: { relativeCSSInjection: true },
|
||||
thirdPartyLicense: false,
|
||||
// for REUSE we should enable:
|
||||
// extractLicenseInformation: true,
|
||||
config: {
|
||||
experimental: {
|
||||
renderBuiltUrl(filename) {
|
||||
return {
|
||||
// already contains the "js/" prefix as it is our output file configuration
|
||||
runtime: `OC.filePath('activity', '', '${filename}')`,
|
||||
}
|
||||
},
|
||||
},
|
||||
// Setup for vitest unit tests
|
||||
test: {
|
||||
environment: 'happy-dom',
|
||||
|
|
Загрузка…
Ссылка в новой задаче