spfn 0.2.0-beta.13 → 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 +6 -3
  2. package/package.json +2 -2
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.13";
758
+ return "0.2.0-beta.15";
759
759
  }
760
760
  function getTagFromVersion(version) {
761
761
  const match = version.match(/-([a-z]+)\./i);
@@ -782,6 +782,7 @@ async function setupPackageJson(cwd, packageJsonPath, packageJson, packageManage
782
782
  const spfnTag = getSpfnTag();
783
783
  packageJson.dependencies["@spfn/core"] = spfnTag;
784
784
  packageJson.dependencies["@sinclair/typebox"] = "^0.34.0";
785
+ packageJson.dependencies["drizzle-orm"] = "^0.45.0";
785
786
  packageJson.dependencies["drizzle-typebox"] = "^0.1.0";
786
787
  packageJson.dependencies["spfn"] = spfnTag;
787
788
  packageJson.dependencies["concurrently"] = "^9.2.1";
@@ -2150,7 +2151,8 @@ async function runDrizzleCommand(command) {
2150
2151
  const drizzleProcess = spawn("drizzle-kit", args, {
2151
2152
  stdio: "inherit",
2152
2153
  // Allow interactive input
2153
- shell: true
2154
+ shell: true,
2155
+ env: { ...process.env, NODE_TLS_REJECT_UNAUTHORIZED: "0" }
2154
2156
  });
2155
2157
  const cleanup = () => {
2156
2158
  if (!hasUserConfig && existsSync15(tempConfigPath)) {
@@ -2661,7 +2663,8 @@ async function dbStudio(requestedPort) {
2661
2663
  }
2662
2664
  const studioProcess = spawn3("drizzle-kit", ["studio", `--port=${port}`, `--config=${configPath}`], {
2663
2665
  stdio: "inherit",
2664
- shell: true
2666
+ shell: true,
2667
+ env: { ...process.env, NODE_TLS_REJECT_UNAUTHORIZED: "0" }
2665
2668
  });
2666
2669
  const cleanup = () => {
2667
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.13",
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": {
@@ -67,7 +67,7 @@
67
67
  "postgres": "^3.4.0",
68
68
  "prompts": "^2.4.2",
69
69
  "tsup": "^8.5.0",
70
- "@spfn/core": "0.2.0-beta.14"
70
+ "@spfn/core": "0.2.0-beta.16"
71
71
  },
72
72
  "devDependencies": {
73
73
  "@types/fs-extra": "^11.0.4",