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

Remove src to lib rewrites on package.json files #9612

Merged
merged 12 commits into from
Apr 30, 2024

Commits on Apr 4, 2024

  1. Remove src to lib rewrites on package.json files

    This commit modifies the strategy to local src/lib rewrites, so that the
    package.json files are never modified.
    
    Intead, the package.json files always point at `bin/...`; which in turn
    requires `lib/bin.js`.
    
    During development, `lib/bin.js` can just require `src/bin.js` and rely on
    require.extensions register. But on distribution `lib/**` can be pre-built.
    
    By maintaining a stable `bin/...` entry-point, the following benefits are
    achieved:
    
    * The git workspace does not become dirty after a build
    * It's not possible to get into a state where `node_modules/.bin/parcel` points
      at a non existant `lib/` file, which can only be fixed by removing
      node_modules and yarn installing again
    pyamada-atlassian authored and yamadapc committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    7b5fc73 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e1a7436 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    36d16af View commit details
    Browse the repository at this point in the history
  4. Fix our dev-lib commands

    yamadapc committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    1d8e6f1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4d14f16 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2024

  1. Configuration menu
    Copy the full SHA
    cfd0d85 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2024

  1. Configuration menu
    Copy the full SHA
    79ea750 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2024

  1. Configuration menu
    Copy the full SHA
    85e5e3b View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2024

  1. Configuration menu
    Copy the full SHA
    255443f View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2024

  1. Configuration menu
    Copy the full SHA
    e87c136 View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2024

  1. Configuration menu
    Copy the full SHA
    9bf0c7d View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2024

  1. Configuration menu
    Copy the full SHA
    395a108 View commit details
    Browse the repository at this point in the history