Skip to content

Commit

Permalink
Add downlevel types
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahdi Varposhti committed Jun 24, 2020
1 parent d7457d5 commit 1938268
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sdk/tables/azure-tables/api-extractor.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"dtsRollup": {
"enabled": true,
"untrimmedFilePath": "",
"publicTrimmedFilePath": "./types/tables.d.ts"
"publicTrimmedFilePath": "./types/latest/tables.d.ts"
},
"messages": {
"tsdocMessageReporting": {
Expand Down
13 changes: 12 additions & 1 deletion sdk/tables/azure-tables/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@
"sdk-type": "client",
"main": "dist/index.js",
"module": "dist-esm/src/index.js",
"types": "types/tables.d.ts",
"types": "types/latest/tables.d.ts",
"scripts": {
"audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit",
"build:browser": "tsc -p . && cross-env ONLY_BROWSER=true rollup -c 2>&1",
"build:node": "tsc -p . && cross-env ONLY_NODE=true rollup -c 2>&1",
"build:samples": "cd samples && tsc -p .",
"build:test": "tsc -p . && rollup -c rollup.test.config.js 2>&1",
"build:types": "downlevel-dts types/latest types/3.1",
"build": "tsc -p . && rollup -c 2>&1 && api-extractor run --local",
"check-format": "prettier --list-different \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"",
"clean": "rimraf dist dist-* types *.tgz *.log",
Expand All @@ -36,6 +37,8 @@
"dist/",
"dist-esm/src/",
"types/tables.d.ts",
"types/latest/",
"types/3.1/",
"README.md",
"LICENSE"
],
Expand All @@ -53,6 +56,13 @@
"engines": {
"node": ">=8.0.0"
},
"typesVersions": {
"<3.6": {
"types/latest/*": [
"types/3.1/*"
]
}
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/tables/azure-tables/",
"sideEffects": false,
"prettier": "@azure/eslint-plugin-azure-sdk/prettier.json",
Expand All @@ -76,6 +86,7 @@
"@azure/eslint-plugin-azure-sdk": "^3.0.0",
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"downlevel-dts": "~0.4.0",
"eslint": "^6.1.0",
"eslint-config-prettier": "^6.0.0",
"eslint-plugin-no-null": "^1.0.2",
Expand Down

0 comments on commit 1938268

Please sign in to comment.