Skip to content

Commit

Permalink
chore(notion-api-zod-schema): migrate from @alanlu-dev/web-kit
Browse files Browse the repository at this point in the history
  • Loading branch information
alanlu-zyl committed Apr 27, 2024
1 parent c66934d commit d2171f6
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 10 deletions.
5 changes: 5 additions & 0 deletions .changeset/slow-wombats-float.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@alanlu-dev/notion-api-zod-schema": major
---

chore(notion-api-zod-schema): migrate from @alanlu-dev/web-kit
15 changes: 8 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,14 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node_version: [18, 20]
include:
# Active LTS + other OS
- os: macos-latest
node_version: 20
- os: windows-latest
node_version: 20
node_version: [20]
# node_version: [18, 20]
# include:
# # Active LTS + other OS
# - os: macos-latest
# node_version: 20
# - os: windows-latest
# node_version: 20
fail-fast: false

name: 'Build & Test: node-${{ matrix.node_version }}, ${{ matrix.os }}'
Expand Down
4 changes: 2 additions & 2 deletions packages/notion-api-zod-schema/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# @alanlu-dev/notion-api-zod-schema

<p>
<a href="https://github.com/alanlu-dev/web-kit/blob/main/packages/notion-api-zod-schema/CHANGELOG.md"><img src="https://img.shields.io/github/v/release/alanlu-dev/web-kit?filter=@alanlu-dev/notion-api-zod-schema%2A&style=flat" alt="Version"></a>
<a href="https://github.com/alanlu-dev/notion-kit/blob/main/packages/notion-api-zod-schema/CHANGELOG.md"><img src="https://img.shields.io/github/v/release/alanlu-dev/notion-kit?filter=@alanlu-dev/notion-api-zod-schema%2A&style=flat" alt="Version"></a>
<a href="https://www.npmjs.com/package/@alanlu-dev/notion-api-zod-schema"><img src="https://img.shields.io/npm/dm/@alanlu-dev/notion-api-zod-schema" alt="Downloads"></a>
<a href="https://github.com/alanlu-dev/web-kit/blob/main/LICENSE"><img src="https://img.shields.io/github/license/alanlu-dev/web-kit?style=flat" alt="License"></a>
<a href="https://github.com/alanlu-dev/notion-kit/blob/main/LICENSE"><img src="https://img.shields.io/github/license/alanlu-dev/notion-kit?style=flat" alt="License"></a>
</p>

A Zod schema for Notion API.
Expand Down
12 changes: 11 additions & 1 deletion packages/notion-api-zod-schema/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,16 @@
"type": "module",
"version": "0.0.6",
"description": "Zod schemas for the Notion API (unofficial)",
"author": "Alan Lu <hi@alanlu.dev> (https://github.com/alanlu-zyl)",
"license": "MIT",
"repository": {
"type": "git",
"url": "git@github.com:alanlu-dev/notion-kit.git",
"directory": "packages/notion-api-zod-schema"
},
"bugs": {
"url": "https://github.com/alanlu-dev/notion-kit/issues"
},
"keywords": [
"notion",
"notion-api",
Expand Down Expand Up @@ -35,7 +45,7 @@
"lint:eslint": "eslint --fix .",
"lint:prettier": "prettier --ignore-path ../../.prettierignore --write .",
"lint": "pnpm lint:eslint && pnpm lint:prettier",
"pkg:test": "vitest run"
"test": "vitest run"
},
"peerDependencies": {
"zod": "3.23.4"
Expand Down

0 comments on commit d2171f6

Please sign in to comment.