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

Build: Restore the external directory #4865

Merged
merged 1 commit into from Mar 24, 2021

Conversation

mgol
Copy link
Member

@mgol mgol commented Mar 24, 2021

Summary

In gh-4466, 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 gh-4466

Checklist

In jquerygh-4466, 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 jquerygh-4466
@mgol mgol added this to the 4.0.0 milestone Mar 24, 2021
@mgol mgol self-assigned this Mar 24, 2021
mgol added a commit to mgol/jquery-migrate that referenced this pull request 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 added a commit to mgol/jquery-migrate that referenced this pull request 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 added a commit to mgol/jquery-migrate that referenced this pull request 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 changed the title Build: Restore the external directory Build: Restore the external directory Mar 24, 2021
@mgol mgol merged commit a684e6b into jquery:main Mar 24, 2021
@mgol mgol deleted the restore-external-directory branch March 24, 2021 22:36
mgol added a commit to jquery/jquery-migrate that referenced this pull request Mar 25, 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
Closes gh-419
mgol added a commit to mgol/jquery that referenced this pull request Apr 8, 2021
That package was missed in jquerygh-4865 as it only broke browsers needing the
polyfill which is just IE at the moment. Thus, it broke Core tests in IE only.

Ref jquerygh-4865
mgol added a commit that referenced this pull request Apr 13, 2021
That package was missed in gh-4865 as it only broke browsers needing the
polyfill which is just IE at the moment. Thus, it broke Core tests in IE only.

Ref gh-4865
Closes gh-4870
@mgol mgol removed the Needs review label Apr 13, 2021
mgol added a commit to mgol/jquery that referenced this pull request Apr 13, 2021
All the other files were already taken from the external directory.
The fact core-js was taken from node_modules broke IE core tests on TestSwarm.

Ref jquerygh-4865
Ref jquerygh-4870

(partially cherry picked from 345cd22)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

None yet

3 participants