Skip to content

feat(gulp): grunt parity #1501

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

Merged
merged 13 commits into from
Dec 20, 2015
Merged

feat(gulp): grunt parity #1501

merged 13 commits into from
Dec 20, 2015

Conversation

david-mohr
Copy link
Contributor

Over the last week and a bit I've been testing and updating the gulp file (and some tests) aiming for parity with grunt. I've merged all my changes, piece by piece, into the generator and tested the results.

More testing will be required, but hopefully this will help bring gulp support closer to release.

@david-mohr david-mohr mentioned this pull request Dec 16, 2015
6 tasks
@Awk34
Copy link
Member

Awk34 commented Dec 17, 2015

squash the new task commits into something like

feat(gulp): add missing tasks

add tasks for x, y, z

@david-mohr
Copy link
Contributor Author

Thanks @Awk34, I'll jump on these in the new few days.

add sort function to ensure angular modules appear first in inject:js
task
use template strings to turn all references to `dist/`, `client/` and
`server/` into variables. update some path globs to more accurately
match target files (aiming for grunt parity)
add the following tasks:
* `lint:scripts:test`
* `lint:scripts:serverTest`
* `coverage:integration`
* `coverage:pre`
* `coverage:unit`
* `jscs`
* `lint:scripts:clientTest`
* `lint:scripts:serverTest`
* `mocha:coverage`
* `mocha:integration`
* `serve:dist`
* `start:server:prod`
* `test:e2e`
* `webdriver_update`
ensure important files are preserved, the `.tmp` is cleaned and dot
files are removed when running build task
@david-mohr
Copy link
Contributor Author

Squashed and tweaked. New PR for e2e test update is #1503

update `test:client` to invoke Karma directly
lift mocha settings to a lazypipe for reuse and update test globs to
separate unit and integration server tests
for Grunt parity, the server code should be transpiled with with the
`runtime` option
filter out tests and `app.js` from the script files injected into
`index.html`
use `rev.manifest` to record name changes and pass the manifest to
`rev.replace` to update the appropriate files
@david-mohr
Copy link
Contributor Author

New PR for mocha test updates: #1511

Awk34 added a commit that referenced this pull request Dec 20, 2015
@Awk34 Awk34 merged commit 9f2c5d8 into angular-fullstack:canary Dec 20, 2015
@Awk34
Copy link
Member

Awk34 commented Dec 20, 2015

Thanks!!

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