@vaharoni/devops 1.3.2 → 1.3.3

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/dist/devops.js CHANGED
@@ -2125,7 +2125,7 @@ GENERAL USAGE
2125
2125
  'create' does the following:
2126
2126
  1. Creates the namepace
2127
2127
  2. Creates a secret to hold environment variables (used by devops env) and the base cryptographic secret
2128
- 3. If use-image-pull-secret is true, copies the external-registry-secret to the namespace and patches the default service account to use it
2128
+ 3. If image-pull-secret-name is set, copies the named secret to the namespace and patches the default service account to use it
2129
2129
 
2130
2130
  'delete' removes the namespace in kubernetes, which deletes all entities within it.
2131
2131
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vaharoni/devops",
3
3
  "type": "module",
4
- "version": "1.3.2",
4
+ "version": "1.3.3",
5
5
  "description": "Devops utility",
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",
@@ -24,7 +24,8 @@
24
24
  },
25
25
  "scripts": {
26
26
  "build": "tsup",
27
- "test": "vitest run"
27
+ "test": "vitest run",
28
+ "verify": "tsc --noEmit"
28
29
  },
29
30
  "repository": {
30
31
  "type": "git",
@@ -1,8 +1,8 @@
1
- import { CLICommandParser, printUsageAndExit, StrongParams } from "../../../src/cli/common";
1
+ import { CLICommandParser, printUsageAndExit, StrongParams } from "../common";
2
2
  import {
3
3
  copyRegistrySecretToNamespace,
4
4
  patchServiceAccountImagePullSecret,
5
- } from "../../../src/libs/registry/image-pull-secret";
5
+ } from "../../libs/registry/image-pull-secret";
6
6
  import { checkEnvSetup, createEmptyEnvSecret, createNamespace, deleteNamespace, patchBaseSecret } from "../../libs/k8s-namespace";
7
7
 
8
8
  const oneLiner = "Creates the basic prerequisites for a monorepo";
@@ -21,7 +21,7 @@ GENERAL USAGE
21
21
  'create' does the following:
22
22
  1. Creates the namepace
23
23
  2. Creates a secret to hold environment variables (used by devops env) and the base cryptographic secret
24
- 3. If use-image-pull-secret is true, copies the external-registry-secret to the namespace and patches the default service account to use it
24
+ 3. If image-pull-secret-name is set, copies the named secret to the namespace and patches the default service account to use it
25
25
 
26
26
  'delete' removes the namespace in kubernetes, which deletes all entities within it.
27
27