hot-updater 0.5.6 → 0.5.7

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/index.cjs CHANGED
@@ -22116,27 +22116,22 @@ export default HotUpdater.wrap({
22116
22116
  }
22117
22117
  };
22118
22118
  const pushDB = async (supabasePath)=>{
22119
- await prompts_namespaceObject.tasks([
22120
- {
22121
- title: "Supabase db push",
22122
- task: async ()=>{
22123
- try {
22124
- const dbPush = await execa("npx", [
22125
- "supabase",
22126
- "db",
22127
- "push"
22128
- ], {
22129
- cwd: supabasePath
22130
- });
22131
- return dbPush.stdout;
22132
- } catch (err) {
22133
- if (err instanceof ExecaError && err.stderr) prompts_namespaceObject.log.error(err.stderr);
22134
- else console.error(err);
22135
- process.exit(1);
22136
- }
22137
- }
22138
- }
22139
- ]);
22119
+ try {
22120
+ const dbPush = await execa("npx", [
22121
+ "supabase",
22122
+ "db",
22123
+ "push"
22124
+ ], {
22125
+ cwd: supabasePath,
22126
+ stdio: "inherit"
22127
+ });
22128
+ prompts_namespaceObject.log.success("DB pushed ✔");
22129
+ return dbPush.stdout;
22130
+ } catch (err) {
22131
+ if (err instanceof ExecaError && err.stderr) prompts_namespaceObject.log.error(err.stderr);
22132
+ else console.error(err);
22133
+ process.exit(1);
22134
+ }
22140
22135
  };
22141
22136
  const deployEdgeFunction = async (supabasePath, projectId)=>{
22142
22137
  await prompts_namespaceObject.tasks([
package/dist/index.js CHANGED
@@ -22013,27 +22013,22 @@ const linkSupabase = async (supabasePath, projectId)=>{
22013
22013
  }
22014
22014
  };
22015
22015
  const pushDB = async (supabasePath)=>{
22016
- await __WEBPACK_EXTERNAL_MODULE__clack_prompts__.tasks([
22017
- {
22018
- title: "Supabase db push",
22019
- task: async ()=>{
22020
- try {
22021
- const dbPush = await execa("npx", [
22022
- "supabase",
22023
- "db",
22024
- "push"
22025
- ], {
22026
- cwd: supabasePath
22027
- });
22028
- return dbPush.stdout;
22029
- } catch (err) {
22030
- if (err instanceof ExecaError && err.stderr) __WEBPACK_EXTERNAL_MODULE__clack_prompts__.log.error(err.stderr);
22031
- else console.error(err);
22032
- process.exit(1);
22033
- }
22034
- }
22035
- }
22036
- ]);
22016
+ try {
22017
+ const dbPush = await execa("npx", [
22018
+ "supabase",
22019
+ "db",
22020
+ "push"
22021
+ ], {
22022
+ cwd: supabasePath,
22023
+ stdio: "inherit"
22024
+ });
22025
+ __WEBPACK_EXTERNAL_MODULE__clack_prompts__.log.success("DB pushed ✔");
22026
+ return dbPush.stdout;
22027
+ } catch (err) {
22028
+ if (err instanceof ExecaError && err.stderr) __WEBPACK_EXTERNAL_MODULE__clack_prompts__.log.error(err.stderr);
22029
+ else console.error(err);
22030
+ process.exit(1);
22031
+ }
22037
22032
  };
22038
22033
  const deployEdgeFunction = async (supabasePath, projectId)=>{
22039
22034
  await __WEBPACK_EXTERNAL_MODULE__clack_prompts__.tasks([
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "hot-updater",
3
3
  "type": "module",
4
- "version": "0.5.6",
4
+ "version": "0.5.7",
5
5
  "bin": {
6
6
  "hot-updater": "./dist/index.js"
7
7
  },
@@ -39,9 +39,9 @@
39
39
  },
40
40
  "dependencies": {
41
41
  "@clack/prompts": "^0.9.0",
42
- "@hot-updater/console": "0.5.6",
43
- "@hot-updater/core": "0.5.6",
44
- "@hot-updater/plugin-core": "0.5.6",
42
+ "@hot-updater/console": "0.5.7",
43
+ "@hot-updater/core": "0.5.7",
44
+ "@hot-updater/plugin-core": "0.5.7",
45
45
  "commander": "^11.1.0",
46
46
  "cosmiconfig": "^9.0.0",
47
47
  "cosmiconfig-typescript-loader": "^5.0.0"