Add manual postpublish command to all public packages and update CHANGELOG.json

This commit is contained in:
Fabio Berger 2018-04-02 18:46:53 +09:00
parent 6241d06f27
commit 3bf3f479f5
36 changed files with 65 additions and 30 deletions

View File

@ -27,6 +27,7 @@
"build:commonjs": "tsc && copyfiles -u 2 './src/artifacts/**/*.json' ./lib/src/artifacts && copyfiles -u 3 './lib/src/monorepo_scripts/**/*' ./scripts", "build:commonjs": "tsc && copyfiles -u 2 './src/artifacts/**/*.json' ./lib/src/artifacts && copyfiles -u 3 './lib/src/monorepo_scripts/**/*' ./scripts",
"test:commonjs": "run-s build:commonjs run_mocha", "test:commonjs": "run-s build:commonjs run_mocha",
"run_mocha": "mocha lib/test/**/*_test.js --timeout 10000 --bail --exit", "run_mocha": "mocha lib/test/**/*_test.js --timeout 10000 --bail --exit",
"manual:postpublish": "yarn build; node ./scripts/postpublish.js",
"docs:stage": "yarn build && node ./scripts/stage_docs.js", "docs:stage": "yarn build && node ./scripts/stage_docs.js",
"docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --json $JSON_FILE_PATH $PROJECT_FILES", "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --json $JSON_FILE_PATH $PROJECT_FILES",
"upload_docs_json": "aws s3 cp generated_docs/index.json $S3_URL --profile 0xproject --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --content-type application/json" "upload_docs_json": "aws s3 cp generated_docs/index.json $S3_URL --profile 0xproject --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --content-type application/json"

View File

