Skip to content

Commit

Permalink
build: replace tsdx with esbuild and api-extractor
Browse files Browse the repository at this point in the history
  • Loading branch information
kherock committed Sep 24, 2021
1 parent 2a1f193 commit d815e46
Show file tree
Hide file tree
Showing 27 changed files with 3,062 additions and 8,932 deletions.
6 changes: 4 additions & 2 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@
/.pnp.*
node_modules/
dist/
samples/
test/conformance/
/lib/
/samples/
/test/conformance/
/types/
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Set the language for these files to json5 to ensure GitHub doesn't show the comments as errors
/.vscode/*.json linguist-language=JSON5
/api-extractor.json linguist-language=JSON5
1 change: 0 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ jobs:
registry-url: https://registry.npmjs.org

- run: npm install
- run: npm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:

# library
- run: npm install
- run: npm run build
- run: npm run lint
- run: npm test
- run: npm pack --dry-run

# samples: Parcel
- run: npm run -w parcel-sample build
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@

# build artifacts
*.tsbuildinfo
/docs/api/
/docs/api
/lib/
dist/

# caches
Expand All @@ -14,3 +16,4 @@ node_modules/
*.log
.DS_Store
.vscode/
temp/
Loading

0 comments on commit d815e46

Please sign in to comment.