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

Update the dependencies #21

Open
Lynorics opened this issue Mar 7, 2016 · 2 comments
Open

Update the dependencies #21

Lynorics opened this issue Mar 7, 2016 · 2 comments

Comments

@Lynorics
Copy link

Lynorics commented Mar 7, 2016

In order to suppoprt newer node and nw.js versions, an update of the dependency versions should be done.
I have struggled some time to fight upcoming errors. ;-)

"devDependencies": {
"fs-jetpack": "^0.7.0",
"gulp": "^3.8.8",
"gulp-babel": "^6.1.2",
"babel-preset-es2015": "^6.6.0",
"gulp-less": "^3.0.5",
"gulp-sourcemaps": "^1.5.2",
"gulp-util": "^3.0.1",
"nw": "^0.12.3",
"q": "^1.0.1",
"tree-kill": "^1.0.0",
"yargs": "^4.2.0"
},
"optionalDependencies": {
"appdmg": "^0.3.6"
},
Furthermore, you have to change the call to babel in "taks/build.js" to:
.pipe(babel({ presets: ['es2015'] }))
The old "module" configuration is no more available.

Additionally, I had to modify the tests. The used imports must be expandd by the relative path "hello_world". But I am unsure if it is a side effect of the version updates---or that I am just to stupid to execute "npm test"... ;-)

@szwacz
Copy link
Owner

szwacz commented Mar 11, 2016

Thank you for your feedback. I won't hide the fact that this project is now in limbo state, because nw.js quite clearly lost the ground for electron. NW.js v0.13 entered release candidate state so I'll look into it in incoming weeks, see what new it brings, and decide whether to maintain or not to maintain this repo.

@fritx
Copy link

fritx commented Oct 12, 2016

If you are using nw 0.12.3 and above, I probably want to use this module instead:
https://github.com/fritx/babel-preset-nw12

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

No branches or pull requests

3 participants