4
.github/workflows/ci-front.yaml
vendored
4
.github/workflows/ci-front.yaml
vendored
@ -148,6 +148,10 @@ jobs:
|
|||||||
path: node_modules
|
path: node_modules
|
||||||
key: root-node_modules-${{hashFiles('yarn.lock')}}
|
key: root-node_modules-${{hashFiles('yarn.lock')}}
|
||||||
restore-keys: root-node_modules-
|
restore-keys: root-node_modules-
|
||||||
|
- name: UI / Run linter
|
||||||
|
run: yarn nx lint twenty-ui
|
||||||
|
- name: UI / Run Typescript Check
|
||||||
|
run: yarn nx typecheck twenty-ui
|
||||||
- name: Front / Run linter
|
- name: Front / Run linter
|
||||||
run: yarn nx lint:ci twenty-front
|
run: yarn nx lint:ci twenty-front
|
||||||
- name: Front / Run Typescript Check
|
- name: Front / Run Typescript Check
|
||||||
|
|||||||
1
.gitignore
vendored
1
.gitignore
vendored
@ -23,3 +23,4 @@
|
|||||||
coverage
|
coverage
|
||||||
dist
|
dist
|
||||||
storybook-static
|
storybook-static
|
||||||
|
*.tsbuildinfo
|
||||||
|
|||||||
@ -31,7 +31,6 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"configurations": {
|
"configurations": {
|
||||||
"ci": { "lintFilePatterns": ["{projectRoot}/**/*.{ts,tsx,json}"] },
|
|
||||||
"fix": { "fix": true }
|
"fix": { "fix": true }
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -42,6 +41,13 @@
|
|||||||
"jestConfig": "{projectRoot}/jest.config.ts"
|
"jestConfig": "{projectRoot}/jest.config.ts"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"typecheck": {
|
||||||
|
"executor": "nx:run-commands",
|
||||||
|
"options": {
|
||||||
|
"cwd": "{projectRoot}",
|
||||||
|
"command": "tsc -b tsconfig.json --incremental"
|
||||||
|
}
|
||||||
|
},
|
||||||
"storybook:dev": {
|
"storybook:dev": {
|
||||||
"executor": "@nx/storybook:storybook",
|
"executor": "@nx/storybook:storybook",
|
||||||
"options": {
|
"options": {
|
||||||
|
|||||||
@ -8,6 +8,7 @@
|
|||||||
"esModuleInterop": true,
|
"esModuleInterop": true,
|
||||||
"noEmit": true,
|
"noEmit": true,
|
||||||
"types": ["node"],
|
"types": ["node"],
|
||||||
|
"outDir": "../../dist/out-tsc",
|
||||||
"paths": {
|
"paths": {
|
||||||
"@ui/*": ["packages/twenty-ui/src/*"]
|
"@ui/*": ["packages/twenty-ui/src/*"]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,8 +1,5 @@
|
|||||||
{
|
{
|
||||||
"extends": "./tsconfig.json",
|
"extends": "./tsconfig.json",
|
||||||
"compilerOptions": {
|
|
||||||
"outDir": "../../dist/out-tsc"
|
|
||||||
},
|
|
||||||
"exclude": [
|
"exclude": [
|
||||||
"**/*.spec.ts",
|
"**/*.spec.ts",
|
||||||
"**/*.spec.tsx",
|
"**/*.spec.tsx",
|
||||||
|
|||||||
@ -1,7 +1,6 @@
|
|||||||
{
|
{
|
||||||
"extends": "./tsconfig.json",
|
"extends": "./tsconfig.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "../../dist/out-tsc",
|
|
||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"types": ["jest", "node"]
|
"types": ["jest", "node"]
|
||||||
},
|
},
|
||||||
|
|||||||
@ -1,8 +1,7 @@
|
|||||||
{
|
{
|
||||||
"extends": "./tsconfig.json",
|
"extends": "./tsconfig.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"emitDecoratorMetadata": true,
|
"emitDecoratorMetadata": true
|
||||||
"outDir": ""
|
|
||||||
},
|
},
|
||||||
"include": [
|
"include": [
|
||||||
".storybook/*.ts",
|
".storybook/*.ts",
|
||||||
|
|||||||
Reference in New Issue
Block a user