You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are inconsistent values between the askErrorBehavior prompt and what's looked for when pepr validates. Gives an error like below when you run npx pepr dev
Running module /home/austin/code/test-4/dist/pepr-d26d73ab-fb93-5747-9085-b4e29dc96f23.js
/home/austin/code/test-4/node_modules/pepr/dist/lib.js:1485
throw new Error(`Invalid onErrors value: ${config.onError}`);
^
Error: Invalid onErrors value: audit
at new PeprModule (/home/austin/code/test-4/node_modules/pepr/dist/lib.js:1485:13)
at Object.<anonymous> (/home/austin/code/test-4/dist/pepr-d26d73ab-fb93-5747-9085-b4e29dc96f23.js:146:1)
at Module._compile (node:internal/modules/cjs/loader:1233:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1287:10)
at Module.load (node:internal/modules/cjs/loader:1091:32)
at Module._load (node:internal/modules/cjs/loader:938:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:83:12)
at node:internal/main/run_main_module:23:47
Node.js v20.5.1
Fixes#235.
Changes:
- Migrate from E2E -> Journey + additional unit tests w/mocks
- Migrate from Ava -> Jest (for better mocking support, coverage, TS
test support)
- Add audit annotations based on [K8s Audit
Annotations](https://kubernetes.io/docs/reference/labels-annotations-taints/audit-annotations/),
note this will still require cluster admin config to utilize
- Migrate all `private` TS modifiers to [ECMA2022 Private Class
Features](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes/Private_class_fields)
and
- Remove `public` (implicit) Typescript modifier from all class features
- Migrate from arrow functions to bound class methods for public methods
- Add unit test coverage output
- Move unsafe https ops from global Node settings to single `fetch`
calls on metrics/api journey tests
- Small dep updates
There are inconsistent values between the askErrorBehavior prompt and what's looked for when pepr validates. Gives an error like below when you run
npx pepr dev
pepr/src/cli/init/walkthrough.ts
Lines 36 to 60 in 076ba73
pepr/src/lib/module.ts
Lines 41 to 44 in 076ba73
The text was updated successfully, but these errors were encountered: