Skip to content

Commit

Permalink
chore: remove lerna
Browse files Browse the repository at this point in the history
  • Loading branch information
develar committed Jun 2, 2017
1 parent aea5799 commit 2fab4bf
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 35 deletions.
6 changes: 6 additions & 0 deletions .idea/dictionaries/develar.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 0 additions & 7 deletions lerna.json

This file was deleted.

6 changes: 3 additions & 3 deletions packages/electron-builder/src/targets/dmg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,9 @@ export class DmgTarget extends Target {
}

return custom
.replace(/\$\{version}/g, appInfo.version)
.replace(/\$\{name}/g, appInfo.name)
.replace(/\$\{productName}/g, appInfo.productName)
.replace(/\${version}/g, appInfo.version)
.replace(/\${name}/g, appInfo.name)
.replace(/\${productName}/g, appInfo.productName)
}

// public to test
Expand Down
19 changes: 19 additions & 0 deletions packages/update-deps.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
const BluebirdPromise = require("bluebird-lst")
const spawn = require(__dirname + "/electron-builder-util/out/util.js").spawn

function main() {
return BluebirdPromise.map(require("./process").getPackages(), projectDir => {
if (projectDir.includes("electron-forge-maker-")) {
return
}

return spawn("ncu", ["--upgradeAll", "--reject", "electron-builder-http,electron-builder-util,electron-builder-core,electron-publish,electron-forge-maker-appimage,electron-forge-maker-nsis,electron-forge-maker-snap"], {cwd: projectDir, stdio: ["ignore", "inherit", "inherit"]})
})
}

main()
.then(() => console.log("done"))
.catch(error => {
console.error((error.stack || error).toString())
process.exit(-1)
})
46 changes: 21 additions & 25 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
version "2.1.0"
resolved "https://registry.yarnpkg.com/7zip-bin-win/-/7zip-bin-win-2.1.0.tgz#ce632da797ec282c5d2a8d07b60e8df7ca7f164d"

"7zip-bin@^2.0.4":
"7zip-bin@^2.1.0":
version "2.1.0"
resolved "https://registry.yarnpkg.com/7zip-bin/-/7zip-bin-2.1.0.tgz#d728d3f950895cfcfee1a166fe93afc07dfe35a9"
optionalDependencies:
Expand All @@ -26,9 +26,9 @@
version "1.3.29"
resolved "https://registry.yarnpkg.com/@types/ini/-/ini-1.3.29.tgz#1325e981e047d40d13ce0359b821475b97741d2f"

"@types/jest@^19.2.3":
version "19.2.3"
resolved "https://registry.yarnpkg.com/@types/jest/-/jest-19.2.3.tgz#61748040e8589a891dfc2ec1d16a2dd74482980e"
"@types/jest@^19.2.4":
version "19.2.4"
resolved "https://registry.yarnpkg.com/@types/jest/-/jest-19.2.4.tgz#543651712535962b7dc615e18e4a381fc2687442"

"@types/js-yaml@^3.5.30":
version "3.5.30"
Expand All @@ -39,12 +39,12 @@
resolved "https://registry.yarnpkg.com/@types/node-forge/-/node-forge-0.6.9.tgz#38e0e00de8e6f3ff0bb1f4cddcad43e7b580733a"

"@types/node@*":
version "7.0.23"
resolved "https://registry.yarnpkg.com/@types/node/-/node-7.0.23.tgz#ededfd92e61046c32fcad56ea7e1101733fad4a4"
version "7.0.25"
resolved "https://registry.yarnpkg.com/@types/node/-/node-7.0.25.tgz#1a26bd505fc0480e9cc9fd18eddb7a8b77057832"

"@types/source-map-support@^0.2.28":
version "0.2.28"
resolved "https://registry.yarnpkg.com/@types/source-map-support/-/source-map-support-0.2.28.tgz#ce6497dfa9c9fbd21a753955b4a51d8993d759dd"
"@types/source-map-support@^0.4.0":
version "0.4.0"
resolved "https://registry.yarnpkg.com/@types/source-map-support/-/source-map-support-0.4.0.tgz#a62a1866614af68c888173c001481f242aaf148b"
dependencies:
"@types/node" "*"

