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: Move a11y, lang, browserify, and webpack out of grunt #5589

Merged
merged 4 commits into from
Nov 16, 2018

Conversation

brandonocasey
Copy link
Contributor

@brandonocasey brandonocasey commented Nov 14, 2018

Moves language, a11y, browserify, and webpack tasks out of grunt.

After this pull request, I think we can have two more pull requests:

  1. That removes grunt and migrates the meta tasks over (dist, test, build, watchAll)
  2. A final pull request that cleans all of the package.json scripts up, making sure it still does everything we want, but in less scripts/code.

package.json Outdated Show resolved Hide resolved
"build:lang": "npm-run-all build:lang:*",
"build:lang:js": "vjslang --dir dist/lang",
"build:lang:copy": "shx --verbose cp -R lang/* dist/lang/",
"pretest:a11y": "shx cp sandbox/descriptions.html.example sandbox/descriptions.test-a11y.html",
Copy link
Member

Choose a reason for hiding this comment

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

at some point in the future, this may want to check if the file already exists, this way you could run the a11y test with local changes, if we had any. Definitely nothing to do right now, though.

@@ -17,11 +17,17 @@
"homepage": "https://videojs.com",
"author": "Steve Heffernan",
"scripts": {
Copy link
Member

Choose a reason for hiding this comment

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

we're starting to get into fiddly territory with the amount of scripts here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, I think we need a pr once we are off of grunt to clean it all up.

@gkatsev gkatsev merged commit db6e376 into master Nov 16, 2018
@gkatsev gkatsev deleted the chore/lang-a11y branch December 3, 2018 20:03
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