Skip to content

Commit

Permalink
chore: remove ts-api-guardian, as it is outmoded (#7128)
Browse files Browse the repository at this point in the history
  • Loading branch information
benlesh committed Dec 3, 2022
1 parent 35de260 commit 5df07eb
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 1,430 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/ci_main.yml
Expand Up @@ -32,8 +32,6 @@ jobs:
npm run test:side-effects
- name: dtslint
run: npm run dtslint
- name: api_guardian
run: npm run api_guardian
- name: import
if: ${{ matrix.node == '14' }}
run: npm run test:import
Expand Down
71 changes: 0 additions & 71 deletions api_guard/dist/types/ajax/index.d.ts

This file was deleted.

4 changes: 0 additions & 4 deletions api_guard/dist/types/fetch/index.d.ts

This file was deleted.

901 changes: 0 additions & 901 deletions api_guard/dist/types/index.d.ts

This file was deleted.

390 changes: 0 additions & 390 deletions api_guard/dist/types/operators/index.d.ts

This file was deleted.

35 changes: 0 additions & 35 deletions api_guard/dist/types/testing/index.d.ts

This file was deleted.

23 changes: 0 additions & 23 deletions api_guard/dist/types/webSocket/index.d.ts

This file was deleted.

5 changes: 1 addition & 4 deletions package.json
Expand Up @@ -86,7 +86,7 @@
"lint_src": "tslint -c tslint.json -p src/tsconfig.base.json \"src/**/*.ts\"",
"lint": "npm-run-all --parallel lint_*",
"dtslint": "tsc -b ./src/tsconfig.types.json && tslint -c spec-dtslint/tslint.json -p spec-dtslint/tsconfig.json \"spec-dtslint/**/*.ts\"",
"prepublishOnly": "npm run build:package && npm run lint && npm run test && npm run test:circular && npm run dtslint && npm run test:side-effects && npm run api_guardian",
"prepublishOnly": "npm run build:package && npm run lint && npm run test && npm run test:circular && npm run dtslint && npm run test:side-effects",
"publish_docs": "./publish_docs.sh",
"test": "cross-env TS_NODE_PROJECT=tsconfig.mocha.json mocha --config spec/support/.mocharc.js \"spec/**/*-spec.ts\"",
"test:esm": "node spec/module-test-spec.mjs",
Expand All @@ -100,8 +100,6 @@
"build:clean": "shx rm -rf ./dist",
"build:global": "node ./tools/make-umd-bundle.js && node ./tools/make-closure-core.js",
"build:package": "npm-run-all build:clean compile build:global && node ./tools/prepare-package.js && node ./tools/generate-alias.js",
"api_guardian:update": "tsc -b ./src/tsconfig.types.json && ts-api-guardian --outDir api_guard dist/types/index.d.ts dist/types/ajax/index.d.ts dist/types/fetch/index.d.ts dist/types/operators/index.d.ts dist/types/testing/index.d.ts dist/types/webSocket/index.d.ts",
"api_guardian": "ts-api-guardian --verifyDir api_guard dist/types/index.d.ts dist/types/ajax/index.d.ts dist/types/fetch/index.d.ts dist/types/operators/index.d.ts dist/types/testing/index.d.ts dist/types/webSocket/index.d.ts",
"watch": "nodemon -w \"src/\" -w \"spec/\" -e ts -x npm test",
"watch:dtslint": "nodemon -w \"src/\" -w \"spec-dtslint/\" -e ts -x npm run dtslint"
},
Expand Down Expand Up @@ -208,7 +206,6 @@
"sinon-chai": "2.14.0",
"source-map-support": "0.5.3",
"systemjs": "^0.21.0",
"ts-api-guardian": "^0.5.0",
"ts-node": "^9.1.1",
"tslint": "^5.20.1",
"tslint-config-prettier": "^1.18.0",
Expand Down

0 comments on commit 5df07eb

Please sign in to comment.