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

- Windows compatibility for import #72

Merged
merged 1 commit into from
May 2, 2020
Merged

Conversation

brettz9
Copy link
Collaborator

@brettz9 brettz9 commented May 2, 2020

Fixes #71.

  1. Windows compatibility for import
  2. Avoid need for running prebuild (which apparently auto-occurs during install given that build does. prebuild wouldn't be run with npm i --ignore-scripts anyways.
  3. Change prepublishOnly to prepare to ensure local npm install (as from a Git clone) gets the dist files built

@brettz9 brettz9 changed the title Drop module Add file:// to import URLs for Windows compatibility May 2, 2020
- Avoid need for running `prebuild` (which apparently auto-occurs during install given that [`build`](https://docs.npmjs.com/cli/build) does. `prebuild` wouldn't be run with `npm i --ignore-scripts` anyways.
- Change `prepublishOnly` to `prepare` to ensure local `npm install` (as from a Git clone) gets the `dist` files built
@brettz9 brettz9 changed the title Add file:// to import URLs for Windows compatibility - Windows compatibility for import May 2, 2020
@brettz9
Copy link
Collaborator Author

brettz9 commented May 2, 2020

@ritz078 : Per #71 (comment) , this should now be ready for review, as the approach has been confirmed to work.

@ritz078 ritz078 merged commit 4657839 into ritz078:master May 2, 2020
@ritz078
Copy link
Owner

ritz078 commented May 2, 2020

Thanks a lot for this fix @brettz9

@ritz078
Copy link
Owner

ritz078 commented May 2, 2020

released in v8.0.1

@brettz9 brettz9 deleted the build branch May 2, 2020 11:53
@brettz9
Copy link
Collaborator Author

brettz9 commented May 2, 2020

Thanks for the prompt review and merges!

I noticed an issue with the subsequent commit 422685b for which I've filed #73. Might not necessitate a new release though unless you wished to reduce your own package's file size. :-)

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.

8.0.0 crashes with 'Cannot find module boxen.js'
2 participants