Skip to content

Commit

Permalink
feat: add autobump script
Browse files Browse the repository at this point in the history
  • Loading branch information
MrArnoldPalmer committed Mar 15, 2020
1 parent 2fd04de commit 48a9c8a
Show file tree
Hide file tree
Showing 35 changed files with 455 additions and 165 deletions.
5 changes: 5 additions & 0 deletions .versionrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"skip": { "tag": true },
"packageFiles": [ { "filename": "lerna.json", "type": "json" } ],
"bumpFiles": [ { "filename": "lerna.json", "type": "json" } ]
}
1 change: 1 addition & 0 deletions buildspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ phases:
- yarn fetch-dotnet-snk
build:
commands:
- /bin/bash ./scripts/align-version.sh
- yarn build && yarn test
post_build:
commands:
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"private": true,
"license": "Apache-2.0",
"version": "0.0.0",
"scripts": {
"build": "lerna run build --stream --sort --concurrency=1",
"bump": "bash scripts/bump.sh",
Expand All @@ -14,10 +15,11 @@
"@typescript-eslint/eslint-plugin": "^2.23.0",
"@typescript-eslint/parser": "^2.23.0",
"eslint": "^6.8.0",
"eslint-plugin-import": "^2.20.1",
"eslint-import-resolver-node": "^0.3.3",
"eslint-import-resolver-typescript": "^2.0.0",
"lerna": "^3.20.2"
"eslint-plugin-import": "^2.20.1",
"lerna": "^3.20.2",
"standard-version": "^7.1.0"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/@fixtures/jsii-calc-bundled/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fixtures/jsii-calc-bundled",
"version": "0.19.0",
"version": "0.0.0",
"private": true,
"license": "Apache-2.0",
"author": {
Expand Down
4 changes: 2 additions & 2 deletions packages/@jsii/dotnet-analyzers/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jsii/dotnet-analyzers",
"version": "1.1.0",
"version": "0.0.0",
"private": true,
"description": ".NET Roslyn Analyzers for Jsii",
"license": "Apache-2.0",
Expand Down Expand Up @@ -38,7 +38,7 @@
},
"devDependencies": {
"@types/node": "^10.17.17",
"jsii-build-tools": "^1.1.0",
"jsii-build-tools": "^0.0.0",
"typescript": "~3.8.3"
}
}
4 changes: 2 additions & 2 deletions packages/@jsii/dotnet-jsonmodel/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jsii/dotnet-jsonmodel",
"version": "1.1.0",
"version": "0.0.0",
"private": true,
"description": ".NET json model for jsii spec and api.",
"license": "Apache-2.0",
Expand Down Expand Up @@ -36,7 +36,7 @@
},
"devDependencies": {
"@types/node": "^10.17.17",
"jsii-build-tools": "^1.1.0",
"jsii-build-tools": "^0.0.0",
"typescript": "~3.8.3"
}
}
8 changes: 4 additions & 4 deletions packages/@jsii/dotnet-runtime-test/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jsii/dotnet-runtime-test",
"version": "1.1.0",
"version": "0.0.0",
"private": true,
"description": "Tests for the .NET client for jsii runtime",
"license": "Apache-2.0",
Expand Down Expand Up @@ -30,10 +30,10 @@
"test:update": "UPDATE_DIFF=1 npm run test"
},
"devDependencies": {
"@jsii/dotnet-runtime": "^1.1.0",
"@jsii/dotnet-runtime": "^0.0.0",
"@types/node": "^10.17.17",
"jsii-calc": "^1.1.0",
"jsii-pacmak": "^1.1.0",
"jsii-calc": "^0.0.0",
"jsii-pacmak": "^0.0.0",
"typescript": "~3.8.3"
}
}
8 changes: 4 additions & 4 deletions packages/@jsii/dotnet-runtime/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jsii/dotnet-runtime",
"version": "1.1.0",
"version": "0.0.0",
"private": true,
"description": ".NET client for jsii runtime",
"license": "Apache-2.0",
Expand Down Expand Up @@ -37,11 +37,11 @@
"package": "package-dotnet"
},
"devDependencies": {
"@jsii/dotnet-jsonmodel": "^1.1.0",
"@jsii/runtime": "^1.1.0",
"@jsii/dotnet-jsonmodel": "^0.0.0",
"@jsii/runtime": "^0.0.0",
"@types/node": "^10.17.17",
"@types/semver": "^7.1.0",
"jsii-build-tools": "^1.1.0",
"jsii-build-tools": "^0.0.0",
"semver": "^7.1.3",
"typescript": "~3.8.3"
}
Expand Down
8 changes: 4 additions & 4 deletions packages/@jsii/integ-test/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jsii/integ-test",
"version": "1.1.0",
"version": "0.0.0",
"description": "A suite of integration tests for JSII and related modules.",
"private": true,
"scripts": {
Expand All @@ -20,9 +20,9 @@
"dotenv": "^8.2.0",
"fs-extra": "^8.1.0",
"jest": "^25.1.0",
"jsii": "^1.1.0",
"jsii-pacmak": "^1.1.0",
"jsii-rosetta": "^1.1.0",
"jsii": "^0.0.0",
"jsii-pacmak": "^0.0.0",
"jsii-rosetta": "^0.0.0",
"tar": "^6.0.1"
},
"devDependencies": {
Expand Down
8 changes: 4 additions & 4 deletions packages/@jsii/java-runtime-test/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jsii/java-runtime-test",
"version": "1.1.0",
"version": "0.0.0",
"private": true,
"description": "Tests for the Java client for jsii runtime",
"license": "Apache-2.0",
Expand Down Expand Up @@ -28,8 +28,8 @@
"test:update": "UPDATE_DIFF=1 npm run test"
},
"devDependencies": {
"@jsii/java-runtime": "^1.1.0",
"jsii-calc": "^1.1.0",
"jsii-pacmak": "^1.1.0"
"@jsii/java-runtime": "^0.0.0",
"jsii-calc": "^0.0.0",
"jsii-pacmak": "^0.0.0"
}
}
6 changes: 3 additions & 3 deletions packages/@jsii/java-runtime/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jsii/java-runtime",
"version": "1.1.0",
"version": "0.0.0",
"private": true,
"description": "Java client for jsii runtime",
"license": "Apache-2.0",
Expand Down Expand Up @@ -31,9 +31,9 @@
"package": "package-java"
},
"devDependencies": {
"@jsii/runtime": "^1.1.0",
"@jsii/runtime": "^0.0.0",
"@types/node": "^10.17.17",
"jsii-build-tools": "^1.1.0",
"jsii-build-tools": "^0.0.0",
"typescript": "~3.8.3"
}
}
12 changes: 6 additions & 6 deletions packages/@jsii/kernel/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jsii/kernel",
"version": "1.1.0",
"version": "0.0.0",
"description": "kernel for jsii execution environment",
"license": "Apache-2.0",
"author": {
Expand Down Expand Up @@ -30,14 +30,14 @@
"package": "package-js"
},
"dependencies": {
"@jsii/spec": "^1.1.0",
"@jsii/spec": "^0.0.0",
"fs-extra": "^8.1.0",
"source-map": "^0.7.3",
"tar": "^6.0.1"
},
"devDependencies": {
"@scope/jsii-calc-base": "^1.1.0",
"@scope/jsii-calc-lib": "^1.1.0",
"@scope/jsii-calc-base": "^0.0.0",
"@scope/jsii-calc-lib": "^0.0.0",
"@types/fs-extra": "^8.1.0",
"@types/jest": "^25.1.4",
"@types/jest-expect-message": "^1.0.1",
Expand All @@ -46,8 +46,8 @@
"eslint": "^6.8.0",
"jest": "^25.1.0",
"jest-expect-message": "^1.0.2",
"jsii-build-tools": "^1.1.0",
"jsii-calc": "^1.1.0",
"jsii-build-tools": "^0.0.0",
"jsii-calc": "^0.0.0",
"typescript": "~3.8.3"
},
"jest": {
Expand Down
10 changes: 5 additions & 5 deletions packages/@jsii/python-runtime/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jsii/python-runtime",
"version": "1.1.0",
"version": "0.0.0",
"private": true,
"description": "Python client for jsii runtime",
"license": "Apache-2.0",
Expand Down Expand Up @@ -30,9 +30,9 @@
"test:update": "UPDATE_DIFF=1 .env/bin/python bin/generate-calc && .env/bin/py.test -v --mypy"
},
"dependencies": {
"@jsii/runtime": "^1.1.0",
"jsii-build-tools": "^1.1.0",
"jsii-calc": "^1.1.0",
"jsii-pacmak": "^1.1.0"
"@jsii/runtime": "^0.0.0",
"jsii-build-tools": "^0.0.0",
"jsii-calc": "^0.0.0",
"jsii-pacmak": "^0.0.0"
}
}
10 changes: 5 additions & 5 deletions packages/@jsii/ruby-runtime/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jsii/ruby-runtime",
"version": "1.1.0",
"version": "0.0.0",
"private": true,
"description": "Ruby client for jsii runtime",
"license": "Apache-2.0",
Expand Down Expand Up @@ -33,11 +33,11 @@
"package": "package-ruby"
},
"devDependencies": {
"@jsii/runtime": "^1.1.0",
"@jsii/runtime": "^0.0.0",
"@types/node": "^10.17.17",
"jsii-build-tools": "^1.1.0",
"jsii-calc": "^1.1.0",
"jsii-pacmak": "^1.1.0",
"jsii-build-tools": "^0.0.0",
"jsii-calc": "^0.0.0",
"jsii-pacmak": "^0.0.0",
"typescript": "~3.8.3"
}
}
14 changes: 7 additions & 7 deletions packages/@jsii/runtime/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jsii/runtime",
"version": "1.1.0",
"version": "0.0.0",
"description": "jsii runtime kernel process",
"license": "Apache-2.0",
"author": {
Expand Down Expand Up @@ -33,18 +33,18 @@
"package": "package-js"
},
"dependencies": {
"@jsii/kernel": "^1.1.0",
"@jsii/spec": "^1.1.0"
"@jsii/kernel": "^0.0.0",
"@jsii/spec": "^0.0.0"
},
"devDependencies": {
"@scope/jsii-calc-base": "^1.1.0",
"@scope/jsii-calc-lib": "^1.1.0",
"@scope/jsii-calc-base": "^0.0.0",
"@scope/jsii-calc-lib": "^0.0.0",
"@types/jest": "^25.1.4",
"@types/node": "^10.17.17",
"eslint": "^6.8.0",
"jest": "^25.1.0",
"jsii-build-tools": "^1.1.0",
"jsii-calc": "^1.1.0",
"jsii-build-tools": "^0.0.0",
"jsii-calc": "^0.0.0",
"source-map": "^0.7.3",
"source-map-loader": "^0.2.4",
"typescript": "~3.8.3",
Expand Down
4 changes: 2 additions & 2 deletions packages/@jsii/spec/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jsii/spec",
"version": "1.1.0",
"version": "0.0.0",
"description": "Specification for jsii assemblies",
"license": "Apache-2.0",
"author": {
Expand Down Expand Up @@ -37,7 +37,7 @@
"@types/node": "^10.17.17",
"eslint": "^6.8.0",
"jest": "^25.1.0",
"jsii-build-tools": "^1.1.0",
"jsii-build-tools": "^0.0.0",
"typescript": "~3.8.3",
"typescript-json-schema": "^0.42.0"
},
Expand Down
8 changes: 4 additions & 4 deletions packages/@scope/jsii-calc-base-of-base/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@scope/jsii-calc-base-of-base",
"version": "1.1.0",
"version": "0.0.0",
"private": true,
"description": "An example transitive dependency for jsii-calc.",
"license": "Apache-2.0",
Expand Down Expand Up @@ -30,9 +30,9 @@
},
"devDependencies": {
"@types/node": "^10.17.17",
"jsii": "^1.1.0",
"jsii-build-tools": "^1.1.0",
"jsii-rosetta": "^1.1.0"
"jsii": "^0.0.0",
"jsii-build-tools": "^0.0.0",
"jsii-rosetta": "^0.0.0"
},
"jsii": {
"outdir": "dist",
Expand Down
14 changes: 7 additions & 7 deletions packages/@scope/jsii-calc-base/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@scope/jsii-calc-base",
"version": "1.1.0",
"version": "0.0.0",
"private": true,
"description": "An example direct dependency for jsii-calc.",
"license": "Apache-2.0",
Expand Down Expand Up @@ -29,16 +29,16 @@
"test:update": "npm run build && UPDATE_DIFF=1 npm run test"
},
"dependencies": {
"@scope/jsii-calc-base-of-base": "^1.1.0"
"@scope/jsii-calc-base-of-base": "^0.0.0"
},
"peerDependencies": {
"@scope/jsii-calc-base-of-base": "^1.1.0"
"@scope/jsii-calc-base-of-base": "^0.0.0"
},
"devDependencies": {
"@types/node": "^10.17.17",
"jsii": "^1.1.0",
"jsii-build-tools": "^1.1.0",
"jsii-rosetta": "^1.1.0"
"jsii": "^0.0.0",
"jsii-build-tools": "^0.0.0",
"jsii-rosetta": "^0.0.0"
},
"jsii": {
"outdir": "dist",
Expand All @@ -61,4 +61,4 @@
},
"versionFormat": "short"
}
}
}
Loading

0 comments on commit 48a9c8a

Please sign in to comment.