From 43ccaa0faa5421a4af99e03fd00d8b6ef0b06d99 Mon Sep 17 00:00:00 2001 From: muhammad-salem Date: Sun, 10 Aug 2025 23:13:30 +0300 Subject: [PATCH 1/8] prepare for next dev cycle --- example/package.json | 10 +++++----- lerna.json | 16 ++++++++-------- packages/aurora/package.json | 20 ++++++++++---------- packages/cli/package.json | 14 +++++++------- packages/core/package.json | 8 ++++---- packages/decorators/package.json | 2 +- packages/directives/package.json | 8 ++++---- packages/elements/package.json | 2 +- packages/expressions/package.json | 4 ++-- packages/forms/package.json | 6 +++--- packages/html/package.json | 4 ++-- packages/pipes/package.json | 8 ++++---- packages/platform/package.json | 2 +- packages/router/package.json | 8 ++++---- 14 files changed, 56 insertions(+), 56 deletions(-) diff --git a/example/package.json b/example/package.json index 06351114..25d9d453 100644 --- a/example/package.json +++ b/example/package.json @@ -1,6 +1,6 @@ { "name": "@ibyar/example", - "version": "4.0.0", + "version": "4.0.1", "description": "Aurora test, all the test apps, used while building this lib", "license": "MIT", "homepage": "https://github.com/ibyar/aurora", @@ -16,15 +16,15 @@ "access": "restricted" }, "dependencies": { - "@ibyar/aurora": "^4.0.0", - "@ibyar/forms": "^4.0.0", + "@ibyar/aurora": "^4.0.1", + "@ibyar/forms": "^4.0.1", "@popperjs/core": "^2.11.8", "bootstrap": "^5.3.3", "rxjs": "^7.8.1", "tslib": "^2.8.1" }, "devDependencies": { - "@ibyar/cli": "^4.0.0", + "@ibyar/cli": "^4.0.1", "typescript": "^5.8.3" }, "scripts": { @@ -34,4 +34,4 @@ "ibyar:watch": "npx ibyar --build --watch --verbose", "esmpack:watch": "npx @ibyar/esmpack -w" } -} +} \ No newline at end of file diff --git a/lerna.json b/lerna.json index a1ea9388..cc213add 100644 --- a/lerna.json +++ b/lerna.json @@ -1,9 +1,9 @@ { - "version": "4.0.0", - "npmClient": "npm", - "command": { - "publish": { - "access": "public" - } - } -} + "version": "4.0.1", + "npmClient": "npm", + "command": { + "publish": { + "access": "public" + } + } +} \ No newline at end of file diff --git a/packages/aurora/package.json b/packages/aurora/package.json index 39e784cf..5a8e3996 100644 --- a/packages/aurora/package.json +++ b/packages/aurora/package.json @@ -1,6 +1,6 @@ { "name": "@ibyar/aurora", - "version": "4.0.0", + "version": "4.0.1", "description": "Create and define a usable 'custom elements', that compatible with other frameworks, using Typescript", "license": "MIT", "homepage": "https://github.com/ibyar/aurora", @@ -34,15 +34,15 @@ "access": "public" }, "dependencies": { - "@ibyar/core": "^4.0.0", - "@ibyar/decorators": "^4.0.0", - "@ibyar/directives": "^4.0.0", - "@ibyar/elements": "^4.0.0", - "@ibyar/expressions": "^4.0.0", - "@ibyar/pipes": "^4.0.0", - "@ibyar/platform": "^4.0.0", - "@ibyar/router": "^4.0.0", - "@ibyar/forms": "^4.0.0", + "@ibyar/core": "^4.0.1", + "@ibyar/decorators": "^4.0.1", + "@ibyar/directives": "^4.0.1", + "@ibyar/elements": "^4.0.1", + "@ibyar/expressions": "^4.0.1", + "@ibyar/pipes": "^4.0.1", + "@ibyar/platform": "^4.0.1", + "@ibyar/router": "^4.0.1", + "@ibyar/forms": "^4.0.1", "tslib": "^2.8.1" }, "peerDependencies": { diff --git a/packages/cli/package.json b/packages/cli/package.json index b4bd736a..4b8ab14e 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@ibyar/cli", - "version": "4.0.0", + "version": "4.0.1", "description": "The Ibyar/Aurora CLI tool", "license": "MIT", "homepage": "https://github.com/ibyar/aurora", @@ -37,12 +37,12 @@ "access": "public" }, "dependencies": { - "@ibyar/core": "^4.0.0", - "@ibyar/decorators": "^4.0.0", - "@ibyar/directives": "^4.0.0", - "@ibyar/elements": "^4.0.0", - "@ibyar/expressions": "^4.0.0", - "@ibyar/pipes": "^4.0.0", + "@ibyar/core": "^4.0.1", + "@ibyar/decorators": "^4.0.1", + "@ibyar/directives": "^4.0.1", + "@ibyar/elements": "^4.0.1", + "@ibyar/expressions": "^4.0.1", + "@ibyar/pipes": "^4.0.1", "tslib": "^2.8.1", "typescript": "^5.8.3" }, diff --git a/packages/core/package.json b/packages/core/package.json index 0b95aad3..7f251828 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@ibyar/core", - "version": "4.0.0", + "version": "4.0.1", "description": "Ibyar core, Implements Aurora's core functionality, low-level services, and utilities", "license": "MIT", "homepage": "https://github.com/ibyar/aurora/tree/dev/packages/core", @@ -36,9 +36,9 @@ "access": "public" }, "dependencies": { - "@ibyar/decorators": "^4.0.0", - "@ibyar/elements": "^4.0.0", - "@ibyar/expressions": "^4.0.0", + "@ibyar/decorators": "^4.0.1", + "@ibyar/elements": "^4.0.1", + "@ibyar/expressions": "^4.0.1", "tslib": "^2.8.1" }, "peerDependencies": { diff --git a/packages/decorators/package.json b/packages/decorators/package.json index 8faf5f3f..9152a311 100644 --- a/packages/decorators/package.json +++ b/packages/decorators/package.json @@ -1,6 +1,6 @@ { "name": "@ibyar/decorators", - "version": "4.0.0", + "version": "4.0.1", "description": "Ibyar Decorators is implementations for proposal-decorator-metadata", "license": "MIT", "homepage": "https://github.com/ibyar/aurora/tree/dev/packages/decorators", diff --git a/packages/directives/package.json b/packages/directives/package.json index 02958027..3ef08f0c 100644 --- a/packages/directives/package.json +++ b/packages/directives/package.json @@ -1,6 +1,6 @@ { "name": "@ibyar/directives", - "version": "4.0.0", + "version": "4.0.1", "description": "Ibyar directives had the built-in directives for aurora project", "license": "MIT", "homepage": "https://github.com/ibyar/aurora/tree/dev/packages/directives", @@ -34,9 +34,9 @@ "access": "public" }, "dependencies": { - "@ibyar/core": "^4.0.0", - "@ibyar/elements": "^4.0.0", - "@ibyar/platform": "^4.0.0", + "@ibyar/core": "^4.0.1", + "@ibyar/elements": "^4.0.1", + "@ibyar/platform": "^4.0.1", "tslib": "^2.8.1" }, "devDependencies": { diff --git a/packages/elements/package.json b/packages/elements/package.json index c2838bc9..9fda779f 100644 --- a/packages/elements/package.json +++ b/packages/elements/package.json @@ -1,6 +1,6 @@ { "name": "@ibyar/elements", - "version": "4.0.0", + "version": "4.0.1", "description": "Ibyar elements, hold info about HTMLElements class, attributes and tag name", "license": "MIT", "homepage": "https://github.com/ibyar/aurora/tree/dev/packages/elements", diff --git a/packages/expressions/package.json b/packages/expressions/package.json index b47bbe6c..56c13c73 100644 --- a/packages/expressions/package.json +++ b/packages/expressions/package.json @@ -1,6 +1,6 @@ { "name": "@ibyar/expressions", - "version": "4.0.0", + "version": "4.0.1", "description": "Aurora expression, an template expression and evaluation, An 100% spec compliant ES2022 JavaScript toolchain,", "license": "MIT", "homepage": "https://github.com/ibyar/aurora/tree/dev/packages/expressions", @@ -37,7 +37,7 @@ "access": "public" }, "dependencies": { - "@ibyar/decorators": "^4.0.0", + "@ibyar/decorators": "^4.0.1", "tslib": "^2.8.1" }, "devDependencies": { diff --git a/packages/forms/package.json b/packages/forms/package.json index b5829497..f3d372e6 100644 --- a/packages/forms/package.json +++ b/packages/forms/package.json @@ -1,6 +1,6 @@ { "name": "@ibyar/forms", - "version": "4.0.0", + "version": "4.0.1", "description": "Ibyar forms contain form group, form builder and native ui form group", "license": "MIT", "homepage": "https://github.com/ibyar/aurora/tree/dev/packages/forms", @@ -34,8 +34,8 @@ "access": "public" }, "dependencies": { - "@ibyar/core": "^4.0.0", - "@ibyar/platform": "^4.0.0", + "@ibyar/core": "^4.0.1", + "@ibyar/platform": "^4.0.1", "tslib": "^2.8.1" }, "devDependencies": { diff --git a/packages/html/package.json b/packages/html/package.json index 53dad9c1..734483f9 100644 --- a/packages/html/package.json +++ b/packages/html/package.json @@ -1,6 +1,6 @@ { "name": "@ibyar/html", - "version": "4.0.0", + "version": "4.0.1", "description": "Ibyar HTML, is an HTML parser for @Ibyar/aurora framework.", "license": "MIT", "homepage": "https://github.com/ibyar/aurora/tree/dev/packages/html", @@ -48,4 +48,4 @@ "html", "parser" ] -} +} \ No newline at end of file diff --git a/packages/pipes/package.json b/packages/pipes/package.json index 2afee995..96fcb758 100644 --- a/packages/pipes/package.json +++ b/packages/pipes/package.json @@ -1,6 +1,6 @@ { "name": "@ibyar/pipes", - "version": "4.0.0", + "version": "4.0.1", "description": "Ibyar pipes, build-in pipes for aurora lib, like json, translate, async, etc...", "license": "MIT", "homepage": "https://github.com/ibyar/aurora/tree/dev/packages/pipes", @@ -34,9 +34,9 @@ "access": "public" }, "dependencies": { - "@ibyar/core": "^4.0.0", - "@ibyar/elements": "^4.0.0", - "@ibyar/expressions": "^4.0.0", + "@ibyar/core": "^4.0.1", + "@ibyar/elements": "^4.0.1", + "@ibyar/expressions": "^4.0.1", "tslib": "^2.8.1" }, "devDependencies": { diff --git a/packages/platform/package.json b/packages/platform/package.json index 7d0ce0a3..08a8c130 100644 --- a/packages/platform/package.json +++ b/packages/platform/package.json @@ -1,6 +1,6 @@ { "name": "@ibyar/platform", - "version": "4.0.0", + "version": "4.0.1", "description": "Ibyar Platform, A utility package for Aurora", "license": "MIT", "homepage": "https://github.com/ibyar/aurora/tree/dev/packages/platform", diff --git a/packages/router/package.json b/packages/router/package.json index 9c160761..e2fbed47 100644 --- a/packages/router/package.json +++ b/packages/router/package.json @@ -1,6 +1,6 @@ { "name": "@ibyar/router", - "version": "4.0.0", + "version": "4.0.1", "description": "Ibyar router has the built-in directives for router and navigation", "license": "MIT", "homepage": "https://github.com/ibyar/aurora/tree/dev/packages/router", @@ -34,9 +34,9 @@ "access": "public" }, "dependencies": { - "@ibyar/core": "^4.0.0", - "@ibyar/elements": "^4.0.0", - "@ibyar/platform": "^4.0.0", + "@ibyar/core": "^4.0.1", + "@ibyar/elements": "^4.0.1", + "@ibyar/platform": "^4.0.1", "tslib": "^2.8.1" }, "devDependencies": { From d99111d43f38dacc45af665a7af51638d2212a28 Mon Sep 17 00:00:00 2001 From: muhammad-salem Date: Wed, 17 Jun 2026 15:55:54 +0300 Subject: [PATCH 2/8] update aurora readme --- README.md | 7 ++++--- packages/aurora/README.md | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index d945f864..bf0f5ca8 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Aurora +# ✨ Aurora: A Type-Safe Web Component Framework [![NPM Version][npm-image]][npm-url] [![NPM Downloads][downloads-image]][downloads-url] @@ -109,9 +109,10 @@ [typescript]: https://github.com/Microsoft/typescript [tslib]: https://github.com/Microsoft/tslib -Ibyar Aurora, is a web framework, that can create and define a Web Component standards ('custom elements', 'Shadow DOM' and 'HTML Templates'), that compatible with other frameworks, using Typescript. +Aurora is a powerful and modern framework designed to simplify the creation and management of Web Components. Built with TypeScript, Aurora provides a robust, reactive, and declarative way to build highly maintainable UI libraries and complex single-page applications (SPAs) that adhere strictly to Web Component standards. + +It uses a proprietary embedded JavaScript Engine [@ibyar/expressions](https://npmjs.org/package/@ibyar/expressions) to execute template syntax and attribute binding, offering a clean developer experience while ensuring maximum compatibility across frameworks. -This framework build with-in a embedded JavaScript Engine [@ibyar/expressions](https://npmjs.org/package/@ibyar/expressions) to execute Template syntax and attributes binding. - Demo: https://muhammad-salem.github.io/aurora-demo - API Doc: https://muhammad-salem.github.io/aurora-docs diff --git a/packages/aurora/README.md b/packages/aurora/README.md index d945f864..bf0f5ca8 100644 --- a/packages/aurora/README.md +++ b/packages/aurora/README.md @@ -1,4 +1,4 @@ -# Aurora +# ✨ Aurora: A Type-Safe Web Component Framework [![NPM Version][npm-image]][npm-url] [![NPM Downloads][downloads-image]][downloads-url] @@ -109,9 +109,10 @@ [typescript]: https://github.com/Microsoft/typescript [tslib]: https://github.com/Microsoft/tslib -Ibyar Aurora, is a web framework, that can create and define a Web Component standards ('custom elements', 'Shadow DOM' and 'HTML Templates'), that compatible with other frameworks, using Typescript. +Aurora is a powerful and modern framework designed to simplify the creation and management of Web Components. Built with TypeScript, Aurora provides a robust, reactive, and declarative way to build highly maintainable UI libraries and complex single-page applications (SPAs) that adhere strictly to Web Component standards. + +It uses a proprietary embedded JavaScript Engine [@ibyar/expressions](https://npmjs.org/package/@ibyar/expressions) to execute template syntax and attribute binding, offering a clean developer experience while ensuring maximum compatibility across frameworks. -This framework build with-in a embedded JavaScript Engine [@ibyar/expressions](https://npmjs.org/package/@ibyar/expressions) to execute Template syntax and attributes binding. - Demo: https://muhammad-salem.github.io/aurora-demo - API Doc: https://muhammad-salem.github.io/aurora-docs From b27fbc79e571ee82737f2a2b2b2dc5fa891d38b4 Mon Sep 17 00:00:00 2001 From: muhammad-salem Date: Thu, 16 Jul 2026 14:06:15 +0300 Subject: [PATCH 3/8] fix assign valueControl to the model --- src/core/view/form-view.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/view/form-view.ts b/src/core/view/form-view.ts index a58c5929..9a0bed33 100644 --- a/src/core/view/form-view.ts +++ b/src/core/view/form-view.ts @@ -81,7 +81,7 @@ export function baseFormFactoryView(htmlElementType: Type | undefined; if (typeof componentRef.formAssociated === 'function') { if (this._model instanceof componentRef.formAssociated) { - valueControl == this._model; + valueControl = this._model; } else { const args: any[] = [this]; /* resolve dependency injection*/; valueControl = new componentRef.formAssociated(args); From d73839c8be92f242ee36fbd823fa35a8a5b01ce7 Mon Sep 17 00:00:00 2001 From: muhammad-salem Date: Thu, 16 Jul 2026 14:19:06 +0300 Subject: [PATCH 4/8] add node 26 to target build --- .github/workflows/build-aurora.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-aurora.yml b/.github/workflows/build-aurora.yml index af3731a8..6edc0eea 100644 --- a/.github/workflows/build-aurora.yml +++ b/.github/workflows/build-aurora.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: - node-version: [16.x, 18.x, 20.x, 22.x, 24.x] + node-version: [16.x, 18.x, 20.x, 22.x, 24.x, 26.x] steps: - uses: actions/checkout@v3 From aed6cff5f172e2043dcc3e1b3a20afe7c0ba8a2e Mon Sep 17 00:00:00 2001 From: muhammad-salem Date: Fri, 17 Jul 2026 14:34:00 +0300 Subject: [PATCH 5/8] migrate typescript to version 6 --- example/package.json | 6 ++-- example/tsconfig.json | 1 - package.json | 4 +-- packages/aurora/package.json | 4 +-- packages/aurora/tsconfig.compilerOption.json | 9 +++--- packages/cli/package.json | 2 +- packages/core/package.json | 4 +-- packages/decorators/package.json | 2 +- packages/directives/package.json | 2 +- packages/elements/package.json | 2 +- packages/expressions/package.json | 2 +- packages/forms/package.json | 2 +- packages/html/package.json | 2 +- packages/pipes/package.json | 2 +- packages/platform/package.json | 2 +- packages/router/package.json | 2 +- src/aurora/tsconfig.json | 1 - src/cli/tsconfig.json | 10 +++--- src/core/directive/providers.ts | 3 +- src/core/tsconfig.json | 1 - src/decorators/tsconfig.json | 1 - src/directives/tsconfig.json | 1 - src/elements/tsconfig.json | 1 - src/expressions/api/index.ts | 1 + src/expressions/bin/tsconfig.json | 33 ++++++++++++++++++++ src/expressions/tsconfig.json | 6 ++-- src/forms/tsconfig.json | 1 - src/html/tsconfig.json | 1 - src/pipes/tsconfig.json | 1 - src/platform/tsconfig.json | 1 - src/router/tsconfig.json | 1 - tsconfig.compilerOption.json | 9 +++--- tsconfig.json | 1 + 33 files changed, 73 insertions(+), 48 deletions(-) create mode 100644 src/expressions/bin/tsconfig.json diff --git a/example/package.json b/example/package.json index 25d9d453..100aed45 100644 --- a/example/package.json +++ b/example/package.json @@ -19,13 +19,13 @@ "@ibyar/aurora": "^4.0.1", "@ibyar/forms": "^4.0.1", "@popperjs/core": "^2.11.8", - "bootstrap": "^5.3.3", - "rxjs": "^7.8.1", + "bootstrap": "^5.3.8", + "rxjs": "^7.8.2", "tslib": "^2.8.1" }, "devDependencies": { "@ibyar/cli": "^4.0.1", - "typescript": "^5.8.3" + "typescript": "^6.0.3" }, "scripts": { "build": "npx tsc --build --verbose", diff --git a/example/tsconfig.json b/example/tsconfig.json index b824fffd..260822b8 100644 --- a/example/tsconfig.json +++ b/example/tsconfig.json @@ -6,7 +6,6 @@ ], "extends": "../tsconfig.compilerOption.json", "compilerOptions": { - "baseUrl": ".", "outDir": "dist", "rootDir": "src", "composite": true, diff --git a/package.json b/package.json index e6419f1b..431761e9 100644 --- a/package.json +++ b/package.json @@ -8,11 +8,11 @@ ], "dependencies": { "tslib": "^2.8.1", - "zone.js": "~0.15.1" + "zone.js": "~0.16.2" }, "devDependencies": { "test262-parser-tests": "0.0.5", - "typescript": "^5.8.3" + "typescript": "^6.0.3" }, "scripts": { "clean": "tsc -b --clean example/", diff --git a/packages/aurora/package.json b/packages/aurora/package.json index 5a8e3996..738fc89b 100644 --- a/packages/aurora/package.json +++ b/packages/aurora/package.json @@ -46,10 +46,10 @@ "tslib": "^2.8.1" }, "peerDependencies": { - "zone.js": "~0.15.1" + "zone.js": "~0.16.2" }, "devDependencies": { - "typescript": "^5.8.3" + "typescript": "^6.0.3" }, "scripts": { "build": "tsc --build --verbose", diff --git a/packages/aurora/tsconfig.compilerOption.json b/packages/aurora/tsconfig.compilerOption.json index d5b3d050..e5e691a9 100644 --- a/packages/aurora/tsconfig.compilerOption.json +++ b/packages/aurora/tsconfig.compilerOption.json @@ -9,12 +9,11 @@ "noImplicitThis": true, "noImplicitReturns": true, "strictBindCallApply": true, - "downlevelIteration": true, - "moduleResolution": "Node", - "target": "ES2022", - "module": "ES2022", + "moduleResolution": "bundler", + "target": "es2025", + "module": "es2022", "lib": [ - "ES2022", + "ES2025", "dom" ], "strict": true, diff --git a/packages/cli/package.json b/packages/cli/package.json index 4b8ab14e..7ed067b1 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -44,7 +44,7 @@ "@ibyar/expressions": "^4.0.1", "@ibyar/pipes": "^4.0.1", "tslib": "^2.8.1", - "typescript": "^5.8.3" + "typescript": "^6.0.3" }, "devDependencies": { "@types/node": "24.1.0" diff --git a/packages/core/package.json b/packages/core/package.json index 7f251828..ef05ff44 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -42,10 +42,10 @@ "tslib": "^2.8.1" }, "peerDependencies": { - "zone.js": "~0.15.1" + "zone.js": "~0.16.2" }, "devDependencies": { - "typescript": "^5.8.3" + "typescript": "^6.0.3" }, "scripts": { "build": "tsc --build --verbose", diff --git a/packages/decorators/package.json b/packages/decorators/package.json index 9152a311..a2068d7e 100644 --- a/packages/decorators/package.json +++ b/packages/decorators/package.json @@ -37,7 +37,7 @@ "tslib": "^2.8.1" }, "devDependencies": { - "typescript": "^5.8.3" + "typescript": "^6.0.3" }, "scripts": { "build": "tsc --build --verbose", diff --git a/packages/directives/package.json b/packages/directives/package.json index 3ef08f0c..567a8381 100644 --- a/packages/directives/package.json +++ b/packages/directives/package.json @@ -40,7 +40,7 @@ "tslib": "^2.8.1" }, "devDependencies": { - "typescript": "^5.8.3" + "typescript": "^6.0.3" }, "scripts": { "build": "tsc --build --verbose", diff --git a/packages/elements/package.json b/packages/elements/package.json index 9fda779f..f3866cc7 100644 --- a/packages/elements/package.json +++ b/packages/elements/package.json @@ -36,7 +36,7 @@ "access": "public" }, "devDependencies": { - "typescript": "^5.8.3" + "typescript": "^6.0.3" }, "scripts": { "build": "tsc --build --verbose", diff --git a/packages/expressions/package.json b/packages/expressions/package.json index 56c13c73..019702b6 100644 --- a/packages/expressions/package.json +++ b/packages/expressions/package.json @@ -41,7 +41,7 @@ "tslib": "^2.8.1" }, "devDependencies": { - "typescript": "^5.8.3" + "typescript": "^6.0.3" }, "scripts": { "build": "tsc --build --verbose", diff --git a/packages/forms/package.json b/packages/forms/package.json index f3d372e6..dd1ee2fd 100644 --- a/packages/forms/package.json +++ b/packages/forms/package.json @@ -39,7 +39,7 @@ "tslib": "^2.8.1" }, "devDependencies": { - "typescript": "^5.8.3" + "typescript": "^6.0.3" }, "scripts": { "build": "tsc --build --verbose", diff --git a/packages/html/package.json b/packages/html/package.json index 734483f9..a76d58eb 100644 --- a/packages/html/package.json +++ b/packages/html/package.json @@ -36,7 +36,7 @@ }, "devDependencies": { "@types/hast": "^3.0.4", - "typescript": "^5.8.3" + "typescript": "^6.0.3" }, "scripts": { "build": "tsc --build --verbose", diff --git a/packages/pipes/package.json b/packages/pipes/package.json index 96fcb758..7dec2759 100644 --- a/packages/pipes/package.json +++ b/packages/pipes/package.json @@ -40,7 +40,7 @@ "tslib": "^2.8.1" }, "devDependencies": { - "typescript": "^5.8.3" + "typescript": "^6.0.3" }, "scripts": { "build": "tsc --build --verbose", diff --git a/packages/platform/package.json b/packages/platform/package.json index 08a8c130..3f324c13 100644 --- a/packages/platform/package.json +++ b/packages/platform/package.json @@ -37,7 +37,7 @@ "tslib": "^2.8.1" }, "devDependencies": { - "typescript": "^5.8.3" + "typescript": "^6.0.3" }, "scripts": { "build": "tsc --build --verbose", diff --git a/packages/router/package.json b/packages/router/package.json index e2fbed47..2e599deb 100644 --- a/packages/router/package.json +++ b/packages/router/package.json @@ -40,7 +40,7 @@ "tslib": "^2.8.1" }, "devDependencies": { - "typescript": "^5.8.3" + "typescript": "^6.0.3" }, "scripts": { "build": "tsc --build --verbose", diff --git a/src/aurora/tsconfig.json b/src/aurora/tsconfig.json index db18fca8..af77cff2 100644 --- a/src/aurora/tsconfig.json +++ b/src/aurora/tsconfig.json @@ -1,7 +1,6 @@ { "extends": "./tsconfig.dependency.json", "compilerOptions": { - "baseUrl": ".", "outDir": "../../packages/aurora", "rootDir": ".", "composite": true, diff --git a/src/cli/tsconfig.json b/src/cli/tsconfig.json index 086f0d45..58231c5b 100644 --- a/src/cli/tsconfig.json +++ b/src/cli/tsconfig.json @@ -1,14 +1,15 @@ { "extends": "./tsconfig.dependency.json", "compilerOptions": { - "baseUrl": ".", "outDir": "../../packages/cli", "rootDir": ".", "composite": true, + "target": "es2025", + "module": "es2022", + "moduleResolution": "bundler", "tsBuildInfoFile": "./tsBuild.info", - "allowSyntheticDefaultImports": true, "lib": [ - "ES2022", + "ES2025" ], "types": [ "node" @@ -16,7 +17,8 @@ }, "include": [ "**/*.ts", - "**/*.tsx" + "**/*.tsx", + "**/*.mts" ], "files": [ "index.ts" diff --git a/src/core/directive/providers.ts b/src/core/directive/providers.ts index 8c3accfb..79dbd44a 100644 --- a/src/core/directive/providers.ts +++ b/src/core/directive/providers.ts @@ -1,5 +1,4 @@ -import { ReactiveScope } from '@ibyar/expressions'; -import { TypeOf } from '@ibyar/expressions/api/utils'; +import { ReactiveScope, TypeOf } from '@ibyar/expressions'; import { isOnInit } from '../component/lifecycle.js'; import { classRegistryProvider } from '../providers/provider.js'; import { AttributeDirective } from './directive.js'; diff --git a/src/core/tsconfig.json b/src/core/tsconfig.json index 36c34ae9..e4f83813 100644 --- a/src/core/tsconfig.json +++ b/src/core/tsconfig.json @@ -1,7 +1,6 @@ { "extends": "./tsconfig.dependency.json", "compilerOptions": { - "baseUrl": ".", "outDir": "../../packages/core", "rootDir": ".", "composite": true, diff --git a/src/decorators/tsconfig.json b/src/decorators/tsconfig.json index 858be403..1967c0cb 100644 --- a/src/decorators/tsconfig.json +++ b/src/decorators/tsconfig.json @@ -1,7 +1,6 @@ { "extends": "./tsconfig.dependency.json", "compilerOptions": { - "baseUrl": ".", "outDir": "../../packages/decorators", "rootDir": ".", "composite": true, diff --git a/src/directives/tsconfig.json b/src/directives/tsconfig.json index 69e12d7c..95d85173 100644 --- a/src/directives/tsconfig.json +++ b/src/directives/tsconfig.json @@ -1,7 +1,6 @@ { "extends": "./tsconfig.dependency.json", "compilerOptions": { - "baseUrl": ".", "outDir": "../../packages/directives", "rootDir": ".", "composite": true, diff --git a/src/elements/tsconfig.json b/src/elements/tsconfig.json index f82210f7..bd86f98d 100644 --- a/src/elements/tsconfig.json +++ b/src/elements/tsconfig.json @@ -1,7 +1,6 @@ { "extends": "./tsconfig.dependency.json", "compilerOptions": { - "baseUrl": ".", "outDir": "../../packages/elements", "rootDir": ".", "composite": true, diff --git a/src/expressions/api/index.ts b/src/expressions/api/index.ts index ac0a0263..aea14882 100644 --- a/src/expressions/api/index.ts +++ b/src/expressions/api/index.ts @@ -1,3 +1,4 @@ +export * from './utils.js'; export * from './expression.js'; export * from './abstract.js'; diff --git a/src/expressions/bin/tsconfig.json b/src/expressions/bin/tsconfig.json new file mode 100644 index 00000000..10f35c66 --- /dev/null +++ b/src/expressions/bin/tsconfig.json @@ -0,0 +1,33 @@ +{ + "extends": "../../../tsconfig.compilerOption.json", + "references": [ + { + "path": "../../decorators/tsconfig.json" + }, + { + "path": "../tsconfig.json" + } + ], + "compilerOptions": { + "outDir": "../../../packages/expressions/bin", + "rootDir": ".", + "composite": true, + "target": "es2025", + "module": "es2022", + "moduleResolution": "bundler", + "tsBuildInfoFile": "./tsBuild.info", + "lib": [ + "ES2025" + ], + "types": [ + "node" + ] + }, + "include": [ + "cli.ts" + ], + "files": [ + "cli.ts" + ], + "compileOnSave": true +} \ No newline at end of file diff --git a/src/expressions/tsconfig.json b/src/expressions/tsconfig.json index 01644505..4f421df7 100644 --- a/src/expressions/tsconfig.json +++ b/src/expressions/tsconfig.json @@ -1,7 +1,6 @@ { "extends": "./tsconfig.dependency.json", "compilerOptions": { - "baseUrl": ".", "outDir": "../../packages/expressions", "rootDir": ".", "composite": true, @@ -14,5 +13,8 @@ "files": [ "index.ts" ], + "exclude": [ + "bin/cli.ts" + ], "compileOnSave": true -} +} \ No newline at end of file diff --git a/src/forms/tsconfig.json b/src/forms/tsconfig.json index e3d689e3..d330e43e 100644 --- a/src/forms/tsconfig.json +++ b/src/forms/tsconfig.json @@ -1,7 +1,6 @@ { "extends": "./tsconfig.dependency.json", "compilerOptions": { - "baseUrl": ".", "outDir": "../../packages/forms", "rootDir": ".", "composite": true, diff --git a/src/html/tsconfig.json b/src/html/tsconfig.json index b4e68178..b54c5cd4 100644 --- a/src/html/tsconfig.json +++ b/src/html/tsconfig.json @@ -1,7 +1,6 @@ { "extends": "./tsconfig.dependency.json", "compilerOptions": { - "baseUrl": ".", "outDir": "../../packages/html", "rootDir": ".", "composite": true, diff --git a/src/pipes/tsconfig.json b/src/pipes/tsconfig.json index 8e91d0a8..8284bf25 100644 --- a/src/pipes/tsconfig.json +++ b/src/pipes/tsconfig.json @@ -1,7 +1,6 @@ { "extends": "./tsconfig.dependency.json", "compilerOptions": { - "baseUrl": ".", "outDir": "../../packages/pipes", "rootDir": ".", "composite": true, diff --git a/src/platform/tsconfig.json b/src/platform/tsconfig.json index f74bd23b..deff26e1 100644 --- a/src/platform/tsconfig.json +++ b/src/platform/tsconfig.json @@ -1,7 +1,6 @@ { "extends": "./tsconfig.dependency.json", "compilerOptions": { - "baseUrl": ".", "outDir": "../../packages/platform", "rootDir": ".", "composite": true, diff --git a/src/router/tsconfig.json b/src/router/tsconfig.json index 0079a9cd..c1c6151b 100644 --- a/src/router/tsconfig.json +++ b/src/router/tsconfig.json @@ -1,7 +1,6 @@ { "extends": "./tsconfig.dependency.json", "compilerOptions": { - "baseUrl": ".", "outDir": "../../packages/router", "rootDir": ".", "composite": true, diff --git a/tsconfig.compilerOption.json b/tsconfig.compilerOption.json index 3e476d30..5ca69fef 100644 --- a/tsconfig.compilerOption.json +++ b/tsconfig.compilerOption.json @@ -9,12 +9,11 @@ "noImplicitThis": true, "noImplicitReturns": true, "strictBindCallApply": true, - "downlevelIteration": true, - "moduleResolution": "Node", - "target": "ES2022", - "module": "ES2022", + "moduleResolution": "bundler", + "target": "es2025", + "module": "es2022", "lib": [ - "ES2022", + "ES2025", "dom" ], "strict": true, diff --git a/tsconfig.json b/tsconfig.json index 0861825e..e0f827d8 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,6 +3,7 @@ { "path": "src/decorators" }, { "path": "src/elements" }, { "path": "src/expressions" }, + { "path": "src/expressions/bin" }, { "path": "src/html" }, { "path": "src/platform" }, { "path": "src/core" }, From 815311acd414aa431e10f42d84cfafbb21e9af71 Mon Sep 17 00:00:00 2001 From: muhammad-salem Date: Sat, 18 Jul 2026 16:20:17 +0300 Subject: [PATCH 6/8] fix error TS2882: Cannot find module or type declarations for side-effect import --- example/package.json | 1 + example/src/index.ts | 2 ++ 2 files changed, 3 insertions(+) diff --git a/example/package.json b/example/package.json index 100aed45..d2b82000 100644 --- a/example/package.json +++ b/example/package.json @@ -18,6 +18,7 @@ "dependencies": { "@ibyar/aurora": "^4.0.1", "@ibyar/forms": "^4.0.1", + "@ibyar/types": "^0.3.0", "@popperjs/core": "^2.11.8", "bootstrap": "^5.3.8", "rxjs": "^7.8.2", diff --git a/example/src/index.ts b/example/src/index.ts index 4e65f273..bad638db 100644 --- a/example/src/index.ts +++ b/example/src/index.ts @@ -1,3 +1,5 @@ +/// + import './polyfills.js' import './reactive-scope/scope.js'; import 'bootstrap/dist/css/bootstrap.min.css'; From ba5f86e3d044966faf73c29dc51e6cbec50d1436 Mon Sep 17 00:00:00 2001 From: muhammad-salem Date: Sun, 19 Jul 2026 12:09:52 +0300 Subject: [PATCH 7/8] upgrade typescript to v 7.0.2 --- example/package.json | 2 +- package.json | 2 +- packages/aurora/package.json | 2 +- packages/cli/package.json | 2 +- packages/core/package.json | 2 +- packages/decorators/package.json | 2 +- packages/directives/package.json | 2 +- packages/elements/package.json | 2 +- packages/expressions/package.json | 2 +- packages/forms/package.json | 2 +- packages/html/package.json | 2 +- packages/pipes/package.json | 2 +- packages/platform/package.json | 2 +- packages/router/package.json | 2 +- src/cli/compiler/compiler.ts | 2 +- 15 files changed, 15 insertions(+), 15 deletions(-) diff --git a/example/package.json b/example/package.json index d2b82000..4c4cfc28 100644 --- a/example/package.json +++ b/example/package.json @@ -26,7 +26,7 @@ }, "devDependencies": { "@ibyar/cli": "^4.0.1", - "typescript": "^6.0.3" + "typescript": "^7.0.2" }, "scripts": { "build": "npx tsc --build --verbose", diff --git a/package.json b/package.json index 431761e9..7448e62e 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ }, "devDependencies": { "test262-parser-tests": "0.0.5", - "typescript": "^6.0.3" + "typescript": "^7.0.2" }, "scripts": { "clean": "tsc -b --clean example/", diff --git a/packages/aurora/package.json b/packages/aurora/package.json index 738fc89b..1cc01c15 100644 --- a/packages/aurora/package.json +++ b/packages/aurora/package.json @@ -49,7 +49,7 @@ "zone.js": "~0.16.2" }, "devDependencies": { - "typescript": "^6.0.3" + "typescript": "^7.0.2" }, "scripts": { "build": "tsc --build --verbose", diff --git a/packages/cli/package.json b/packages/cli/package.json index 7ed067b1..b30e3c5e 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -44,7 +44,7 @@ "@ibyar/expressions": "^4.0.1", "@ibyar/pipes": "^4.0.1", "tslib": "^2.8.1", - "typescript": "^6.0.3" + "typescript": "^7.0.2" }, "devDependencies": { "@types/node": "24.1.0" diff --git a/packages/core/package.json b/packages/core/package.json index ef05ff44..a9577354 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -45,7 +45,7 @@ "zone.js": "~0.16.2" }, "devDependencies": { - "typescript": "^6.0.3" + "typescript": "^7.0.2" }, "scripts": { "build": "tsc --build --verbose", diff --git a/packages/decorators/package.json b/packages/decorators/package.json index a2068d7e..03b530e3 100644 --- a/packages/decorators/package.json +++ b/packages/decorators/package.json @@ -37,7 +37,7 @@ "tslib": "^2.8.1" }, "devDependencies": { - "typescript": "^6.0.3" + "typescript": "^7.0.2" }, "scripts": { "build": "tsc --build --verbose", diff --git a/packages/directives/package.json b/packages/directives/package.json index 567a8381..d9008c33 100644 --- a/packages/directives/package.json +++ b/packages/directives/package.json @@ -40,7 +40,7 @@ "tslib": "^2.8.1" }, "devDependencies": { - "typescript": "^6.0.3" + "typescript": "^7.0.2" }, "scripts": { "build": "tsc --build --verbose", diff --git a/packages/elements/package.json b/packages/elements/package.json index f3866cc7..73183654 100644 --- a/packages/elements/package.json +++ b/packages/elements/package.json @@ -36,7 +36,7 @@ "access": "public" }, "devDependencies": { - "typescript": "^6.0.3" + "typescript": "^7.0.2" }, "scripts": { "build": "tsc --build --verbose", diff --git a/packages/expressions/package.json b/packages/expressions/package.json index 019702b6..9af20ae3 100644 --- a/packages/expressions/package.json +++ b/packages/expressions/package.json @@ -41,7 +41,7 @@ "tslib": "^2.8.1" }, "devDependencies": { - "typescript": "^6.0.3" + "typescript": "^7.0.2" }, "scripts": { "build": "tsc --build --verbose", diff --git a/packages/forms/package.json b/packages/forms/package.json index dd1ee2fd..aa557ec8 100644 --- a/packages/forms/package.json +++ b/packages/forms/package.json @@ -39,7 +39,7 @@ "tslib": "^2.8.1" }, "devDependencies": { - "typescript": "^6.0.3" + "typescript": "^7.0.2" }, "scripts": { "build": "tsc --build --verbose", diff --git a/packages/html/package.json b/packages/html/package.json index a76d58eb..8dd63a15 100644 --- a/packages/html/package.json +++ b/packages/html/package.json @@ -36,7 +36,7 @@ }, "devDependencies": { "@types/hast": "^3.0.4", - "typescript": "^6.0.3" + "typescript": "^7.0.2" }, "scripts": { "build": "tsc --build --verbose", diff --git a/packages/pipes/package.json b/packages/pipes/package.json index 7dec2759..49153bfd 100644 --- a/packages/pipes/package.json +++ b/packages/pipes/package.json @@ -40,7 +40,7 @@ "tslib": "^2.8.1" }, "devDependencies": { - "typescript": "^6.0.3" + "typescript": "^7.0.2" }, "scripts": { "build": "tsc --build --verbose", diff --git a/packages/platform/package.json b/packages/platform/package.json index 3f324c13..d71104ad 100644 --- a/packages/platform/package.json +++ b/packages/platform/package.json @@ -37,7 +37,7 @@ "tslib": "^2.8.1" }, "devDependencies": { - "typescript": "^6.0.3" + "typescript": "^7.0.2" }, "scripts": { "build": "tsc --build --verbose", diff --git a/packages/router/package.json b/packages/router/package.json index 2e599deb..2245a60e 100644 --- a/packages/router/package.json +++ b/packages/router/package.json @@ -40,7 +40,7 @@ "tslib": "^2.8.1" }, "devDependencies": { - "typescript": "^6.0.3" + "typescript": "^7.0.2" }, "scripts": { "build": "tsc --build --verbose", diff --git a/src/cli/compiler/compiler.ts b/src/cli/compiler/compiler.ts index f8c202c5..567c2c17 100644 --- a/src/cli/compiler/compiler.ts +++ b/src/cli/compiler/compiler.ts @@ -1,5 +1,5 @@ import '../directives/register.js'; -import ts from 'typescript/lib/tsserverlibrary.js'; +import ts from '@typescript/typescript6/lib/tsserverlibrary.js'; import { afterDeclarationsCompileComponentOptions } from '../transformer/after-declarations-component.js'; import { afterDeclarationsCompileDirectiveOptions } from '../transformer/after-declarations-directive.js'; import { beforeCompileComponentOptions } from '../transformer/before-component.js'; From aa69cf8caae4b683343fe25053e8f80073ceb34f Mon Sep 17 00:00:00 2001 From: muhammad-salem Date: Sun, 19 Jul 2026 12:11:40 +0300 Subject: [PATCH 8/8] fix import tsserverlibrary from typescript v 6.0.2 for cli package --- packages/cli/package.json | 3 ++- src/cli/transformer/after-declarations-component.ts | 2 +- src/cli/transformer/after-declarations-directive.ts | 2 +- src/cli/transformer/before-component.ts | 2 +- src/cli/transformer/before-directive.ts | 2 +- src/cli/transformer/factory.ts | 2 +- src/cli/transformer/helpers.ts | 2 +- src/cli/transformer/modules.ts | 2 +- src/cli/transformer/scan-directives.ts | 2 +- src/cli/webpack/loader.ts | 2 +- 10 files changed, 11 insertions(+), 10 deletions(-) diff --git a/packages/cli/package.json b/packages/cli/package.json index b30e3c5e..9a064537 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -44,7 +44,8 @@ "@ibyar/expressions": "^4.0.1", "@ibyar/pipes": "^4.0.1", "tslib": "^2.8.1", - "typescript": "^7.0.2" + "typescript": "^7.0.2", + "@typescript/typescript6": "^6.0.2" }, "devDependencies": { "@types/node": "24.1.0" diff --git a/src/cli/transformer/after-declarations-component.ts b/src/cli/transformer/after-declarations-component.ts index 856f3654..42f3fca2 100644 --- a/src/cli/transformer/after-declarations-component.ts +++ b/src/cli/transformer/after-declarations-component.ts @@ -1,4 +1,4 @@ -import ts from 'typescript/lib/tsserverlibrary.js'; +import ts from '@typescript/typescript6/lib/tsserverlibrary.js'; import { createStaticPropertyViewType, updateModuleTypeWithComponentView } from './factory.js'; import { moduleManger, ViewInfo } from './modules.js'; diff --git a/src/cli/transformer/after-declarations-directive.ts b/src/cli/transformer/after-declarations-directive.ts index 7a382626..589ba1c6 100644 --- a/src/cli/transformer/after-declarations-directive.ts +++ b/src/cli/transformer/after-declarations-directive.ts @@ -1,4 +1,4 @@ -import ts from 'typescript/lib/tsserverlibrary.js'; +import ts from '@typescript/typescript6/lib/tsserverlibrary.js'; import { updateModuleTypeWithDirectives } from './factory.js'; import { moduleManger } from './modules.js'; diff --git a/src/cli/transformer/before-component.ts b/src/cli/transformer/before-component.ts index a1b5d7cb..f2b5b8bb 100644 --- a/src/cli/transformer/before-component.ts +++ b/src/cli/transformer/before-component.ts @@ -1,4 +1,4 @@ -import ts from 'typescript/lib/tsserverlibrary.js'; +import ts from '@typescript/typescript6/lib/tsserverlibrary.js'; import { buildExpressionNodes } from '@ibyar/core/node.js'; import { htmlParser } from '@ibyar/elements/node.js'; import { getExtendsTypeBySelector } from '../elements/tags.js'; diff --git a/src/cli/transformer/before-directive.ts b/src/cli/transformer/before-directive.ts index 1544128e..213437a0 100644 --- a/src/cli/transformer/before-directive.ts +++ b/src/cli/transformer/before-directive.ts @@ -1,4 +1,4 @@ -import ts from 'typescript/lib/tsserverlibrary.js'; +import ts from '@typescript/typescript6/lib/tsserverlibrary.js'; import { ClassInfo, moduleManger } from './modules.js'; import { getInputs, getOutputs, scanSignals, diff --git a/src/cli/transformer/factory.ts b/src/cli/transformer/factory.ts index ac21cdb9..e9525bb2 100644 --- a/src/cli/transformer/factory.ts +++ b/src/cli/transformer/factory.ts @@ -1,4 +1,4 @@ -import ts from 'typescript/lib/tsserverlibrary.js'; +import ts from '@typescript/typescript6/lib/tsserverlibrary.js'; import { ToCamelCase } from '@ibyar/core/node.js'; import { ClassInfo, SignalInfo } from './modules.js'; import { SignalKey } from './signals.js'; diff --git a/src/cli/transformer/helpers.ts b/src/cli/transformer/helpers.ts index b06c8b51..6763067c 100644 --- a/src/cli/transformer/helpers.ts +++ b/src/cli/transformer/helpers.ts @@ -1,4 +1,4 @@ -import ts from 'typescript/lib/tsserverlibrary.js'; +import ts from '@typescript/typescript6/lib/tsserverlibrary.js'; import { DecoratorInfo, SignalMetadata, SignalInfo } from './modules.js'; import { SignalDetails, SignalKey } from './signals.js'; diff --git a/src/cli/transformer/modules.ts b/src/cli/transformer/modules.ts index 66cb26a9..e52e8e7d 100644 --- a/src/cli/transformer/modules.ts +++ b/src/cli/transformer/modules.ts @@ -1,4 +1,4 @@ -import type ts from 'typescript/lib/tsserverlibrary.js'; +import type ts from '@typescript/typescript6/lib/tsserverlibrary.js'; import { SignalKey } from './signals.js'; export type ViewInfo = { diff --git a/src/cli/transformer/scan-directives.ts b/src/cli/transformer/scan-directives.ts index 327fba6b..28693acb 100644 --- a/src/cli/transformer/scan-directives.ts +++ b/src/cli/transformer/scan-directives.ts @@ -1,4 +1,4 @@ -import ts from 'typescript/lib/tsserverlibrary.js'; +import ts from '@typescript/typescript6/lib/tsserverlibrary.js'; import { DirectiveInfo, registerDirectiveCall } from '../directives/register.js'; diff --git a/src/cli/webpack/loader.ts b/src/cli/webpack/loader.ts index bdf82f37..e60ed342 100644 --- a/src/cli/webpack/loader.ts +++ b/src/cli/webpack/loader.ts @@ -1,5 +1,5 @@ import { normalize } from 'path'; -import ts from 'typescript/lib/tsserverlibrary.js'; +import ts from '@typescript/typescript6/lib/tsserverlibrary.js'; import { getConfigPath, getTransformers, scanDirectives } from '../compiler/compiler.js'; let host: ts.CompilerHost;