From 0ddd7ab0759c4b73099b4c1f09dfbd6d01760a23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=F0=9F=91=A8=F0=9F=8F=BC=E2=80=8D=F0=9F=92=BB=20Romain=20M?= =?UTF-8?q?arcadier-Muller?= Date: Wed, 18 Sep 2019 16:12:07 +0200 Subject: [PATCH] feat: configure `engines` with `node >= 10.0.0` As `node 8` is becoming EOL soon, we're upgrading the baseline `node` version requirement from `>= 8.10.0` to `>= 10.0.0`. At this point, the code generation is not affected, but this our first signal to consumers that they need to upgrade their runtimes and/or codebases. Additionally, normalized the order of fields in the `package.json` files to make it nicer for people to work in the mono-repo. Related to #794 --- CONTRIBUTING.md | 4 +- packages/codemaker/package.json | 37 +++++---- packages/jsii-build-tools/package.json | 28 ++++--- packages/jsii-calc-base-of-base/package.json | 46 ++++++----- packages/jsii-calc-base/package.json | 58 ++++++++------ packages/jsii-calc-bundled/package.json | 16 +++- packages/jsii-calc-lib/package.json | 60 ++++++++------- packages/jsii-calc/package.json | 76 ++++++++++--------- packages/jsii-diff/package.json | 34 +++++---- packages/jsii-dotnet-analyzers/package.json | 38 ++++++---- packages/jsii-dotnet-jsonmodel/package.json | 32 +++++--- .../jsii-dotnet-runtime-test/package.json | 30 +++++--- packages/jsii-dotnet-runtime/package.json | 39 ++++++---- packages/jsii-java-runtime-test/package.json | 28 ++++--- packages/jsii-java-runtime/package.json | 34 +++++---- packages/jsii-kernel/package.json | 37 +++++---- packages/jsii-pacmak/package.json | 39 ++++++---- packages/jsii-python-runtime/package.json | 31 +++++--- packages/jsii-reflect/package.json | 27 ++++--- packages/jsii-ruby-runtime/package.json | 33 ++++---- packages/jsii-runtime/package.json | 35 +++++---- packages/jsii-spec/package.json | 33 ++++---- packages/jsii/package.json | 50 ++++++------ packages/oo-ascii-tree/package.json | 27 ++++--- superchain/Dockerfile | 4 +- superchain/README.md | 2 +- 26 files changed, 521 insertions(+), 357 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0d212d9fd2..7ae8f59da6 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -11,7 +11,7 @@ Due to the polyglot nature of `jsii`, the toolchain requirements are somewhat more complicated than for most projects. In order to locally develop `jsii`, you will need the following tools: -- [Node `8.11.0`] or later +- [Node `10.0.0`] or later - An OpenJDK-8 distribution (e.g: [Oracle's OpenJDK8], [Amazon Corretto 8]) + [`maven >= 3.0.5`](https://maven.apache.org) - [.NET Core `2.0`] or later @@ -24,7 +24,7 @@ will need the following tools: - [Ruby `2.4.4p296`] or later + [`bundler ~> 1.17.2`](https://bundler.io) -[Node `8.11.0`]: https://nodejs.org/download/release/v8.11.0/ +[Node `10.0.0`]: https://nodejs.org/download/release/latest-v10.x/ [Oracle's OpenJDK8]: http://openjdk.java.net/install/ [Amazon Corretto 8]: https://aws.amazon.com/corretto/ [.NET Core `2.0`]: https://www.microsoft.com/net/download diff --git a/packages/codemaker/package.json b/packages/codemaker/package.json index 3596ef9cf5..44c76e19d6 100644 --- a/packages/codemaker/package.json +++ b/packages/codemaker/package.json @@ -2,6 +2,23 @@ "name": "codemaker", "version": "0.16.0", "description": "A tiny utility for generating source code", + "license": "Apache-2.0", + "author": { + "name": "Amazon Web Services", + "url": "https://aws.amazon.com" + }, + "homepage": "https://github.com/aws/jsii", + "bugs": { + "url": "https://github.com/aws/jsii/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/aws/jsii.git", + "directory": "packages/codemaker" + }, + "engines": { + "node": ">= 10.0.0" + }, "main": "lib/index.js", "types": "lib/index.d.ts", "scripts": { @@ -11,6 +28,11 @@ "test": "jest", "package": "rm -fr dist/js && mkdir -p dist/js && mv $(npm pack) dist/js" }, + "dependencies": { + "camelcase": "^5.3.1", + "decamelize": "^1.2.0", + "fs-extra": "^8.1.0" + }, "devDependencies": { "@types/decamelize": "^1.2.0", "@types/fs-extra": "^8.0.0", @@ -21,11 +43,6 @@ "jest": "^24.9.0", "typescript": "~3.6.3" }, - "dependencies": { - "camelcase": "^5.3.1", - "decamelize": "^1.2.0", - "fs-extra": "^8.1.0" - }, "jest": { "collectCoverage": true, "collectCoverageFrom": [ @@ -47,15 +64,5 @@ "testMatch": [ "**/?(*.)+(spec|test).js" ] - }, - "author": { - "name": "Amazon Web Services", - "url": "https://aws.amazon.com" - }, - "license": "Apache-2.0", - "repository": { - "type": "git", - "url": "https://github.com/aws/jsii.git", - "directory": "packages/codemaker" } } diff --git a/packages/jsii-build-tools/package.json b/packages/jsii-build-tools/package.json index 7fc99cfe70..806db0c71b 100644 --- a/packages/jsii-build-tools/package.json +++ b/packages/jsii-build-tools/package.json @@ -1,8 +1,25 @@ { "name": "jsii-build-tools", "version": "0.16.0", - "description": "Internal repository-level tools", "private": true, + "description": "Internal repository-level tools", + "license": "Apache-2.0", + "author": { + "name": "Amazon Web Services", + "url": "https://aws.amazon.com" + }, + "homepage": "https://github.com/aws/jsii", + "bugs": { + "url": "https://github.com/aws/jsii/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/aws/jsii.git", + "directory": "packages/jsii-build-tools" + }, + "engines": { + "node": ">= 10.0.0" + }, "bin": { "diff-test": "bin/diff-test", "package-js": "bin/package-js", @@ -13,14 +30,5 @@ }, "scripts": { "build": "chmod +x bin/*" - }, - "author": { - "name": "Amazon Web Services", - "url": "https://aws.amazon.com" - }, - "license": "Apache-2.0", - "repository": { - "type": "git", - "url": "https://github.com/aws/jsii.git" } } diff --git a/packages/jsii-calc-base-of-base/package.json b/packages/jsii-calc-base-of-base/package.json index e68100a3b0..b600615bf2 100644 --- a/packages/jsii-calc-base-of-base/package.json +++ b/packages/jsii-calc-base-of-base/package.json @@ -1,10 +1,36 @@ { "name": "@scope/jsii-calc-base-of-base", "version": "0.16.0", + "private": true, "description": "An example transitive dependency for jsii-calc.", + "license": "Apache-2.0", + "author": { + "name": "Amazon Web Services", + "url": "https://aws.amazon.com", + "organization": true + }, + "homepage": "https://github.com/aws/jsii", + "bugs": { + "url": "https://github.com/aws/jsii/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/aws/jsii.git", + "directory": "packages/jsii-calc-base-of-base" + }, + "engines": { + "node": ">= 10.0.0" + }, "main": "lib/index.js", "types": "lib/index.d.ts", - "private": true, + "scripts": { + "build": "jsii", + "test": "diff-test test/assembly.jsii .jsii" + }, + "devDependencies": { + "jsii": "^0.16.0", + "jsii-build-tools": "file:../jsii-build-tools" + }, "jsii": { "outdir": "dist", "targets": { @@ -26,23 +52,5 @@ "sphinx": {} }, "versionFormat": "short" - }, - "scripts": { - "build": "jsii", - "test": "diff-test test/assembly.jsii .jsii" - }, - "devDependencies": { - "jsii": "^0.16.0", - "jsii-build-tools": "file:../jsii-build-tools" - }, - "author": { - "name": "Amazon Web Services", - "url": "https://aws.amazon.com", - "organization": true - }, - "license": "Apache-2.0", - "repository": { - "type": "git", - "url": "https://github.com/aws/jsii.git" } } diff --git a/packages/jsii-calc-base/package.json b/packages/jsii-calc-base/package.json index ba1428ee05..38dfab2b86 100644 --- a/packages/jsii-calc-base/package.json +++ b/packages/jsii-calc-base/package.json @@ -1,10 +1,42 @@ { "name": "@scope/jsii-calc-base", "version": "0.16.0", + "private": true, "description": "An example direct dependency for jsii-calc.", + "license": "Apache-2.0", + "author": { + "name": "Amazon Web Services", + "url": "https://aws.amazon.com", + "organization": true + }, + "homepage": "https://github.com/aws/jsii", + "bugs": { + "url": "https://github.com/aws/jsii/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/aws/jsii.git", + "directory": "packages/jsii-calc-base" + }, + "engines": { + "node": ">= 10.0.0" + }, "main": "lib/index.js", "types": "lib/index.d.ts", - "private": true, + "scripts": { + "build": "jsii", + "test": "diff-test test/assembly.jsii .jsii" + }, + "dependencies": { + "@scope/jsii-calc-base-of-base": "file:../jsii-calc-base-of-base" + }, + "peerDependencies": { + "@scope/jsii-calc-base-of-base": "file:../jsii-calc-base-of-base" + }, + "devDependencies": { + "jsii": "^0.16.0", + "jsii-build-tools": "file:../jsii-build-tools" + }, "jsii": { "outdir": "dist", "targets": { @@ -26,29 +58,5 @@ "sphinx": {} }, "versionFormat": "short" - }, - "scripts": { - "build": "jsii", - "test": "diff-test test/assembly.jsii .jsii" - }, - "devDependencies": { - "jsii": "^0.16.0", - "jsii-build-tools": "file:../jsii-build-tools" - }, - "dependencies": { - "@scope/jsii-calc-base-of-base": "file:../jsii-calc-base-of-base" - }, - "peerDependencies": { - "@scope/jsii-calc-base-of-base": "file:../jsii-calc-base-of-base" - }, - "author": { - "name": "Amazon Web Services", - "url": "https://aws.amazon.com", - "organization": true - }, - "license": "Apache-2.0", - "repository": { - "type": "git", - "url": "https://github.com/aws/jsii.git" } } diff --git a/packages/jsii-calc-bundled/package.json b/packages/jsii-calc-bundled/package.json index 048c3eb130..57bce5c7e7 100644 --- a/packages/jsii-calc-bundled/package.json +++ b/packages/jsii-calc-bundled/package.json @@ -1,15 +1,23 @@ { "name": "jsii-calc-bundled", "version": "0.16.0", - "main": "index.js", "private": true, + "license": "Apache-2.0", "author": { "name": "Amazon Web Services", "url": "https://aws.amazon.com" }, - "license": "Apache-2.0", + "homepage": "https://github.com/aws/jsii", + "bugs": { + "url": "https://github.com/aws/jsii/issues" + }, "repository": { "type": "git", - "url": "https://github.com/aws/jsii.git" - } + "url": "https://github.com/aws/jsii.git", + "directory": "packages/jsii-calc-bundled" + }, + "engines": { + "node": ">= 10.0.0" + }, + "main": "index.js" } diff --git a/packages/jsii-calc-lib/package.json b/packages/jsii-calc-lib/package.json index afe14bfc8e..1d98c3977f 100644 --- a/packages/jsii-calc-lib/package.json +++ b/packages/jsii-calc-lib/package.json @@ -1,12 +1,44 @@ { "name": "@scope/jsii-calc-lib", "version": "0.16.0", + "private": true, "description": "A simple calcuator library built on JSII.", - "stability": "deprecated", "deprecated": "Really just deprecated for shows...", + "stability": "deprecated", + "license": "Apache-2.0", + "author": { + "name": "Amazon Web Services", + "url": "https://aws.amazon.com", + "organization": true + }, + "homepage": "https://github.com/aws/jsii", + "bugs": { + "url": "https://github.com/aws/jsii/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/aws/jsii.git", + "directory": "packages/jsii-calc-lib" + }, + "engines": { + "node": ">= 10.0.0" + }, "main": "lib/index.js", "types": "lib/index.d.ts", - "private": true, + "scripts": { + "build": "jsii", + "test": "diff-test test/assembly.jsii .jsii" + }, + "dependencies": { + "@scope/jsii-calc-base": "file:../jsii-calc-base" + }, + "peerDependencies": { + "@scope/jsii-calc-base": "file:../jsii-calc-base" + }, + "devDependencies": { + "jsii": "^0.16.0", + "jsii-build-tools": "file:../jsii-build-tools" + }, "jsii": { "outdir": "dist", "targets": { @@ -30,29 +62,5 @@ "sphinx": {} }, "versionFormat": "short" - }, - "scripts": { - "build": "jsii", - "test": "diff-test test/assembly.jsii .jsii" - }, - "devDependencies": { - "jsii": "^0.16.0", - "jsii-build-tools": "file:../jsii-build-tools" - }, - "dependencies": { - "@scope/jsii-calc-base": "file:../jsii-calc-base" - }, - "peerDependencies": { - "@scope/jsii-calc-base": "file:../jsii-calc-base" - }, - "author": { - "name": "Amazon Web Services", - "url": "https://aws.amazon.com", - "organization": true - }, - "license": "Apache-2.0", - "repository": { - "type": "git", - "url": "https://github.com/aws/jsii.git" } } diff --git a/packages/jsii-calc/package.json b/packages/jsii-calc/package.json index bf25820e94..f35170b609 100644 --- a/packages/jsii-calc/package.json +++ b/packages/jsii-calc/package.json @@ -1,11 +1,50 @@ { "name": "jsii-calc", "version": "0.16.0", + "private": true, "description": "A simple calcuator built on JSII.", + "stability": "experimental", + "license": "Apache-2.0", + "author": { + "name": "Amazon Web Services", + "url": "https://aws.amazon.com", + "organization": true + }, + "homepage": "https://github.com/aws/jsii", + "bugs": { + "url": "https://github.com/aws/jsii/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/aws/jsii.git", + "directory": "packages/jsii-calc" + }, + "engines": { + "node": ">= 10.0.0" + }, "main": "lib/index.js", "types": "lib/index.d.ts", - "private": true, - "stability": "experimental", + "scripts": { + "build": "jsii", + "watch": "jsii -w", + "test": "node test/test.calc.js && diff-test test/assembly.jsii .jsii", + "test:update": "npm run build && UPDATE_DIFF=1 npm run test" + }, + "dependencies": { + "@scope/jsii-calc-base": "file:../jsii-calc-base", + "@scope/jsii-calc-base-of-base": "file:../jsii-calc-base-of-base", + "@scope/jsii-calc-lib": "file:../jsii-calc-lib", + "jsii-calc-bundled": "file:../jsii-calc-bundled" + }, + "peerDependencies": { + "@scope/jsii-calc-base": "file:../jsii-calc-base", + "@scope/jsii-calc-base-of-base": "file:../jsii-calc-base-of-base", + "@scope/jsii-calc-lib": "file:../jsii-calc-lib" + }, + "devDependencies": { + "jsii": "^0.16.0", + "jsii-build-tools": "file:../jsii-build-tools" + }, "jsii": { "outdir": "dist", "targets": { @@ -35,35 +74,9 @@ }, "versionFormat": "short" }, - "scripts": { - "build": "jsii", - "watch": "jsii -w", - "test": "node test/test.calc.js && diff-test test/assembly.jsii .jsii", - "test:update": "npm run build && UPDATE_DIFF=1 npm run test" - }, "bundledDependencies": [ "jsii-calc-bundled" ], - "dependencies": { - "@scope/jsii-calc-base": "file:../jsii-calc-base", - "@scope/jsii-calc-base-of-base": "file:../jsii-calc-base-of-base", - "@scope/jsii-calc-lib": "file:../jsii-calc-lib", - "jsii-calc-bundled": "file:../jsii-calc-bundled" - }, - "peerDependencies": { - "@scope/jsii-calc-base": "file:../jsii-calc-base", - "@scope/jsii-calc-base-of-base": "file:../jsii-calc-base-of-base", - "@scope/jsii-calc-lib": "file:../jsii-calc-lib" - }, - "devDependencies": { - "jsii": "^0.16.0", - "jsii-build-tools": "file:../jsii-build-tools" - }, - "author": { - "name": "Amazon Web Services", - "url": "https://aws.amazon.com", - "organization": true - }, "contributors": [ { "name": "Elad Ben-Israel", @@ -86,10 +99,5 @@ "maintainer" ] } - ], - "license": "Apache-2.0", - "repository": { - "type": "git", - "url": "https://github.com/aws/jsii.git" - } + ] } diff --git a/packages/jsii-diff/package.json b/packages/jsii-diff/package.json index 5810f86ea4..cdb4546b58 100644 --- a/packages/jsii-diff/package.json +++ b/packages/jsii-diff/package.json @@ -5,8 +5,19 @@ "license": "Apache-2.0", "author": { "name": "Amazon Web Services", - "url": "https://aws.amazon.com", - "organization": true + "url": "https://aws.amazon.com" + }, + "homepage": "https://github.com/aws/jsii", + "bugs": { + "url": "https://github.com/aws/jsii/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/aws/jsii.git", + "directory": "packages/jsii-diff" + }, + "engines": { + "node": ">= 10.0.0" }, "bin": { "jsii-diff": "bin/jsii-diff" @@ -18,6 +29,13 @@ "test": "jest", "package": "package-js" }, + "dependencies": { + "jsii-reflect": "^0.16.0", + "jsii-spec": "^0.16.0", + "log4js": "^5.1.0", + "typescript": "~3.6.2", + "yargs": "^14.0.0" + }, "devDependencies": { "@types/fs-extra": "^8.0.0", "@types/jest": "^24.0.18", @@ -33,13 +51,6 @@ "jsii": "^0.16.0", "jsii-build-tools": "file:../jsii-build-tools" }, - "dependencies": { - "jsii-reflect": "^0.16.0", - "jsii-spec": "^0.16.0", - "log4js": "^5.1.0", - "typescript": "~3.6.2", - "yargs": "^14.0.0" - }, "jest": { "collectCoverage": true, "collectCoverageFrom": [ @@ -64,10 +75,5 @@ "testMatch": [ "**/?(*.)+(spec|test).js" ] - }, - "repository": { - "type": "git", - "url": "https://github.com/aws/jsii.git", - "directory": "packages/jsii-diff" } } diff --git a/packages/jsii-dotnet-analyzers/package.json b/packages/jsii-dotnet-analyzers/package.json index c3595eac96..27602b7f5d 100644 --- a/packages/jsii-dotnet-analyzers/package.json +++ b/packages/jsii-dotnet-analyzers/package.json @@ -1,9 +1,27 @@ { "name": "jsii-dotnet-analyzers", "version": "0.16.0", + "private": true, "description": ".NET Roslyn Analyzers for Jsii", + "license": "Apache-2.0", + "author": { + "name": "Amazon Web Services", + "url": "https://aws.amazon.com", + "email": "aws-jsii@amazon.com" + }, + "homepage": "https://github.com/aws/jsii", + "bugs": { + "url": "https://github.com/aws/jsii/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/aws/jsii.git", + "directory": "packages/jsii-dotnet-analyzers" + }, + "engines": { + "node": ">= 10.0.0" + }, "main": "lib/index.js", - "private": true, "types": "lib/index.d.ts", "scripts": { "gen": "/bin/bash ./generate.sh", @@ -11,22 +29,10 @@ "test": "/bin/bash ./test.sh", "package": "package-dotnet" }, - "devDependencies": { - "jsii-build-tools": "file:../jsii-build-tools" - }, "dependencies": { "jsii-dotnet-runtime": "file:../jsii-dotnet-runtime" }, - "author": { - "name": "Amazon Web Services", - "url": "https://aws.amazon.com", - "email": "aws-jsii@amazon.com" - }, - "license": "Apache-2.0", - "repository": { - "type": "git", - "url": "https://github.com/aws/jsii.git", - "directory": "packages/jsii-dotnet-analyzers" - }, - "homepage": "https://github.com/aws/jsii" + "devDependencies": { + "jsii-build-tools": "file:../jsii-build-tools" + } } diff --git a/packages/jsii-dotnet-jsonmodel/package.json b/packages/jsii-dotnet-jsonmodel/package.json index 7eeceb51d6..0e9decb575 100644 --- a/packages/jsii-dotnet-jsonmodel/package.json +++ b/packages/jsii-dotnet-jsonmodel/package.json @@ -1,9 +1,27 @@ { "name": "jsii-dotnet-jsonmodel", "version": "0.16.0", + "private": true, "description": ".NET json model for jsii spec and api.", + "license": "Apache-2.0", + "author": { + "name": "Amazon Web Services", + "url": "https://aws.amazon.com", + "email": "aws-jsii@amazon.com" + }, + "homepage": "https://github.com/aws/jsii", + "bugs": { + "url": "https://github.com/aws/jsii/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/aws/jsii.git", + "directory": "packages/jsii-dotnet-jsonmodel" + }, + "engines": { + "node": ">= 10.0.0" + }, "main": "lib/index.js", - "private": true, "types": "lib/index.d.ts", "scripts": { "gen": "/bin/bash ./generate.sh", @@ -14,15 +32,5 @@ "devDependencies": { "jsii-build-tools": "file:../jsii-build-tools", "typescript": "~3.6.3" - }, - "author": { - "name": "Amazon Web Services", - "url": "https://aws.amazon.com", - "email": "aws-jsii@amazon.com" - }, - "repository": { - "type": "git", - "url": "https://github.com/aws/jsii.git" - }, - "homepage": "https://github.com/aws/jsii" + } } diff --git a/packages/jsii-dotnet-runtime-test/package.json b/packages/jsii-dotnet-runtime-test/package.json index 843171f3aa..83415d4952 100644 --- a/packages/jsii-dotnet-runtime-test/package.json +++ b/packages/jsii-dotnet-runtime-test/package.json @@ -1,10 +1,28 @@ { "name": "jsii-dotnet-runtime-test", "version": "0.16.0", + "private": true, "description": "Tests for the .NET client for jsii runtime", + "license": "Apache-2.0", + "author": { + "name": "Amazon Web Services", + "url": "https://aws.amazon.com", + "email": "aws-jsii@amazon.com" + }, + "homepage": "https://github.com/aws/jsii", + "bugs": { + "url": "https://github.com/aws/jsii/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/aws/jsii.git", + "directory": "packages/jsii-dotnet-runtime-test" + }, + "engines": { + "node": ">= 10.0.0" + }, "main": "lib/index.js", "types": "lib/index.d.ts", - "private": true, "scripts": { "gen": "/bin/bash ./generate.sh", "build": "npm run gen && tsc --build && /bin/bash ./build.sh", @@ -15,15 +33,5 @@ "jsii-dotnet-runtime": "file:../jsii-dotnet-runtime", "jsii-pacmak": "^0.16.0", "typescript": "~3.6.3" - }, - "author": { - "name": "Amazon Web Services", - "url": "https://aws.amazon.com", - "email": "aws-jsii@amazon.com" - }, - "license": "Apache-2.0", - "repository": { - "type": "git", - "url": "https://github.com/aws/jsii.git" } } diff --git a/packages/jsii-dotnet-runtime/package.json b/packages/jsii-dotnet-runtime/package.json index b586f671eb..f41c9db558 100644 --- a/packages/jsii-dotnet-runtime/package.json +++ b/packages/jsii-dotnet-runtime/package.json @@ -1,9 +1,27 @@ { "name": "jsii-dotnet-runtime", "version": "0.16.0", + "private": true, "description": ".NET client for jsii runtime", + "license": "Apache-2.0", + "author": { + "name": "Amazon Web Services", + "url": "https://aws.amazon.com", + "email": "aws-jsii@amazon.com" + }, + "homepage": "https://github.com/aws/jsii", + "bugs": { + "url": "https://github.com/aws/jsii/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/aws/jsii.git", + "directory": "packages/jsii-dotnet-runtime" + }, + "engines": { + "node": ">= 10.0.0" + }, "main": "lib/index.js", - "private": true, "types": "lib/index.d.ts", "scripts": { "gen": "/bin/bash ./generate.sh", @@ -11,23 +29,12 @@ "test": "/bin/bash ./test.sh", "package": "package-dotnet" }, + "dependencies": { + "jsii-dotnet-jsonmodel": "file:../jsii-dotnet-jsonmodel" + }, "devDependencies": { "jsii-build-tools": "file:../jsii-build-tools", "jsii-runtime": "^0.16.0", "typescript": "~3.6.3" - }, - "dependencies": { - "jsii-dotnet-jsonmodel": "file:../jsii-dotnet-jsonmodel" - }, - "author": { - "name": "Amazon Web Services", - "url": "https://aws.amazon.com", - "email": "aws-jsii@amazon.com" - }, - "license": "Apache-2.0", - "repository": { - "type": "git", - "url": "https://github.com/aws/jsii.git" - }, - "homepage": "https://github.com/aws/jsii" + } } diff --git a/packages/jsii-java-runtime-test/package.json b/packages/jsii-java-runtime-test/package.json index 30cc4f50d6..a438951b3b 100644 --- a/packages/jsii-java-runtime-test/package.json +++ b/packages/jsii-java-runtime-test/package.json @@ -1,8 +1,25 @@ { "name": "jsii-java-runtime-test", "version": "0.16.0", - "description": "Tests for the Java client for jsii runtime", "private": true, + "description": "Tests for the Java client for jsii runtime", + "license": "Apache-2.0", + "author": { + "name": "Amazon Web Services", + "url": "https://aws.amazon.com" + }, + "homepage": "https://github.com/aws/jsii", + "bugs": { + "url": "https://github.com/aws/jsii/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/aws/jsii.git", + "directory": "packages/jsii-java-runtime-test" + }, + "engines": { + "node": ">= 10.0.0" + }, "main": "lib/index.js", "types": "lib/index.d.ts", "scripts": { @@ -13,14 +30,5 @@ "jsii-calc": "file:../jsii-calc", "jsii-java-runtime": "file:../jsii-java-runtime", "jsii-pacmak": "^0.16.0" - }, - "author": { - "name": "Amazon Web Services", - "url": "https://aws.amazon.com" - }, - "license": "Apache-2.0", - "repository": { - "type": "git", - "url": "https://github.com/aws/jsii.git" } } diff --git a/packages/jsii-java-runtime/package.json b/packages/jsii-java-runtime/package.json index e394ca608a..952b3bf694 100644 --- a/packages/jsii-java-runtime/package.json +++ b/packages/jsii-java-runtime/package.json @@ -1,10 +1,28 @@ { "name": "jsii-java-runtime", "version": "0.16.0", + "private": true, "description": "Java client for jsii runtime", + "license": "Apache-2.0", + "author": { + "name": "Amazon Web Services", + "url": "https://aws.amazon.com", + "email": "aws-jsii@amazon.com" + }, + "homepage": "https://github.com/aws/jsii", + "bugs": { + "url": "https://github.com/aws/jsii/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/aws/jsii.git", + "directory": "packages/jsii-java-runtime" + }, + "engines": { + "node": ">= 10.0.0" + }, "main": "lib/index.js", "types": "lib/index.d.ts", - "private": true, "scripts": { "gen": "/bin/bash ./generate.sh", "build": "tsc --build && npm run gen && cd project && mvn -B deploy -D altDeploymentRepository=local::default::file://${PWD}/../maven-repo", @@ -15,19 +33,5 @@ "jsii-build-tools": "file:../jsii-build-tools", "jsii-runtime": "^0.16.0", "typescript": "~3.6.3" - }, - "author": { - "name": "Amazon Web Services", - "url": "https://aws.amazon.com", - "email": "aws-jsii@amazon.com" - }, - "license": "Apache-2.0", - "repository": { - "type": "git", - "url": "https://github.com/aws/jsii.git" - }, - "homepage": "https://github.com/aws/jsii", - "bugs": { - "url": "https://github.com/aws/jsii/issues" } } diff --git a/packages/jsii-kernel/package.json b/packages/jsii-kernel/package.json index 2e66792710..7b1b6fedf7 100644 --- a/packages/jsii-kernel/package.json +++ b/packages/jsii-kernel/package.json @@ -2,6 +2,23 @@ "name": "jsii-kernel", "version": "0.16.0", "description": "kernel for jsii execution environment", + "license": "Apache-2.0", + "author": { + "name": "Amazon Web Services", + "url": "https://aws.amazon.com" + }, + "homepage": "https://github.com/aws/jsii", + "bugs": { + "url": "https://github.com/aws/jsii/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/aws/jsii.git", + "directory": "packages/jsii-kernel" + }, + "engines": { + "node": ">= 10.0.0" + }, "main": "lib/index.js", "types": "lib/index.d.ts", "scripts": { @@ -11,6 +28,11 @@ "test": "jest", "package": "package-js" }, + "dependencies": { + "jsii-spec": "^0.16.0", + "source-map": "^0.7.3", + "tar": "^4.4.11" + }, "devDependencies": { "@scope/jsii-calc-base": "file:../jsii-calc-base", "@scope/jsii-calc-lib": "file:../jsii-calc-lib", @@ -29,11 +51,6 @@ "jsii-calc": "file:../jsii-calc", "typescript": "~3.6.3" }, - "dependencies": { - "jsii-spec": "^0.16.0", - "source-map": "^0.7.3", - "tar": "^4.4.11" - }, "jest": { "collectCoverage": true, "collectCoverageFrom": [ @@ -58,15 +75,5 @@ "testMatch": [ "**/?(*.)+(spec|test).js" ] - }, - "author": { - "name": "Amazon Web Services", - "url": "https://aws.amazon.com" - }, - "license": "Apache-2.0", - "repository": { - "type": "git", - "url": "https://github.com/aws/jsii.git", - "directory": "packages/jsii-kernel" } } diff --git a/packages/jsii-pacmak/package.json b/packages/jsii-pacmak/package.json index 0f086711c3..dbf088b30a 100644 --- a/packages/jsii-pacmak/package.json +++ b/packages/jsii-pacmak/package.json @@ -2,11 +2,28 @@ "name": "jsii-pacmak", "version": "0.16.0", "description": "A code generation framework for jsii backend languages", - "bin": { - "jsii-pacmak": "bin/jsii-pacmak" + "license": "Apache-2.0", + "author": { + "name": "Amazon Web Services", + "url": "https://aws.amazon.com" + }, + "homepage": "https://github.com/aws/jsii", + "bugs": { + "url": "https://github.com/aws/jsii/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/aws/jsii.git", + "directory": "packages/jsii-pacmak" + }, + "engines": { + "node": ">= 10.0.0" }, "main": "lib/index.js", "types": "lib/index.d.ts", + "bin": { + "jsii-pacmak": "bin/jsii-pacmak" + }, "scripts": { "gen": "/bin/bash generate.sh", "build": "npm run gen && tsc --build && chmod +x bin/jsii-pacmak && npm run lint", @@ -15,10 +32,6 @@ "test": "/bin/bash test/diff-test.sh && /bin/bash test/build-test.sh && jest", "package": "package-js" }, - "keywords": [ - "jsii", - "aws" - ], "dependencies": { "clone": "^2.1.2", "codemaker": "^0.16.0", @@ -52,6 +65,10 @@ "jsii-java-runtime": "file:../jsii-java-runtime", "typescript": "~3.6.3" }, + "keywords": [ + "jsii", + "aws" + ], "jest": { "collectCoverage": true, "collectCoverageFrom": [ @@ -67,15 +84,5 @@ "testMatch": [ "**/?(*.)+(spec|test).js" ] - }, - "author": { - "name": "Amazon Web Services", - "url": "https://aws.amazon.com" - }, - "license": "Apache-2.0", - "repository": { - "type": "git", - "url": "https://github.com/aws/jsii.git", - "directory": "packages/jsii-pacmak" } } diff --git a/packages/jsii-python-runtime/package.json b/packages/jsii-python-runtime/package.json index db9d9d3c29..eded34c1f0 100644 --- a/packages/jsii-python-runtime/package.json +++ b/packages/jsii-python-runtime/package.json @@ -1,8 +1,25 @@ { "name": "jsii-python-runtime", - "private": true, "version": "0.16.0", + "private": true, "description": "Python client for jsii runtime", + "license": "Apache-2.0", + "author": { + "name": "Amazon Web Services", + "url": "https://aws.amazon.com" + }, + "homepage": "git://github.com/aws/jsii", + "bugs": { + "url": "git://github.com/aws/jsii" + }, + "repository": { + "type": "git", + "url": "git://github.com/aws/jsii", + "directory": "packages/jsii-python-runtime" + }, + "engines": { + "node": ">= 10.0.0" + }, "main": "index.js", "scripts": { "generate": "python3 bin/generate", @@ -16,15 +33,5 @@ "jsii-calc": "file:../jsii-calc", "jsii-pacmak": "^0.16.0", "jsii-runtime": "^0.16.0" - }, - "repository": { - "type": "git", - "url": "git://github.com/aws/jsii" - }, - "author": { - "name": "Amazon Web Services", - "url": "https://aws.amazon.com", - "organization": true - }, - "license": "Apache-2.0" + } } diff --git a/packages/jsii-reflect/package.json b/packages/jsii-reflect/package.json index 45e4db3576..cb14f66d0b 100644 --- a/packages/jsii-reflect/package.json +++ b/packages/jsii-reflect/package.json @@ -2,6 +2,23 @@ "name": "jsii-reflect", "version": "0.16.0", "description": "strongly-typed reflection library and tools for jsii", + "license": "Apache-2.0", + "author": { + "name": "Amazon Web Services", + "url": "https://aws.amazon.com" + }, + "homepage": "https://github.com/aws/jsii", + "bugs": { + "url": "https://github.com/aws/jsii/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/aws/jsii.git", + "directory": "packages/jsii-reflect" + }, + "engines": { + "node": ">= 10.0.0" + }, "main": "lib/index.js", "types": "lib/index.d.ts", "bin": { @@ -56,15 +73,5 @@ "testMatch": [ "**/?(*.)+(spec|test).js" ] - }, - "author": { - "name": "Amazon Web Services", - "url": "https://aws.amazon.com" - }, - "license": "Apache-2.0", - "repository": { - "type": "git", - "url": "https://github.com/aws/jsii.git", - "directory": "packages/jsii-reflect" } } diff --git a/packages/jsii-ruby-runtime/package.json b/packages/jsii-ruby-runtime/package.json index dbd65f4c88..167f26418b 100644 --- a/packages/jsii-ruby-runtime/package.json +++ b/packages/jsii-ruby-runtime/package.json @@ -1,10 +1,28 @@ { "name": "jsii-ruby-runtime", "version": "0.16.0", + "private": true, "description": "Ruby client for jsii runtime", + "license": "Apache-2.0", + "author": { + "name": "Amazon Web Services", + "url": "https://aws.amazon.com", + "email": "aws-jsii@amazon.com" + }, + "homepage": "https://github.com/aws/jsii", + "bugs": { + "url": "https://github.com/aws/jsii/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/aws/jsii.git", + "directory": "packages/jsii-ruby-runtime" + }, + "engines": { + "node": ">= 10.0.0" + }, "main": "lib/index.js", "types": "lib/index.d.ts", - "private": true, "scripts": { "gen": "/bin/bash generate.sh", "deps": "cd project && bundle install --path vendor/bundle --binstubs vendor/bin", @@ -19,16 +37,5 @@ "jsii-pacmak": "^0.16.0", "jsii-runtime": "^0.16.0", "typescript": "~3.6.3" - }, - "author": { - "name": "Amazon Web Services", - "url": "https://aws.amazon.com", - "email": "aws-jsii@amazon.com" - }, - "license": "Apache-2.0", - "repository": { - "type": "git", - "url": "https://github.com/aws/jsii.git" - }, - "homepage": "https://github.com/aws/jsii" + } } diff --git a/packages/jsii-runtime/package.json b/packages/jsii-runtime/package.json index 3b6c671a89..cf4275dbcf 100644 --- a/packages/jsii-runtime/package.json +++ b/packages/jsii-runtime/package.json @@ -2,6 +2,23 @@ "name": "jsii-runtime", "version": "0.16.0", "description": "jsii runtime kernel process", + "license": "Apache-2.0", + "author": { + "name": "Amazon Web Services", + "url": "https://aws.amazon.com" + }, + "homepage": "https://github.com/aws/jsii", + "bugs": { + "url": "https://github.com/aws/jsii/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/aws/jsii.git", + "directory": "packages/jsii-runtime" + }, + "engines": { + "node": ">= 10.0.0" + }, "main": "lib/index.js", "types": "lib/index.d.ts", "bin": { @@ -14,6 +31,10 @@ "test": "/bin/bash test/playback-test.sh && node test/stress-test.js", "package": "package-js" }, + "dependencies": { + "jsii-kernel": "^0.16.0", + "jsii-spec": "^0.16.0" + }, "devDependencies": { "@scope/jsii-calc-base": "file:../jsii-calc-base", "@scope/jsii-calc-lib": "file:../jsii-calc-lib", @@ -29,19 +50,5 @@ "wasm-loader": "^1.3.0", "webpack": "^4.40.2", "webpack-cli": "^3.3.9" - }, - "dependencies": { - "jsii-kernel": "^0.16.0", - "jsii-spec": "^0.16.0" - }, - "author": { - "name": "Amazon Web Services", - "url": "https://aws.amazon.com" - }, - "license": "Apache-2.0", - "repository": { - "type": "git", - "url": "https://github.com/aws/jsii.git", - "directory": "packages/jsii-runtime" } } diff --git a/packages/jsii-spec/package.json b/packages/jsii-spec/package.json index b5c60aed9d..4243de5402 100644 --- a/packages/jsii-spec/package.json +++ b/packages/jsii-spec/package.json @@ -2,6 +2,23 @@ "name": "jsii-spec", "version": "0.16.0", "description": "Specification for jsii assemblies", + "license": "Apache-2.0", + "author": { + "name": "Amazon Web Services", + "url": "https://aws.amazon.com" + }, + "homepage": "https://github.com/aws/jsii", + "bugs": { + "url": "https://github.com/aws/jsii/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/aws/jsii.git", + "directory": "packages/jsii-spec" + }, + "engines": { + "node": ">= 10.0.0" + }, "main": "lib/index.js", "types": "lib/index.d.ts", "scripts": { @@ -11,6 +28,9 @@ "test": "jest", "package": "package-js" }, + "dependencies": { + "jsonschema": "^1.2.4" + }, "devDependencies": { "@types/jest": "^24.0.18", "@typescript-eslint/eslint-plugin": "^2.3.0", @@ -21,9 +41,6 @@ "typescript": "~3.6.3", "typescript-json-schema": "^0.40.0" }, - "dependencies": { - "jsonschema": "^1.2.4" - }, "jest": { "collectCoverage": true, "collectCoverageFrom": [ @@ -45,15 +62,5 @@ "testMatch": [ "**/?(*.)+(spec|test).js" ] - }, - "author": { - "name": "Amazon Web Services", - "url": "https://aws.amazon.com" - }, - "license": "Apache-2.0", - "repository": { - "type": "git", - "url": "https://github.com/aws/jsii.git", - "directory": "packages/jsii-spec" } } diff --git a/packages/jsii/package.json b/packages/jsii/package.json index 24fc9c983d..ce1ec4a576 100644 --- a/packages/jsii/package.json +++ b/packages/jsii/package.json @@ -3,13 +3,24 @@ "version": "0.16.0", "description": "TypeScript compiler for jsii", "license": "Apache-2.0", - "main": "lib/index.js", - "types": "lib/index.ts", "author": { "name": "Amazon Web Services", - "url": "https://aws.amazon.com", - "organization": true + "url": "https://aws.amazon.com" + }, + "homepage": "https://github.com/aws/jsii", + "bugs": { + "url": "https://github.com/aws/jsii/issues" }, + "repository": { + "type": "git", + "url": "https://github.com/aws/jsii.git", + "directory": "packages/jsii" + }, + "engines": { + "node": ">= 10.0.0" + }, + "main": "lib/index.js", + "types": "lib/index.ts", "bin": { "jsii": "bin/jsii" }, @@ -20,6 +31,19 @@ "test": "jest", "package": "package-js" }, + "dependencies": { + "case": "^1.6.2", + "colors": "^1.3.3", + "deep-equal": "^1.1.0", + "fs-extra": "^8.1.0", + "jsii-spec": "^0.16.0", + "log4js": "^5.1.0", + "semver": "^6.3.0", + "sort-json": "^2.0.0", + "spdx-license-list": "^6.1.0", + "typescript": "~3.6.3", + "yargs": "^14.0.0" + }, "devDependencies": { "@types/clone": "^0.1.30", "@types/colors": "^1.2.1", @@ -38,19 +62,6 @@ "jest-expect-message": "^1.0.2", "jsii-build-tools": "file:../jsii-build-tools" }, - "dependencies": { - "case": "^1.6.2", - "colors": "^1.3.3", - "deep-equal": "^1.1.0", - "fs-extra": "^8.1.0", - "jsii-spec": "^0.16.0", - "log4js": "^5.1.0", - "semver": "^6.3.0", - "sort-json": "^2.0.0", - "spdx-license-list": "^6.1.0", - "typescript": "~3.6.3", - "yargs": "^14.0.0" - }, "jest": { "collectCoverage": true, "collectCoverageFrom": [ @@ -75,10 +86,5 @@ "testMatch": [ "**/?(*.)+(spec|test).js" ] - }, - "repository": { - "type": "git", - "url": "https://github.com/aws/jsii.git", - "directory": "packages/jsii" } } diff --git a/packages/oo-ascii-tree/package.json b/packages/oo-ascii-tree/package.json index f1ead7d052..e4349f62d7 100644 --- a/packages/oo-ascii-tree/package.json +++ b/packages/oo-ascii-tree/package.json @@ -2,6 +2,23 @@ "name": "oo-ascii-tree", "version": "0.16.0", "description": "object-oriented ascii tree renderer", + "license": "Apache-2.0", + "author": { + "name": "Amazon Web Services", + "url": "https://aws.amazon.com" + }, + "homepage": "https://github.com/aws/jsii", + "bugs": { + "url": "https://github.com/aws/jsii/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/aws/jsii.git", + "directory": "packages/oo-ascii-tree" + }, + "engines": { + "node": ">= 10.0.0" + }, "main": "lib/index.js", "types": "lib/index.d.ts", "scripts": { @@ -41,15 +58,5 @@ "testMatch": [ "**/?(*.)+(spec|test).js" ] - }, - "author": { - "name": "Amazon Web Services", - "url": "https://aws.amazon.com" - }, - "license": "Apache-2.0", - "repository": { - "type": "git", - "url": "https://github.com/aws/jsii.git", - "directory": "packages/oo-ascii-tree" } } diff --git a/superchain/Dockerfile b/superchain/Dockerfile index 3533cbfa11..5d91aaf532 100644 --- a/superchain/Dockerfile +++ b/superchain/Dockerfile @@ -39,8 +39,8 @@ RUN yum -y install awscli git gzip openssl rsync tar unzip which zip && yum clean all && rm -rf /var/cache/yum # Install NVM and Node 8+ -ARG NODE_VERSION=8.16.0 -ARG NPM_VERSION=6.8.0 +ARG NODE_VERSION=v10.16.3 +ARG NPM_VERSION=6.11.3 ENV NVM_DIR=/usr/local/nvm RUN curl -sSL https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh -o /tmp/install-nvm.sh \ && echo "ef7ad1db40c92f348c0461f24983b71ba0ea7d45d4007a36e484270fa7f81fcf /tmp/install-nvm.sh" | sha256sum -c \ diff --git a/superchain/README.md b/superchain/README.md index 7b00d434a5..10d4b4a544 100644 --- a/superchain/README.md +++ b/superchain/README.md @@ -11,7 +11,7 @@ SDK | Version ----------------|------------------------------------------- `OpenJDK 8` | Amazon Corretto `>= 8.222.10.2` `.NET Core` | `>= 2.2.301` and `mono >= 6.0.0.319` -`Javascript` | `node >= 8.16.0` with `npm >= 6.8.0` +`Javascript` | `node >= 10.16.3` with `npm >= 6.11.3` `PowerShell` | `pwsh >= 6.2.2` `Python 3` | `python3 >= 3.7.3` with `pip3 >= 19.1.1` `Ruby` | `ruby >= 2.4.4p296`