From 3bef1836437d115887523f6cb2bc0858912fdb14 Mon Sep 17 00:00:00 2001 From: Bas Meeuwissen Date: Sat, 16 May 2026 21:26:22 +0200 Subject: [PATCH 1/4] #778: bumped version to 0.11.0 --- package-lock.json | 46 ++++++++++++++--------------- package.json | 2 +- packages/analysis/package.json | 2 +- packages/build/package.json | 2 +- packages/cli/package.json | 2 +- packages/configuration/package.json | 2 +- packages/errors/package.json | 2 +- packages/execution/package.json | 2 +- packages/health/package.json | 2 +- packages/http/package.json | 2 +- packages/init/package.json | 2 +- packages/jitar/package.json | 2 +- packages/logging/package.json | 2 +- packages/middleware/package.json | 2 +- packages/plugin-vite/package.json | 4 +-- packages/runtime/package.json | 2 +- packages/scheduling/package.json | 2 +- packages/serialization/package.json | 2 +- packages/services/package.json | 2 +- packages/sourcing/package.json | 2 +- packages/validation/package.json | 2 +- tools/eslint-plugin/package.json | 2 +- 22 files changed, 45 insertions(+), 45 deletions(-) diff --git a/package-lock.json b/package-lock.json index de9bb74d..08df9789 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "jitar-monorepo", - "version": "0.10.8", + "version": "0.11.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "jitar-monorepo", - "version": "0.10.8", + "version": "0.11.0", "license": "MIT", "workspaces": [ "packages/*", @@ -5351,12 +5351,12 @@ }, "packages/analysis": { "name": "@jitar/analysis", - "version": "0.10.8", + "version": "0.11.0", "license": "MIT" }, "packages/build": { "name": "@jitar/build", - "version": "0.10.8", + "version": "0.11.0", "license": "MIT", "dependencies": { "@jitar/analysis": "*", @@ -5368,7 +5368,7 @@ }, "packages/cli": { "name": "@jitar/cli", - "version": "0.10.8", + "version": "0.11.0", "license": "MIT", "dependencies": { "@jitar/build": "*", @@ -5382,7 +5382,7 @@ }, "packages/configuration": { "name": "@jitar/configuration", - "version": "0.10.8", + "version": "0.11.0", "license": "MIT", "dependencies": { "@jitar/sourcing": "*", @@ -5403,12 +5403,12 @@ }, "packages/errors": { "name": "@jitar/errors", - "version": "0.10.8", + "version": "0.11.0", "license": "MIT" }, "packages/execution": { "name": "@jitar/execution", - "version": "0.10.8", + "version": "0.11.0", "license": "MIT", "dependencies": { "@jitar/errors": "*", @@ -5417,7 +5417,7 @@ }, "packages/health": { "name": "@jitar/health", - "version": "0.10.8", + "version": "0.11.0", "license": "MIT", "dependencies": { "@jitar/errors": "*", @@ -5426,7 +5426,7 @@ }, "packages/http": { "name": "@jitar/http", - "version": "0.10.8", + "version": "0.11.0", "license": "MIT", "dependencies": { "@jitar/execution": "*", @@ -5443,11 +5443,11 @@ }, "packages/init": { "name": "@jitar/init", - "version": "0.10.8", + "version": "0.11.0", "license": "MIT" }, "packages/jitar": { - "version": "0.10.8", + "version": "0.11.0", "license": "MIT", "dependencies": { "dotenv": "17.4.2", @@ -5480,12 +5480,12 @@ }, "packages/logging": { "name": "@jitar/logging", - "version": "0.10.8", + "version": "0.11.0", "license": "MIT" }, "packages/middleware": { "name": "@jitar/middleware", - "version": "0.10.8", + "version": "0.11.0", "license": "MIT", "dependencies": { "@jitar/errors": "*", @@ -5494,13 +5494,13 @@ }, "packages/plugin-vite": { "name": "@jitar/plugin-vite", - "version": "0.10.8", + "version": "0.11.0", "license": "MIT", "devDependencies": { "vite": "^7.3.0" }, "peerDependencies": { - "jitar": "^0.10.7", + "jitar": "^0.11.0", "vite": ">=4.0.0 || >=5.0.0 || >=6.0.0 || >=7.0.0" }, "peerDependenciesMeta": { @@ -5586,7 +5586,7 @@ }, "packages/runtime": { "name": "@jitar/runtime", - "version": "0.10.8", + "version": "0.11.0", "license": "MIT", "dependencies": { "@jitar/configuration": "*", @@ -5602,7 +5602,7 @@ }, "packages/scheduling": { "name": "@jitar/scheduling", - "version": "0.10.8", + "version": "0.11.0", "license": "MIT", "dependencies": { "@jitar/logging": "*" @@ -5610,7 +5610,7 @@ }, "packages/serialization": { "name": "@jitar/serialization", - "version": "0.10.8", + "version": "0.11.0", "license": "MIT", "dependencies": { "@jitar/analysis": "*" @@ -5618,7 +5618,7 @@ }, "packages/services": { "name": "@jitar/services", - "version": "0.10.8", + "version": "0.11.0", "license": "MIT", "dependencies": { "@jitar/errors": "*", @@ -5631,7 +5631,7 @@ }, "packages/sourcing": { "name": "@jitar/sourcing", - "version": "0.10.8", + "version": "0.11.0", "license": "MIT", "dependencies": { "glob": "13.0.6", @@ -5643,7 +5643,7 @@ }, "packages/validation": { "name": "@jitar/validation", - "version": "0.10.8", + "version": "0.11.0", "license": "MIT", "dependencies": { "@jitar/errors": "*", @@ -5652,7 +5652,7 @@ }, "tools/eslint-plugin": { "name": "eslint-plugin-jitar", - "version": "0.10.8" + "version": "0.11.0" } } } diff --git a/package.json b/package.json index 82af200e..4e56468e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "jitar-monorepo", - "version": "0.10.8", + "version": "0.11.0", "private": true, "description": "Monorepo configuration for Jitar.", "license": "MIT", diff --git a/packages/analysis/package.json b/packages/analysis/package.json index e7dbac4b..dd033a4e 100644 --- a/packages/analysis/package.json +++ b/packages/analysis/package.json @@ -1,6 +1,6 @@ { "name": "@jitar/analysis", - "version": "0.10.8", + "version": "0.11.0", "description": "Application analysis library for the Jitar runtime.", "author": "Masking Technology (https://jitar.dev)", "license": "MIT", diff --git a/packages/build/package.json b/packages/build/package.json index b085574c..69473be1 100644 --- a/packages/build/package.json +++ b/packages/build/package.json @@ -1,6 +1,6 @@ { "name": "@jitar/build", - "version": "0.10.8", + "version": "0.11.0", "description": "Application building library for the Jitar runtime.", "author": "Masking Technology (https://jitar.dev)", "license": "MIT", diff --git a/packages/cli/package.json b/packages/cli/package.json index d22be6e7..94371cd9 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@jitar/cli", - "version": "0.10.8", + "version": "0.11.0", "description": "CLI tool for the Jitar runtime.", "author": "Masking Technology (https://jitar.dev)", "license": "MIT", diff --git a/packages/configuration/package.json b/packages/configuration/package.json index c2fd216e..ec399cc9 100644 --- a/packages/configuration/package.json +++ b/packages/configuration/package.json @@ -1,6 +1,6 @@ { "name": "@jitar/configuration", - "version": "0.10.8", + "version": "0.11.0", "description": "Configuration library for the Jitar runtime.", "author": "Masking Technology (https://jitar.dev)", "license": "MIT", diff --git a/packages/errors/package.json b/packages/errors/package.json index de4b9751..03dea7ce 100644 --- a/packages/errors/package.json +++ b/packages/errors/package.json @@ -1,6 +1,6 @@ { "name": "@jitar/errors", - "version": "0.10.8", + "version": "0.11.0", "description": "Error library for the Jitar runtime.", "author": "Masking Technology (https://jitar.dev)", "license": "MIT", diff --git a/packages/execution/package.json b/packages/execution/package.json index a5878b90..eff7b284 100644 --- a/packages/execution/package.json +++ b/packages/execution/package.json @@ -1,6 +1,6 @@ { "name": "@jitar/execution", - "version": "0.10.8", + "version": "0.11.0", "description": "Execution library for the Jitar runtime.", "author": "Masking Technology (https://jitar.dev)", "license": "MIT", diff --git a/packages/health/package.json b/packages/health/package.json index 654299c7..414ceb9d 100644 --- a/packages/health/package.json +++ b/packages/health/package.json @@ -1,6 +1,6 @@ { "name": "@jitar/health", - "version": "0.10.8", + "version": "0.11.0", "description": "Health library for the Jitar runtime.", "author": "Masking Technology (https://jitar.dev)", "license": "MIT", diff --git a/packages/http/package.json b/packages/http/package.json index 0332f33a..5152b0fd 100644 --- a/packages/http/package.json +++ b/packages/http/package.json @@ -1,6 +1,6 @@ { "name": "@jitar/http", - "version": "0.10.8", + "version": "0.11.0", "description": "HTTP implementations library for the Jitar runtime.", "author": "Masking Technology (https://jitar.dev)", "license": "MIT", diff --git a/packages/init/package.json b/packages/init/package.json index 72ce0ad0..49973de7 100644 --- a/packages/init/package.json +++ b/packages/init/package.json @@ -1,6 +1,6 @@ { "name": "@jitar/init", - "version": "0.10.8", + "version": "0.11.0", "description": "Init utility for creating new Jitar applications quickly.", "author": "Masking Technology (https://jitar.dev)", "license": "MIT", diff --git a/packages/jitar/package.json b/packages/jitar/package.json index 7de052d4..176014aa 100644 --- a/packages/jitar/package.json +++ b/packages/jitar/package.json @@ -1,6 +1,6 @@ { "name": "jitar", - "version": "0.10.8", + "version": "0.11.0", "description": "Distributed runtime for JavaScript and TypeScript to chop monolithic applications into micros.", "author": "Masking Technology (https://jitar.dev)", "license": "MIT", diff --git a/packages/logging/package.json b/packages/logging/package.json index d5a33053..07db320b 100644 --- a/packages/logging/package.json +++ b/packages/logging/package.json @@ -1,6 +1,6 @@ { "name": "@jitar/logging", - "version": "0.10.8", + "version": "0.11.0", "description": "Logging library for the Jitar runtime.", "author": "Masking Technology (https://jitar.dev)", "license": "MIT", diff --git a/packages/middleware/package.json b/packages/middleware/package.json index 5de40043..5f493ba1 100644 --- a/packages/middleware/package.json +++ b/packages/middleware/package.json @@ -1,6 +1,6 @@ { "name": "@jitar/middleware", - "version": "0.10.8", + "version": "0.11.0", "description": "Middleware library for the Jitar runtime.", "author": "Masking Technology (https://jitar.dev)", "license": "MIT", diff --git a/packages/plugin-vite/package.json b/packages/plugin-vite/package.json index e0b4a5a3..b598ddae 100644 --- a/packages/plugin-vite/package.json +++ b/packages/plugin-vite/package.json @@ -1,6 +1,6 @@ { "name": "@jitar/plugin-vite", - "version": "0.10.8", + "version": "0.11.0", "description": "Vite plugin for Jitar.", "author": "Masking Technology (https://jitar.dev)", "license": "MIT", @@ -31,7 +31,7 @@ "vite": "^7.3.0" }, "peerDependencies": { - "jitar":"^0.10.7", + "jitar": "^0.11.0", "vite": ">=4.0.0 || >=5.0.0 || >=6.0.0 || >=7.0.0" }, "peerDependenciesMeta": { diff --git a/packages/runtime/package.json b/packages/runtime/package.json index fc96f6e2..2546f8f8 100644 --- a/packages/runtime/package.json +++ b/packages/runtime/package.json @@ -1,6 +1,6 @@ { "name": "@jitar/runtime", - "version": "0.10.8", + "version": "0.11.0", "description": "Client and server runtime library for the Jitar runtime.", "author": "Masking Technology (https://jitar.dev)", "license": "MIT", diff --git a/packages/scheduling/package.json b/packages/scheduling/package.json index af3d8baf..aaeac4d1 100644 --- a/packages/scheduling/package.json +++ b/packages/scheduling/package.json @@ -1,6 +1,6 @@ { "name": "@jitar/scheduling", - "version": "0.10.8", + "version": "0.11.0", "description": "Task scheduling library for the Jitar runtime.", "author": "Masking Technology (https://jitar.dev)", "license": "MIT", diff --git a/packages/serialization/package.json b/packages/serialization/package.json index 972c71f2..cbdf3283 100644 --- a/packages/serialization/package.json +++ b/packages/serialization/package.json @@ -1,6 +1,6 @@ { "name": "@jitar/serialization", - "version": "0.10.8", + "version": "0.11.0", "description": "Serialization library for the Jitar runtime.", "author": "Masking Technology (https://jitar.dev)", "license": "MIT", diff --git a/packages/services/package.json b/packages/services/package.json index 6b67b1cb..480fe122 100644 --- a/packages/services/package.json +++ b/packages/services/package.json @@ -1,6 +1,6 @@ { "name": "@jitar/services", - "version": "0.10.8", + "version": "0.11.0", "description": "Services library for the Jitar runtime.", "author": "Masking Technology (https://jitar.dev)", "license": "MIT", diff --git a/packages/sourcing/package.json b/packages/sourcing/package.json index 21c9c569..f8622272 100644 --- a/packages/sourcing/package.json +++ b/packages/sourcing/package.json @@ -1,6 +1,6 @@ { "name": "@jitar/sourcing", - "version": "0.10.8", + "version": "0.11.0", "description": "Sourcing library for the Jitar runtime.", "author": "Masking Technology (https://jitar.dev)", "license": "MIT", diff --git a/packages/validation/package.json b/packages/validation/package.json index 945e2e6e..5224b574 100644 --- a/packages/validation/package.json +++ b/packages/validation/package.json @@ -1,6 +1,6 @@ { "name": "@jitar/validation", - "version": "0.10.8", + "version": "0.11.0", "description": "Validation library for the Jitar runtime.", "author": "Masking Technology (https://jitar.dev)", "license": "MIT", diff --git a/tools/eslint-plugin/package.json b/tools/eslint-plugin/package.json index 54096f25..b8bdf074 100644 --- a/tools/eslint-plugin/package.json +++ b/tools/eslint-plugin/package.json @@ -1,6 +1,6 @@ { "name": "eslint-plugin-jitar", - "version": "0.10.8", + "version": "0.11.0", "private": true, "type": "commonjs", "scripts": {} From 6deab222e91bc8b4dac045ec11c92bbee90d03fb Mon Sep 17 00:00:00 2001 From: Bas Meeuwissen Date: Sat, 16 May 2026 21:30:23 +0200 Subject: [PATCH 2/4] #778: migration guide --- migrations/migrate-from-0.10.x-to-0.11.0.md | 34 +++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 migrations/migrate-from-0.10.x-to-0.11.0.md diff --git a/migrations/migrate-from-0.10.x-to-0.11.0.md b/migrations/migrate-from-0.10.x-to-0.11.0.md new file mode 100644 index 00000000..34294118 --- /dev/null +++ b/migrations/migrate-from-0.10.x-to-0.11.0.md @@ -0,0 +1,34 @@ +# Migrate from 0.10.x to 0.11.0 + +Jitar now supports multiple apps in a monorepo setup. The Vite plugin has been updated to support this new structure and introduces a breaking change. + +The configuration of the Vite plugin has been changed to reflect this. Three parameters have been removed from the plugin configuration: `sourceDir`, `targetDir` and `jitarDir` as these were tied to a single app structure. The newly added parameters are `projectRoot`, `sourceRoot`, `configurationFile` and `environmentFile`. + +The [docs](https://docs.jitar.dev/integrate/vite-plugin.html) contain in-depth information about the updated configuration and an example of how to use it. + +**Before**: + +```ts +const jitarConfig: JitarConfig = { + sourceDir: './src', + targetDir: './dist', + jitarDir: 'domain', + jitarUrl: 'http://localhost:3000', + segments: ['frontend'], + middleware: ['./requesterMiddleware'] +}; +``` + +**Current**: + +```ts +const jitarConfig: JitarConfig = { + projectRoot: '../../', + sourceRoot: '../', + configurationFile: './jitar.json', + environmentFile: './dev.env', + jitarUrl: 'http://localhost:3000', + segments: ['frontend'], + middleware: ['./requesterMiddleware'] +}; +``` From b95203dcd31ce64f7729d18ea2a92b941d02721c Mon Sep 17 00:00:00 2001 From: Bas Meeuwissen Date: Sat, 16 May 2026 21:30:47 +0200 Subject: [PATCH 3/4] #778: deny id-token permissions for workflows --- .github/workflows/codeql.yml | 4 ++++ .github/workflows/nodejsci.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index a0a72b65..fdfdf7d6 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -11,6 +11,10 @@ on: schedule: - cron: '39 10 * * 1' +permissons: + contents: read + id-token: none + jobs: analyze: name: Analyze diff --git a/.github/workflows/nodejsci.yml b/.github/workflows/nodejsci.yml index 6cc8db6e..67561d6d 100644 --- a/.github/workflows/nodejsci.yml +++ b/.github/workflows/nodejsci.yml @@ -6,6 +6,10 @@ on: paths: - 'packages/**' +permissons: + contents: read + id-token: none + jobs: build: From aabd88fd0675b1fbb54b819776df9687508b2621 Mon Sep 17 00:00:00 2001 From: Bas Meeuwissen Date: Sun, 17 May 2026 20:59:42 +0200 Subject: [PATCH 4/4] #778: corrected typo --- .github/workflows/codeql.yml | 2 +- .github/workflows/nodejsci.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index fdfdf7d6..7757f504 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -11,7 +11,7 @@ on: schedule: - cron: '39 10 * * 1' -permissons: +permissions: contents: read id-token: none diff --git a/.github/workflows/nodejsci.yml b/.github/workflows/nodejsci.yml index 67561d6d..3a8b98b4 100644 --- a/.github/workflows/nodejsci.yml +++ b/.github/workflows/nodejsci.yml @@ -6,7 +6,7 @@ on: paths: - 'packages/**' -permissons: +permissions: contents: read id-token: none