Skip to content

Commit

Permalink
chore(release): v0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nadhifikbarw committed Dec 23, 2024
1 parent 6d7c094 commit 89433ea
Show file tree
Hide file tree
Showing 4 changed files with 406 additions and 509 deletions.
32 changes: 32 additions & 0 deletions .github/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main

permissions: {}

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: [18, 20, 22]
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: "pnpm"
- run: pnpm install
- run: pnpm build
- run: pnpm lint
- run: pnpm typecheck
- run: pnpm test
- uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Changelog


## v0.1.0 (2024-12-23)

Features:
- Implement User Info API
- Implement Records, Fields, Comments, Tables, and Bases API
- Implement automatic retries with exponential backoff
16 changes: 9 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "airtable-ofetch",
"version": "0.1.0-rc.1",
"version": "0.1.0",
"description": "JS Client for Airtable Web API built on top @unjs/ofetch",
"repository": "nadhifikbarw/airtable-ofetch",
"license": "MIT",
Expand All @@ -17,8 +17,9 @@
"build": "unbuild",
"typecheck": "tsc --noEmit",
"lint": "eslint . && prettier -c src tests",
"test": "pnpm lint && vitest run --coverage",
"lint:fix": "eslint --fix . && prettier -w src tests",
"release": "pnpm test && changelogen --release && npm publish && git push --follow-tags",
"test": "pnpm lint && vitest run --coverage",
"prepack": "pnpm build"
},
"main": "./dist/index.cjs",
Expand All @@ -27,11 +28,15 @@
"files": [
"dist"
],
"dependencies": {
"defu": "^6.1.4",
"ofetch": "^1.4.1"
},
"devDependencies": {
"@changesets/cli": "^2.27.11",
"@types/node": "^22.10.1",
"@vitest/coverage-v8": "^2.1.8",
"@vitest/eslint-plugin": "^1.1.16",
"changelogen": "^0.5.7",
"eslint": "^9.16.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-unjs": "^0.4.2",
Expand All @@ -40,8 +45,5 @@
"unbuild": "^3.0.1",
"vitest": "^2.1.8"
},
"dependencies": {
"defu": "^6.1.4",
"ofetch": "^1.4.1"
}
"packageManager": "pnpm@9.15.1"
}
Loading

0 comments on commit 89433ea

Please # to comment.