Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix engines.parcel in SVG packager #6911

Merged
merged 2 commits into from Sep 11, 2021
Merged

Fix engines.parcel in SVG packager #6911

merged 2 commits into from Sep 11, 2021

Conversation

mischnic
Copy link
Member

@mischnic mischnic commented Sep 11, 2021

Use the same value as all the other plugins. Currently this error is thrown:

@parcel/core: The plugin "@parcel/packager-svg" is not compatible with the current version of Parcel. Requires "^2.0.0-rc.0" but the current version is
"2.0.0-nightly.824+80d7ae24".

  x/node_modules/@parcel/packager-svg/package.json:20:5
    19 |     "node": ">= 12.0.0",
  > 20 |     "parcel": "^2.0.0-rc.0"
  >    |     ^^^^^^^^^^^^^^^^^^^^^^^
    21 |   },
    22 |   "dependencies": {

if using parcel@nightly (because according to semver, the nightly versions are all older than rc)

@height
Copy link

height bot commented Sep 11, 2021

Link Height tasks by mentioning a task ID in the pull request title or description, commit messages, or comments.

💡Tip: You can also use "Close T-X" to automatically close a task when the pull request is merged.

@parcel-benchmark
Copy link

Benchmark Results

Kitchen Sink ✅

Timings

Description Time Difference
Cold 2.26s +79.00ms
Cached 327.00ms -2.00ms

Cold Bundles

Bundle Size Difference Time Difference
dist/legacy/parcel.7cdb0fad.webp 102.94kb +0.00b 750.00ms +58.00ms ⚠️
dist/legacy/parcel.7cdb0fad.webp 102.94kb +0.00b 751.00ms +58.00ms ⚠️
dist/modern/parcel.7cdb0fad.webp 102.94kb +0.00b 752.00ms +58.00ms ⚠️
dist/legacy/index.9c1188a7.js 1.59kb +0.00b 1.05s +90.00ms ⚠️
dist/legacy/index.01f0ce7e.js 1.20kb +0.00b 1.05s +89.00ms ⚠️
dist/modern/index.c6061158.js 1.13kb +0.00b 1.05s +89.00ms ⚠️
dist/legacy/index.html 826.00b +0.00b 1.21s +69.00ms ⚠️
dist/modern/index.html 749.00b +0.00b 1.21s +69.00ms ⚠️

Cached Bundles

No bundle changes detected.

React HackerNews ✅

Timings

Description Time Difference
Cold 10.57s +36.00ms
Cached 484.00ms -2.00ms

Cold Bundles

No bundle changes detected.

Cached Bundles

No bundle changes detected.

AtlasKit Editor ✅

Timings

Description Time Difference
Cold 1.19m +123.00ms
Cached 1.79s +23.00ms

Cold Bundles

Bundle Size Difference Time Difference
dist/index.0653042d.js 694.70kb +15.00b ⚠️ 54.67s +129.00ms

Cached Bundles

Bundle Size Difference Time Difference
dist/index.98490197.js 1.78mb +2.00b ⚠️ 20.69s +224.00ms

Three.js ✅

Timings

Description Time Difference
Cold 7.48s -49.00ms
Cached 424.00ms +14.00ms

Cold Bundles

No bundle changes detected.

Cached Bundles

No bundle changes detected.

Click here to view a detailed benchmark overview.

@devongovett devongovett merged commit a82069c into v2 Sep 11, 2021
@devongovett devongovett deleted the mischnic-patch-2 branch September 11, 2021 18:10
thewilkybarkid added a commit to thewilkybarkid/parcel-transformer-graphviz that referenced this pull request Sep 12, 2021
Nightly versions are considered older than release candidates, so the engine constraint has to be
loosened.

I don't believe the library is compatible with beta 1, but working with the nightlies is more
critical.

Refs parcel-bundler/parcel#6911
thewilkybarkid added a commit to thewilkybarkid/parcel-transformer-rough-svg that referenced this pull request Sep 12, 2021
Nightly versions are considered older than release candidates, so the engine constraint has to be
loosened.

I don't believe the library is compatible with beta 1, but working with the nightlies is more
critical.

Refs parcel-bundler/parcel#6911
lettertwo added a commit that referenced this pull request Sep 13, 2021
* v2: (42 commits)
  Remove dead link to docs in diagnostic (#6913)
  Fix engines.parcel in SVG packager (#6911)
  Use imported Readable flow type instead of global (#6910)
  Use non-deprecated SVGO options in HTMLNanoOptimizer (#6785)
  Use yarnpkg registry for all the things (#6908)
  Fix issue about loading configs from tsconfig.json (#6881)
  Add `@section` to Compressor type (#6885)
  Parcel API improvements (#6866)
  Use stream-browserify for polyfilling instead (#6863)
  Add support for compressor plugins (#6776)
  Support for inline style attributes and inline scripts in SVG (#6797)
  Bump less (#6852)
  Make sure (non-React) SVGs are in separate bundles (#6757)
  Add support for injecting manifest into service workers (#6798)
  Fix 'does not export default' error with scope hoisting and url/worklet pipeline (#6803)
  Remaining cargo clippy fixes (#6829)
  Lazily install sharp only when needed (#6816)
  More cargo clippy suggestions (#6811)
  Don't emit runtime manifest for inline child bundles (#6807)
  Apply suggestions from rust-clippy (#6256)
  ...
lettertwo added a commit that referenced this pull request Sep 13, 2021
* v2: (42 commits)
  Remove dead link to docs in diagnostic (#6913)
  Fix engines.parcel in SVG packager (#6911)
  Use imported Readable flow type instead of global (#6910)
  Use non-deprecated SVGO options in HTMLNanoOptimizer (#6785)
  Use yarnpkg registry for all the things (#6908)
  Fix issue about loading configs from tsconfig.json (#6881)
  Add `@section` to Compressor type (#6885)
  Parcel API improvements (#6866)
  Use stream-browserify for polyfilling instead (#6863)
  Add support for compressor plugins (#6776)
  Support for inline style attributes and inline scripts in SVG (#6797)
  Bump less (#6852)
  Make sure (non-React) SVGs are in separate bundles (#6757)
  Add support for injecting manifest into service workers (#6798)
  Fix 'does not export default' error with scope hoisting and url/worklet pipeline (#6803)
  Remaining cargo clippy fixes (#6829)
  Lazily install sharp only when needed (#6816)
  More cargo clippy suggestions (#6811)
  Don't emit runtime manifest for inline child bundles (#6807)
  Apply suggestions from rust-clippy (#6256)
  ...
lettertwo added a commit that referenced this pull request Sep 13, 2021
* bdo/number-edgetypes: (74 commits)
  Remove dead link to docs in diagnostic (#6913)
  Fix engines.parcel in SVG packager (#6911)
  Use imported Readable flow type instead of global (#6910)
  Use non-deprecated SVGO options in HTMLNanoOptimizer (#6785)
  Use yarnpkg registry for all the things (#6908)
  Fix issue about loading configs from tsconfig.json (#6881)
  Add `@section` to Compressor type (#6885)
  Parcel API improvements (#6866)
  Use stream-browserify for polyfilling instead (#6863)
  Add support for compressor plugins (#6776)
  Support for inline style attributes and inline scripts in SVG (#6797)
  Bump less (#6852)
  Make sure (non-React) SVGs are in separate bundles (#6757)
  Add support for injecting manifest into service workers (#6798)
  Fix 'does not export default' error with scope hoisting and url/worklet pipeline (#6803)
  Remaining cargo clippy fixes (#6829)
  Lazily install sharp only when needed (#6816)
  More cargo clippy suggestions (#6811)
  Don't emit runtime manifest for inline child bundles (#6807)
  Apply suggestions from rust-clippy (#6256)
  ...
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.

None yet

4 participants