pepr 0.1.0 → 0.1.1

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.
Files changed (2) hide show
  1. package/dist/pepr-cli.js +9 -9
  2. package/package.json +1 -1
package/dist/pepr-cli.js CHANGED
@@ -19,7 +19,7 @@ var commander = require('commander');
19
19
  var child_process = require('child_process');
20
20
  var chokidar = require('chokidar');
21
21
 
22
- var version = "0.1.0";
22
+ var version = "0.1.1";
23
23
  var devDependencies = {
24
24
  "@types/prompts": "^2.4.4",
25
25
  "@types/uuid": "^9.0.1",
@@ -333,12 +333,12 @@ import { PeprModule } from "pepr";
333
333
  import cfg from "./package.json";
334
334
 
335
335
  // This initializes the Pepr module with the configuration from package.json
336
- export const peprModule = new PeprModule(cfg, {
337
- // Modify as needed
338
- alwaysIgnore: {
336
+ export const { Register, ProcessRequest } = new PeprModule(cfg, {
337
+ // Modify as needed
338
+ alwaysIgnore: {
339
339
  namespaces: [],
340
340
  labels: [],
341
- },
341
+ },
342
342
  });
343
343
 
344
344
  /**
@@ -347,11 +347,11 @@ alwaysIgnore: {
347
347
  * 'pepr new <capability name>'
348
348
  *
349
349
  * Example:
350
- * import Capability1 from "./capability1";
351
- * import Capability2 from "./capability2";
350
+ * import {Capability1} from "./capabilities/capability1";
351
+ * import {Capability2} from "./capabilities/capability2";
352
352
  *
353
- * Capability1(peprModule.Register);
354
- * Capability2(peprModule.Register);
353
+ * Capability1(Register);
354
+ * Capability2(Register);
355
355
  */
356
356
 
357
357
  `,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pepr",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Kubernetes application engine",
5
5
  "author": "Defense Unicorns",
6
6
  "homepage": "https://github.com/defenseunicorns/pepr",