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

Frontend scripts and docs updates #679

Merged
merged 5 commits into from
Apr 13, 2020
Merged

Conversation

akellbl4
Copy link
Collaborator

@akellbl4 akellbl4 commented Apr 13, 2020

  • rename and combine npm scripts
  • move to checkout@v2 in actions
  • change dev docs
  • move lint staged config to package.json because it easier to see what husky doing on pre-commit

Good to rebase and merge after merging of #671

* rename and combine npm scripts
* move to checkout@v2 in actions
* change dev docs
* move liststaged config to package.json because it easier to understand what husky doing
@akellbl4 akellbl4 requested review from umputun, paskal and Mavrin April 13, 2020 11:40
@@ -51,7 +51,7 @@ ARG NODE_ENV=production
COPY --from=build-frontend-deps /srv/frontend/node_modules /srv/frontend/node_modules
ADD frontend /srv/frontend
RUN cd /srv/frontend && \
if [ -z "$SKIP_FRONTEND_TEST" ] ; then npx run-p check lint lint:style test build ; \
if [ -z "$SKIP_FRONTEND_TEST" ] ; then npx run-p lint test check; \
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

npm run check builds bundle underhood for checking size

@@ -587,6 +587,10 @@ It stars backend service with embedded bolt store on port `8080` with basic auth

### Frontend development

#### Developer guide

Frontend guide can be found here: [./frontend/Readme.md](./frontend/Readme.md)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moved it above because it is good to read first "how" instead of "what" you should do

paskal
paskal previously approved these changes Apr 13, 2020
.github/workflows/ci-test-frontend.yml Show resolved Hide resolved
@akellbl4
Copy link
Collaborator Author

@Mavrin as we discussed offline I moved configs to separate files and add instant commands

@umputun umputun merged commit fab32ac into umputun:master Apr 13, 2020
@umputun umputun added this to the v1.6 milestone Apr 13, 2020
@akellbl4 akellbl4 deleted the frontend-scripts branch June 13, 2021 08:32
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.

4 participants