Skip to content

Commit

Permalink
chore: release v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-stepanenko committed Feb 10, 2024
1 parent 3626b33 commit 5b61b96
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 13 deletions.
5 changes: 5 additions & 0 deletions common-issues.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Integration between angular and qwik involves large amount of dependencies and sometimes something is not working properly with a weird undebuggable error. This document describes some of them and possible reasons

## NG0203: inject() must be called from an injection context

This can be caused by a mismatch between the version of @angular/_ packages and the version @qwikdev/qwik-angular depends on. Typically, you'd see `node_modules/@angular/_`packages along with`node_modules/@qwikdev/qwik-angular/node_modules/@angular/\*`
1 change: 1 addition & 0 deletions packages/add-angular-to-qwik/bin/add-angular-to-qwik.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ function cleanup(isQwikNxInstalled: boolean, uninstallCmd: string) {
rmSync('.nx', { force: true, recursive: true });
rmSync('project.json');
if (!isQwikNxInstalled) {
// TODO: remove deps from package.json and simply run npm install
execSync(`${uninstallCmd} qwik-nx nx`, { stdio: [0, 1, 2] });
}
}
4 changes: 2 additions & 2 deletions packages/add-angular-to-qwik/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "add-angular-to-qwik",
"version": "0.1.3",
"version": "0.2.0",
"private": false,
"description": "Adds Angular to the Qwik repo",
"repository": {
Expand Down Expand Up @@ -29,6 +29,6 @@
},
"publishConfig": {
"access": "public",
"provenance": true
"provenance": false
}
}
22 changes: 11 additions & 11 deletions packages/qwik-angular/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@qwikdev/qwik-angular",
"version": "0.1.1",
"version": "0.2.0",
"description": "QwikAngular allows adding Angular components into existing Qwik application",
"repository": {
"type": "git",
Expand All @@ -21,22 +21,22 @@
"homepage": "https://github.com/QwikDev/qwik-angular",
"publishConfig": {
"access": "public",
"provenance": true
"provenance": false
},
"main": "./index.qwik.mjs",
"qwik": "./index.qwik.mjs",
"types": "./index.qwik.d.ts",
"dependencies": {
"@analogjs/vite-plugin-angular": "~0.2.0",
"@angular-devkit/build-angular": "17.0.0",
"@angular/animations": "17.0.2",
"@angular/common": "17.0.2",
"@angular/compiler-cli": "17.0.2",
"@angular/compiler": "17.0.2",
"@angular/core": "17.0.2",
"@angular/platform-browser-dynamic": "17.0.2",
"@angular/platform-browser": "17.0.2",
"@angular/platform-server": "17.0.2",
"@angular-devkit/build-angular": "^17.1.0",
"@angular/animations": "^17.1.0",
"@angular/common": "^17.1.0",
"@angular/compiler-cli": "^17.1.0",
"@angular/compiler": "^17.1.0",
"@angular/core": "^17.1.0",
"@angular/platform-browser-dynamic": "^17.1.0",
"@angular/platform-browser": "^17.1.0",
"@angular/platform-server": "^17.1.0",
"@builder.io/qwik": "^1.2.11",
"rxjs": "~7.8.0",
"sass": "^1.60.0",
Expand Down

0 comments on commit 5b61b96

Please sign in to comment.