Expand Down Expand Up @@ -265,9 +265,9 @@ asynckit@^0.4.0:
version "0.4.0"
resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79"

aws-sdk@^2.59.0:
version "2.60.0"
resolved "https://registry.yarnpkg.com/aws-sdk/-/aws-sdk-2.60.0.tgz#5c1e678bd087753339d756ef7da0a4f5fa3393c9"
aws-sdk@^2.61.0:
version "2.61.0"
resolved "https://registry.yarnpkg.com/aws-sdk/-/aws-sdk-2.61.0.tgz#2c104788e1696e7060c6ffaa1c6560d6f9c884af"
dependencies:
buffer "5.0.6"
crypto-browserify "1.0.9"
Expand Down Expand Up @@ -620,10 +620,6 @@ buffer-crc32@^0.2.1:
version "0.2.13"
resolved "https://registry.yarnpkg.com/buffer-crc32/-/buffer-crc32-0.2.13.tgz#0d333e3f00eac50aa1454abd30ef8c2a5d9a7242"

buffer-shims@~1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/buffer-shims/-/buffer-shims-1.0.0.tgz#9978ce317388c649ad8793028c3477ef044a8b51"

[email protected]:
version "5.0.6"
resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.0.6.tgz#2ea669f7eec0b6eda05b08f8b5ff661b28573588"
Expand Down Expand Up @@ -1088,9 +1084,9 @@ electron-is-dev@^0.1.2:
version "0.1.2"
resolved "https://registry.yarnpkg.com/electron-is-dev/-/electron-is-dev-0.1.2.tgz#8a1043e32b3a1da1c3f553dce28ce764246167e3"

[email protected].5:
version "0.4.5"
resolved "https://registry.yarnpkg.com/electron-osx-sign/-/electron-osx-sign-0.4.5.tgz#59037cae6ac05ba9e802f76d9bb772b31a8c75c7"
[email protected].6:
version "0.4.6"
resolved "https://registry.yarnpkg.com/electron-osx-sign/-/electron-osx-sign-0.4.6.tgz#2398e2d7cab5c1d8c3eeabb1cd490376528ec39a"
dependencies:
bluebird "^3.4.7"
compare-version "^0.1.2"
Expand Down Expand Up @@ -2756,14 +2752,14 @@ readable-stream@^1.1.8, readable-stream@~1.1.9:
string_decoder "~0.10.x"

readable-stream@^2.0.0, readable-stream@^2.0.5:
version "2.2.9"
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.2.9.tgz#cf78ec6f4a6d1eb43d26488cac97f042e74b7fc8"
version "2.2.10"
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.2.10.tgz#effe72bb7c884c0dd335e2379d526196d9d011ee"
dependencies:
buffer-shims "~1.0.0"
core-util-is "~1.0.0"
inherits "~2.0.1"
isarray "~1.0.0"
process-nextick-args "~1.0.6"
safe-buffer "^5.0.1"
string_decoder "~1.0.0"
util-deprecate "~1.0.1"

Expand Down Expand Up @@ -3305,9 +3301,9 @@ tslib@^1.7.1:
version "1.7.1"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.7.1.tgz#bc8004164691923a79fe8378bbeb3da2017538ec"

tslint@^5.3.2:
version "5.4.1"
resolved "https://registry.yarnpkg.com/tslint/-/tslint-5.4.1.tgz#4b6768f26e5efb14cf34ac0714465e62bebb795b"
tslint@^5.4.2:
version "5.4.2"
resolved "https://registry.yarnpkg.com/tslint/-/tslint-5.4.2.tgz#609b6640cc0424f4a395a9adf68c375563c549c7"
dependencies:
babel-code-frame "^6.22.0"
colors "^1.1.2"
Expand Down

0 comments on commit 2fab4bf

Please sign in to comment.