Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
kodiakhq[bot] authored May 9, 2023
2 parents 0162ac4 + 4e3e802 commit 56bb819
Show file tree
Hide file tree
Showing 12 changed files with 3,856 additions and 69 deletions.
13 changes: 12 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@
],
"@typescript-eslint/method-signature-style": "error",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-empty-interface": "off",
"@typescript-eslint/no-explicit-any": [
"off",
{
Expand Down Expand Up @@ -289,6 +290,16 @@
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"react/jsx-filename-extension": [
"warn",
{
"allow": "as-needed",
"extensions": [".jsx", ".tsx"]
}
],
"react/react-in-jsx-scope": "off"
}
},
{
Expand Down Expand Up @@ -317,7 +328,7 @@
"jest/expect-expect": [
"error",
{
"assertFunctionNames": ["expect", "expectExample"]
"assertFunctionNames": ["expect", "expectType"]
}
],
"jest/no-alias-methods": "error",
Expand Down
3 changes: 3 additions & 0 deletions .github/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ _extends: .github
repository:
name: sanity-typed
private: false
labels:
- name: schema-builder
- name: types
branches:
- name: main
protection:
Expand Down
158 changes: 101 additions & 57 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/schema-builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"@jest/globals": "29.5.0",
"@sanity-typed/test-utils": "0.0.0-development",
"@sanity-typed/tsconfig": "0.0.0-development",
"sanity": "3.9.1"
"sanity": "3.10.0"
},
"peerDependencies": {
"sanity": "^3.2.0"
Expand Down
10 changes: 9 additions & 1 deletion packages/test-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,13 @@
"version": "0.0.0-development",
"private": true,
"main": "src/index.ts",
"types": "src/index.ts"
"types": "src/index.ts",
"scripts": {
"build": "tsup",
"dev": "npm run build -- --no-dts"
},
"devDependencies": {
"@jest/globals": "29.5.0",
"@sanity-typed/tsconfig": "0.0.0-development"
}
}
Loading

0 comments on commit 56bb819

Please sign in to comment.