Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ jobs:
- name: Install dependencies
run: npm install
- name: Build TypeScript project
run: npm run docs
run: npm run build
- name: Ensure there are no changes in docs
run: git diff --exit-code docs/
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ jobs:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
run: |
npm install
npm run compile
npm run build
npm publish
2 changes: 1 addition & 1 deletion api-extractor.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

"dtsRollup": {
"enabled": true,
"untrimmedFilePath": "docs/generated/api.d.ts",
"untrimmedFilePath": "build/src/index.d.ts",
"omitTrimmingComments": true
},

Expand Down
191 changes: 0 additions & 191 deletions docs/generated/api.d.ts

This file was deleted.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@
},
"scripts": {
"test": "mocha build/test --recursive",
"build": "npm run clean && npm run compile && npm run docs",
"conformance": "./run_conformance_tests.sh",
"check": "gts check",
"clean": "gts clean",
"compile": "rm -rf ./build && tsc -p .",
"compile": "tsc -p .",
"fix": "gts fix",
"predocs": "npm run compile",
"docs": "api-extractor run --local --verbose",
"watch": "npm run compile -- --watch",
"prepare": "npm run compile",
"prepare": "npm run build",
"pretest": "npm run compile"
},
"files": [
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "gts/tsconfig-google.json",
"extends": "./node_modules/gts/tsconfig-google.json",
"compilerOptions": {
"rootDir": ".",
"outDir": "build",
Expand Down