-
Notifications
You must be signed in to change notification settings - Fork 428
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
93 changed files
with
14,158 additions
and
1,730 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
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 31 .", | ||
"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 28 .", | ||
"check:test": "run-s test -- --silent", | ||
"check:types": "tsc && turbo run check:types --filter='./packages/*' --filter='./packages/@sanity/*'", | ||
"chore:format:fix": "prettier --cache --write .", | ||
|
@@ -182,8 +182,11 @@ | |
}, | ||
"overrides": { | ||
"@npmcli/arborist": "^7.5.4", | ||
"@sanity/ui": "2.6.7-canary.0", | ||
"@typescript-eslint/eslint-plugin": "$@typescript-eslint/eslint-plugin", | ||
"@typescript-eslint/parser": "$@typescript-eslint/parser" | ||
"@typescript-eslint/parser": "$@typescript-eslint/parser", | ||
"styled-components": "npm:[email protected]", | ||
"framer-motion": "11.3.0" | ||
} | ||
}, | ||
"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 |
---|---|---|
|
@@ -6,3 +6,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 |
---|---|---|
|
@@ -30,3 +30,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
Oops, something went wrong.