-
Notifications
You must be signed in to change notification settings - Fork 140
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
feat: nodejs_npm rewrite local deps #215
Closed
cBiscuitSurprise
wants to merge
29
commits into
aws:develop
from
cBiscuitSurprise:feature/nodejs_npm/step-2-rewrite-local-deps
Closed
Changes from 26 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
b89732c
proof of concept action updates working
cBiscuitSurprise 8e5c836
moved dependency helpers to utils.py
cBiscuitSurprise e16d565
Removed unused args in utils.mkdir
cBiscuitSurprise d84e5ea
Expanded to recursive local modules
cBiscuitSurprise 221135a
Updated baseline tests
cBiscuitSurprise 988a6c4
black formatting
cBiscuitSurprise 7697c3b
Added basic integration test for local deps
cBiscuitSurprise 49374dd
Refactored common to single function
cBiscuitSurprise e378384
Python2: updated f"{sfuff}" to "{}".format(stuff)
cBiscuitSurprise b98b533
Updated tests
cBiscuitSurprise f5d1a2f
updated npmjs DESIGN.md
cBiscuitSurprise 48ff701
Python2 regression.
cBiscuitSurprise 21e5e40
Merge branch 'develop' into feature/nodejs_npm/step-2-rewrite-local-deps
mgrandis 62b4f20
removed manifest backup during write
cBiscuitSurprise 3fb1ea1
refactored npm-pack + extract into utility
cBiscuitSurprise a7c25b4
remove unecessary else in nodejs_npm utils
cBiscuitSurprise 8c33ad6
Merge branch 'develop' into feature/nodejs_npm/step-2-rewrite-local-deps
mgrandis 84cf9b5
refactor: Light refactor to do everything in one pass, restore the fi…
mgrandis 7b7a394
Merge pull request #1 from mgrandis/feature/nodejs_npm/step-2-rewrite…
cBiscuitSurprise 850e781
nodejs_npm Tests passing in python3
cBiscuitSurprise e1172ad
nodejs_npm Tests in python2 passing and formatter executed
cBiscuitSurprise 18a203a
Merge branch 'develop' into feature/nodejs_npm/step-2-rewrite-local-deps
mgrandis 36833dd
chore: Update the DESIGN.md doc now that we track paths
mgrandis a81b4d4
refactor: Removed OSUtils.filename (not used anymore) and added missi…
mgrandis da930a3
test: Fix test failing on Windows
mgrandis 662383a
Merge branch 'develop' into feature/nodejs_npm/step-2-rewrite-local-deps
mgrandis f5dfd23
refactor: PR review items
mgrandis bfa2289
fix: Replaced open with io.open for python 2 compatibility
mgrandis ee6576f
fix: Encoding issues
mgrandis File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is the walk necessary?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
During the building process we update the
package.json
files to point to the new packed dependencies.We make backups of the original files.
At the end of the process we walk the dirs to revert the files to their backup so that the files we upload are the original ones. (#187)