Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Ensure top level commands work correctly #105

Merged
merged 3 commits into from
Apr 27, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
],
"private": true,
"scripts": {
"clean": "npx tsc --build --clean",
"build": "npx tsc --build",
"clean": "yarn workspaces foreach -pt run clean",
"build": "yarn workspaces foreach -pt run build",
"//": "When using build:doc you need to specify the workspace. 'yarn run build:doc packages/shared/common' for example.",
"build:doc": "./scripts/build-doc.sh $1",
"lint": "npx eslint . --ext .ts",
"lint:fix": "yarn run lint -- --fix",
"test": "npx jest",
"test": "echo Please run tests for individual packages.",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couldn't run the cloudflare tests, so I just put this warning message in instead.

"coverage": "npm run test -- --coverage",
"contract-test-service": "npm --prefix contract-tests install && npm --prefix contract-tests start",
"contract-test-harness": "curl -s https://raw.githubusercontent.com/launchdarkly/sdk-test-harness/master/downloader/run.sh \\ | VERSION=v2 PARAMS=\"-url http://localhost:8000 -debug -stop-service-at-end $TEST_HARNESS_PARAMS\" sh",
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/common/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
"declarationMap": true, // enables importers to jump to source
"stripInternal": true
},
"exclude": ["**/*.test.ts", "__tests__"]
"exclude": ["**/*.test.ts", "dist", "node_modules", "__tests__"]
}
2 changes: 1 addition & 1 deletion packages/shared/sdk-server/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
"declarationMap": true, // enables importers to jump to source
"stripInternal": true
},
"exclude": ["**/*.test.ts", "__tests__"]
"exclude": ["**/*.test.ts", "dist", "node_modules", "__tests__"]
}