Skip to content

Commit

Permalink
feat: conditional types based on provided API version (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
gr2m authored Aug 9, 2021
1 parent 1f16e33 commit f376a96
Show file tree
Hide file tree
Showing 62 changed files with 3,795 additions and 243 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16
cache: npm
- run: npm ci
- run: npm install -D semantic-release semantic-release-plugin-update-version-in-files
- run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16
cache: npm
- run: npm i -g npm@7
- run: npm ci
- run: npm test
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@

We use this repository to implement new features without the legacy of the current `Octokit` implementation.

This project is built as a monorepo using [npm workspaces](https://docs.npmjs.com/cli/v7/using-npm/workspaces/) and is publishing native ES Modules. To set it up and run the tests
Node 16 and npm 7 are required.

Currently working on:

- [ ] [octokit/octokit.js#2127](https://github.com/octokit/octokit.js/issues/2127) - Separate types from code and make types composable/extendable
Expand Down
84 changes: 0 additions & 84 deletions index.d.ts

This file was deleted.

6 changes: 0 additions & 6 deletions index.js

This file was deleted.

14 changes: 0 additions & 14 deletions index.test-d.ts

This file was deleted.

Loading

0 comments on commit f376a96

Please sign in to comment.