@ -6,7 +6,8 @@
{ {
"note": "Dependencies updated" "note": "Dependencies updated"
} }
] ],
"isPublished": true
}, },
{ {
"version": "0.2.5", "version": "0.2.5",

View File

@ -8,7 +8,8 @@
"build:watch": "tsc -w", "build:watch": "tsc -w",
"lint": "tslint --project . 'src/**/*.ts'", "lint": "tslint --project . 'src/**/*.ts'",
"clean": "shx rm -rf lib scripts", "clean": "shx rm -rf lib scripts",
"build": "tsc && copyfiles -u 2 './lib/monorepo_scripts/**/*' ./scripts" "build": "tsc && copyfiles -u 2 './lib/monorepo_scripts/**/*' ./scripts",
"manual:postpublish": "yarn build; node ./scripts/postpublish.js"
}, },
"bin": { "bin": {
"abi-gen": "lib/index.js" "abi-gen": "lib/index.js"

View File

@ -6,7 +6,8 @@
{ {
"note": "Dependencies updated" "note": "Dependencies updated"
} }
] ],
"isPublished": true
}, },
{ {
"version": "0.2.0", "version": "0.2.0",

View File

@ -14,7 +14,8 @@
"test": "run-s clean build run_mocha", "test": "run-s clean build run_mocha",
"test:coverage": "nyc npm run test --all && yarn coverage:report:lcov", "test:coverage": "nyc npm run test --all && yarn coverage:report:lcov",
"coverage:report:lcov": "nyc report --reporter=text-lcov > coverage/lcov.info", "coverage:report:lcov": "nyc report --reporter=text-lcov > coverage/lcov.info",
"test:circleci": "yarn test:coverage" "test:circleci": "yarn test:coverage",
"manual:postpublish": "yarn build; node ./scripts/postpublish.js"
}, },
"license": "Apache-2.0", "license": "Apache-2.0",
"repository": { "repository": {

View File

@ -6,7 +6,8 @@
{ {
"note": "Dependencies updated" "note": "Dependencies updated"
} }
] ],
"isPublished": true
}, },
{ {
"version": "0.0.2", "version": "0.0.2",

View File

@ -8,7 +8,8 @@
"build:watch": "tsc -w", "build:watch": "tsc -w",
"build": "tsc && copyfiles -u 2 './lib/monorepo_scripts/**/*' ./scripts", "build": "tsc && copyfiles -u 2 './lib/monorepo_scripts/**/*' ./scripts",
"clean": "shx rm -rf lib scripts", "clean": "shx rm -rf lib scripts",
"lint": "tslint --project . 'src/**/*.ts'" "lint": "tslint --project . 'src/**/*.ts'",
"manual:postpublish": "yarn build; node ./scripts/postpublish.js"
}, },
"license": "Apache-2.0", "license": "Apache-2.0",
"repository": { "repository": {

View File

@ -6,7 +6,8 @@
{ {
"note": "Dependencies updated" "note": "Dependencies updated"
} }
] ],
"isPublished": true
}, },
{ {
"version": "0.6.4", "version": "0.6.4",

View File

@ -22,6 +22,7 @@
"test:coverage": "nyc npm run test --all && yarn coverage:report:lcov", "test:coverage": "nyc npm run test --all && yarn coverage:report:lcov",
"coverage:report:lcov": "nyc report --reporter=text-lcov > coverage/lcov.info", "coverage:report:lcov": "nyc report --reporter=text-lcov > coverage/lcov.info",
"test:circleci": "yarn test:coverage", "test:circleci": "yarn test:coverage",
"manual:postpublish": "yarn build; node ./scripts/postpublish.js",
"docs:stage": "yarn build && node ./scripts/stage_docs.js", "docs:stage": "yarn build && node ./scripts/stage_docs.js",
"docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --json $JSON_FILE_PATH $PROJECT_FILES", "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --json $JSON_FILE_PATH $PROJECT_FILES",
"upload_docs_json": "aws s3 cp generated_docs/index.json $S3_URL --profile 0xproject --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --content-type application/json" "upload_docs_json": "aws s3 cp generated_docs/index.json $S3_URL --profile 0xproject --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --content-type application/json"

View File

@ -7,7 +7,8 @@
"pr": 491 "pr": 491
} }
], ],
"timestamp": 1522658513 "timestamp": 1522658513,
"isPublished": true
}, },
{ {
"version": "0.3.1", "version": "0.3.1",

View File

@ -17,6 +17,7 @@
"lint": "tslint --project . 'src/**/*.ts' 'test/**/*.ts'", "lint": "tslint --project . 'src/**/*.ts' 'test/**/*.ts'",
"test:circleci": "yarn test:coverage", "test:circleci": "yarn test:coverage",
"docs:stage": "yarn build && node ./scripts/stage_docs.js", "docs:stage": "yarn build && node ./scripts/stage_docs.js",
"manual:postpublish": "yarn build; node ./scripts/postpublish.js",
"docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --json $JSON_FILE_PATH $PROJECT_FILES", "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --json $JSON_FILE_PATH $PROJECT_FILES",
"upload_docs_json": "aws s3 cp generated_docs/index.json $S3_URL --profile 0xproject --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --content-type application/json" "upload_docs_json": "aws s3 cp generated_docs/index.json $S3_URL --profile 0xproject --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --content-type application/json"
}, },

View File

