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

Chore: Build HTML parser with other parsers in global script #1308

Closed
wants to merge 2 commits into from

Conversation

antross
Copy link
Member

@antross antross commented Sep 12, 2018

Pull request checklist

Make sure you:

For non-trivial changes, please make sure you also:

  • Added/Updated related documentation.
  • Added/Updated related tests.

Short description of the change(s)

For consistency and to ensure it gets built before connector-local.

For consistency and to ensure it gets built before connector-local.
package.json Outdated
@@ -27,8 +27,9 @@
"name": "@hint/monorepo",
"private": true,
"scripts": {
"build": "yarn clean && yarn build:hint && yarn build:utils && yarn build:connectors && npm-run-all --parallel build::parser:* && yarn build:utils-test && loop \"yarn build\" --cwd packages/ --exclude configuration-progressive-web-apps,configuration-web-recommended,connector-edge,hint,utils-debugging-protocol-common,utils-connector-tools,utils-tests-helpers,connector-chrome,connector-jsdom,parser-babel-config,parser-javascript,parser-manifest,parser-typescript-config,parser-webpack-config",
"build": "yarn clean && yarn build:hint && yarn build:utils && yarn build:connectors && npm-run-all --parallel build:parser:* && yarn build:utils-test && loop \"yarn build\" --cwd packages/ --exclude configuration-progressive-web-apps,configuration-web-recommended,connector-edge,hint,utils-debugging-protocol-common,utils-connector-tools,utils-tests-helpers,connector-chrome,connector-jsdom,parser-babel-config,parser-html,parser-javascript,parser-manifest,parser-typescript-config,parser-webpack-config",
Copy link
Contributor

@alrra alrra Sep 12, 2018

Choose a reason for hiding this comment

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

parser-html should be build before connector-local.

Copy link
Member Author

Choose a reason for hiding this comment

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

Technically that should already happen as connector-local is built in loop, not as part of build:connectors.

Probably best to be explicit, though. I'll re-order these to run build:parser:* before build:connectors and add connector-local to the build:connectors step.

Sound good?

Copy link
Contributor

Choose a reason for hiding this comment

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

Probably best to be explicit

Yes, I think it's better to have it more explicit. Thanks!

Includes adding `connector-local` to the `build:connectors` task.
@alrra alrra closed this in 95b495a Sep 12, 2018
@antross antross deleted the fix-html-parser-build-order branch September 13, 2018 19:43
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.

2 participants