@purpleschool/infisical-env 0.1.3 → 0.1.4

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/package.json +2 -2
  2. package/src/cli.js +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purpleschool/infisical-env",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "infisical-env": "src/cli.js"
@@ -16,4 +16,4 @@
16
16
  "prompts": "^2.4.2",
17
17
  "yaml": "^2.4.5"
18
18
  }
19
- }
19
+ }
package/src/cli.js CHANGED
@@ -99,14 +99,14 @@ function resolveInfisicalProject(packageJson) {
99
99
  if (name.includes("rugpt")) {
100
100
  return "48854e39-7129-4786-87ac-cfcce296991c";
101
101
  }
102
- if (name.includes("studdy")) {
102
+ if (name.includes("studdy") || name.includes("student-works")) {
103
103
  return "b4b0abbd-f8e6-428a-a296-6289369ca8dd";
104
104
  }
105
105
  if (name.includes("multisite")) {
106
106
  return "6531c08b-45e0-4d75-a8ab-08d14d0387bf";
107
107
  }
108
108
  throw new Error(
109
- "Unable to resolve Infisical project from package.json name. Expected name to include rugpt, studdy, or multisite."
109
+ "Unable to resolve Infisical project from package.json name. Expected name to include rugpt, studdy, student-works, or multisite."
110
110
  );
111
111
  }
112
112