@plone/aurora 1.0.0-alpha.27 → 1.0.0-alpha.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/dist/catalog.json +73 -0
  2. package/dist/preset.d.ts +25 -0
  3. package/dist/preset.js +14 -0
  4. package/dist/registry-publicui.config.d.ts +8 -0
  5. package/dist/registry-publicui.config.js +14 -0
  6. package/dist/registry.config.d.ts +16 -0
  7. package/dist/registry.config.js +17 -0
  8. package/dist/routes.d.ts +25 -0
  9. package/dist/routes.js +23 -0
  10. package/dist/vite.d.ts +24 -0
  11. package/dist/vite.js +135 -0
  12. package/package.json +93 -47
  13. package/pnpmfile.cjs +20 -0
  14. package/server.js +2 -1
  15. package/{app → src/app}/config/index.ts +1 -2
  16. package/{app → src/app}/config/server.server.ts +2 -4
  17. package/{app → src/app}/entry.client.tsx +1 -0
  18. package/{app → src/app}/entry.server.tsx +2 -1
  19. package/{app → src/app}/i18next.server.test.ts +48 -1
  20. package/{app → src/app}/i18next.server.ts +22 -14
  21. package/{app → src/app}/middleware.server.test.ts +0 -68
  22. package/{app → src/app}/middleware.server.ts +32 -40
  23. package/src/app/root.server.ts +124 -0
  24. package/{app → src/app}/root.test.tsx +36 -7
  25. package/src/app/root.tsx +101 -0
  26. package/.release-it.json +0 -32
  27. package/.stylelintrc +0 -8
  28. package/CHANGELOG.md +0 -456
  29. package/Makefile +0 -82
  30. package/acceptance/tests/anonymous-401-redirect.test.ts +0 -75
  31. package/acceptance/tests/basic.test.ts +0 -14
  32. package/acceptance/tests/hydration.test.ts +0 -106
  33. package/acceptance/tests/multilingual-root-redirect.test.ts +0 -45
  34. package/app/root.tsx +0 -191
  35. package/app/routes.ts +0 -20
  36. package/news/.gitkeep +0 -0
  37. package/public/favicon.ico +0 -0
  38. package/public/icon.svg +0 -13
  39. package/react-router.config.ts +0 -11
  40. package/registry-publicui.config.ts +0 -11
  41. package/registry.config.ts +0 -16
  42. package/tests/setup.ts +0 -6
  43. package/tests/testHelpers.tsx +0 -29
  44. package/towncrier.toml +0 -33
  45. package/tsconfig.json +0 -35
  46. package/vite.config.ts +0 -120
  47. package/vitest.config.ts +0 -32
  48. /package/{app → src/app}/config/index.test.ts +0 -0
  49. /package/{app → src/app}/config/server/content-migrations.server.test.ts +0 -0
  50. /package/{app → src/app}/config/server/content-migrations.server.ts +0 -0
  51. /package/{app → src/app}/config/server/migrations.server.ts +0 -0
  52. /package/{app → src/app}/config/server.server.test.ts +0 -0
  53. /package/{app → src/app}/config/types.ts +0 -0
  54. /package/{app → src/app}/i18n.ts +0 -0
  55. /package/{app → src/app}/okroute.test.tsx +0 -0
  56. /package/{app → src/app}/okroute.tsx +0 -0
  57. /package/{app → src/app}/reset-fetcher.test.tsx +0 -0
  58. /package/{app → src/app}/reset-fetcher.tsx +0 -0
package/vitest.config.ts DELETED
@@ -1,32 +0,0 @@
1
- import { coverageConfigDefaults, defineConfig } from 'vitest/config';
2
-
3
- // https://vitejs.dev/config/
4
- export default defineConfig({
5
- plugins: [],
6
- test: {
7
- globals: true,
8
- environment: 'jsdom',
9
- setupFiles: ['./tests/setup.ts'],
10
- // you might want to disable it, if you don't have tests that rely on CSS
11
- // since parsing CSS is slow
12
- // css: true,
13
- exclude: ['**/node_modules/**', '**/lib/**', '**/acceptance/**'],
14
- coverage: {
15
- exclude: [
16
- ...coverageConfigDefaults.exclude,
17
- 'packages/**',
18
- 'build/**',
19
- '*.config.ts',
20
- '.plone/**',
21
- 'app/entry.server.tsx',
22
- 'app/entry.client.tsx',
23
- 'app/i18next.server.ts',
24
- 'app/i18n.ts',
25
- 'app/routes.ts',
26
- ],
27
- },
28
- },
29
- resolve: {
30
- tsconfigPaths: true,
31
- },
32
- });
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes