Skip to content

Update to Angular language service 8.0.0 - #170

Closed
mickaelistria wants to merge 1 commit into
eclipse-wildwebdeveloper:masterfrom
mickaelistria:angular-language-service-8.0.0
Closed

mickaelistria wants to merge 1 commit into
eclipse-wildwebdeveloper:masterfrom
mickaelistria:angular-language-service-8.0.0

Conversation

@mickaelistria

Copy link
Copy Markdown
Contributor

Signed-off-by: Mickael Istria [email protected]

@jabby

jabby commented Jun 5, 2019

Copy link
Copy Markdown
Contributor

Hi @mickaelistria when you update the version of a dependency, you should use the npm cli.
In fact the cli will also update package-lock.json file for you.

I suggest to use the same version of npm (install the same version of node, it should be ok).

In case the update is not a major update, you can use the following command line: npm update @angular/language-service. It will update @angular/language-service from 7.2.9 to 7.2.15.

In your case you want to update @angular/language-service to 8.0.0. To do so, just run npm install @angular/[email protected].

By the way, I run a quick report on package.json. It seems we have more than one old dependency.

$ npm outdated
Package                        Current  Wanted  Latest  Location
@angular/language-service        7.2.9  7.2.15   8.0.0  wildwebdeveloper-node-languageservers
typescript                       2.8.3   2.8.3   3.5.1  wildwebdeveloper-node-languageservers
typescript-language-server       0.3.7   0.3.7   0.3.8  wildwebdeveloper-node-languageservers
typescript-plugin-css-modules    1.0.5   1.0.5   1.1.1  wildwebdeveloper-node-languageservers
yaml-language-server             0.3.2   0.3.2   0.4.1  wildwebdeveloper-node-languageservers

I think we should upgrade all our dependencies. I don't just remember why we don't use the latest version of vscode for some language servers.

@mickaelistria

Copy link
Copy Markdown
Contributor Author

We cannot and shouldn't update everything at once for a few reasons:

  • We need IP approval for each dependency set and those tend to come sequentially
  • I tried updating multiple things at once and it breaks a lot of tests and is hard to perform efficiently. Keeping a narrower scope allows more incremental and easier progress.

@mickaelistria
mickaelistria force-pushed the angular-language-service-8.0.0 branch from 71e5e21 to bde69f6 Compare June 6, 2019 07:32
@mickaelistria
mickaelistria force-pushed the angular-language-service-8.0.0 branch from bde69f6 to b5fa6bd Compare June 6, 2019 07:44
@mickaelistria

Copy link
Copy Markdown
Contributor Author

We also see typescript-language-server/typescript-language-server#109 that prevents us from upgrading all at once (and basically from upgrading most things).

@jabby

jabby commented Jun 6, 2019

Copy link
Copy Markdown
Contributor

Sorry @mickaelistria I was not clear. I know we should not update all dependencies in one commit / PR.

@mickaelistria

Copy link
Copy Markdown
Contributor Author

Replaced by #188

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants