Skip to content

Commit

Permalink
Merge v2 into lettertwo/parcel-link
Browse files Browse the repository at this point in the history
* upstream/v2:
  Make sure we're compiling on ubuntu-20.04
  v2.8.1
  Add mjs and cjs to resolver extensions (#8667)
  Fix transformer-svg-react not finding .svgrrc's (#7741)
  Fix overriding single export of a `export *` (#8653)
  chore: spelling fix (#8614)
  Parse shortcut icons in web app manifests (#8660)
  Make ts-types transformer work with TS >= 4.8 (#8661)
  Don't retarget dependencies with `*` (#8645)
  fix: remove @parcel/utils dep in @parcel/graph (#8630)
  • Loading branch information
lettertwo committed Dec 8, 2022
2 parents c781dc3 + f8d3fc3 commit 6fc5e87
Show file tree
Hide file tree
Showing 169 changed files with 1,182 additions and 691 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/nightly-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:

build-linux-gnu-x64:
name: linux-gnu-x64
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
container:
image: docker.io/adrienv1520/nodejs-16-centos7
steps:
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
strip: aarch64-linux-gnu-strip
cflags: ''
name: ${{ matrix.target }}
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- name: Install Rust
Expand Down Expand Up @@ -129,7 +129,7 @@ jobs:
strip: aarch64-linux-musl-strip
cflags: ''
name: ${{ matrix.target }}
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
container:
image: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
credentials:
Expand Down Expand Up @@ -196,7 +196,7 @@ jobs:
run: ls -l packages/*/*/*.node

build-and-release:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
name: Build and release nightly
needs:
- build
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/tag-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:

build-linux-gnu-x64:
name: linux-gnu-x64
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
container:
image: docker.io/adrienv1520/nodejs-16-centos7
steps:
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
strip: aarch64-linux-gnu-strip
cflags: ''
name: ${{ matrix.target }}
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- name: Install Rust
Expand Down Expand Up @@ -129,7 +129,7 @@ jobs:
strip: aarch64-linux-musl-strip
cflags: ''
name: ${{ matrix.target }}
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
container:
image: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
credentials:
Expand Down Expand Up @@ -196,7 +196,7 @@ jobs:
run: ls -l packages/*/*/*.node

build-and-release:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
name: Build and release the tagged version
needs:
- build
Expand Down
19 changes: 18 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,23 @@ All notable changes to Parcel will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and Parcel adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [2.8.1] - 2022-12-07

### Fixed

- Core
- fix: remove @parcel/utils dep in @parcel/graph[Details](https://github.com/parcel-bundler/parcel/pull/8630)
- JavaScript
- Don't retarget dependencies with `*`[Details](https://github.com/parcel-bundler/parcel/pull/8645)
- Fix overriding single export of a `export *`[Details](https://github.com/parcel-bundler/parcel/pull/8653)
- Add mjs and cjs to resolver extensions – [Details](https://github.com/parcel-bundler/parcel/pull/8667)
- TypeScript
- Make ts-types transformer work with TS >= 4.8 – [Details](https://github.com/parcel-bundler/parcel/pull/8661)
- Web manifest
- Parse shortcut icons in web app manifests – [Details](https://github.com/parcel-bundler/parcel/pull/8660)
- SVG
- Fix transformer-svg-react not finding `.svgrrc`[Details](https://github.com/parcel-bundler/parcel/pull/7741)

## [2.8.0] - 2022-11-09

### Added
Expand Down Expand Up @@ -166,7 +183,7 @@ and Parcel adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
- Fix hoisting for optional chaining member expressions - [Details](https://github.com/parcel-bundler/parcel/pull/8121)
- Fix issues with web extensions - [Details](https://github.com/parcel-bundler/parcel/pull/8000)
- Reload the closest package.json to an asset if it's a package entry to fix `sideEffects` - [Details](https://github.com/parcel-bundler/parcel/pull/7909)
- Only emit non static import bailout warnings for variables which correspond to a * import - [Details](https://github.com/parcel-bundler/parcel/pull/8136)
- Only emit non static import bailout warnings for variables which correspond to a \* import - [Details](https://github.com/parcel-bundler/parcel/pull/8136)

## [2.5.0] - 2022-04-21

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"@babel/core": "^7.12.0",
"@khanacademy/flow-to-ts": "^0.5.2",
"@napi-rs/cli": "^2.6.2",
"@parcel/babel-register": "2.8.0",
"@parcel/babel-register": "2.8.1",
"@types/node": "^15.12.4",
"cross-env": "^7.0.0",
"eslint": "^7.20.0",
Expand Down
14 changes: 7 additions & 7 deletions packages/bundlers/default/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@parcel/bundler-default",
"version": "2.8.0",
"version": "2.8.1",
"license": "MIT",
"publishConfig": {
"access": "public"
Expand All @@ -17,14 +17,14 @@
"source": "src/DefaultBundler.js",
"engines": {
"node": ">= 12.0.0",
"parcel": "^2.8.0"
"parcel": "^2.8.1"
},
"dependencies": {
"@parcel/diagnostic": "2.8.0",
"@parcel/graph": "2.8.0",
"@parcel/hash": "2.8.0",
"@parcel/plugin": "2.8.0",
"@parcel/utils": "2.8.0",
"@parcel/diagnostic": "2.8.1",
"@parcel/graph": "2.8.1",
"@parcel/hash": "2.8.1",
"@parcel/plugin": "2.8.1",
"@parcel/utils": "2.8.1",
"nullthrows": "^1.1.1"
}
}
2 changes: 1 addition & 1 deletion packages/bundlers/default/src/DefaultBundler.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ type IdealGraph = {|
/**
*
* The Bundler works by creating an IdealGraph, which contains a BundleGraph that models bundles
* connected to othervbundles by what references them, and thus models BundleGroups.
* connected to other bundles by what references them, and thus models BundleGroups.
*
* First, we enter `bundle({bundleGraph, config})`. Here, "bundleGraph" is actually just the
* assetGraph turned into a type `MutableBundleGraph`, which will then be mutated in decorate,
Expand Down
6 changes: 3 additions & 3 deletions packages/compressors/brotli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@parcel/compressor-brotli",
"version": "2.8.0",
"version": "2.8.1",
"license": "MIT",
"publishConfig": {
"access": "public"
Expand All @@ -17,9 +17,9 @@
"source": "src/BrotliCompressor.js",
"engines": {
"node": ">= 12.0.0",
"parcel": "^2.8.0"
"parcel": "^2.8.1"
},
"dependencies": {
"@parcel/plugin": "2.8.0"
"@parcel/plugin": "2.8.1"
}
}
6 changes: 3 additions & 3 deletions packages/compressors/gzip/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@parcel/compressor-gzip",
"version": "2.8.0",
"version": "2.8.1",
"license": "MIT",
"publishConfig": {
"access": "public"
Expand All @@ -17,9 +17,9 @@
"source": "src/GzipCompressor.js",
"engines": {
"node": ">= 12.0.0",
"parcel": "^2.8.0"
"parcel": "^2.8.1"
},
"dependencies": {
"@parcel/plugin": "2.8.0"
"@parcel/plugin": "2.8.1"
}
}
6 changes: 3 additions & 3 deletions packages/compressors/raw/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@parcel/compressor-raw",
"version": "2.8.0",
"version": "2.8.1",
"license": "MIT",
"publishConfig": {
"access": "public"
Expand All @@ -17,9 +17,9 @@
"source": "src/RawCompressor.js",
"engines": {
"node": ">= 12.0.0",
"parcel": "^2.8.0"
"parcel": "^2.8.1"
},
"dependencies": {
"@parcel/plugin": "2.8.0"
"@parcel/plugin": "2.8.1"
}
}
110 changes: 55 additions & 55 deletions packages/configs/default/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@parcel/config-default",
"version": "2.8.0",
"version": "2.8.1",
"license": "MIT",
"publishConfig": {
"access": "public"
Expand All @@ -18,63 +18,63 @@
"test-ci": "mocha"
},
"dependencies": {
"@parcel/bundler-default": "2.8.0",
"@parcel/compressor-raw": "2.8.0",
"@parcel/namer-default": "2.8.0",
"@parcel/optimizer-css": "2.8.0",
"@parcel/optimizer-htmlnano": "2.8.0",
"@parcel/optimizer-image": "2.8.0",
"@parcel/optimizer-svgo": "2.8.0",
"@parcel/optimizer-terser": "2.8.0",
"@parcel/packager-css": "2.8.0",
"@parcel/packager-html": "2.8.0",
"@parcel/packager-js": "2.8.0",
"@parcel/packager-raw": "2.8.0",
"@parcel/packager-svg": "2.8.0",
"@parcel/reporter-dev-server": "2.8.0",
"@parcel/resolver-default": "2.8.0",
"@parcel/runtime-browser-hmr": "2.8.0",
"@parcel/runtime-js": "2.8.0",
"@parcel/runtime-react-refresh": "2.8.0",
"@parcel/runtime-service-worker": "2.8.0",
"@parcel/transformer-babel": "2.8.0",
"@parcel/transformer-css": "2.8.0",
"@parcel/transformer-html": "2.8.0",
"@parcel/transformer-image": "2.8.0",
"@parcel/transformer-js": "2.8.0",
"@parcel/transformer-json": "2.8.0",
"@parcel/transformer-postcss": "2.8.0",
"@parcel/transformer-posthtml": "2.8.0",
"@parcel/transformer-raw": "2.8.0",
"@parcel/transformer-react-refresh-wrap": "2.8.0",
"@parcel/transformer-svg": "2.8.0"
"@parcel/bundler-default": "2.8.1",
"@parcel/compressor-raw": "2.8.1",
"@parcel/namer-default": "2.8.1",
"@parcel/optimizer-css": "2.8.1",
"@parcel/optimizer-htmlnano": "2.8.1",
"@parcel/optimizer-image": "2.8.1",
"@parcel/optimizer-svgo": "2.8.1",
"@parcel/optimizer-terser": "2.8.1",
"@parcel/packager-css": "2.8.1",
"@parcel/packager-html": "2.8.1",
"@parcel/packager-js": "2.8.1",
"@parcel/packager-raw": "2.8.1",
"@parcel/packager-svg": "2.8.1",
"@parcel/reporter-dev-server": "2.8.1",
"@parcel/resolver-default": "2.8.1",
"@parcel/runtime-browser-hmr": "2.8.1",
"@parcel/runtime-js": "2.8.1",
"@parcel/runtime-react-refresh": "2.8.1",
"@parcel/runtime-service-worker": "2.8.1",
"@parcel/transformer-babel": "2.8.1",
"@parcel/transformer-css": "2.8.1",
"@parcel/transformer-html": "2.8.1",
"@parcel/transformer-image": "2.8.1",
"@parcel/transformer-js": "2.8.1",
"@parcel/transformer-json": "2.8.1",
"@parcel/transformer-postcss": "2.8.1",
"@parcel/transformer-posthtml": "2.8.1",
"@parcel/transformer-raw": "2.8.1",
"@parcel/transformer-react-refresh-wrap": "2.8.1",
"@parcel/transformer-svg": "2.8.1"
},
"parcelDependencies": {
"@parcel/optimizer-data-url": "2.8.0",
"@parcel/packager-raw-url": "2.8.0",
"@parcel/packager-ts": "2.8.0",
"@parcel/packager-xml": "2.8.0",
"@parcel/transformer-coffeescript": "2.8.0",
"@parcel/transformer-elm": "2.8.0",
"@parcel/transformer-glsl": "2.8.0",
"@parcel/transformer-graphql": "2.8.0",
"@parcel/transformer-inline-string": "2.8.0",
"@parcel/transformer-jsonld": "2.8.0",
"@parcel/transformer-less": "2.8.0",
"@parcel/transformer-mdx": "2.8.0",
"@parcel/transformer-pug": "2.8.0",
"@parcel/transformer-sass": "2.8.0",
"@parcel/transformer-stylus": "2.8.0",
"@parcel/transformer-sugarss": "2.8.0",
"@parcel/transformer-toml": "2.8.0",
"@parcel/transformer-typescript-types": "2.8.0",
"@parcel/transformer-vue": "2.8.0",
"@parcel/transformer-webmanifest": "2.8.0",
"@parcel/transformer-worklet": "2.8.0",
"@parcel/transformer-xml": "2.8.0",
"@parcel/transformer-yaml": "2.8.0"
"@parcel/optimizer-data-url": "2.8.1",
"@parcel/packager-raw-url": "2.8.1",
"@parcel/packager-ts": "2.8.1",
"@parcel/packager-xml": "2.8.1",
"@parcel/transformer-coffeescript": "2.8.1",
"@parcel/transformer-elm": "2.8.1",
"@parcel/transformer-glsl": "2.8.1",
"@parcel/transformer-graphql": "2.8.1",
"@parcel/transformer-inline-string": "2.8.1",
"@parcel/transformer-jsonld": "2.8.1",
"@parcel/transformer-less": "2.8.1",
"@parcel/transformer-mdx": "2.8.1",
"@parcel/transformer-pug": "2.8.1",
"@parcel/transformer-sass": "2.8.1",
"@parcel/transformer-stylus": "2.8.1",
"@parcel/transformer-sugarss": "2.8.1",
"@parcel/transformer-toml": "2.8.1",
"@parcel/transformer-typescript-types": "2.8.1",
"@parcel/transformer-vue": "2.8.1",
"@parcel/transformer-webmanifest": "2.8.1",
"@parcel/transformer-worklet": "2.8.1",
"@parcel/transformer-xml": "2.8.1",
"@parcel/transformer-yaml": "2.8.1"
},
"peerDependencies": {
"@parcel/core": "^2.8.0"
"@parcel/core": "^2.8.1"
}
}
14 changes: 7 additions & 7 deletions packages/configs/webextension/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@parcel/config-webextension",
"version": "2.8.0",
"version": "2.8.1",
"license": "MIT",
"publishConfig": {
"access": "public"
Expand All @@ -15,13 +15,13 @@
},
"main": "index.json",
"dependencies": {
"@parcel/config-default": "2.8.0",
"@parcel/packager-webextension": "2.8.0",
"@parcel/runtime-webextension": "2.8.0",
"@parcel/transformer-raw": "2.8.0",
"@parcel/transformer-webextension": "2.8.0"
"@parcel/config-default": "2.8.1",
"@parcel/packager-webextension": "2.8.1",
"@parcel/runtime-webextension": "2.8.1",
"@parcel/transformer-raw": "2.8.1",
"@parcel/transformer-webextension": "2.8.1"
},
"peerDependencies": {
"@parcel/core": "^2.8.0"
"@parcel/core": "^2.8.1"
}
}
10 changes: 5 additions & 5 deletions packages/core/cache/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@parcel/cache",
"version": "2.8.0",
"version": "2.8.1",
"license": "MIT",
"publishConfig": {
"access": "public"
Expand All @@ -24,13 +24,13 @@
"check-ts": "tsc --noEmit index.d.ts"
},
"dependencies": {
"@parcel/fs": "2.8.0",
"@parcel/logger": "2.8.0",
"@parcel/utils": "2.8.0",
"@parcel/fs": "2.8.1",
"@parcel/logger": "2.8.1",
"@parcel/utils": "2.8.1",
"lmdb": "2.5.2"
},
"peerDependencies": {
"@parcel/core": "^2.8.0"
"@parcel/core": "^2.8.1"
},
"devDependencies": {
"idb": "^5.0.8"
Expand Down
2 changes: 1 addition & 1 deletion packages/core/codeframe/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@parcel/codeframe",
"version": "2.8.0",
"version": "2.8.1",
"description": "Blazing fast, zero configuration web application bundler",
"license": "MIT",
"publishConfig": {
Expand Down
Loading

0 comments on commit 6fc5e87

Please sign in to comment.