Skip to content
This repository has been archived by the owner on Mar 19, 2021. It is now read-only.

fix: test suite #30

Merged
merged 2 commits into from
Mar 8, 2018
Merged

fix: test suite #30

merged 2 commits into from
Mar 8, 2018

Conversation

stephenmathieson
Copy link
Member

This patch updates the build process and fixes the test suite.

Notable changes:

  • The "grunt" dependency has been removed (along with Gruntfile.js); instead, we just call browserify directly.
  • Babel is run via the babelify transform.
  • The CSS (services.css) is now properly included in the build.
  • The webcomponents.js dependency is now imported into the build rather than arbitrary copied into the dist/ directory.

This is required before we can tackle #29.

/cc @WilcoFiers

This patch updates the build process and fixes the test suite.

Notable changes:

- The "grunt" dependency has been removed (along with `Gruntfile.js`); instead, we just call `browserify` directly.
- Babel is run via the `babelify` transform.
- The CSS (services.css) is now properly included in the build.
- The `webcomponents.js` dependency is now imported into the build rather than arbitrary copied into the `dist/` directory.

This is required before we can tackle #29.

/cc @WilcoFiers
@CLAassistant
Copy link

CLAassistant commented Mar 7, 2018

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@WilcoFiers WilcoFiers left a comment

Choose a reason for hiding this comment

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

Can you update the commit message as well? "Test suite" when read without context (e.g. in the changelog) isn't meaningful. Maybe something like "Simplified the example by removing Grunt"

@@ -21,12 +22,22 @@
"devDependencies": {
"babel-preset-es2015": "^6.6.0",
"babel-preset-react": "^6.5.0",
"babelify": "^8.0.0",
Copy link
Contributor

Choose a reason for hiding this comment

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

This was complaining that I needed babel-core. Do we need to add that?

Copy link
Member Author

Choose a reason for hiding this comment

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

Whoops, yes. It's a peer dependency of babelify. Will update.

@stephenmathieson
Copy link
Member Author

Can you update the commit message as well?

Are you able to adjust the commit message when squashing this in? I am still not super familiar with "conventional commits", but their documentation suggests that the "final burden" of commit messages falls on the maintainer(s) of the project.

If not, I can adjust the commit message myself and force push, but this seems like an additional (and unnecessary) burden.

@WilcoFiers
Copy link
Contributor

Are you able to adjust the commit message when squashing this in?

Happy to squash. You can use git commit --amend to update your last commit, than force push. the update.

@WilcoFiers WilcoFiers merged commit 311d2e5 into dequelabs:develop Mar 8, 2018
@stephenmathieson stephenmathieson deleted the fix-tests branch March 8, 2018 17:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants