Skip to content

Commit

Permalink
chore: update peerDeps add compatibilty matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
chihab committed Nov 27, 2021
1 parent bf8bd47 commit a1c93a8
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 8 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,13 @@ NG_APP_BRANCH_NAME=$GITHUB_HEAD_REF ng test
NG_APP_BRANCH_NAME=`git branch --show-current` npm run build
```

# Compatiblity ⚠️

| Angular | @ngx-env/builder |
| -------- | ---------------- |
| [12, 13] | ^2.0.1 |
| [8, 12[ | ^1.1.0 |

# Using Environment Variables

Your project can consume variables declared in your environment as if they were declared locally in your JS files.
Expand Down Expand Up @@ -222,8 +229,6 @@ NG_APP_BAR=$DOMAIN/bar

I wrote an article on [InDepth.dev](https://indepth.dev/tutorials/angular/inject-environment-variables) explaining how it works.

# Contribute

# Credits

- [create-react-app](https://github.com/facebook/create-react-app)
Expand Down
3 changes: 3 additions & 0 deletions packages/builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,8 @@
"devDependencies": {
"@angular-devkit/schematics-cli": "^13.0.0",
"ts-node": "^10.4.0"
},
"peerDpendencies": {
"@angular-devkit/schematics-cli": ">=12.0.0"
}
}
4 changes: 2 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
}
},
"peerDependencies": {
"@angular/common": "^13.0.0",
"@angular/core": "^13.0.0"
"@angular/common": ">=12.0.0",
"@angular/core": ">=12.0.0"
},
"devDependencies": {
"ng-packagr": "^13.0.6"
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@angular-devkit/core" "13.0.3"
rxjs "6.6.7"

"@angular-devkit/build-angular@~13.0.3":
"@angular-devkit/build-angular@~13.0.0":
version "13.0.3"
resolved "https://registry.yarnpkg.com/@angular-devkit/build-angular/-/build-angular-13.0.3.tgz#763db8882ff86612462a2b6bcdf441ba8e4b29a5"
integrity sha512-5KFsknpnq3mc0KwcIDjvmqB3trz5cMt48dB0nrc23zkFI9v4hkpalc/OEg/H3G93K0c9g6dcyxmHkNfsU1+CHw==
Expand Down Expand Up @@ -110,7 +110,7 @@
rxjs "6.6.7"
source-map "0.7.3"

"@angular-devkit/schematics-cli@^13.0.3":
"@angular-devkit/schematics-cli@^13.0.0":
version "13.0.3"
resolved "https://registry.yarnpkg.com/@angular-devkit/schematics-cli/-/schematics-cli-13.0.3.tgz#ec216398e28ac4c8acf8f4467cd9022d976b2c0e"
integrity sha512-iGEA3hEbHcmhAkGmrFXKWDnelzhSSJLaZPHr6SLPpztKEU8OFMZxv8NFATc/IpXknEhX3+Tm5DkrOpSc4rJlhA==
Expand All @@ -122,7 +122,7 @@
minimist "1.2.5"
symbol-observable "4.0.0"

"@angular-devkit/schematics@13.0.3", "@angular-devkit/schematics@^13.0.3":
"@angular-devkit/schematics@13.0.3", "@angular-devkit/schematics@^13.0.0":
version "13.0.3"
resolved "https://registry.yarnpkg.com/@angular-devkit/schematics/-/schematics-13.0.3.tgz#255895e10c2b025df8ee4ff93428cb2249ae5fc0"
integrity sha512-+Va1E0zJBCg5jqSfITusghoMJgPAwlU+WUs49fuGVCzfJPwfSjTKSrsbhanahMd27+Ys3rovGZq0F2JUdL801A==
Expand All @@ -140,7 +140,7 @@
dependencies:
tslib "^2.3.0"

"@angular/cli@~13.0.3":
"@angular/cli@~13.0.0":
version "13.0.3"
resolved "https://registry.yarnpkg.com/@angular/cli/-/cli-13.0.3.tgz#7d357a80dc612421115b1288291ce6278720d0a4"
integrity sha512-LDXDXDbQ1MBHVUstu4aNjFbyg5f9hLP52gEKB8Z6fQlf5CB1X5zD6UPcR4IvoYt03EFxg3DHco+ueJQ20oZUWQ==
Expand Down

0 comments on commit a1c93a8

Please sign in to comment.