Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c906510

Browse files
chore(website): have start depend on website-eslint:build (typescript-eslint#7638)
1 parent 324c4d3 commit c906510

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

packages/website/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"stylelint:fix": "stylelint \"src/**/*.css\" --fix",
1212
"lint": "nx lint",
1313
"serve": "docusaurus serve",
14-
"start": "docusaurus start",
14+
"start": "nx start",
1515
"swizzle": "docusaurus swizzle",
1616
"test": "playwright test",
1717
"typecheck": "tsc -b ./tsconfig.json"

packages/website/project.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@
44
"type": "library",
55
"implicitDependencies": [],
66
"targets": {
7+
"start": {
8+
"dependsOn": ["website-eslint:build"],
9+
"executor": "nx:run-commands",
10+
"options": {
11+
"cwd": "packages/website",
12+
"command": "docusaurus start"
13+
}
14+
},
715
"lint": {
816
"executor": "@nx/linter:eslint",
917
"outputs": ["{options.outputFile}"],

0 commit comments

Comments
 (0)