Skip to content

Commit

Permalink
Added package name prefix to all _version for Logger.
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo committed Aug 3, 2019
1 parent 3ba45ff commit 692589d
Show file tree
Hide file tree
Showing 147 changed files with 423 additions and 223 deletions.
10 changes: 9 additions & 1 deletion admin/cmds/update-versions.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,14 @@ if (process.argv.length > 2) {

// Get local package.json (update the tarballHash)
let info = await updatePackage(dirname);
/*
let info = await updatePackage(dirname, {
repository: {
type: "git",
url: "git://github.com/ethers-io/ethers.js.git"
}
});
*/

// Get the remote package.json (or sub in a placeholder for new pacakges)
let npmInfo = await getPackageVersion(info.name);
Expand All @@ -65,7 +73,7 @@ if (process.argv.length > 2) {

// Write out the _version.ts
if (!info._ethers_nobuild) {
let code = "export const version = " + JSON.stringify(newVersion) + ";\n";
let code = "export const version = " + JSON.stringify(dirname + "/" + newVersion) + ";\n";
fs.writeFileSync(resolve(path, "src.ts/_version.ts"), code);
}

Expand Down
2 changes: 1 addition & 1 deletion packages/abi/_version.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export declare const version = "5.0.0-beta.135";
export declare const version = "abi/5.0.0-beta.136";
2 changes: 1 addition & 1 deletion packages/abi/_version.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "5.0.0-beta.135";
exports.version = "abi/5.0.0-beta.136";
8 changes: 6 additions & 2 deletions packages/abi/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ethersproject/abi",
"version": "5.0.0-beta.135",
"version": "5.0.0-beta.136",
"description": "Error utility functions for ethers.",
"main": "index.js",
"scripts": {
Expand All @@ -26,5 +26,9 @@
"publishConfig": {
"access": "public"
},
"tarballHash": "0xe2971001e2b8a5140871de1bcff0e78fc6bd526b6754522bf500c284ece17d9f"
"repository": {
"type": "git",
"url": "git://github.com/ethers-io/ethers.js.git"
},
"tarballHash": "0x9585dafdf431d8f83f4eb02869142a31ef6dfec6638c5706517d012eb363ad47"
}
2 changes: 1 addition & 1 deletion packages/abi/src.ts/_version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const version = "5.0.0-beta.135";
export const version = "abi/5.0.0-beta.136";
2 changes: 1 addition & 1 deletion packages/abstract-provider/_version.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export declare const version = "5.0.0-beta.129";
export declare const version = "abstract-provider/5.0.0-beta.130";
2 changes: 1 addition & 1 deletion packages/abstract-provider/_version.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "5.0.0-beta.129";
exports.version = "abstract-provider/5.0.0-beta.130";
8 changes: 6 additions & 2 deletions packages/abstract-provider/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ethersproject/abstract-provider",
"version": "5.0.0-beta.129",
"version": "5.0.0-beta.130",
"description": "Error utility functions for ethers.",
"main": "index.js",
"browser": {
Expand Down Expand Up @@ -28,5 +28,9 @@
"publishConfig": {
"access": "public"
},
"tarballHash": "0x2db40d6cfb6f643f4a8712a1deb45e834b1b86631e733ff7bd7810289121d47a"
"repository": {
"type": "git",
"url": "git://github.com/ethers-io/ethers.js.git"
},
"tarballHash": "0x38d6dbab6c91fea9f20ed556d76842c9ac28e4542b997401d3e965156d1373e6"
}
2 changes: 1 addition & 1 deletion packages/abstract-provider/src.ts/_version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const version = "5.0.0-beta.129";
export const version = "abstract-provider/5.0.0-beta.130";
2 changes: 1 addition & 1 deletion packages/abstract-signer/_version.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export declare const version = "5.0.0-beta.128";
export declare const version = "abstract-signer/5.0.0-beta.129";
2 changes: 1 addition & 1 deletion packages/abstract-signer/_version.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "5.0.0-beta.128";
exports.version = "abstract-signer/5.0.0-beta.129";
8 changes: 6 additions & 2 deletions packages/abstract-signer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ethersproject/abstract-signer",
"version": "5.0.0-beta.128",
"version": "5.0.0-beta.129",
"description": "Error utility functions for ethers.",
"main": "index.js",
"scripts": {
Expand All @@ -22,5 +22,9 @@
"publishConfig": {
"access": "public"
},
"tarballHash": "0x121a017b5f0ead6463583252996c1897074dac3f88d592c7a38271634aab5859"
"repository": {
"type": "git",
"url": "git://github.com/ethers-io/ethers.js.git"
},
"tarballHash": "0xca5aae60ad4709cb13eaad89f9633310761652995768c9505da0384d9f5927e3"
}
2 changes: 1 addition & 1 deletion packages/abstract-signer/src.ts/_version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const version = "5.0.0-beta.128";
export const version = "abstract-signer/5.0.0-beta.129";
2 changes: 1 addition & 1 deletion packages/address/_version.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export declare const version = "5.0.0-beta.126";
export declare const version = "address/5.0.0-beta.127";
2 changes: 1 addition & 1 deletion packages/address/_version.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "5.0.0-beta.126";
exports.version = "address/5.0.0-beta.127";
8 changes: 6 additions & 2 deletions packages/address/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ethersproject/address",
"version": "5.0.0-beta.126",
"version": "5.0.0-beta.127",
"description": "Error utility functions for ethers.",
"main": "index.js",
"scripts": {
Expand All @@ -23,5 +23,9 @@
"publishConfig": {
"access": "public"
},
"tarballHash": "0xfc843692a9c02ceebc8035163bdd3ab953cac93219b25be6e2a1525ebb7ffd3d"
"repository": {
"type": "git",
"url": "git://github.com/ethers-io/ethers.js.git"
},
"tarballHash": "0x55cfa7f3239ac053ed675090677f4c64b9fae6e1d0a7cd5431742c7b7e6267f8"
}
2 changes: 1 addition & 1 deletion packages/address/src.ts/_version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const version = "5.0.0-beta.126";
export const version = "address/5.0.0-beta.127";
2 changes: 1 addition & 1 deletion packages/base64/_version.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export declare const version = "5.0.0-beta.124";
export declare const version = "base64/5.0.0-beta.125";
2 changes: 1 addition & 1 deletion packages/base64/_version.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "5.0.0-beta.124";
exports.version = "base64/5.0.0-beta.125";
8 changes: 6 additions & 2 deletions packages/base64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ethersproject/base64",
"version": "5.0.0-beta.124",
"version": "5.0.0-beta.125",
"description": "Base64 coder.",
"main": "index.js",
"browser": "browser.js",
Expand All @@ -19,5 +19,9 @@
"publishConfig": {
"access": "public"
},
"tarballHash": "0xe5da4b9df9188216fed902efb45ee9af1cdb9a47c1212d9a674a93c5adb716bd"
"repository": {
"type": "git",
"url": "git://github.com/ethers-io/ethers.js.git"
},
"tarballHash": "0x8eaae303c42d86ca952abb6fd18217861e916141e565fd66f8024b4b7e870062"
}
2 changes: 1 addition & 1 deletion packages/base64/src.ts/_version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const version = "5.0.0-beta.124";
export const version = "base64/5.0.0-beta.125";
2 changes: 1 addition & 1 deletion packages/basex/_version.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export declare const version = "5.0.0-beta.125";
export declare const version = "basex/5.0.0-beta.126";
2 changes: 1 addition & 1 deletion packages/basex/_version.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "5.0.0-beta.125";
exports.version = "basex/5.0.0-beta.126";
8 changes: 6 additions & 2 deletions packages/basex/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ethersproject/basex",
"version": "5.0.0-beta.125",
"version": "5.0.0-beta.126",
"description": "Base-X without Buffer.",
"main": "index.js",
"scripts": {
Expand All @@ -19,5 +19,9 @@
"publishConfig": {
"access": "public"
},
"tarballHash": "0x9718df45bebfef04f2bd19dca4a17096de8b71cb20a0953ffca85f2f48d7af42"
"repository": {
"type": "git",
"url": "git://github.com/ethers-io/ethers.js.git"
},
"tarballHash": "0xd04ba5a2e481158ac1193a90cf3888d364ee3ed32c4c04a34d6cc22c29d35c8a"
}
2 changes: 1 addition & 1 deletion packages/basex/src.ts/_version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const version = "5.0.0-beta.125";
export const version = "basex/5.0.0-beta.126";
2 changes: 1 addition & 1 deletion packages/bignumber/_version.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export declare const version = "5.0.0-beta.128";
export declare const version = "bignumber/5.0.0-beta.129";
2 changes: 1 addition & 1 deletion packages/bignumber/_version.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "5.0.0-beta.128";
exports.version = "bignumber/5.0.0-beta.129";
8 changes: 6 additions & 2 deletions packages/bignumber/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ethersproject/bignumber",
"version": "5.0.0-beta.128",
"version": "5.0.0-beta.129",
"description": "BigNumber library used in ethers.js.",
"main": "index.js",
"scripts": {
Expand All @@ -22,5 +22,9 @@
"publishConfig": {
"access": "public"
},
"tarballHash": "0x8f8980eb4b0d753d1dc88c557b7fa448628a7cc628991df19cdb97466fd0953e"
"repository": {
"type": "git",
"url": "git://github.com/ethers-io/ethers.js.git"
},
"tarballHash": "0x24cb6b119b3bd1798855c867c5ac09b14b9f7a219b2be49f2371eb9c6fc043e8"
}
2 changes: 1 addition & 1 deletion packages/bignumber/src.ts/_version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const version = "5.0.0-beta.128";
export const version = "bignumber/5.0.0-beta.129";
2 changes: 1 addition & 1 deletion packages/bytes/_version.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export declare const version = "5.0.0-beta.127";
export declare const version = "bytes/5.0.0-beta.128";
2 changes: 1 addition & 1 deletion packages/bytes/_version.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "5.0.0-beta.127";
exports.version = "bytes/5.0.0-beta.128";
8 changes: 6 additions & 2 deletions packages/bytes/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ethersproject/bytes",
"version": "5.0.0-beta.127",
"version": "5.0.0-beta.128",
"description": "Bytes utility functions for ethers.",
"main": "index.js",
"scripts": {
Expand All @@ -20,5 +20,9 @@
"publishConfig": {
"access": "public"
},
"tarballHash": "0x24aa796869c48face90486095d5d95c8d9da01c0b6f32ce1d4327c7d79b62e75"
"repository": {
"type": "git",
"url": "git://github.com/ethers-io/ethers.js.git"
},
"tarballHash": "0x793a4a0bb6c5a84b9dfc8e52a8627700bd85e00ede0a411db5ea25eae5b43cd1"
}
2 changes: 1 addition & 1 deletion packages/bytes/src.ts/_version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const version = "5.0.0-beta.127";
export const version = "bytes/5.0.0-beta.128";
2 changes: 1 addition & 1 deletion packages/cli/_version.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export declare const version = "5.0.0-beta.136";
export declare const version = "cli/5.0.0-beta.137";
2 changes: 1 addition & 1 deletion packages/cli/_version.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "5.0.0-beta.136";
exports.version = "cli/5.0.0-beta.137";
8 changes: 6 additions & 2 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ethersproject/cli",
"version": "5.0.0-beta.136",
"version": "5.0.0-beta.137",
"description": "Command-Line Interface scripts and releated utilities.",
"main": "index.js",
"scripts": {
Expand Down Expand Up @@ -29,5 +29,9 @@
"publishConfig": {
"access": "public"
},
"tarballHash": "0x03ea112e9284e7053a8bb0aea51bdc2c7de129abf2fb3633509c0fd5099df222"
"repository": {
"type": "git",
"url": "git://github.com/ethers-io/ethers.js.git"
},
"tarballHash": "0xfa16e0264bb61085f8bb60719c43a13e3bf22612434e4916efc8af69c3192ffd"
}
2 changes: 1 addition & 1 deletion packages/cli/src.ts/_version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const version = "5.0.0-beta.136";
export const version = "cli/5.0.0-beta.137";
2 changes: 1 addition & 1 deletion packages/constants/_version.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export declare const version = "5.0.0-beta.126";
export declare const version = "constants/5.0.0-beta.127";
2 changes: 1 addition & 1 deletion packages/constants/_version.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "5.0.0-beta.126";
exports.version = "constants/5.0.0-beta.127";
8 changes: 6 additions & 2 deletions packages/constants/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ethersproject/constants",
"version": "5.0.0-beta.126",
"version": "5.0.0-beta.127",
"description": "Error utility functions for ethers.",
"main": "index.js",
"scripts": {
Expand All @@ -18,5 +18,9 @@
"publishConfig": {
"access": "public"
},
"tarballHash": "0xf33835528c26572d9703ffa048dedf600435f5e4061867a22c5f0a80a8b2da7d"
"repository": {
"type": "git",
"url": "git://github.com/ethers-io/ethers.js.git"
},
"tarballHash": "0xf24dd45d26fff811147d6cff7199683bb090c6a182acc58e1007b82a14bf4ee1"
}
2 changes: 1 addition & 1 deletion packages/constants/src.ts/_version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const version = "5.0.0-beta.126";
export const version = "constants/5.0.0-beta.127";
2 changes: 1 addition & 1 deletion packages/contracts/_version.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export declare const version = "5.0.0-beta.135";
export declare const version = "contracts/5.0.0-beta.136";
2 changes: 1 addition & 1 deletion packages/contracts/_version.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "5.0.0-beta.135";
exports.version = "contracts/5.0.0-beta.136";
8 changes: 6 additions & 2 deletions packages/contracts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ethersproject/contracts",
"version": "5.0.0-beta.135",
"version": "5.0.0-beta.136",
"description": "Contract abstraction meta-class for ethers.",
"main": "index.js",
"scripts": {
Expand All @@ -27,5 +27,9 @@
"publishConfig": {
"access": "public"
},
"tarballHash": "0x1f5e01859660fd9090de4b597d7f71ff095f5bddcb894488c8e6848d142bc0c4"
"repository": {
"type": "git",
"url": "git://github.com/ethers-io/ethers.js.git"
},
"tarballHash": "0x28d79f65ed2ec24904f9c7e7d5960e8df2d4e85130b445e08979ad3103334d4b"
}
2 changes: 1 addition & 1 deletion packages/contracts/src.ts/_version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const version = "5.0.0-beta.135";
export const version = "contracts/5.0.0-beta.136";
2 changes: 1 addition & 1 deletion packages/errors/_version.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export declare const version = "5.0.0-beta.127";
export declare const version = "errors/5.0.0-beta.128";
2 changes: 1 addition & 1 deletion packages/errors/_version.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "5.0.0-beta.127";
exports.version = "errors/5.0.0-beta.128";
8 changes: 6 additions & 2 deletions packages/errors/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ethersproject/errors",
"version": "5.0.0-beta.127",
"version": "5.0.0-beta.128",
"description": "Error utility functions for ethers.",
"main": "index.js",
"scripts": {
Expand All @@ -15,5 +15,9 @@
"publishConfig": {
"access": "public"
},
"tarballHash": "0xe8976154307d1c7b39246387063ce62549bb8a01364f9dd6ae53b7d79c187526"
"repository": {
"type": "git",
"url": "git://github.com/ethers-io/ethers.js.git"
},
"tarballHash": "0x53e437565080eff824d332689a72ee12b1794b71f15b783a2951378db03cb9ff"
}
2 changes: 1 addition & 1 deletion packages/errors/src.ts/_version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const version = "5.0.0-beta.127";
export const version = "errors/5.0.0-beta.128";
2 changes: 1 addition & 1 deletion packages/ethers/_version.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export declare const version = "5.0.0-beta.150";
export declare const version = "ethers/5.0.0-beta.151";
2 changes: 1 addition & 1 deletion packages/ethers/_version.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "5.0.0-beta.150";
exports.version = "ethers/5.0.0-beta.151";
Loading

0 comments on commit 692589d

Please sign in to comment.