-
Notifications
You must be signed in to change notification settings - Fork 427
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: testing multiple experimental perf boosting strategies
- Loading branch information
Showing
71 changed files
with
12,940 additions
and
539 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
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
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 |
---|---|---|
|
@@ -17,7 +17,7 @@ | |
"check:deps": "pnpm --recursive --parallel exec depcheck", | ||
"check:format": "prettier . --check", | ||
"check:lint": "turbo run lint --continue -- --quiet", | ||
"check:react-compiler": "eslint --no-inline-config --no-eslintrc --ext .cjs,.mjs,.js,.jsx,.ts,.tsx --parser @typescript-eslint/parser --plugin react-compiler --rule 'react-compiler/react-compiler: [warn]' --ignore-path .eslintignore.react-compiler --max-warnings 27 .", | ||
"check:react-compiler": "eslint --no-inline-config --no-eslintrc --ext .cjs,.mjs,.js,.jsx,.ts,.tsx --parser @typescript-eslint/parser --plugin react-compiler --rule 'react-compiler/react-compiler: [warn]' --ignore-path .eslintignore.react-compiler --max-warnings 5 .", | ||
"check:test": "run-s test -- --silent", | ||
"check:types": "tsc && turbo run check:types --filter='./packages/*' --filter='./packages/@sanity/*'", | ||
"chore:format:fix": "prettier --cache --write .", | ||
|
@@ -186,7 +186,9 @@ | |
"@npmcli/arborist": "^7.5.4", | ||
"@sanity/ui@2": "$@sanity/ui", | ||
"@typescript-eslint/eslint-plugin": "$@typescript-eslint/eslint-plugin", | ||
"@typescript-eslint/parser": "$@typescript-eslint/parser" | ||
"@typescript-eslint/parser": "$@typescript-eslint/parser", | ||
"framer-motion": "11.3.6", | ||
"styled-components": "npm:[email protected]" | ||
} | ||
}, | ||
"isSanityMonorepo": true | ||
|
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
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 |
---|---|---|
|
@@ -7,3 +7,4 @@ presentation.js | |
router.js | ||
structure.js | ||
/migrate/* | ||
/web-workers/* |
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 |
---|---|---|
|
@@ -31,3 +31,6 @@ | |
/migrate.js | ||
/_internal.js | ||
/cli.js | ||
|
||
/web-workers/**/*.map | ||
/web-workers/**/*.esm.js |
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
import {defineConfig, mergeConfig} from 'vite' | ||
|
||
import {defaultConfig} from '../@repo/package.bundle/src/package.bundle' | ||
|
||
export default defineConfig(() => { | ||
return mergeConfig(defaultConfig, { | ||
define: { | ||
'window.process': 'undefined', | ||
'window.location': 'location', | ||
'window.console': 'console', | ||
'window.addEventListener': 'addEventListener', | ||
}, | ||
build: { | ||
lib: { | ||
entry: './src/core/store/_legacy/document/document-pair/checkoutPairWorker.ts', | ||
fileName: 'checkoutPair', | ||
}, | ||
rollupOptions: { | ||
external: [], | ||
output: { | ||
exports: 'none', | ||
dir: 'web-workers', | ||
format: 'iife', | ||
inlineDynamicImports: true, | ||
}, | ||
}, | ||
}, | ||
worker: { | ||
format: 'iife', | ||
}, | ||
}) | ||
}) |
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
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.