-
Notifications
You must be signed in to change notification settings - Fork 19
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
Showing
29 changed files
with
384 additions
and
426 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
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
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
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 |
---|---|---|
@@ -1,19 +1,40 @@ | ||
import {defineConfig} from '@sanity/pkg-utils' | ||
import { defineConfig } from "@sanity/pkg-utils"; | ||
|
||
export default defineConfig({ | ||
extract: { | ||
rules: { | ||
'ae-internal-missing-underscore': 'off', | ||
'ae-incompatible-release-tags': 'warn', | ||
'ae-missing-release-tag': 'warn', | ||
"ae-internal-missing-underscore": "off", | ||
"ae-incompatible-release-tags": "warn", | ||
"ae-missing-release-tag": "warn", | ||
}, | ||
}, | ||
legacyExports: true, | ||
strictOptions: { | ||
// disable warning when not using browserslist in package.json | ||
noImplicitBrowsersList: 'off', | ||
noImplicitBrowsersList: "off", | ||
}, | ||
tsconfig: 'tsconfig.dist.json', | ||
babel: {reactCompiler: true}, | ||
reactCompilerOptions: {target: '18'}, | ||
}) | ||
tsconfig: "tsconfig.dist.json", | ||
babel: { reactCompiler: true }, | ||
reactCompilerOptions: { | ||
target: "18", | ||
logger: { | ||
logEvent(filename, event) { | ||
/* eslint-disable no-console */ | ||
if (event.kind === "CompileError") { | ||
console.group(`[${filename}] ${event.kind}`); | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
const { reason, description, severity, loc, suggestions } = | ||
event.detail as any; | ||
|
||
console.error(`[${severity}] ${reason}`); | ||
console.log( | ||
`${filename}:${loc.start?.line}:${loc.start?.column} ${description}`, | ||
); | ||
console.log(suggestions); | ||
|
||
console.groupEnd(); | ||
} | ||
}, | ||
}, | ||
}, | ||
}); |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@sanity/ui", | ||
"version": "2.8.17", | ||
"version": "2.9.0-canary.6", | ||
"keywords": [ | ||
"sanity", | ||
"ui", | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.