hot-updater 0.21.10 → 0.21.12

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
@@ -35579,8 +35579,8 @@ const deploy = async (options) => {
35579
35579
  const bundlePath = path.default.join(normalizeOutputPath, "bundle", `bundle${bundleExtension}`);
35580
35580
  const [buildPlugin, storagePlugin, databasePlugin] = await Promise.all([
35581
35581
  config.build({ cwd }),
35582
- config.storage({ cwd }),
35583
- config.database({ cwd })
35582
+ config.storage(),
35583
+ config.database()
35584
35584
  ]);
35585
35585
  try {
35586
35586
  const taskRef = {
@@ -36853,7 +36853,7 @@ async function loadHotUpdater(configPath) {
36853
36853
  }
36854
36854
  const hotUpdater = moduleExports["hotUpdater"] || moduleExports["default"];
36855
36855
  if (!hotUpdater) {
36856
- __hot_updater_cli_tools.p.log.error("Could not find \"hotUpdater\" export in the config file.\n\nYour config file should export a hotUpdater instance:\n\n import { createHotUpdater } from '@hot-updater/server';\n import { kyselyAdapter } from '@hot-updater/server/adapters/kysely';\n\n export const hotUpdater = createHotUpdater({\n database: kyselyAdapter({ db: kysely, provider: 'postgresql' }),\n storagePlugins: [...],\n });");
36856
+ __hot_updater_cli_tools.p.log.error("Could not find \"hotUpdater\" export in the config file.\n\nYour config file should export a hotUpdater instance:\n\n import { createHotUpdater } from '@hot-updater/server';\n import { kyselyAdapter } from '@hot-updater/server/adapters/kysely';\n\n export const hotUpdater = createHotUpdater({\n database: kyselyAdapter({ db: kysely, provider: 'postgresql' }),\n storages: [...],\n });");
36857
36857
  process.exit(1);
36858
36858
  }
36859
36859
  if (typeof hotUpdater !== "object" || !("adapterName" in hotUpdater)) {
package/dist/index.js CHANGED
@@ -35550,8 +35550,8 @@ const deploy = async (options) => {
35550
35550
  const bundlePath = path$1.join(normalizeOutputPath, "bundle", `bundle${bundleExtension}`);
35551
35551
  const [buildPlugin, storagePlugin, databasePlugin] = await Promise.all([
35552
35552
  config.build({ cwd }),
35553
- config.storage({ cwd }),
35554
- config.database({ cwd })
35553
+ config.storage(),
35554
+ config.database()
35555
35555
  ]);
35556
35556
  try {
35557
35557
  const taskRef = {
@@ -36824,7 +36824,7 @@ async function loadHotUpdater(configPath) {
36824
36824
  }
36825
36825
  const hotUpdater = moduleExports["hotUpdater"] || moduleExports["default"];
36826
36826
  if (!hotUpdater) {
36827
- p.log.error("Could not find \"hotUpdater\" export in the config file.\n\nYour config file should export a hotUpdater instance:\n\n import { createHotUpdater } from '@hot-updater/server';\n import { kyselyAdapter } from '@hot-updater/server/adapters/kysely';\n\n export const hotUpdater = createHotUpdater({\n database: kyselyAdapter({ db: kysely, provider: 'postgresql' }),\n storagePlugins: [...],\n });");
36827
+ p.log.error("Could not find \"hotUpdater\" export in the config file.\n\nYour config file should export a hotUpdater instance:\n\n import { createHotUpdater } from '@hot-updater/server';\n import { kyselyAdapter } from '@hot-updater/server/adapters/kysely';\n\n export const hotUpdater = createHotUpdater({\n database: kyselyAdapter({ db: kysely, provider: 'postgresql' }),\n storages: [...],\n });");
36828
36828
  process.exit(1);
36829
36829
  }
36830
36830
  if (typeof hotUpdater !== "object" || !("adapterName" in hotUpdater)) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "hot-updater",
3
3
  "type": "module",
4
- "version": "0.21.10",
4
+ "version": "0.21.12",
5
5
  "bin": {
6
6
  "hot-updater": "./dist/index.js"
7
7
  },
@@ -55,11 +55,11 @@
55
55
  "kysely": "0.28.8",
56
56
  "sql-formatter": "15.6.10",
57
57
  "cosmiconfig-typescript-loader": "5.0.0",
58
- "@hot-updater/cli-tools": "0.21.10",
59
- "@hot-updater/console": "0.21.10",
60
- "@hot-updater/core": "0.21.10",
61
- "@hot-updater/plugin-core": "0.21.10",
62
- "@hot-updater/server": "0.21.10"
58
+ "@hot-updater/cli-tools": "0.21.12",
59
+ "@hot-updater/core": "0.21.12",
60
+ "@hot-updater/console": "0.21.12",
61
+ "@hot-updater/plugin-core": "0.21.12",
62
+ "@hot-updater/server": "0.21.12"
63
63
  },
64
64
  "devDependencies": {
65
65
  "semver": "^7.6.3",
@@ -89,12 +89,12 @@
89
89
  "plist": "^3.1.0",
90
90
  "read-package-up": "^11.0.0",
91
91
  "uuidv7": "^1.0.2",
92
- "@hot-updater/aws": "0.21.10",
93
- "@hot-updater/cloudflare": "0.21.10",
94
- "@hot-updater/server": "0.21.10",
95
- "@hot-updater/test-utils": "0.21.10",
96
- "@hot-updater/supabase": "0.21.10",
97
- "@hot-updater/firebase": "0.21.10"
92
+ "@hot-updater/server": "0.21.12",
93
+ "@hot-updater/aws": "0.21.12",
94
+ "@hot-updater/cloudflare": "0.21.12",
95
+ "@hot-updater/supabase": "0.21.12",
96
+ "@hot-updater/firebase": "0.21.12",
97
+ "@hot-updater/test-utils": "0.21.12"
98
98
  },
99
99
  "peerDependencies": {
100
100
  "@hot-updater/aws": "*",