Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,16 @@ jobs:

- name: Run test
run: yarn test

check-dependencies:
name: Check dependencies
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6

- name: Setup node
uses: ./.github/actions/setup-node

- name: Run syncpack
run: yarn syncpack lint --dependency-types prod,dev,peer
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ dist/
tsc_output
tsconfig*.tsbuildinfo

# turbo
.turbo

# yarn

.yarn/*
Expand Down
56 changes: 14 additions & 42 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@sigmacomputing/plugin",
"name": "@sigmacomputing/plugin-sdk-root",
"version": "1.1.1",
"description": "Sigma Computing Plugin Client SDK",
"license": "MIT",
Expand All @@ -15,23 +15,14 @@
"url": "https://github.com/sigmacomputing/plugin/issues"
},
"scripts": {
"build": "tsdown",
"build:watch": "tsdown --watch",
"format": "yarn oxfmt",
"lint": "yarn oxlint",
"build": "yarn turbo build",
"format": "yarn g:format",
"g:format": "cd $INIT_CWD && yarn oxfmt",
"g:lint": "cd $INIT_CWD && yarn oxlint --type-aware",
"lint": "yarn g:lint",
"precommit": "lint-staged",
"publish": "yarn build && yarn npm publish",
"test": "vitest run",
"test:watch": "vitest",
"types": "tsc --noEmit"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
},
"peerDependenciesMeta": {
"react": {
"optional": true
}
"test": "yarn turbo test",
"types": "yarn turbo types && tsc --noEmit"
},
"devDependencies": {
"@arethetypeswrong/core": "^0.18.2",
Expand All @@ -44,35 +35,16 @@
"oxlint-tsgolint": "^0.16.0",
"playwright": "^1.49.0",
"publint": "^0.3.18",
"syncpack": "^14.3.1",
"tsdown": "^0.21.10",
"turbo": "^2.9.7",
"typescript": "^6.0.2",
"unplugin-unused": "^0.5.7",
"vitest": "^4.1.5"
},
"main": "./dist/cjs/index.cjs",
"module": "./dist/esm/index.js",
"types": "./dist/cjs/index.d.cts",
"unpkg": "./dist/umd/sigmacomputing-plugin.umd.js",
"jsdelivr": "./dist/umd/sigmacomputing-plugin.umd.js",
"exports": {
".": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/cjs/index.d.cts",
"default": "./dist/cjs/index.cjs"
}
},
"./package.json": "./package.json"
},
"files": [
"dist/**/*",
"src/**/*",
"!src/**/__tests__/**/*"
],
"publishConfig": {
"access": "public"
"workspaces": {
"packages": [
"packages/*"
]
}
}
Loading