diff --git a/package.json b/package.json index ac35ca3a..e2b708c1 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "hoistingLimits": "workspaces" }, "scripts": { - "start:admin": "yarn workspace admin start", + "start:admin": "yarn workspace @softeer/common build && yarn workspace admin start", "start:user": "yarn workspace @softeer/common build && yarn workspace user start", "build:admin": "yarn workspace admin build", "build:user": "yarn workspace user build", diff --git a/tsconfig.json b/tsconfig.json index 32fa6884..6f70111b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -21,7 +21,8 @@ "noFallthroughCasesInSwitch": true, "baseUrl": ".", "paths": { - "@/*": ["packages/*"] + "@/*": ["packages/*"], + "@softeer/common/*": ["packages/common/*"] } }, "parserOptions": {