Skip to content

Commit

Permalink
chore(deps): Enable legacy-peer-deps, update @blockly/ plugins (#…
Browse files Browse the repository at this point in the history
…8366)

* chore(deps): Enable npm legacy-peer-deps option

  Add legacy-peer-deps=true to .npmrc:

  - Doesn't install a second, probably out-of-date copy of Blockly
    in node_modules/blockly/.

  - Prevents version conflicts when trying to update @blockly/*
    dev dependencies, beause npm doesn't seem to be clever enough
    to resovle peer dependency version conflicts for the blockly
    package when updating plugins (which have blockly as a peer),
    even if all plugins are updated at the same time.

  - Brings the configuration of the blockly repo in line with
    blockly-samples, for whatever that is worth.  (Might avoid
    problems during monorepo migration.)

* chore(deps): Update @blockly plugins following v11 release

  Achieved by running:

  npm install --save-dev @blockly/theme-modern@latest @blockly/block-test@latest @blockly/dev-tools@latest

* chore(deps): Install missing @typescript-eslint/parser dev dependency

  Our .eslintrc.js references th @typescript-eslint/parser plugin,
  but this plugin was not actually included in the devDependencies
  section in package.json.
  • Loading branch information
cpcallen authored Jul 17, 2024
1 parent 4cdca28 commit 71f094b
Show file tree
Hide file tree
Showing 3 changed files with 100 additions and 298 deletions.
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
registry=https://registry.npmjs.org/
legacy-peer-deps=true
Loading

0 comments on commit 71f094b

Please sign in to comment.