@raclettejs/core 0.1.23 → 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.
- package/CHANGELOG.md +29 -0
- package/bin/cli.js +2 -2
- package/dist/cli.js +136 -155
- package/dist/cli.js.map +4 -4
- package/dist/index.js +15 -16
- package/dist/index.js.map +4 -4
- package/package.json +24 -22
- package/services/backend/.yarn/install-state.gz +0 -0
- package/services/backend/package.json +21 -19
- package/services/backend/src/core/contracting/contractRegistrar.ts +1 -1
- package/services/backend/src/core/pluginSystem/configGenerator/generatorTypes.ts +1 -0
- package/services/backend/src/core/pluginSystem/configGenerator/index.ts +2 -2
- package/services/backend/src/core/pluginSystem/pluginLoader.ts +99 -44
- package/services/backend/src/core/pluginSystem/pluginTypes.ts +1 -0
- package/services/backend/src/corePlugins/raclette__core/backend/datatypes/user/routes/index.ts +2 -0
- package/services/backend/src/corePlugins/raclette__core/backend/datatypes/user/routes/route.user.patchOwn.ts +68 -0
- package/services/backend/src/corePlugins/raclette__core/backend/datatypes/user/user.model.ts +1 -1
- package/services/backend/tsconfig.json +1 -0
- package/services/backend/yarn.lock +698 -1061
- package/services/frontend/.yarn/install-state.gz +0 -0
- package/services/frontend/eslint.config.js +9 -0
- package/services/frontend/index.html +3 -3
- package/services/frontend/package.json +30 -28
- package/services/frontend/src/core/setup/plugin-system/discovery/app-plugins.ts +43 -4
- package/services/frontend/src/orchestrator/ProductOrchestrator.vue +10 -11
- package/services/frontend/src/orchestrator/assets/styles/layers.css +11 -0
- package/services/frontend/src/orchestrator/assets/styles/tailwindStyles.css +5 -11
- package/services/frontend/src/orchestrator/assets/styles/vuetifyStyles.scss +0 -4
- package/services/frontend/src/orchestrator/components/composition/WidgetsLayoutLoader.vue +5 -18
- package/services/frontend/src/orchestrator/composables/useWidgets/helperFunctions.ts +54 -5
- package/services/frontend/src/orchestrator/helpers/index.ts +1 -0
- package/services/frontend/src/orchestrator/helpers/widgetVisuals.ts +71 -0
- package/services/frontend/src/orchestrator/setup/vuetify.ts +2 -0
- package/services/frontend/src/orchestrator/types/Widgets.ts +5 -1
- package/services/frontend/vite.config.ts +22 -9
- package/services/frontend/yarn.lock +0 -5224
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,31 @@ 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
|
+
|
|
10
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>
|
|
11
36
|
|
|
12
37
|
### Fixed
|
|
@@ -33,6 +58,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
33
58
|
|
|
34
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>
|
|
35
60
|
|
|
61
|
+
### Updated
|
|
62
|
+
|
|
63
|
+
- Stack: updated to MongoDB v8.2
|
|
64
|
+
|
|
36
65
|
### Added
|
|
37
66
|
|
|
38
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
|
})
|