rename to core
This commit is contained in:
@@ -7,7 +7,7 @@ export default defineConfig({
|
||||
watch: false,
|
||||
environment: 'jsdom',
|
||||
setupFiles: ['tests/setup/vitest.setup.ts'],
|
||||
include: ['tests/**/*.{test,spec}.?(c|m)[jt]s?(x)', 'packages/**/*.{test,spec}.?(c|m)[jt]s?(x)'],
|
||||
include: ['tests/**/*.{test,spec}.?(c|m)[jt]s?(x)', 'core/**/*.{test,spec}.?(c|m)[jt]s?(x)'],
|
||||
exclude: [
|
||||
// Do not run library-internal tests from dependencies
|
||||
'node_modules/**',
|
||||
@@ -18,16 +18,16 @@ export default defineConfig({
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
'@gridpilot/shared-result': path.resolve(__dirname, 'packages/shared/result/Result.ts'),
|
||||
'@gridpilot/automation': path.resolve(__dirname, 'packages/automation'),
|
||||
'@gridpilot/automation/*': path.resolve(__dirname, 'packages/automation/*'),
|
||||
'@gridpilot/testing-support': path.resolve(__dirname, 'packages/testing-support'),
|
||||
'@gridpilot/media': path.resolve(__dirname, 'packages/media'),
|
||||
'@gridpilot/shared-result': path.resolve(__dirname, 'core/shared/result/Result.ts'),
|
||||
'@gridpilot/automation': path.resolve(__dirname, 'core/automation'),
|
||||
'@gridpilot/automation/*': path.resolve(__dirname, 'core/automation/*'),
|
||||
'@gridpilot/testing-support': path.resolve(__dirname, 'core/testing-support'),
|
||||
'@gridpilot/media': path.resolve(__dirname, 'core/media'),
|
||||
'@': path.resolve(__dirname, 'apps/website'),
|
||||
'@/*': path.resolve(__dirname, 'apps/website/*'),
|
||||
// Support TS-style "packages/*" imports used in tests
|
||||
// Support TS-style "core/*" imports used in tests
|
||||
packages: path.resolve(__dirname, 'packages'),
|
||||
'packages/*': path.resolve(__dirname, 'packages/*'),
|
||||
'core/*': path.resolve(__dirname, 'core/*'),
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user