Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ on:
schedule:
- cron: '39 10 * * 1'

permissions:
contents: read
id-token: none

jobs:
analyze:
name: Analyze
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/nodejsci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
paths:
- 'packages/**'

permissions:
contents: read
id-token: none

jobs:
build:

Expand Down
34 changes: 34 additions & 0 deletions migrations/migrate-from-0.10.x-to-0.11.0.md
Original file line number Diff line number Diff line change
@@ -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']
};
```
46 changes: 23 additions & 23 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jitar-monorepo",
"version": "0.10.8",
"version": "0.11.0",
"private": true,
"description": "Monorepo configuration for Jitar.",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/analysis/package.json
Original file line number Diff line number Diff line change
@@ -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 <info@masking.tech> (https://jitar.dev)",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/build/package.json
Original file line number Diff line number Diff line change
@@ -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 <info@masking.tech> (https://jitar.dev)",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -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 <info@masking.tech> (https://jitar.dev)",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/configuration/package.json
Original file line number Diff line number Diff line change
@@ -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 <info@masking.tech> (https://jitar.dev)",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/errors/package.json
Original file line number Diff line number Diff line change
@@ -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 <info@masking.tech> (https://jitar.dev)",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/execution/package.json
Original file line number Diff line number Diff line change
@@ -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 <info@masking.tech> (https://jitar.dev)",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/health/package.json
Original file line number Diff line number Diff line change
@@ -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 <info@masking.tech> (https://jitar.dev)",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/http/package.json
Original file line number Diff line number Diff line change
@@ -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 <info@masking.tech> (https://jitar.dev)",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/init/package.json
Original file line number Diff line number Diff line change
@@ -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 <info@masking.tech> (https://jitar.dev)",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/jitar/package.json
Original file line number Diff line number Diff line change
@@ -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 <info@masking.tech> (https://jitar.dev)",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/logging/package.json
Original file line number Diff line number Diff line change
@@ -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 <info@masking.tech> (https://jitar.dev)",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/middleware/package.json
Original file line number Diff line number Diff line change
@@ -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 <info@masking.tech> (https://jitar.dev)",
"license": "MIT",
Expand Down
4 changes: 2 additions & 2 deletions packages/plugin-vite/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jitar/plugin-vite",
"version": "0.10.8",
"version": "0.11.0",
"description": "Vite plugin for Jitar.",
"author": "Masking Technology <info@masking.tech> (https://jitar.dev)",
"license": "MIT",
Expand Down Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion packages/runtime/package.json
Original file line number Diff line number Diff line change
@@ -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 <info@masking.tech> (https://jitar.dev)",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/scheduling/package.json
Original file line number Diff line number Diff line change
@@ -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 <info@masking.tech> (https://jitar.dev)",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/serialization/package.json
Original file line number Diff line number Diff line change
@@ -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 <info@masking.tech> (https://jitar.dev)",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/services/package.json
Original file line number Diff line number Diff line change
@@ -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 <info@masking.tech> (https://jitar.dev)",
"license": "MIT",
Expand Down
Loading
Loading