-
Notifications
You must be signed in to change notification settings - Fork 166
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
Update package.json deps #1359
Update package.json deps #1359
Conversation
Starting demo at: http://vanilla-framework-pr-1359.run.demo.haus/vanilla-framework/ |
Was there a reason for updating? |
@nottrobin Previously, this error was appearing - bumping these deps should resolve it:
|
package-lock.json
Outdated
@@ -0,0 +1,427 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please don't commit package-lock.json
, and add it to .gitignore
instead. I think it's just asking for trouble to commit it, because it will inevitably get subtly out-of-sync with yarn.lock
and then it will look like we're sanctioning two slightly different versions of dependencies. Hopefully Yarn will support package-lock.json
someday, then we can revisit this policy.
I should probably write this down in the practices repo.
80455d5
to
1b77a76
Compare
@nottrobin Done - ready for re-review |
I'm afraid I'd still seeing the issue with the new version: [robin@xps] $ ./run build
yarn install v0.24.4
[1/4] Resolving packages...
success Already up-to-date.
Done in 0.80s.
yarn run v0.24.4
$ gulp build
[11:06:18] Using gulpfile /home/robin/git/vanilla-framework/gulpfile.js
[11:06:18] Starting 'lint:sass'...
[11:06:18] Starting 'sass:build'...
[11:06:20] Finished 'lint:sass' after 1.63 s
TypeError: error.setMessage is not a function
at LazyResult.handleError (/home/robin/git/vanilla-framework/node_modules/postcss/lib/lazy-result.js:162:23)
at /home/robin/git/vanilla-framework/node_modules/postcss/lib/lazy-result.js:196:27
at runMicrotasksCallback (internal/process/next_tick.js:64:5)
at _combinedTickCallback (internal/process/next_tick.js:73:7)
at process._tickCallback (internal/process/next_tick.js:104:9)
(node:17) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 3): TypeError: error.showSourceCode is not a function
(node:17) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Done in 3.72s.
Configuration file: /home/robin/git/vanilla-framework/_config.yml
Source: /home/robin/git/vanilla-framework
Destination: _jekyll/_site
Incremental build: disabled. Enable with --incremental
Generating...
done in 0.29 seconds.
Auto-regeneration: disabled. Use --watch to enable. Even though I'm definitely using the versions you asked for: [robin@xps] $ ./run node yarn list | egrep "gulp-sass-lint|gulp-sourcemaps"
├─ @gulp-sourcemaps/identity-map@1.0.1
├─ @gulp-sourcemaps/map-sources@1.0.0
├─ gulp-sass-lint@1.3.3
├─ gulp-sourcemaps@2.6.1
│ ├─ @gulp-sourcemaps/identity-map@1.X
│ ├─ @gulp-sourcemaps/map-sources@1.X |
I've isolated this error to |
@nottrobin Despite this PR not resolving the error above which is now tracked by an issue on this repo, bumping these two deps will bring improvements regardless: Sass-lint improvements - https://github.com/sasstools/sass-lint/releases/tag/v1.11.0 |
@barrymcgee so now that we live in a world with lockfiles, there's an important difference between what's defined in
|
@nottrobin Thanks for the comprehensive explanation, I'll do as suggested. |
1b77a76
to
3a578ec
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect - tested locally, all seems to work. 👍 🎆
Done
Updated gulp-sourcemaps and gulp-sass-lint deps
QA
./run serve --watch
./run build