@ -6,7 +6,8 @@
{ {
"note": "Dependencies updated" "note": "Dependencies updated"
} }
] ],
"isPublished": true
}, },
{ {
"version": "0.3.1", "version": "0.3.1",

View File

@ -13,7 +13,8 @@
"test:coverage": "nyc npm run test --all && yarn coverage:report:lcov", "test:coverage": "nyc npm run test --all && yarn coverage:report:lcov",
"coverage:report:lcov": "nyc report --reporter=text-lcov > coverage/lcov.info", "coverage:report:lcov": "nyc report --reporter=text-lcov > coverage/lcov.info",
"clean": "shx rm -rf lib scripts", "clean": "shx rm -rf lib scripts",
"lint": "tslint --project . 'src/**/*.ts' 'test/**/*.ts'" "lint": "tslint --project . 'src/**/*.ts' 'test/**/*.ts'",
"manual:postpublish": "yarn build; node ./scripts/postpublish.js"
}, },
"license": "Apache-2.0", "license": "Apache-2.0",
"repository": { "repository": {

View File

@ -6,7 +6,8 @@
{ {
"note": "Dependencies updated" "note": "Dependencies updated"
} }
] ],
"isPublished": true
}, },
{ {
"version": "0.7.13", "version": "0.7.13",

View File

@ -14,6 +14,7 @@
"run_mocha": "mocha lib/test/**/*_test.js", "run_mocha": "mocha lib/test/**/*_test.js",
"clean": "shx rm -rf lib test_temp scripts", "clean": "shx rm -rf lib test_temp scripts",
"build": "tsc && copyfiles -u 3 './lib/src/monorepo_scripts/**/*' ./scripts", "build": "tsc && copyfiles -u 3 './lib/src/monorepo_scripts/**/*' ./scripts",
"manual:postpublish": "yarn build; node ./scripts/postpublish.js",
"docs:stage": "yarn build && node ./scripts/stage_docs.js", "docs:stage": "yarn build && node ./scripts/stage_docs.js",
"docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --json $JSON_FILE_PATH $PROJECT_FILES", "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --json $JSON_FILE_PATH $PROJECT_FILES",
"upload_docs_json": "aws s3 cp generated_docs/index.json $S3_URL --profile 0xproject --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --content-type application/json" "upload_docs_json": "aws s3 cp generated_docs/index.json $S3_URL --profile 0xproject --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --content-type application/json"

View File

@ -13,7 +13,7 @@
"convert_changelogs": "run-s build script:convert_changelogs", "convert_changelogs": "run-s build script:convert_changelogs",
"script:deps_versions": "node ./lib/deps_versions.js", "script:deps_versions": "node ./lib/deps_versions.js",
"script:publish": "IS_DRY_RUN=true node ./lib/publish.js", "script:publish": "IS_DRY_RUN=true node ./lib/publish.js",
"script:convert_changelogs": "node ./lib/convert_changelogs.js" "script:convert_changelogs": "node ./lib/convert_changelogs.js",
}, },
"repository": { "repository": {
"type": "git", "type": "git",

View File

@ -22,7 +22,8 @@
"pr": 465 "pr": 465
} }
], ],
"timestamp": 1522658513 "timestamp": 1522658513,
"isPublished": true
}, },
{ {
"version": "0.0.3", "version": "0.0.3",

View File

@ -8,7 +8,8 @@
"lint": "tslint --project . 'src/**/*.ts' 'src/**/*.tsx'", "lint": "tslint --project . 'src/**/*.ts' 'src/**/*.tsx'",
"build": "tsc && copyfiles -u 2 './lib/monorepo_scripts/**/*' ./scripts", "build": "tsc && copyfiles -u 2 './lib/monorepo_scripts/**/*' ./scripts",
"build:watch": "tsc -w", "build:watch": "tsc -w",
"clean": "shx rm -rf lib scripts" "clean": "shx rm -rf lib scripts",
"manual:postpublish": "yarn build; node ./scripts/postpublish.js"
}, },
"author": "Fabio Berger", "author": "Fabio Berger",
"license": "Apache-2.0", "license": "Apache-2.0",

View File

@ -13,6 +13,7 @@
"note": "Reorganized colors and added new ones" "note": "Reorganized colors and added new ones"
} }
], ],
"timestamp": 1522658513 "timestamp": 1522658513,
"isPublished": true
} }
] ]

View File

@ -8,7 +8,8 @@
"lint": "tslint --project . 'src/**/*.ts' 'src/**/*.tsx'", "lint": "tslint --project . 'src/**/*.ts' 'src/**/*.tsx'",
"build": "tsc && copyfiles -u 2 './lib/monorepo_scripts/**/*' ./scripts", "build": "tsc && copyfiles -u 2 './lib/monorepo_scripts/**/*' ./scripts",
"build:watch": "tsc -w", "build:watch": "tsc -w",
"clean": "shx rm -rf lib scripts" "clean": "shx rm -rf lib scripts",
"manual:postpublish": "yarn build; node ./scripts/postpublish.js"
}, },
"author": "Fabio Berger", "author": "Fabio Berger",
"license": "Apache-2.0", "license": "Apache-2.0",

View File

@ -6,6 +6,7 @@
{ {
"note": "Dependencies updated" "note": "Dependencies updated"
} }
] ],
"isPublished": true
} }
] ]

View File

