-
Notifications
You must be signed in to change notification settings - Fork 9
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
Update README #217
Update README #217
Conversation
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.
It's hard to review the changes will all the changed syntax and indent.
I'd suggest to put it back.
@@ -240,12 +240,8 @@ Create and publish NPM package and WebJar | |||
- In the terminal run the following command `npm login`, which prompts you to log into NPM. | |||
|
|||
### Creating and publishing an NPM package | |||
- Run the command `yarn install --frozen-lockfile`, to sync with changes done by others | |||
- Run the command `yarn install --immutable`, to sync with changes done by others | |||
- Run the command `ng build`, to build the current project |
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.
I have to do yarn ng build
instead of just ng build
.
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.
That means your angular cli is not installed properly, this still works for anyone that has it installed correctly.
This is also something that was not changed in this pr.
README.md
Outdated
- Copy the following files into the generated `dist/ladybug` folder | ||
- README.md | ||
- LICENSE | ||
- package.json | ||
- In the `dist/ladybug/index.html` change the types of the three scripts on line 15 to `application/javascript` (so `type="module"` -> `type="application/javascript"`). The specific scripts are: |
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.
On my computer it turned out to be line 14.
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.
You need npm publish -otp=<code from authenticator app of your telephone>
This is not the case for every user, it depends on if you have 2FA enabled. |
Suggested changes are not required
Angular.json was updated in ladybug-frontend which requires an update to the README.md