-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
36b711c
commit d4ceaf7
Showing
3 changed files
with
63 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,4 +11,4 @@ | |
"plugin:react-hooks/recommended", | ||
"plugin:prettier/recommended" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: CI | ||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- uses: actions/setup-node@v3 | ||
- run: yarn install | ||
- run: npm run lint | ||
|
||
typecheck: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- uses: actions/setup-node@v3 | ||
- run: yarn install | ||
- run: npm run typecheck | ||
|
||
format: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- uses: actions/setup-node@v3 | ||
- run: yarn install | ||
- run: npm run format:check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,9 +2,16 @@ | |
"name": "sanity-plugin-portable-table", | ||
"version": "1.0.0", | ||
"description": "A table plugin for Sanity that supports PortableText cells", | ||
"author": "Dave Lucia <[email protected]>", | ||
"homepage": "https://github.com/bitfo/sanity-portable-table#readme", | ||
"bugs": { | ||
"url": "https://github.com/bitfo/sanity-portable-table/issues" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+ssh://[email protected]/bitfo/sanity-portable-table.git" | ||
}, | ||
"license": "Apache-2.0", | ||
"source": "./src/index.ts", | ||
"author": "Dave Lucia <[email protected]>", | ||
"exports": { | ||
".": { | ||
"types": "./lib/src/index.d.ts", | ||
|
@@ -17,24 +24,25 @@ | |
}, | ||
"main": "./lib/index.js", | ||
"module": "./lib/index.esm.js", | ||
"source": "./src/index.ts", | ||
"types": "./lib/src/index.d.ts", | ||
"files": ["src", "lib", "v2-incompatible.js", "sanity.json"], | ||
"engines": { | ||
"node": ">=14" | ||
}, | ||
"files": [ | ||
"src", | ||
"lib", | ||
"v2-incompatible.js", | ||
"sanity.json" | ||
], | ||
"scripts": { | ||
"clean": "rimraf lib", | ||
"lint": "eslint .", | ||
"prebuild": "npm run clean && plugin-kit verify-package --silent && pkg-utils", | ||
"build": "pkg-utils build", | ||
"watch": "pkg-utils watch", | ||
"clean": "rimraf lib", | ||
"format": "prettier -w .", | ||
"format:check": "prettier -c .", | ||
"link-watch": "plugin-kit link-watch", | ||
"lint": "eslint .", | ||
"prepublishOnly": "npm run build", | ||
"typecheck": "tsc --pretty --noEmit" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+ssh://[email protected]/bitfo/sanity-portable-table.git" | ||
"typecheck": "tsc --pretty --noEmit", | ||
"watch": "pkg-utils watch" | ||
}, | ||
"dependencies": { | ||
"@portabletext/toolkit": "^2.0.1", | ||
|
@@ -64,8 +72,7 @@ | |
"react": "^18", | ||
"sanity": "dev-preview || 3.0.0-rc.2" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/bitfo/sanity-portable-table/issues" | ||
}, | ||
"homepage": "https://github.com/bitfo/sanity-portable-table#readme" | ||
"engines": { | ||
"node": ">=14" | ||
} | ||
} |