Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: parcel-bundler/parcel
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: a3aa86815e098c90fda72a08d29646ff059ab74d
Choose a base ref
...
head repository: parcel-bundler/parcel
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 84da50ae6943bff9741e2fc76d2f4968074cbbd6
Choose a head ref

Commits on Mar 17, 2021

  1. Copy the full SHA
    dc09f12 View commit details

Commits on Mar 20, 2021

  1. Copy the full SHA
    39ff833 View commit details

Commits on Mar 21, 2021

  1. Diagnostic tweaks and diagnostic for getPort (#6033)

    * getPort diagnostic
    
    * tweak prettydiagnostic
    
    * tweak
    DeMoorJasper authored Mar 21, 2021
    Copy the full SHA
    ed72667 View commit details

Commits on Mar 23, 2021

  1. Dev Server: serve files (including sourcemaps) from dist/ folder (#…

    …6024)
    
    * Dev Server: serve files (including sourcemaps) from `dist/` folder
    
    * fix return
    
    Co-authored-by: Jasper De Moor <jasperdemoor@gmail.com>
    zowesiouff and DeMoorJasper authored Mar 23, 2021
    Copy the full SHA
    dea272f View commit details

Commits on Mar 29, 2021

  1. 1
    Copy the full SHA
    59e6f1c View commit details

Commits on Apr 2, 2021

  1. Fix dev server serving inline bundles (#6067)

    * Fix dev server when serving inline bundles
    
    * Extend html test for inline styles
    
    * Removed hash references from test bundle asserts (fixes unstable unit tests)
    martinsvoboda authored Apr 2, 2021
    Copy the full SHA
    f8981bf View commit details

Commits on Apr 3, 2021

  1. Copy the full SHA
    8227604 View commit details

Commits on Apr 6, 2021

  1. serialize single AdjacencyList (#6053)

    Co-authored-by: Will Binns-Smith <wbinnssmith@atlassian.com>
    thebriando and Will Binns-Smith authored Apr 6, 2021
    Copy the full SHA
    f596273 View commit details

Commits on Apr 8, 2021

  1. Update flow to v0.148.0 (#6089)

    Will Binns-Smith authored Apr 8, 2021
    Copy the full SHA
    ff1a55e View commit details

Commits on Apr 11, 2021

  1. Start getConfigFrom packageKey search from specified path instead o…

    …f the asset itself (#6109)
    mischnic authored Apr 11, 2021
    Copy the full SHA
    e088bfa View commit details

Commits on Apr 12, 2021

  1. Copy the full SHA
    c83e132 View commit details
  2. Copy the full SHA
    059d502 View commit details

Commits on Apr 13, 2021

  1. Copy the full SHA
    bbc79c1 View commit details

Commits on Apr 14, 2021

  1. Copy the full SHA
    1ec530f View commit details

Commits on Apr 16, 2021

  1. Copy the full SHA
    737b7ec View commit details

Commits on Apr 19, 2021

  1. Changing graph identifiers from content keys to numbers (#6000)

    Updating graph identifiers to numeric to decrease memory impact on serialization / deserializtion.
    joeyslater authored Apr 19, 2021
    Copy the full SHA
    3baf990 View commit details

Commits on Apr 26, 2021

  1. Copy the full SHA
    a367996 View commit details

Commits on Apr 27, 2021

  1. Copy the full SHA
    cb9b82e View commit details
  2. Copy the full SHA
    4949f15 View commit details

Commits on Apr 28, 2021

  1. Use cargo workspaces (#6200)

    * Use cargo workspaces
    
    * Use latest published napi and napi-derive
    Will Binns-Smith authored Apr 28, 2021
    Copy the full SHA
    b54c2b6 View commit details

Commits on Apr 29, 2021

  1. Format Rust in precommit and lint+format scripts (#6201)

    * Upgrade to husky@6
    
    * Run cargo fmt on precommit
    
    * Format
    
    * Add cargo fmt to format and lint scripts
    Will Binns-Smith authored Apr 29, 2021
    Copy the full SHA
    c8e3747 View commit details
  2. Run Rust tests and cache Cargo+yarn dependencies in CI (#6204)

    * Run cargo fetch and test in CI
    
    * Cache cargo and yarn dependencies in CI
    Will Binns-Smith authored Apr 29, 2021
    Copy the full SHA
    a67a5f0 View commit details

Commits on May 4, 2021

  1. Copy the full SHA
    dc79abc View commit details

Commits on May 5, 2021

  1. @parcel/create-react-app (#5458)

    * Add typings for commander
    
    * Address violations for commander typings
    
    * Initial commit of @parcel/create-react-app
    
    * Create package directory and git repository
    
    * Automate installing with yarn/npm
    
    * Add package name to package.json
    
    * Create initial commit and add transaction
    
    * Add logos to react app
    
    * Create app in temp directory before moving into place on success
    
    * Make log messages clearer
    
    * Revert change to commander types
    
    * Windows compatibility
    
    * Log package names when installing
    
    * Build @parcel/create-react-app for publishing
    
    * Update lockfile
    
    * Move tempy to dependencies
    
    * Require v8-compile-cache earlier
    
    * Adding an extra space for info to match the rest of the messages.
    
    * Resolved conflicts with upstream
    
    Co-authored-by: Dario Novoa <darionovoa@Darios-MacBook-Pro-13.local>
    
    * Cleanup
    
    * Include template .gitignore in published package
    
    * Remove TODO
    
    * Use same version of chalk as other parcel packages
    
    * Clean up dependencies
    
    * Use commander 7
    
    * Skip lint in templates
    
    * Rename binary to parcel-create-react-app
    
    Co-authored-by: Dario Novoa <darionovoa@ideartte.com>
    Co-authored-by: Dario Novoa <darionovoa@Darios-MacBook-Pro-13.local>
    Co-authored-by: Agnieszka Gawrys <agawrys@atlassian.com>
    Co-authored-by: Agnieszka Gawrys <gawrysagnes@gmail.com>
    5 people authored May 5, 2021
    Copy the full SHA
    2079b78 View commit details

Commits on May 6, 2021

  1. Update flow to v0.150.0 (#6234)

    Will Binns-Smith authored May 6, 2021
    Copy the full SHA
    77a8835 View commit details
  2. Fix graph dumping (#6237)

    mischnic authored May 6, 2021
    Copy the full SHA
    8b240d0 View commit details

Commits on May 9, 2021

  1. sass: Allow json extension for config file (#6232)

    * sass: Allow json extension for config file
    
    This will allow syntax highlighters to easily detect the file type.
    
    * Update SassTransformer.js
    
    Co-authored-by: Jasper De Moor <jasperdemoor@gmail.com>
    jtojnar and DeMoorJasper authored May 9, 2021
    Copy the full SHA
    fdbcbd6 View commit details

Commits on May 10, 2021

  1. Copy the full SHA
    ba57b65 View commit details

Commits on May 11, 2021

  1. Copy the full SHA
    842aa52 View commit details
  2. Copy the full SHA
    9cdeddb View commit details
  3. Copy the full SHA
    84a081f View commit details

Commits on May 12, 2021

  1. Copy the full SHA
    6584f3e View commit details
  2. Copy the full SHA
    177f8ee View commit details

Commits on May 13, 2021

  1. Copy the full SHA
    06183b9 View commit details
  2. Copy the full SHA
    e6edf65 View commit details
  3. Copy the full SHA
    ae4f6f8 View commit details
  4. Resolve helpers relative to JS transformer (#6278)

    Fixes T-1031
    devongovett authored May 13, 2021
    Copy the full SHA
    27d89ef View commit details
  5. Copy the full SHA
    019d762 View commit details

Commits on May 14, 2021

  1. Upgrade flow to 0.151.0 (#6281)

    Will Binns-Smith authored May 14, 2021
    Copy the full SHA
    3f2f635 View commit details
  2. Copy the full SHA
    d0e8df6 View commit details
  3. Copy the full SHA
    f6695be View commit details

Commits on May 15, 2021

  1. Copy the full SHA
    afaab71 View commit details

Commits on May 16, 2021

  1. update contributing guide (#6293)

    - rust is now required for development.
    Magi-KS authored May 16, 2021
    Copy the full SHA
    c8392be View commit details

Commits on May 17, 2021

  1. Copy the full SHA
    06bdb1f View commit details
  2. Update swc (#6289)

    mischnic authored May 17, 2021
    Copy the full SHA
    71b3b93 View commit details

Commits on May 18, 2021

  1. v2.0.0-beta.3

    devongovett committed May 18, 2021
    Copy the full SHA
    f40b4f3 View commit details
  2. Fix parcelDependencies

    devongovett committed May 18, 2021
    Copy the full SHA
    bf03f01 View commit details

Commits on May 20, 2021

  1. Update swc (#6307)

    mischnic authored May 20, 2021
    Copy the full SHA
    2372d27 View commit details
  2. Copy the full SHA
    c39d3ce View commit details
  3. Copy the full SHA
    d43a9ee View commit details
Showing 1,255 changed files with 49,049 additions and 23,538 deletions.
File renamed without changes.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -11,6 +11,7 @@ packages/*/*/test/mochareporters.json
packages/core/integration-tests/test/input/**
packages/core/utils/test/input/**
packages/utils/fs-write-stream-atomic/**
packages/utils/create-react-app/templates
packages/examples

# Generated by the build
6 changes: 2 additions & 4 deletions .flowconfig
Original file line number Diff line number Diff line change
@@ -8,6 +8,7 @@
<PROJECT_ROOT>/packages/core/integration-tests/dist/**
<PROJECT_ROOT>/packages/core/integration-tests/test/input/**
<PROJECT_ROOT>/packages/core/integration-tests/test/integration/babel-strip-flow-types/**
<PROJECT_ROOT>/packages/core/integration-tests/test/integration/diagnostic-sourcemap/**

[untyped]
.*/node_modules/graphql/error/GraphQLError.js.flow
@@ -22,9 +23,6 @@ implicit-inexact-object=error
untyped-type-import=error

[options]
esproposal.export_star_as=enable
esproposal.nullish_coalescing=enable
esproposal.optional_chaining=enable
module.system.node.main_field=source
module.system.node.main_field=main

@@ -38,4 +36,4 @@ untyped-import
untyped-type-import

[version]
0.146.0
0.161.0
69 changes: 39 additions & 30 deletions .github/workflows/nightly-release.yml
Original file line number Diff line number Diff line change
@@ -19,17 +19,17 @@ jobs:
toolchain: stable
profile: minimal
override: true
- name: Link native packages
run: node scripts/link-native.js
- uses: bahmutov/npm-install@v1.1.0
- name: Build native packages
run: yarn build-native-release
- name: Strip debug symbols # https://github.com/rust-lang/rust/issues/46034
if: ${{ matrix.os == 'macos-latest' }}
run: strip -x native-packages/*/*.node # Must use -x on macOS. This produces larger results on linux.
run: strip -x packages/*/*/*.node # Must use -x on macOS. This produces larger results on linux.
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: bindings-${{ matrix.os }}
path: native-packages/*/*.node
path: packages/*/*/*.node
- name: Smoke test
run: node -e "require('@parcel/fs-search')"

@@ -48,18 +48,18 @@ jobs:
toolchain: stable
profile: minimal
override: true
- name: Link native packages
run: node scripts/link-native.js
- uses: bahmutov/npm-install@v1.1.0
- name: Build native packages
run: yarn build-native-release
- name: Strip debug symbols # https://github.com/rust-lang/rust/issues/46034
run: strip native-packages/*/*.node
run: strip packages/*/*/*.node
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: bindings-linux-gnu-x64
path: native-packages/*/*.node
path: packages/*/*/*.node
- name: debug
run: ls -l native-packages/*/*.node
run: ls -l packages/*/*/*.node
- name: Smoke test
run: node -e 'require("@parcel/fs-search")'

@@ -71,9 +71,11 @@ jobs:
- target: arm-unknown-linux-gnueabihf
arch: armhf
strip: arm-linux-gnueabihf-strip
cflags: -mfpu=neon
- target: aarch64-unknown-linux-gnu
arch: arm64
strip: aarch64-linux-gnu-strip
cflags: ''
name: ${{ matrix.target }}
runs-on: ubuntu-latest
steps:
@@ -89,20 +91,21 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install gcc-arm-linux-gnueabihf gcc-aarch64-linux-gnu g++-aarch64-linux-gnu -y
- name: Link native packages
run: node scripts/link-native.js
- uses: bahmutov/npm-install@v1.1.0
- name: Build native packages
run: yarn build-native-release
env:
RUST_TARGET: ${{ matrix.target }}
CFLAGS: ${{ matrix.cflags }}
- name: Strip debug symbols # https://github.com/rust-lang/rust/issues/46034
run: ${{ matrix.strip }} native-packages/*/*.node
run: ${{ matrix.strip }} packages/*/*/*.node
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: bindings-${{ matrix.target }}
path: native-packages/*/*.node
path: packages/*/*/*.node
- name: debug
run: ls -l native-packages/*/*.node
run: ls -l packages/*/*/*.node
- name: Configure binfmt-support
run: docker run --rm --privileged multiarch/qemu-user-static:register --reset
- name: Smoke test
@@ -119,17 +122,21 @@ jobs:
include:
- target: x86_64-unknown-linux-musl
strip: strip
cflags: -msse4.2
- target: aarch64-unknown-linux-musl
strip: aarch64-linux-musl-strip
cflags: ''
name: ${{ matrix.target }}
runs-on: ubuntu-latest
container:
image: docker.pkg.github.com/napi-rs/napi-rs/rust-nodejs-alpine:lts
image: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
credentials:
username: ${{ github.actor }}
password: ${{ secrets.GHCR_TOKEN }}
steps:
- uses: actions/checkout@v1
- name: Install build tools
run: apk add --no-cache python3 make gcc g++ musl-dev curl
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
@@ -140,23 +147,24 @@ jobs:
- name: Install cross compile toolchains
if: ${{ matrix.target == 'aarch64-unknown-linux-musl' }}
run: |
curl -O https://musl.cc/aarch64-linux-musl-cross.tgz
curl -O http://musl.cc/aarch64-linux-musl-cross.tgz
tar xzf aarch64-linux-musl-cross.tgz
cp -R aarch64-linux-musl-cross/* /usr
- name: Link native packages
run: node scripts/link-native.js
- uses: bahmutov/npm-install@v1.1.0
- name: Build native packages
run: yarn build-native-release
env:
RUST_TARGET: ${{ matrix.target }}
CFLAGS: ${{ matrix.cflags }}
- name: Strip debug symbols # https://github.com/rust-lang/rust/issues/46034
run: ${{ matrix.strip }} native-packages/*/*.node
run: ${{ matrix.strip }} packages/*/*/*.node
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: bindings-linux-musl
path: native-packages/*/*.node
path: packages/*/*/*.node
- name: debug
run: ls -l native-packages/*/*.node
run: ls -l packages/*/*/*.node
- name: Smoke test
if: ${{ matrix.target == 'x86_64-unknown-linux-musl' }}
run: node -e 'require("@parcel/fs-search")'
@@ -173,20 +181,21 @@ jobs:
profile: minimal
override: true
target: aarch64-apple-darwin
- name: Link native packages
run: node scripts/link-native.js
- uses: bahmutov/npm-install@v1.1.0
- name: Build native packages
run: yarn build-native-release
env:
RUST_TARGET: aarch64-apple-darwin
JEMALLOC_SYS_WITH_LG_PAGE: 14
- name: Strip debug symbols
run: strip -x native-packages/*/*.node
run: strip -x packages/*/*/*.node
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: bindings-apple-aarch64
path: native-packages/*/*.node
path: packages/*/*/*.node
- name: debug
run: ls -l native-packages/*/*.node
run: ls -l packages/*/*/*.node

build-and-release:
runs-on: ubuntu-latest
@@ -198,17 +207,17 @@ jobs:
- build-apple-silicon
steps:
- uses: actions/checkout@v1
- name: Link native packages
run: node scripts/link-native.js
- uses: bahmutov/npm-install@v1.1.0
- name: Build native packages
run: yarn build-native-release
- name: Download artifacts
uses: actions/download-artifact@v2
with:
path: artifacts
- name: Move artifacts
run: for d in artifacts/*/*; do cp $d/*.node native-packages/$(basename $d); done
run: for d in artifacts/*/*/*; do cp $d/*.node packages/$(basename $(dirname $d))/$(basename $d); done
- name: Debug
run: ls -l native-packages/*/*
run: ls -l packages/*/*/*.node
- run: echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} > .npmrc
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Loading