diff --git a/agent/README.md b/agent/README.md index a765dcd1..5d5507fa 100644 --- a/agent/README.md +++ b/agent/README.md @@ -8,7 +8,7 @@ This allows us to run load tests using [pewpew](https://github.com/FamilySearch/ Shared code for the agent and the controller are found in [ppaas-common](https://github.com/FamilySearch/pewpew/tree/master/common) ## Environment Config -For your full deployment you should have environment variables injected into CloudFormation to set up the S3 bucket and SQS queues. For local development, copy the `.sample-env` file to `.env.local` (or run `cp -i .sample.env .env.local`). Then modify the .env.local file to point to your S3 bucket and your SQS queues. You can also override the default AWS profile for your local testing via the `AWS_PROFILE` variable if you are not using `default`. +For your full deployment you should have environment variables injected into CloudFormation to set up the S3 bucket and SQS queues. For local development, copy the `.sample-env` file to `.env.local` (or run `cp -i .sample-env .env.local`). Then modify the .env.local file to point to your S3 bucket and your SQS queues. You can also override the default AWS profile for your local testing via the `AWS_PROFILE` variable if you are not using `default`. ## Build ```bash diff --git a/agent/package.json b/agent/package.json index f890816f..4dfe87fc 100644 --- a/agent/package.json +++ b/agent/package.json @@ -27,6 +27,7 @@ "node": "18" }, "nyc": { + "reporter": ["lcov", "text"], "exclude": "**/*.spec.ts" }, "dependencies": { diff --git a/common/README.md b/common/README.md index c985d040..0a05e17d 100644 --- a/common/README.md +++ b/common/README.md @@ -24,7 +24,7 @@ logger.log("Log to console", logger.LogLevel.ERROR); ``` ## Environment Config -For your full deployment you should have environment variables injected into CloudFormation to set up the S3 bucket and SQS queues. For local development, copy the `.sample-env` file to `.env.local` (or run `cp -i .sample.env .env.local`). Then modify the .env.local file to point to your S3 bucket and your SQS queues. You can also override the default AWS profile for your local testing via the `AWS_PROFILE` variable if you are not using `default`. +For your full deployment you should have environment variables injected into CloudFormation to set up the S3 bucket and SQS queues. For local development, copy the `.sample-env` file to `.env.local` (or run `cp -i .sample-env .env.local`). Then modify the .env.local file to point to your S3 bucket and your SQS queues. You can also override the default AWS profile for your local testing via the `AWS_PROFILE` variable if you are not using `default`. ## Build ```bash diff --git a/common/package.json b/common/package.json index 2247473b..f2d20a0e 100644 --- a/common/package.json +++ b/common/package.json @@ -26,6 +26,7 @@ "node": ">=18.0.0 <23.0.0" }, "nyc": { + "reporter": ["lcov", "text"], "exclude": "**/*.spec.ts" }, "peerDependencies": { diff --git a/controller/README.md b/controller/README.md index 358132db..ffa58252 100644 --- a/controller/README.md +++ b/controller/README.md @@ -39,12 +39,12 @@ $ PORT=8081 npm run acceptance You also need to configure your Secrets Overrides. You have two options, get the real key from someone who has it, or generate your own key for testing/development but any files stored encrypted in s3 will only be accessible by you. For the OpenId secret, you will need the real one. ### Generate your own encryption key for testing -1. If you haven't created a `.env.local` run `cp -i .sample.env .env.local` +1. If you haven't created a `.env.local` run `cp -i .sample-env .env.local` 2. Uncomment the `PEWPEW_ENCRYPT_KEY_OVERRIDE` from `.env.local` 3. Run `openssl rand -hex 16` and copy the value into the quotes for `PEWPEW_ENCRYPT_KEY_OVERRIDE`. Should be something like `a5158c830ac558b21baddb79803105fb`. ### Add your own OpenId Secret -1. If you haven't created a `.env.local` run `cp -i .sample.env .env.local` +1. If you haven't created a `.env.local` run `cp -i .sample-env .env.local` 2. Uncomment the `PEWPEW_OPENID_SECRET_OVERRIDE` from `.env.local` 3. Enter the value for your secret into the quotes for `PEWPEW_OPENID_SECRET_OVERRIDE`. diff --git a/controller/package.json b/controller/package.json index 25c011e7..b8b13908 100644 --- a/controller/package.json +++ b/controller/package.json @@ -33,6 +33,7 @@ "node": "18" }, "nyc": { + "reporter": ["lcov", "text"], "exclude": "**/*.spec.ts" }, "overrides": { diff --git a/eslint.config.mjs b/eslint.config.mjs index bf97b821..db6c8c79 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -17,7 +17,7 @@ export default [{ "ignores": [ "guide", "lib", - "coverage/**", + "**/coverage/**", "**/dist/**", "target/**", "tests/**", diff --git a/package.json b/package.json index 278da2a9..a74670a6 100644 --- a/package.json +++ b/package.json @@ -64,6 +64,7 @@ "node": ">=18.0.0 <23.0.0" }, "nyc": { + "reporter": ["lcov", "text"], "exclude": "**/*.spec.ts" }, "overrides": {