-
Notifications
You must be signed in to change notification settings - Fork 55
[Developer:Documentation] Update README.md for Github releasing #671
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
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ To report issues for pdf-annotate.js, please file them under the [Submitty/Submi | |
## Installation | ||
|
||
```bash | ||
npm install @submitty/pdf-annotate.js | ||
npm install Submitty/pdf-annotate.js | ||
``` | ||
|
||
## Example | ||
|
@@ -73,3 +73,15 @@ $ npm test | |
# lint the code | ||
$ npm run lint | ||
``` | ||
|
||
## Building | ||
Commit your built files when contributing. | ||
If on Windows, change the `build` script in `package.json` to `webpack && SET MINIFY=1&webpack`. | ||
```bash | ||
# switch to node v14 or earlier | ||
$ nvm use 14 | ||
|
||
# build the dist files | ||
$ npm run build | ||
``` | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Given that the My suggestion would be that you use GH actions to either:
My personal preference would be (2) as it lowers the barrier to making PRs as it's one less thing to worry about within a PR, and is also not having the dist files show up in the files changed pane always, and that generating the build is a perfect thing for automation. GH actions are also already setup such that if you have There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thank you for the advice! See Submitty/Submitty#10667. We very infrequently touch this repository but we'll keep all this in mind in case a contributor rolls around. |
||
|
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.
Question: Does this mean that pdf-annotate won't be published anymore on NPM? If yes, where can I read more about this decision?! 👀