arri 0.45.6 → 0.45.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/cli.cjs CHANGED
@@ -11,12 +11,13 @@ 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.f2ee916e.cjs');
14
+ const dev = require('./shared/arri.bb661ad6.cjs');
15
15
  const ofetch = require('ofetch');
16
16
  const Degit = require('degit');
17
17
  const enquirer = require('enquirer');
18
18
  const scule = require('scule');
19
19
  require('@joshmossas/listhen');
20
+ require('h3');
20
21
  require('consola');
21
22
 
22
23
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e.default : e; }
package/dist/cli.mjs CHANGED
@@ -9,12 +9,13 @@ 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.1b895cef.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.4fd43a7c.mjs';
13
13
  import { ofetch } from 'ofetch';
14
14
  import Degit from 'degit';
15
15
  import enquirer from 'enquirer';
16
16
  import { kebabCase } from 'scule';
17
17
  import '@joshmossas/listhen';
18
+ import 'h3';
18
19
  import 'consola';
19
20
 
20
21
  const build = defineCommand({
package/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const dev = require('./shared/arri.f2ee916e.cjs');
3
+ const dev = require('./shared/arri.bb661ad6.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');
@@ -11,6 +11,7 @@ require('@joshmossas/listhen');
11
11
  require('c12');
12
12
  require('citty');
13
13
  require('esbuild');
14
+ require('h3');
14
15
  require('ofetch');
15
16
  require('pathe');
16
17
  require('consola');
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.1b895cef.mjs';
1
+ export { D as DEV_DEFINITION_ENDPOINT, d as defaultConfig, b as defineConfig, i as isArriConfig, a as isResolvedArriConfig } from './shared/arri.4fd43a7c.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';
@@ -9,6 +9,7 @@ import '@joshmossas/listhen';
9
9
  import 'c12';
10
10
  import 'citty';
11
11
  import 'esbuild';
12
+ import 'h3';
12
13
  import 'ofetch';
13
14
  import 'pathe';
14
15
  import 'consola';
@@ -5,6 +5,7 @@ import { listenAndWatch } from '@joshmossas/listhen';
5
5
  import { loadConfig } from 'c12';
6
6
  import { defineCommand } from 'citty';
7
7
  import * as esbuild from 'esbuild';
8
+ import 'h3';
8
9
  import { ofetch } from 'ofetch';
9
10
  import path from 'pathe';
10
11
  import { createConsola } from 'consola';
@@ -97,7 +98,6 @@ async function getFsRouteBatch(glob, globPattern, config) {
97
98
  if (meta) {
98
99
  const importParts = path.relative(path.resolve(config.rootDir, config.buildDir), file).split(".");
99
100
  importParts.pop();
100
- importParts.push("js");
101
101
  routes.push({
102
102
  name: meta.id,
103
103
  importName: camelCase(meta.id.split(".").join("_")),
@@ -7,6 +7,7 @@ const listhen = require('@joshmossas/listhen');
7
7
  const c12 = require('c12');
8
8
  const citty = require('citty');
9
9
  const esbuild = require('esbuild');
10
+ require('h3');
10
11
  const ofetch = require('ofetch');
11
12
  const path = require('pathe');
12
13
  const consola = require('consola');
@@ -118,7 +119,6 @@ async function getFsRouteBatch(glob, globPattern, config) {
118
119
  if (meta) {
119
120
  const importParts = path__default.relative(path__default.resolve(config.rootDir, config.buildDir), file).split(".");
120
121
  importParts.pop();
121
- importParts.push("js");
122
122
  routes.push({
123
123
  name: meta.id,
124
124
  importName: scule.camelCase(meta.id.split(".").join("_")),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "arri",
3
- "version": "0.45.6",
3
+ "version": "0.45.7",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -35,14 +35,15 @@
35
35
  "esbuild": "^0.21.4",
36
36
  "esbuild-plugin-replace": "^1.4.0",
37
37
  "globby": "^14.0.1",
38
+ "h3": "^1.11.1",
38
39
  "ofetch": "^1.3.4",
39
40
  "pathe": "^1.1.2",
40
41
  "prettier": "^3.2.5",
41
42
  "scule": "^1.3.0",
42
- "@arrirpc/codegen-kotlin": "0.45.6",
43
- "@arrirpc/codegen-utils": "0.45.6",
44
- "@arrirpc/codegen-dart": "0.45.6",
45
- "@arrirpc/codegen-ts": "0.45.6"
43
+ "@arrirpc/codegen-dart": "0.45.7",
44
+ "@arrirpc/codegen-kotlin": "0.45.7",
45
+ "@arrirpc/codegen-ts": "0.45.7",
46
+ "@arrirpc/codegen-utils": "0.45.7"
46
47
  },
47
48
  "devDependencies": {
48
49
  "@types/degit": "^2.8.6"