arri 0.46.0 → 0.47.0

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/cli.cjs CHANGED
@@ -11,7 +11,7 @@ const esbuild = require('esbuild');
11
11
  const esbuildPluginReplace = require('esbuild-plugin-replace');
12
12
  const path = require('pathe');
13
13
  const prettier = require('prettier');
14
- const dev = require('./shared/arri.bb661ad6.cjs');
14
+ const dev = require('./shared/arri.8832d51d.cjs');
15
15
  const ofetch = require('ofetch');
16
16
  const Degit = require('degit');
17
17
  const enquirer = require('enquirer');
@@ -167,7 +167,7 @@ const require = topLevelCreateRequire(import.meta.url);`
167
167
  } else if (typeof config.https === "object") {
168
168
  httpsString = `https: { cert: '${config.https.cert}', key: '${config.https.key}', passphrase: ${config.https.passphrase ? `'${config.https.passphrase}'` : "undefined"}},`;
169
169
  }
170
- const virtualEntry = `import { toNodeListener } from 'arri';
170
+ const virtualEntry = `import { toNodeListener } from '@arrirpc/server';
171
171
  import { listen } from '@joshmossas/listhen';
172
172
  import app from './${dev.OUT_APP_FILE}';
173
173
 
package/dist/cli.mjs CHANGED
@@ -9,7 +9,7 @@ import { build as build$1 } from 'esbuild';
9
9
  import { replace } from 'esbuild-plugin-replace';
10
10
  import path from 'pathe';
11
11
  import prettier from 'prettier';
12
- import { d as defaultConfig, l as logger, s as setupWorkingDir, c as createAppWithRoutesModule, O as OUT_CODEGEN, e as OUT_SERVER_ENTRY, G as GEN_APP_FILE, f as OUT_APP_FILE, i as isArriConfig, g as dev } from './shared/arri.4fd43a7c.mjs';
12
+ import { d as defaultConfig, l as logger, s as setupWorkingDir, c as createAppWithRoutesModule, O as OUT_CODEGEN, e as OUT_SERVER_ENTRY, G as GEN_APP_FILE, f as OUT_APP_FILE, i as isArriConfig, g as dev } from './shared/arri.69bdfa17.mjs';
13
13
  import { ofetch } from 'ofetch';
14
14
  import Degit from 'degit';
15
15
  import enquirer from 'enquirer';
@@ -156,7 +156,7 @@ const require = topLevelCreateRequire(import.meta.url);`
156
156
  } else if (typeof config.https === "object") {
157
157
  httpsString = `https: { cert: '${config.https.cert}', key: '${config.https.key}', passphrase: ${config.https.passphrase ? `'${config.https.passphrase}'` : "undefined"}},`;
158
158
  }
159
- const virtualEntry = `import { toNodeListener } from 'arri';
159
+ const virtualEntry = `import { toNodeListener } from '@arrirpc/server';
160
160
  import { listen } from '@joshmossas/listhen';
161
161
  import app from './${OUT_APP_FILE}';
162
162
 
package/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const dev = require('./shared/arri.bb661ad6.cjs');
3
+ const dev = require('./shared/arri.8832d51d.cjs');
4
4
  const codegenDart = require('@arrirpc/codegen-dart');
5
5
  const codegenKotlin = require('@arrirpc/codegen-kotlin');
6
6
  const codegenTs = require('@arrirpc/codegen-ts');
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- export { D as DEV_DEFINITION_ENDPOINT, d as defaultConfig, b as defineConfig, i as isArriConfig, a as isResolvedArriConfig } from './shared/arri.4fd43a7c.mjs';
1
+ export { D as DEV_DEFINITION_ENDPOINT, d as defaultConfig, b as defineConfig, i as isArriConfig, a as isResolvedArriConfig } from './shared/arri.69bdfa17.mjs';
2
2
  export { dartClientGenerator } from '@arrirpc/codegen-dart';
3
3
  export { kotlinClientGenerator } from '@arrirpc/codegen-kotlin';
4
4
  export { typescriptClientGenerator } from '@arrirpc/codegen-ts';
@@ -390,7 +390,7 @@ async function createEntryModule(config) {
390
390
  const appModule = path.resolve(config.rootDir, config.srcDir, config.entry);
391
391
  const appImportParts = path.relative(path.resolve(config.rootDir, config.srcDir), appModule).split(".");
392
392
  appImportParts.pop();
393
- const virtualEntry = `import { toNodeListener } from 'h3';
393
+ const virtualEntry = `import { toNodeListener } from '@arrirpc/server';
394
394
  import app from './${GEN_APP_FILE}';
395
395
 
396
396
  export default app.h3App;`;
@@ -411,7 +411,7 @@ async function createEntryModule(config) {
411
411
  const appModule = path__default.resolve(config.rootDir, config.srcDir, config.entry);
412
412
  const appImportParts = path__default.relative(path__default.resolve(config.rootDir, config.srcDir), appModule).split(".");
413
413
  appImportParts.pop();
414
- const virtualEntry = `import { toNodeListener } from 'h3';
414
+ const virtualEntry = `import { toNodeListener } from '@arrirpc/server';
415
415
  import app from './${GEN_APP_FILE}';
416
416
 
417
417
  export default app.h3App;`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "arri",
3
- "version": "0.46.0",
3
+ "version": "0.47.0",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -40,10 +40,10 @@
40
40
  "pathe": "^1.1.2",
41
41
  "prettier": "^3.2.5",
42
42
  "scule": "^1.3.0",
43
- "@arrirpc/codegen-kotlin": "0.46.0",
44
- "@arrirpc/codegen-ts": "0.46.0",
45
- "@arrirpc/codegen-utils": "0.46.0",
46
- "@arrirpc/codegen-dart": "0.46.0"
43
+ "@arrirpc/codegen-dart": "0.47.0",
44
+ "@arrirpc/codegen-kotlin": "0.47.0",
45
+ "@arrirpc/codegen-ts": "0.47.0",
46
+ "@arrirpc/codegen-utils": "0.47.0"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@types/degit": "^2.8.6"