Skip to content

Conversation

@mgol
Copy link
Member

@mgol mgol commented Mar 24, 2021

In c12e1ab, we removed the external directory
in favor of loading some files directly from node_modules. This works fine
locally but when deploying code for tests, this makes it impossible to not
deploy node_modules as well. To avoid the issue, this change restores usage
of the external directory.

One change is that we no longer commit this directory to the repository, its
only purpose is to have clear isolation from node_modules.

Ref jquery/jquery#4865

@mgol mgol added this to the 3.3.3 milestone Mar 24, 2021
@mgol mgol requested review from Krinkle, dmethvin and timmywil March 24, 2021 22:26
@mgol mgol self-assigned this Mar 24, 2021
@mgol mgol force-pushed the restore-external-directory branch from 59b1dba to 1e04847 Compare March 24, 2021 22:29
In c12e1ab, we removed the `external` directory
in favor of loading some files directly from `node_modules`. This works fine
locally but when deploying code for tests, this makes it impossible to not
deploy `node_modules` as well. To avoid the issue, this change restores usage
of the `external` directory.

One change is that we no longer commit this directory to the repository, its
only purpose is to have clear isolation from `node_modules`.

Ref jquery/jquery#4865
@mgol mgol force-pushed the restore-external-directory branch from 1e04847 to 17f0afd Compare March 24, 2021 22:32
@mgol
Copy link
Member Author

mgol commented Mar 25, 2021

@dmethvin I merged relevant infra changes so until this lands, Migrate cannot be tested on TestSwarm.

Copy link
Member

@dmethvin dmethvin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Welcome back npmcopy! 😄

@mgol mgol changed the title Build: Restore the external directory Build: Restore the external directory Mar 25, 2021
@mgol mgol merged commit dc83969 into jquery:main Mar 25, 2021
@mgol mgol deleted the restore-external-directory branch March 25, 2021 13:33
mgol added a commit to mgol/jquery-migrate that referenced this pull request Mar 25, 2021
@mgol
Copy link
Member Author

mgol commented Mar 26, 2021

It looks like I missed a few things; a followup is in #420.

mgol added a commit that referenced this pull request Mar 26, 2021
@mgol mgol modified the milestones: 3.3.3, 3.4.0 Mar 14, 2022
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.

2 participants