pepr 0.2.8 → 0.2.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -48,6 +48,7 @@ pepr init
48
48
  npm run k3d-setup
49
49
 
50
50
  # Start playing with Pepr now
51
+ # If using another local K8s distro instead of k3d, run `pepr dev --host host.docker.internal`
51
52
  pepr dev
52
53
  kubectl apply -f capabilities/hello-pepr.samples.yaml
53
54
 
package/dist/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "engines": {
10
10
  "node": ">=18.0.0"
11
11
  },
12
- "version": "0.2.8",
12
+ "version": "0.2.9",
13
13
  "main": "dist/index.js",
14
14
  "types": "dist/index.d.ts",
15
15
  "pepr": {
@@ -67,7 +67,7 @@
67
67
  "@typescript-eslint/parser": "5.59.0",
68
68
  "ava": "5.2.0",
69
69
  "eslint": "8.39.0",
70
- "nock": "13.3.0"
70
+ "nock": "13.3.1"
71
71
  },
72
72
  "ava": {
73
73
  "extensions": [
@@ -17,7 +17,7 @@ function default_1(program) {
17
17
  program
18
18
  .command("dev")
19
19
  .description("Setup a local webhook development environment")
20
- .option("-h, --host [host]", "Host to listen on", "host.docker.internal")
20
+ .option("-h, --host [host]", "Host to listen on", "host.k3d.internal")
21
21
  .option("--confirm", "Skip confirmation prompt")
22
22
  .action(async (opts) => {
23
23
  // Prompt the user to confirm if they didn't pass the --confirm flag
package/docs/cli.md CHANGED
@@ -10,6 +10,7 @@ Initialize a new Pepr Module.
10
10
  - `--skip-post-init` - Skip npm install, git init and VSCode launch
11
11
 
12
12
  ---
13
+
13
14
  ## `pepr update`
14
15
 
15
16
  Update the current Pepr Module to the latest SDK version and update the global Pepr CLI to the same version.
@@ -23,12 +24,15 @@ Update the current Pepr Module to the latest SDK version and update the global P
23
24
 
24
25
  ## `pepr dev`
25
26
 
26
- Connect a local cluster to a local version of the Pepr Controller to do real-time debugging of your module.
27
+ Connect a local cluster to a local version of the Pepr Controller to do real-time debugging of your module. Note
28
+ the `pepr dev` assumes a K3d cluster is running by default. If you are working with Kind or another docker-based
29
+ K8s distro, you will need to pass the `--host host.docker.internal` option to `pepr dev`. If working with a remote
30
+ cluster you will have to give Pepr a host path to your machine that is reachable from the K8s cluster.
27
31
 
28
32
  **Options:**
29
33
 
30
34
  - `-l, --log-level [level]` - Log level: debug, info, warn, error (default: "info")
31
- - `-h, --host [host]` - Host to listen on (default: "host.docker.internal")
35
+ - `-h, --host [host]` - Host to listen on (default: "host.k3d.internal")
32
36
  - `--confirm` - Skip confirmation prompt
33
37
 
34
38
  ---
package/docs/module.md CHANGED
@@ -23,6 +23,7 @@ Each Pepr Module is it's own Typescript project, produced by [`pepr init`](./cli
23
23
  npm run k3d-setup
24
24
 
25
25
  # Launch pepr dev mode (npm start or pepr dev)
26
+ # If using another local K8s distro instead of k3d, use `pepr dev --host host.docker.internal`
26
27
  pepr dev
27
28
 
28
29
  # From another terminal, apply the sample yaml
@@ -0,0 +1,4 @@
1
+ # One entry for each vulnerability group
2
+ [[IgnoredVulns]]
3
+ id = "GHSA-p8p7-x288-28g6"
4
+ reason = "Library only used client-side and not affected by this vulnerability."
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "engines": {
10
10
  "node": ">=18.0.0"
11
11
  },
12
- "version": "0.2.8",
12
+ "version": "0.2.9",
13
13
  "main": "dist/index.js",
14
14
  "types": "dist/index.d.ts",
15
15
  "pepr": {
@@ -67,7 +67,7 @@
67
67
  "@typescript-eslint/parser": "5.59.0",
68
68
  "ava": "5.2.0",
69
69
  "eslint": "8.39.0",
70
- "nock": "13.3.0"
70
+ "nock": "13.3.1"
71
71
  },
72
72
  "ava": {
73
73
  "extensions": [