spfn 0.2.0-beta.14 → 0.2.0-beta.15

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/index.js +5 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -755,7 +755,7 @@ var init_deployment_config = __esm({
755
755
 
756
756
  // src/utils/version.ts
757
757
  function getCliVersion() {
758
- return "0.2.0-beta.14";
758
+ return "0.2.0-beta.15";
759
759
  }
760
760
  function getTagFromVersion(version) {
761
761
  const match = version.match(/-([a-z]+)\./i);
@@ -2151,7 +2151,8 @@ async function runDrizzleCommand(command) {
2151
2151
  const drizzleProcess = spawn("drizzle-kit", args, {
2152
2152
  stdio: "inherit",
2153
2153
  // Allow interactive input
2154
- shell: true
2154
+ shell: true,
2155
+ env: { ...process.env, NODE_TLS_REJECT_UNAUTHORIZED: "0" }
2155
2156
  });
2156
2157
  const cleanup = () => {
2157
2158
  if (!hasUserConfig && existsSync15(tempConfigPath)) {
@@ -2662,7 +2663,8 @@ async function dbStudio(requestedPort) {
2662
2663
  }
2663
2664
  const studioProcess = spawn3("drizzle-kit", ["studio", `--port=${port}`, `--config=${configPath}`], {
2664
2665
  stdio: "inherit",
2665
- shell: true
2666
+ shell: true,
2667
+ env: { ...process.env, NODE_TLS_REJECT_UNAUTHORIZED: "0" }
2666
2668
  });
2667
2669
  const cleanup = () => {
2668
2670
  if (!hasUserConfig && existsSync18(tempConfigPath)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spfn",
3
- "version": "0.2.0-beta.14",
3
+ "version": "0.2.0-beta.15",
4
4
  "description": "Superfunction CLI - Add SPFN to your Next.js project",
5
5
  "type": "module",
6
6
  "bin": {