FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix #18 by caub · Pull Request #19 · stacktracejs/stackframe · GitHub

fix #18 - #19

Merged
eriwen merged 2 commits into
stacktracejs:masterfrom
caub:patch-1
Jan 5, 2020
Merged

eriwen merged 2 commits into
stacktracejs:masterfrom
caub:patch-1

Conversation

caub commented Feb 13, 2019 •
edited
Loading

Copy link
Copy Markdown
Contributor

Hey @eriwen, could yo have a look?

caub force-pushed the patch-1 branch 3 times, most recently from 1c1c21e to b506512 Compare February 20, 2019 21:09
eriwen self-requested a review September 14, 2019 21:49
eriwen self-assigned this Sep 14, 2019

eriwen commented Sep 14, 2019

Copy link
Copy Markdown
Member

Hey @caub. Could you please add a test that ensures #18 stays fixed?

caub commented Sep 15, 2019 •
edited
Loading

Copy link
Copy Markdown
Contributor Author

@eriwen I added a commit with a test, but npm test isn't working for me, there's probably something to install

> gulp test

fs.js:27
const { Math, Object } = primordials;
                         ^

ReferenceError: primordials is not defined
    at fs.js:27:26
    at req_ (/home/caub/dev/stackframe/node_modules/natives/index.js:143:24)
    at Object.req [as require] (/home/caub/dev/stackframe/node_modules/natives/index.js:55:10)
    at Object.<anonymous> (/home/caub/dev/stackframe/node_modules/vinyl-fs/node_modules/graceful-fs/fs.js:1:37)

niftylettuce commented Sep 16, 2019 via email

Copy link
Copy Markdown
Contributor

caub commented Sep 16, 2019 •
edited
Loading

Copy link
Copy Markdown
Contributor Author

I added a fix commit after googling https://stackoverflow.com/a/55926692/3183756 and gulpjs/undertaker#54 (comment)

(I'm using node12, with this commit it should support all node versions)

ps: btw I'd rather replace all those gulp tasks by simple npm scripts

Comment thread gulpfile.js
}, done).start();
});

gulp.task('copy', function() {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

moved up, the task must be defined before use

Comment thread gulpfile.js Outdated
});

gulp.task('dist', ['copy'], function() {
gulp.task('dist', gulp.series(['copy'], function() {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Copy link
Copy Markdown
Contributor

@caub What's left for this PR to do? Do we need to upgrade to Gulp 4.x and rewrite gulpfile.js? Or switch to NPM scripts? If we do it one way or another, we need to make it consistent across the entire org.

caub commented Sep 17, 2019

Copy link
Copy Markdown
Contributor Author

I upgraded gulp to 4.x on this repo to be able to run tests locally, I can left it to 3.x if you prefer

Copy link
Copy Markdown
Contributor

@caub Could you also upgrade all other repos to 4.x? Would be immensely helpful. I know I'm asking a lot, if you don't have the time I could try to squeeze some in this weekend.

caub commented Sep 17, 2019 •
edited
Loading

Copy link
Copy Markdown
Contributor Author

Sorry, I don't want to rewrite anything else to gulp4, I could rather remove gulp on this repo (and use npm scripts), for other repos I think it can be incremental as it's not breaking anything, it's just a devDep (so no need to do it all at once)

caub commented Sep 18, 2019 •
edited
Loading

Copy link
Copy Markdown
Contributor Author

So what do you choose?

  • undo all gulp changes in this PR
  • keep it like this
  • drop completely gulp, use npm scripts as it simplifies the flow and gulp is not really necessary anyway

Copy link
Copy Markdown
Contributor

npm scripts would be awesome

caub commented Sep 20, 2019

Copy link
Copy Markdown
Contributor Author

@niftylettuce ok, great idea, I'll make another PR for this later

I've removed the gulp4 commit for this PR, to keep it on topic, and merged

eriwen merged commit b44fdc2 into stacktracejs:master Jan 5, 2020

eriwen commented Jan 5, 2020

Copy link
Copy Markdown
Member

Thanks for your contribution, @caub. I now have some time to give stacktrace.js some love and have merged your PR.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL