@raclettejs/core 0.1.22 → 0.1.24

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 (36) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/bin/cli.js +2 -2
  3. package/dist/cli.js +136 -155
  4. package/dist/cli.js.map +4 -4
  5. package/dist/index.js +15 -16
  6. package/dist/index.js.map +4 -4
  7. package/package.json +24 -22
  8. package/services/backend/.yarn/install-state.gz +0 -0
  9. package/services/backend/package.json +21 -19
  10. package/services/backend/src/core/contracting/contractRegistrar.ts +1 -1
  11. package/services/backend/src/core/pluginSystem/configGenerator/generatorTypes.ts +1 -0
  12. package/services/backend/src/core/pluginSystem/configGenerator/index.ts +2 -2
  13. package/services/backend/src/core/pluginSystem/pluginLoader.ts +99 -44
  14. package/services/backend/src/core/pluginSystem/pluginTypes.ts +1 -0
  15. package/services/backend/src/corePlugins/raclette__core/backend/datatypes/user/routes/index.ts +2 -0
  16. package/services/backend/src/corePlugins/raclette__core/backend/datatypes/user/routes/route.user.patchOwn.ts +68 -0
  17. package/services/backend/src/corePlugins/raclette__core/backend/datatypes/user/user.model.ts +1 -1
  18. package/services/backend/tsconfig.json +1 -0
  19. package/services/backend/yarn.lock +698 -1061
  20. package/services/frontend/.yarn/install-state.gz +0 -0
  21. package/services/frontend/eslint.config.js +9 -0
  22. package/services/frontend/index.html +3 -3
  23. package/services/frontend/package.json +30 -28
  24. package/services/frontend/src/core/setup/plugin-system/discovery/app-plugins.ts +43 -4
  25. package/services/frontend/src/orchestrator/ProductOrchestrator.vue +10 -11
  26. package/services/frontend/src/orchestrator/assets/styles/layers.css +11 -0
  27. package/services/frontend/src/orchestrator/assets/styles/tailwindStyles.css +5 -11
  28. package/services/frontend/src/orchestrator/assets/styles/vuetifyStyles.scss +0 -4
  29. package/services/frontend/src/orchestrator/components/composition/WidgetsLayoutLoader.vue +5 -18
  30. package/services/frontend/src/orchestrator/composables/useWidgets/helperFunctions.ts +54 -5
  31. package/services/frontend/src/orchestrator/helpers/index.ts +1 -0
  32. package/services/frontend/src/orchestrator/helpers/widgetVisuals.ts +71 -0
  33. package/services/frontend/src/orchestrator/setup/vuetify.ts +2 -0
  34. package/services/frontend/src/orchestrator/types/Widgets.ts +5 -1
  35. package/services/frontend/vite.config.ts +22 -9
  36. package/services/frontend/yarn.lock +0 -5224
package/CHANGELOG.md CHANGED
@@ -7,6 +7,33 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.1.24] - 2026-04-15 <a href="https://gitlab.com/raclettejs/core-dev/-/compare/v0.1.23...v0.1.24" target="_blank" rel="noopener"><b>Overview of all changes</b></a>
11
+
12
+ ### Fixed
13
+
14
+ - ESLint: frontend service uses `tsconfig.app.json` for type-aware TS and proper Vue SFC parsing (this means: eslint is working again!)
15
+ - `build` process works again if the app does not provide a "workbench" override folder
16
+ - `generated-config.ts` is now respecting the actual `frontend` dir for where to place the file
17
+
18
+ ### Changed
19
+
20
+ - ESLint stack pinned to v9-compatible versions (v10 deferred); Tailwind ESLint plugin removed until it works with our setup.
21
+ - Local plugin registration now has a dir fallback for `src/frontend` and `src/backend` to allow a similar structure as npm-packaged plugins
22
+ - Improved the error message you get, when a plugin tries to register their plugin contract multiple times to support finding the bug
23
+ - Frontend/Orchestrator: widget `setup.ts` metadata now allows omitting `color`, `icon`, and `images` in `WidgetDeclaration`; registration now normalizes missing values with deterministic fallbacks (generated HSL color, empty icon, empty images array)
24
+
25
+ ### Updated
26
+
27
+ - Dependency versions.
28
+ - Vuetify 4/tailwind integration
29
+
30
+ ### Added
31
+
32
+ - `patchOwn` endpoint so users can edit their own user object.
33
+ - Backend: added `@app` tsconfig alias analog to frontend
34
+
35
+ ## [0.1.23] - 2026-03-11 <a href="https://gitlab.com/raclettejs/core-dev/-/compare/v0.1.21...v0.1.23" target="_blank" rel="noopener"><b>Overview of all changes</b></a>
36
+
10
37
  ### Fixed
11
38
 
12
39
  - Orchestrator/Frontend: route params with nullish values are now passed properly to widget components
@@ -31,6 +58,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
31
58
 
32
59
  ## [0.1.19] - 12.12.2025 <a href="https://gitlab.com/raclettejs/core/-/compare/v0.1.18...v0.1.19" target="_blank" rel="noopener"><b>Overview of all changes</b></a>
33
60
 
61
+ ### Updated
62
+
63
+ - Stack: updated to MongoDB v8.2
64
+
34
65
  ### Added
35
66
 
36
67
  - Global: added bulk import to interactionLinks, compositions and tags
package/bin/cli.js CHANGED
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
- import { fileURLToPath } from "url"
2
+ import { fileURLToPath, pathToFileURL } from "url"
3
3
  import { dirname, join } from "path"
4
4
 
5
5
  const __filename = fileURLToPath(import.meta.url)
6
6
  const __dirname = dirname(__filename)
7
7
 
8
- import(join(__dirname, "../dist/cli.js")).catch((err) => {
8
+ import(pathToFileURL(join(__dirname, "../dist/cli.js")).href).catch((err) => {
9
9
  console.error("Failed to start racletteJS CLI:", err)
10
10
  process.exit(1)
11
11
  })