mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
Fix build process: conflicting dependencies
* package.json listed grunt ^0.4.5, which conflicts with grunt-nw-builder (requires grunt ^1.0.1). * Node versions 7 and above deprecated os.tmpDir, which is used in several dependencies such as temp (outdated deps?) To patch this, run 'npm install' as usual, then execute the shell script 'patch_tmpdir.sh' in the root of this repo.
This commit is contained in:
parent
cb41a72b5b
commit
86a605932f
23622
package-lock.json
generated
Normal file
23622
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -35,7 +35,7 @@
|
||||
"devDependencies": {
|
||||
"dateformat": "2.0.0",
|
||||
"fs-extra": "3.0.1",
|
||||
"grunt": "^0.4.5",
|
||||
"grunt": "^1.0.0",
|
||||
"grunt-casperjs": "^2.2.1",
|
||||
"grunt-cli": "^1.3.2",
|
||||
"grunt-contrib-clean": "1.1.0",
|
||||
|
7
patch_tmpdir.sh
Executable file
7
patch_tmpdir.sh
Executable file
@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
grep -rl "os.tmpDir" node_modules --include \*.js | while read -r file; do
|
||||
|
||||
sed -i 's/os.tmpDir/os.tmpdir/g' $file
|
||||
|
||||
done
|
Loading…
Reference in New Issue
Block a user