Skip to content

Commit 5b61b96

Browse files
chore: release v0.2.0
1 parent 3626b33 commit 5b61b96

File tree

4 files changed

+19
-13
lines changed

4 files changed

+19
-13
lines changed

common-issues.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
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
2+
3+
## NG0203: inject() must be called from an injection context
4+
5+
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/\*`

packages/add-angular-to-qwik/bin/add-angular-to-qwik.ts

+1
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ function cleanup(isQwikNxInstalled: boolean, uninstallCmd: string) {
138138
rmSync('.nx', { force: true, recursive: true });
139139
rmSync('project.json');
140140
if (!isQwikNxInstalled) {
141+
// TODO: remove deps from package.json and simply run npm install
141142
execSync(`${uninstallCmd} qwik-nx nx`, { stdio: [0, 1, 2] });
142143
}
143144
}

packages/add-angular-to-qwik/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "add-angular-to-qwik",
3-
"version": "0.1.3",
3+
"version": "0.2.0",
44
"private": false,
55
"description": "Adds Angular to the Qwik repo",
66
"repository": {
@@ -29,6 +29,6 @@
2929
},
3030
"publishConfig": {
3131
"access": "public",
32-
"provenance": true
32+
"provenance": false
3333
}
3434
}

packages/qwik-angular/package.json

+11-11
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@qwikdev/qwik-angular",
3-
"version": "0.1.1",
3+
"version": "0.2.0",
44
"description": "QwikAngular allows adding Angular components into existing Qwik application",
55
"repository": {
66
"type": "git",
@@ -21,22 +21,22 @@
2121
"homepage": "https://github.com/QwikDev/qwik-angular",
2222
"publishConfig": {
2323
"access": "public",
24-
"provenance": true
24+
"provenance": false
2525
},
2626
"main": "./index.qwik.mjs",
2727
"qwik": "./index.qwik.mjs",
2828
"types": "./index.qwik.d.ts",
2929
"dependencies": {
3030
"@analogjs/vite-plugin-angular": "~0.2.0",
31-
"@angular-devkit/build-angular": "17.0.0",
32-
"@angular/animations": "17.0.2",
33-
"@angular/common": "17.0.2",
34-
"@angular/compiler-cli": "17.0.2",
35-
"@angular/compiler": "17.0.2",
36-
"@angular/core": "17.0.2",
37-
"@angular/platform-browser-dynamic": "17.0.2",
38-
"@angular/platform-browser": "17.0.2",
39-
"@angular/platform-server": "17.0.2",
31+
"@angular-devkit/build-angular": "^17.1.0",
32+
"@angular/animations": "^17.1.0",
33+
"@angular/common": "^17.1.0",
34+
"@angular/compiler-cli": "^17.1.0",
35+
"@angular/compiler": "^17.1.0",
36+
"@angular/core": "^17.1.0",
37+
"@angular/platform-browser-dynamic": "^17.1.0",
38+
"@angular/platform-browser": "^17.1.0",
39+
"@angular/platform-server": "^17.1.0",
4040
"@builder.io/qwik": "^1.2.11",
4141
"rxjs": "~7.8.0",
4242
"sass": "^1.60.0",

0 commit comments

Comments
 (0)