cfpb / design-manual

⚠️ THIS REPO IS DEPRECATED ⚠️ A set of design principles and standards for the Consumer Financial Protection Bureau.
https://cfpb.github.io/design-manual/
Creative Commons Zero v1.0 Universal
98 stars 71 forks source link

Update grunt deps to latest #528

Closed anselmbradford closed 6 years ago

anselmbradford commented 6 years ago

Inspired by updating autoprefixer so it prefixes the appearance CSS property so the select drop-downs aren't rounded on /page-components/form-fields.html.

Changes

Testing

Notes

anselmbradford commented 6 years ago

Umm, any ideas on this? Travis is drunk:

npm ERR! peerinvalid The package grunt@1.0.1 does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer grunt-autoprefixer@3.0.4 wants grunt@>=0.4.2
npm ERR! peerinvalid Peer grunt-banner@0.6.0 wants grunt@>=0.4.0
npm ERR! peerinvalid Peer grunt-contrib-concat@1.0.1 wants grunt@>=0.4.0
npm ERR! peerinvalid Peer load-grunt-tasks@3.5.2 wants grunt@>=0.4.0
npm ERR! peerinvalid Peer grunt-legacssy@0.4.0 wants grunt@~0.4.0
npm ERR! peerinvalid Peer grunt-contrib-jshint@1.1.0 wants grunt@>=0.4.0
npm ERR! peerinvalid Peer grunt-concurrent@2.3.1 wants grunt@>=0.4.0
anselmbradford commented 6 years ago

Figured it out, has to be newer node on Travis.

Scotchester commented 6 years ago

I've never seen this before:

Running "cssmin:main" (cssmin) task
>> Skipping remote @import of "//fast.fonts.net/t/1.css?apiType=css&projectid=44e8c964-4684-44c6-a6e3-3f3da8787b50" as no protocol given.
>> 1 file created. 187.58 kB → 144 kB

But the build completes fine.

anselmbradford commented 6 years ago

@Scotchester yeah just noticed that. Should I add https: to it?

Scotchester commented 6 years ago

@anselmbradford I dunno. I feel like if always using HTTPS were not a problem, we would have already done that.

anselmbradford commented 6 years ago

@Scotchester Try now, I followed https://stackoverflow.com/questions/21173522/cssmin-not-correctly-handling-import/28454233#28454233 in https://github.com/cfpb/design-manual/pull/528/commits/2e214dca654cf70a68409e9897f8129085dcd50e

anselmbradford commented 6 years ago

@Scotchester actually hold up. That borks the css when running npm start.

anselmbradford commented 6 years ago

@Scotchester okay, I downgraded cssmin for now. Can you give it a try again? Thanks!

Scotchester commented 6 years ago

Looks good now!