Skip to content

Commit

Permalink
chore(deps): upgrade TypeScript used by example (#638)
Browse files Browse the repository at this point in the history
* chore(deps): upgrade TypeScript used by example

5.5 doesn't work yet, so going to 5.4 as a stepping stone.
This is the minimal changes to other dependencies needed to make it green

* chore: pin another e2e that was floating to get main green

* Update MODULE.bazel
  • Loading branch information
alexeagle authored Jun 26, 2024
1 parent 6a40eeb commit 78a7e05
Show file tree
Hide file tree
Showing 6 changed files with 229 additions and 68 deletions.
4 changes: 4 additions & 0 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ npm.npm_translate_lock(
)
use_repo(npm, "npm")

# Allow us to do 'bazel run @pnpm -- --dir=$PWD install'
pnpm = use_extension("@aspect_rules_js//npm:extensions.bzl", "pnpm", dev_dependency = True)
use_repo(pnpm, "pnpm")

rules_ts_ext = use_extension("@aspect_rules_ts//ts:extensions.bzl", "ext", dev_dependency = True)
rules_ts_ext.deps(ts_version_from = "//examples:package.json")
use_repo(rules_ts_ext, "npm_typescript")
Expand Down
10 changes: 5 additions & 5 deletions examples/package.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
{
"private": true,
"dependencies": {
"@angular/compiler-cli": "15.0.1",
"@angular/compiler": "15.0.1",
"@angular/core": "15.0.1",
"@angular/compiler-cli": "^18",
"@angular/compiler": "^18",
"@angular/core": "^18",
"@babel/cli": "~7.23.9",
"@babel/core": "~7.23.9",
"@babel/parser": "~7.23.9",
"@babel/preset-typescript": "^7.23.3",
"@babel/types": "~7.23.9",
"@tsconfig/node16-strictest-esm": "1.0.3",
"@tsconfig/strictest": "2.0.5",
"@types/node": "18.11.9",
"date-fns": "2.29.3",
"rxjs": "7.5.7",
"source-map-support": "^0.5.21",
"typescript": "4.8.4",
"typescript": "5.4.5",
"zone.js": "0.12.0"
}
}
Loading

0 comments on commit 78a7e05

Please sign in to comment.