rename to core

This commit is contained in:
2025-12-15 13:46:07 +01:00
parent aedf58643d
commit 5c22f8820c
559 changed files with 415 additions and 767 deletions

View File

@@ -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/*'),
},
},
});