mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-08 11:11:53 +08:00
Review PR
This commit is contained in:
parent
ec0fc743ba
commit
c2571266a8
@ -138,7 +138,6 @@ jobs:
|
||||
- persist_to_workspace:
|
||||
root: .
|
||||
paths:
|
||||
- code/.nx/cache
|
||||
- code/node_modules
|
||||
- scripts/node_modules
|
||||
- code/examples
|
||||
|
@ -22,6 +22,7 @@ plugins:
|
||||
- path: ../.yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
|
||||
spec: '@yarnpkg/plugin-workspace-tools'
|
||||
|
||||
# See https://github.com/nrwl/nx/issues/22177
|
||||
supportedArchitectures:
|
||||
cpu:
|
||||
- x64
|
||||
|
@ -4,6 +4,7 @@
|
||||
"compilerOptions": {
|
||||
"target": "ES2020",
|
||||
"module": "CommonJS",
|
||||
"lib": ["es2020", "dom", "dom.iterable"],
|
||||
"experimentalDecorators": true,
|
||||
"emitDecoratorMetadata": true,
|
||||
"declaration": true,
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"rootDir": "./src",
|
||||
"types": ["node"],
|
||||
"resolveJsonModule": true,
|
||||
"strict": true
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"rootDir": "./src",
|
||||
"types": ["node"],
|
||||
"resolveJsonModule": true,
|
||||
"jsx": "react-jsx",
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"rootDir": "./src",
|
||||
"types": ["node"],
|
||||
"resolveJsonModule": true,
|
||||
"strict": true
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"rootDir": "./src",
|
||||
"types": ["node"],
|
||||
"resolveJsonModule": true,
|
||||
"strict": true
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"rootDir": "./src",
|
||||
"types": ["node"],
|
||||
"resolveJsonModule": true,
|
||||
"strict": true
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"rootDir": "./src",
|
||||
"types": ["node"],
|
||||
"skipLibCheck": true,
|
||||
"resolveJsonModule": true,
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"rootDir": "./src",
|
||||
"types": ["node"],
|
||||
"resolveJsonModule": true,
|
||||
"strict": true
|
||||
|
15
code/nx.json
15
code/nx.json
@ -33,21 +33,6 @@
|
||||
}
|
||||
},
|
||||
"targetDefaults": {
|
||||
"install": {
|
||||
"executor": "nx:run-commands",
|
||||
"options": {
|
||||
"commands": [
|
||||
{
|
||||
"prefix": "workspace",
|
||||
"command": "yarn"
|
||||
},
|
||||
{
|
||||
"prefix": "scripts",
|
||||
"command": "yarn --cwd ../scripts"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"build": {
|
||||
"executor": "nx:run-commands",
|
||||
"options": {
|
||||
|
@ -1,7 +0,0 @@
|
||||
{
|
||||
"name": "root",
|
||||
"projectType": "library",
|
||||
"targets": {
|
||||
"install": {}
|
||||
}
|
||||
}
|
@ -24,9 +24,6 @@ const threadCount = process.env.CI ? 8 : undefined;
|
||||
|
||||
export const vitestCommonConfig = defineConfig({
|
||||
test: {
|
||||
cache: {
|
||||
dir: './node_modules/.vitest',
|
||||
},
|
||||
clearMocks: true,
|
||||
setupFiles: [resolve(__dirname, './vitest-setup.ts')],
|
||||
globals: true,
|
||||
|
Loading…
x
Reference in New Issue
Block a user