@ -14,6 +14,7 @@
"run_mocha": "mocha lib/test/**/*_test.js", "run_mocha": "mocha lib/test/**/*_test.js",
"clean": "shx rm -rf lib scripts", "clean": "shx rm -rf lib scripts",
"build": "copyfiles 'test/fixtures/**/*' ./lib && tsc && copyfiles -u 3 './lib/src/monorepo_scripts/**/*' ./scripts", "build": "copyfiles 'test/fixtures/**/*' ./lib && tsc && copyfiles -u 3 './lib/src/monorepo_scripts/**/*' ./scripts",
"manual:postpublish": "yarn build; node ./scripts/postpublish.js",
"docs:stage": "yarn build && node ./scripts/stage_docs.js", "docs:stage": "yarn build && node ./scripts/stage_docs.js",
"docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --json $JSON_FILE_PATH $PROJECT_FILES", "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --json $JSON_FILE_PATH $PROJECT_FILES",
"upload_docs_json": "aws s3 cp generated_docs/index.json $S3_URL --profile 0xproject --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --content-type application/json" "upload_docs_json": "aws s3 cp generated_docs/index.json $S3_URL --profile 0xproject --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --content-type application/json"

View File

@ -7,7 +7,8 @@
"pr": 451 "pr": 451
} }
], ],
"timestamp": 1522658513 "timestamp": 1522658513,
"isPublished": true
}, },
{ {
"version": "0.0.2", "version": "0.0.2",

View File

@ -7,12 +7,13 @@
"scripts": { "scripts": {
"build:watch": "tsc -w", "build:watch": "tsc -w",
"clean": "shx rm -rf lib scripts", "clean": "shx rm -rf lib scripts",
"build": "tsc", "build": "tsc && copyfiles -u 3 './lib/src/monorepo_scripts/**/*' ./scripts",
"lint": "tslint --project . 'src/**/*.ts' 'test/**/*.ts'", "lint": "tslint --project . 'src/**/*.ts' 'test/**/*.ts'",
"test": "run-s clean build copy_test_environments copy_test_fixtures run_mocha", "test": "run-s clean build copy_test_environments copy_test_fixtures run_mocha",
"copy_test_fixtures": "copyfiles -u 2 './test/fixtures/**/*.json' ./lib/test/fixtures", "copy_test_fixtures": "copyfiles -u 2 './test/fixtures/**/*.json' ./lib/test/fixtures",
"copy_test_environments": "copyfiles -u 2 './test/environments/**/*.json' ./lib/test/environments", "copy_test_environments": "copyfiles -u 2 './test/environments/**/*.json' ./lib/test/environments",
"run_mocha": "mocha lib/test/**/*_test.js" "run_mocha": "mocha lib/test/**/*_test.js",
"manual:postpublish": "yarn build; node ./scripts/postpublish.js"
}, },
"bin": { "bin": {
"sra-report": "lib/index.js" "sra-report": "lib/index.js"

View File

@ -11,7 +11,8 @@
"pr": 465 "pr": 465
} }
], ],
"timestamp": 1522658513 "timestamp": 1522658513,
"isPublished": true
}, },
{ {
"version": "0.8.0", "version": "0.8.0",

View File

@ -18,6 +18,7 @@
"test:all": "run-s test:unit test:integration", "test:all": "run-s test:unit test:integration",
"test:unit": "run-s clean build run_mocha_unit", "test:unit": "run-s clean build run_mocha_unit",
"test:integration": "run-s clean build run_mocha_integration", "test:integration": "run-s clean build run_mocha_integration",
"manual:postpublish": "yarn build; node ./scripts/postpublish.js",
"docs:stage": "yarn build && node ./scripts/stage_docs.js", "docs:stage": "yarn build && node ./scripts/stage_docs.js",
"docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --json $JSON_FILE_PATH $PROJECT_FILES", "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --json $JSON_FILE_PATH $PROJECT_FILES",
"upload_docs_json": "aws s3 cp generated_docs/index.json $S3_URL --profile 0xproject --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --content-type application/json" "upload_docs_json": "aws s3 cp generated_docs/index.json $S3_URL --profile 0xproject --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --content-type application/json"

View File

@ -6,7 +6,8 @@
{ {
"note": "Dependencies updated" "note": "Dependencies updated"
} }
] ],
"isPublished": true
}, },
{ {
"version": "0.4.9", "version": "0.4.9",

View File

@ -7,7 +7,8 @@
"build:watch": "tsc -w", "build:watch": "tsc -w",
"build": "tsc && copyfiles -u 2 './lib/monorepo_scripts/**/*' ./scripts", "build": "tsc && copyfiles -u 2 './lib/monorepo_scripts/**/*' ./scripts",
"clean": "shx rm -rf lib scripts", "clean": "shx rm -rf lib scripts",
"lint": "tslint --project . 'rules/**/*.ts'" "lint": "tslint --project . 'rules/**/*.ts'",
"manual:postpublish": "yarn build; node ./scripts/postpublish.js"
}, },
"repository": { "repository": {
"type": "git", "type": "git",

View File

@ -6,7 +6,8 @@
{ {
"note": "Dependencies updated" "note": "Dependencies updated"
} }
] ],
"isPublished": true
}, },
{ {
"version": "0.4.0", "version": "0.4.0",

View File

@ -8,7 +8,8 @@
"build:watch": "tsc -w", "build:watch": "tsc -w",
"build": "tsc && copyfiles -u 2 './lib/monorepo_scripts/**/*' ./scripts", "build": "tsc && copyfiles -u 2 './lib/monorepo_scripts/**/*' ./scripts",
"clean": "shx rm -rf lib scripts", "clean": "shx rm -rf lib scripts",
"lint": "tslint --project . 'src/**/*.ts'" "lint": "tslint --project . 'src/**/*.ts'",
"manual:postpublish": "yarn build; node ./scripts/postpublish.js"
}, },
"license": "Apache-2.0", "license": "Apache-2.0",
"repository": { "repository": {

View File

@ -2,6 +2,7 @@
{ {
"version": "0.0.2", "version": "0.0.2",
"changes": [], "changes": [],
"timestamp": 1522658513 "timestamp": 1522658513,
"isPublished": true
} }
] ]

