Skip to content

Commit

Permalink
fix: replace prepublishOnly script with downlevel-dts (#2537)
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr authored Jul 1, 2021
1 parent dc57732 commit 63818a1
Show file tree
Hide file tree
Showing 369 changed files with 643 additions and 643 deletions.
4 changes: 2 additions & 2 deletions clients/client-accessanalyzer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
"scripts": {
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
"build-documentation": "yarn remove-documentation && typedoc ./",
"prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4",
"remove-definitions": "rimraf ./types",
"remove-dist": "rimraf ./dist",
"remove-documentation": "rimraf ./docs",
"test": "exit 0",
"build:cjs": "tsc -p tsconfig.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:cjs && yarn build:es"
"build": "yarn build:cjs && yarn build:es",
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4"
},
"main": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions clients/client-acm-pca/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
"scripts": {
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
"build-documentation": "yarn remove-documentation && typedoc ./",
"prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4",
"remove-definitions": "rimraf ./types",
"remove-dist": "rimraf ./dist",
"remove-documentation": "rimraf ./docs",
"test": "exit 0",
"build:cjs": "tsc -p tsconfig.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:cjs && yarn build:es"
"build": "yarn build:cjs && yarn build:es",
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4"
},
"main": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions clients/client-acm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
"scripts": {
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
"build-documentation": "yarn remove-documentation && typedoc ./",
"prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4",
"remove-definitions": "rimraf ./types",
"remove-dist": "rimraf ./dist",
"remove-documentation": "rimraf ./docs",
"test": "exit 0",
"build:cjs": "tsc -p tsconfig.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:cjs && yarn build:es"
"build": "yarn build:cjs && yarn build:es",
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4"
},
"main": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions clients/client-alexa-for-business/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
"scripts": {
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
"build-documentation": "yarn remove-documentation && typedoc ./",
"prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4",
"remove-definitions": "rimraf ./types",
"remove-dist": "rimraf ./dist",
"remove-documentation": "rimraf ./docs",
"test": "exit 0",
"build:cjs": "tsc -p tsconfig.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:cjs && yarn build:es"
"build": "yarn build:cjs && yarn build:es",
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4"
},
"main": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions clients/client-amp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
"scripts": {
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
"build-documentation": "yarn remove-documentation && typedoc ./",
"prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4",
"remove-definitions": "rimraf ./types",
"remove-dist": "rimraf ./dist",
"remove-documentation": "rimraf ./docs",
"test": "yarn build && jest --coverage --passWithNoTests",
"build:cjs": "tsc -p tsconfig.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:cjs && yarn build:es"
"build": "yarn build:cjs && yarn build:es",
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4"
},
"main": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions clients/client-amplify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
"scripts": {
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
"build-documentation": "yarn remove-documentation && typedoc ./",
"prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4",
"remove-definitions": "rimraf ./types",
"remove-dist": "rimraf ./dist",
"remove-documentation": "rimraf ./docs",
"test": "exit 0",
"build:cjs": "tsc -p tsconfig.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:cjs && yarn build:es"
"build": "yarn build:cjs && yarn build:es",
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4"
},
"main": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions clients/client-amplifybackend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
"scripts": {
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
"build-documentation": "yarn remove-documentation && typedoc ./",
"prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4",
"remove-definitions": "rimraf ./types",
"remove-dist": "rimraf ./dist",
"remove-documentation": "rimraf ./docs",
"test": "yarn build && jest --coverage --passWithNoTests",
"build:cjs": "tsc -p tsconfig.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:cjs && yarn build:es"
"build": "yarn build:cjs && yarn build:es",
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4"
},
"main": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions clients/client-api-gateway/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
"scripts": {
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
"build-documentation": "yarn remove-documentation && typedoc ./",
"prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4",
"remove-definitions": "rimraf ./types",
"remove-dist": "rimraf ./dist",
"remove-documentation": "rimraf ./docs",
"test": "exit 0",
"build:cjs": "tsc -p tsconfig.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:cjs && yarn build:es"
"build": "yarn build:cjs && yarn build:es",
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4"
},
"main": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions clients/client-apigatewaymanagementapi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
"scripts": {
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
"build-documentation": "yarn remove-documentation && typedoc ./",
"prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4",
"remove-definitions": "rimraf ./types",
"remove-dist": "rimraf ./dist",
"remove-documentation": "rimraf ./docs",
"test": "exit 0",
"build:cjs": "tsc -p tsconfig.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:cjs && yarn build:es"
"build": "yarn build:cjs && yarn build:es",
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4"
},
"main": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions clients/client-apigatewayv2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
"scripts": {
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
"build-documentation": "yarn remove-documentation && typedoc ./",
"prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4",
"remove-definitions": "rimraf ./types",
"remove-dist": "rimraf ./dist",
"remove-documentation": "rimraf ./docs",
"test": "exit 0",
"build:cjs": "tsc -p tsconfig.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:cjs && yarn build:es"
"build": "yarn build:cjs && yarn build:es",
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4"
},
"main": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions clients/client-app-mesh/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
"scripts": {
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
"build-documentation": "yarn remove-documentation && typedoc ./",
"prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4",
"remove-definitions": "rimraf ./types",
"remove-dist": "rimraf ./dist",
"remove-documentation": "rimraf ./docs",
"test": "exit 0",
"build:cjs": "tsc -p tsconfig.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:cjs && yarn build:es"
"build": "yarn build:cjs && yarn build:es",
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4"
},
"main": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions clients/client-appconfig/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
"scripts": {
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
"build-documentation": "yarn remove-documentation && typedoc ./",
"prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4",
"remove-definitions": "rimraf ./types",
"remove-dist": "rimraf ./dist",
"remove-documentation": "rimraf ./docs",
"test": "exit 0",
"build:cjs": "tsc -p tsconfig.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:cjs && yarn build:es"
"build": "yarn build:cjs && yarn build:es",
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4"
},
"main": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions clients/client-appflow/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
"scripts": {
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
"build-documentation": "yarn remove-documentation && typedoc ./",
"prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4",
"remove-definitions": "rimraf ./types",
"remove-dist": "rimraf ./dist",
"remove-documentation": "rimraf ./docs",
"test": "yarn build && jest --coverage --passWithNoTests",
"build:cjs": "tsc -p tsconfig.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:cjs && yarn build:es"
"build": "yarn build:cjs && yarn build:es",
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4"
},
"main": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions clients/client-appintegrations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
"scripts": {
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
"build-documentation": "yarn remove-documentation && typedoc ./",
"prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4",
"remove-definitions": "rimraf ./types",
"remove-dist": "rimraf ./dist",
"remove-documentation": "rimraf ./docs",
"test": "yarn build && jest --coverage --passWithNoTests",
"build:cjs": "tsc -p tsconfig.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:cjs && yarn build:es"
"build": "yarn build:cjs && yarn build:es",
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4"
},
"main": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions clients/client-application-auto-scaling/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
"scripts": {
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
"build-documentation": "yarn remove-documentation && typedoc ./",
"prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4",
"remove-definitions": "rimraf ./types",
"remove-dist": "rimraf ./dist",
"remove-documentation": "rimraf ./docs",
"test": "exit 0",
"build:cjs": "tsc -p tsconfig.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:cjs && yarn build:es"
"build": "yarn build:cjs && yarn build:es",
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4"
},
"main": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions clients/client-application-discovery-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
"scripts": {
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
"build-documentation": "yarn remove-documentation && typedoc ./",
"prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4",
"remove-definitions": "rimraf ./types",
"remove-dist": "rimraf ./dist",
"remove-documentation": "rimraf ./docs",
"test": "exit 0",
"build:cjs": "tsc -p tsconfig.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:cjs && yarn build:es"
"build": "yarn build:cjs && yarn build:es",
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4"
},
"main": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions clients/client-application-insights/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
"scripts": {
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
"build-documentation": "yarn remove-documentation && typedoc ./",
"prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4",
"remove-definitions": "rimraf ./types",
"remove-dist": "rimraf ./dist",
"remove-documentation": "rimraf ./docs",
"test": "exit 0",
"build:cjs": "tsc -p tsconfig.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:cjs && yarn build:es"
"build": "yarn build:cjs && yarn build:es",
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4"
},
"main": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions clients/client-applicationcostprofiler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
"scripts": {
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
"build-documentation": "yarn remove-documentation && typedoc ./",
"prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4",
"remove-definitions": "rimraf ./types",
"remove-dist": "rimraf ./dist",
"remove-documentation": "rimraf ./docs",
"test": "yarn build && jest --coverage --passWithNoTests",
"build:cjs": "tsc -p tsconfig.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:cjs && yarn build:es"
"build": "yarn build:cjs && yarn build:es",
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4"
},
"main": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions clients/client-apprunner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
"scripts": {
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
"build-documentation": "yarn remove-documentation && typedoc ./",
"prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4",
"remove-definitions": "rimraf ./types",
"remove-dist": "rimraf ./dist",
"remove-documentation": "rimraf ./docs",
"test": "yarn build && jest --coverage --passWithNoTests",
"build:cjs": "tsc -p tsconfig.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:cjs && yarn build:es"
"build": "yarn build:cjs && yarn build:es",
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4"
},
"main": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions clients/client-appstream/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
"scripts": {
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
"build-documentation": "yarn remove-documentation && typedoc ./",
"prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4",
"remove-definitions": "rimraf ./types",
"remove-dist": "rimraf ./dist",
"remove-documentation": "rimraf ./docs",
"test": "exit 0",
"build:cjs": "tsc -p tsconfig.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:cjs && yarn build:es"
"build": "yarn build:cjs && yarn build:es",
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4"
},
"main": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions clients/client-appsync/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
"scripts": {
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
"build-documentation": "yarn remove-documentation && typedoc ./",
"prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4",
"remove-definitions": "rimraf ./types",
"remove-dist": "rimraf ./dist",
"remove-documentation": "rimraf ./docs",
"test": "exit 0",
"build:cjs": "tsc -p tsconfig.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:cjs && yarn build:es"
"build": "yarn build:cjs && yarn build:es",
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4"
},
"main": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions clients/client-athena/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
"scripts": {
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
"build-documentation": "yarn remove-documentation && typedoc ./",
"prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4",
"remove-definitions": "rimraf ./types",
"remove-dist": "rimraf ./dist",
"remove-documentation": "rimraf ./docs",
"test": "exit 0",
"build:cjs": "tsc -p tsconfig.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:cjs && yarn build:es"
"build": "yarn build:cjs && yarn build:es",
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4"
},
"main": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions clients/client-auditmanager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
"scripts": {
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
"build-documentation": "yarn remove-documentation && typedoc ./",
"prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4",
"remove-definitions": "rimraf ./types",
"remove-dist": "rimraf ./dist",
"remove-documentation": "rimraf ./docs",
"test": "yarn build && jest --coverage --passWithNoTests",
"build:cjs": "tsc -p tsconfig.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:cjs && yarn build:es"
"build": "yarn build:cjs && yarn build:es",
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4"
},
"main": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts",
Expand Down
Loading

0 comments on commit 63818a1

Please sign in to comment.