View File

@ -4,7 +4,8 @@
"description": "0x project typescript type definitions", "description": "0x project typescript type definitions",
"scripts": { "scripts": {
"build": "tsc && copyfiles -u 1 './lib/**/*' ./scripts", "build": "tsc && copyfiles -u 1 './lib/**/*' ./scripts",
"clean": "shx rm -rf scripts" "clean": "shx rm -rf scripts",
"manual:postpublish": "yarn build; node ./scripts/postpublish.js"
}, },
"repository": { "repository": {
"type": "git", "type": "git",

View File

@ -6,7 +6,8 @@
{ {
"note": "Dependencies updated" "note": "Dependencies updated"
} }
] ],
"isPublished": true
}, },
{ {
"version": "0.4.3", "version": "0.4.3",

View File

@ -8,7 +8,8 @@
"build:watch": "tsc -w", "build:watch": "tsc -w",
"build": "tsc && copyfiles -u 2 './lib/monorepo_scripts/**/*' ./scripts", "build": "tsc && copyfiles -u 2 './lib/monorepo_scripts/**/*' ./scripts",
"clean": "shx rm -rf lib scripts", "clean": "shx rm -rf lib scripts",
"lint": "tslint --project . 'src/**/*.ts'" "lint": "tslint --project . 'src/**/*.ts'",
"manual:postpublish": "yarn build; node ./scripts/postpublish.js"
}, },
"license": "Apache-2.0", "license": "Apache-2.0",
"repository": { "repository": {

View File

@ -7,7 +7,8 @@
"pr": 465 "pr": 465
} }
], ],
"timestamp": 1522658513 "timestamp": 1522658513,
"isPublished": true
}, },
{ {
"version": "0.3.0", "version": "0.3.0",

View File

@ -9,6 +9,7 @@
"build": "tsc && copyfiles -u 2 './lib/monorepo_scripts/**/*' ./scripts", "build": "tsc && copyfiles -u 2 './lib/monorepo_scripts/**/*' ./scripts",
"clean": "shx rm -rf lib scripts", "clean": "shx rm -rf lib scripts",
"lint": "tslint --project . 'src/**/*.ts'", "lint": "tslint --project . 'src/**/*.ts'",
"manual:postpublish": "yarn build; node ./scripts/postpublish.js",
"docs:stage": "yarn build && node ./scripts/stage_docs.js", "docs:stage": "yarn build && node ./scripts/stage_docs.js",
"docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --json $JSON_FILE_PATH $PROJECT_FILES", "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --json $JSON_FILE_PATH $PROJECT_FILES",
"upload_docs_json": "aws s3 cp generated_docs/index.json $S3_URL --profile 0xproject --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --content-type application/json" "upload_docs_json": "aws s3 cp generated_docs/index.json $S3_URL --profile 0xproject --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --content-type application/json"