arri 0.57.8 → 0.58.1
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,9 +11,9 @@ 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.
|
|
14
|
+
const dev = require('./shared/arri.a671ac34.cjs');
|
|
15
|
+
const ofetch = require('@joshmossas/ofetch');
|
|
15
16
|
const chokidar = require('chokidar');
|
|
16
|
-
const ofetch = require('ofetch');
|
|
17
17
|
const Degit = require('degit');
|
|
18
18
|
const enquirer = require('enquirer');
|
|
19
19
|
const schema = require('@arrirpc/schema');
|
|
@@ -359,11 +359,10 @@ async function getAppDefinitionFromFile(file) {
|
|
|
359
359
|
async function runGenerators(def, generators) {
|
|
360
360
|
dev.logger.info(`Generating ${generators?.length} client(s)`);
|
|
361
361
|
await Promise.allSettled(
|
|
362
|
-
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
363
362
|
generators.map(
|
|
364
363
|
(gen) => gen.generator(
|
|
365
364
|
def ?? {
|
|
366
|
-
schemaVersion: "0.0.
|
|
365
|
+
schemaVersion: "0.0.7",
|
|
367
366
|
procedures: {},
|
|
368
367
|
definitions: {}
|
|
369
368
|
}
|
package/dist/cli.mjs
CHANGED
|
@@ -9,9 +9,9 @@ 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 getArriPackageMetadata, h as dev } from './shared/arri.
|
|
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 getArriPackageMetadata, h as dev } from './shared/arri.c8a11d3d.mjs';
|
|
13
|
+
import { ofetch } from '@joshmossas/ofetch';
|
|
13
14
|
import { watch } from 'chokidar';
|
|
14
|
-
import { ofetch } from 'ofetch';
|
|
15
15
|
import Degit from 'degit';
|
|
16
16
|
import enquirer from 'enquirer';
|
|
17
17
|
import { a } from '@arrirpc/schema';
|
|
@@ -346,11 +346,10 @@ async function getAppDefinitionFromFile(file) {
|
|
|
346
346
|
async function runGenerators(def, generators) {
|
|
347
347
|
logger.info(`Generating ${generators?.length} client(s)`);
|
|
348
348
|
await Promise.allSettled(
|
|
349
|
-
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
350
349
|
generators.map(
|
|
351
350
|
(gen) => gen.generator(
|
|
352
351
|
def ?? {
|
|
353
|
-
schemaVersion: "0.0.
|
|
352
|
+
schemaVersion: "0.0.7",
|
|
354
353
|
procedures: {},
|
|
355
354
|
definitions: {}
|
|
356
355
|
}
|
package/dist/index.cjs
CHANGED
|
@@ -4,7 +4,7 @@ const codegenDart = require('@arrirpc/codegen-dart');
|
|
|
4
4
|
const codegenKotlin = require('@arrirpc/codegen-kotlin');
|
|
5
5
|
const codegenRust = require('@arrirpc/codegen-rust');
|
|
6
6
|
const codegenTs = require('@arrirpc/codegen-ts');
|
|
7
|
-
const dev = require('./shared/arri.
|
|
7
|
+
const dev = require('./shared/arri.a671ac34.cjs');
|
|
8
8
|
const codegenUtils = require('@arrirpc/codegen-utils');
|
|
9
9
|
require('node:fs');
|
|
10
10
|
require('@joshmossas/listhen');
|
|
@@ -15,8 +15,8 @@ require('h3');
|
|
|
15
15
|
require('pathe');
|
|
16
16
|
require('node:fs/promises');
|
|
17
17
|
require('@arrirpc/schema');
|
|
18
|
+
require('@joshmossas/ofetch');
|
|
18
19
|
require('consola');
|
|
19
|
-
require('ofetch');
|
|
20
20
|
require('prettier');
|
|
21
21
|
|
|
22
22
|
const generators = {
|
package/dist/index.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import { dartClientGenerator } from '@arrirpc/codegen-dart';
|
|
|
2
2
|
import { kotlinClientGenerator } from '@arrirpc/codegen-kotlin';
|
|
3
3
|
import { rustClientGenerator } from '@arrirpc/codegen-rust';
|
|
4
4
|
import { typescriptClientGenerator } from '@arrirpc/codegen-ts';
|
|
5
|
-
export { D as DEV_DEFINITION_ENDPOINT, d as defaultConfig, b as defineConfig, i as isArriConfig, a as isResolvedArriConfig } from './shared/arri.
|
|
5
|
+
export { D as DEV_DEFINITION_ENDPOINT, d as defaultConfig, b as defineConfig, i as isArriConfig, a as isResolvedArriConfig } from './shared/arri.c8a11d3d.mjs';
|
|
6
6
|
export { createAppDefinition } from '@arrirpc/codegen-utils';
|
|
7
7
|
import 'node:fs';
|
|
8
8
|
import '@joshmossas/listhen';
|
|
@@ -13,8 +13,8 @@ import 'h3';
|
|
|
13
13
|
import 'pathe';
|
|
14
14
|
import 'node:fs/promises';
|
|
15
15
|
import '@arrirpc/schema';
|
|
16
|
+
import '@joshmossas/ofetch';
|
|
16
17
|
import 'consola';
|
|
17
|
-
import 'ofetch';
|
|
18
18
|
import 'prettier';
|
|
19
19
|
|
|
20
20
|
const generators = {
|
|
@@ -10,8 +10,8 @@ const path = require('pathe');
|
|
|
10
10
|
const fs$1 = require('node:fs/promises');
|
|
11
11
|
const codegenUtils = require('@arrirpc/codegen-utils');
|
|
12
12
|
const schema = require('@arrirpc/schema');
|
|
13
|
+
const ofetch = require('@joshmossas/ofetch');
|
|
13
14
|
const consola = require('consola');
|
|
14
|
-
const ofetch = require('ofetch');
|
|
15
15
|
const prettier = require('prettier');
|
|
16
16
|
|
|
17
17
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e.default : e; }
|
|
@@ -8,8 +8,8 @@ import path from 'pathe';
|
|
|
8
8
|
import fs from 'node:fs/promises';
|
|
9
9
|
import { camelCase, removeDisallowedChars, kebabCase } from '@arrirpc/codegen-utils';
|
|
10
10
|
import { a, ValidationError } from '@arrirpc/schema';
|
|
11
|
+
import { ofetch } from '@joshmossas/ofetch';
|
|
11
12
|
import { createConsola } from 'consola';
|
|
12
|
-
import { ofetch } from 'ofetch';
|
|
13
13
|
import prettier from 'prettier';
|
|
14
14
|
|
|
15
15
|
const logger = createConsola().withTag("arri");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "arri",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.58.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@joshmossas/listhen": "^1.10.1",
|
|
29
|
+
"@joshmossas/ofetch": "^1.3.5",
|
|
29
30
|
"c12": "^1.11.1",
|
|
30
31
|
"chokidar": "^3.6.0",
|
|
31
32
|
"citty": "^0.1.6",
|
|
@@ -36,15 +37,14 @@
|
|
|
36
37
|
"esbuild-plugin-replace": "^1.4.0",
|
|
37
38
|
"globby": "^14.0.2",
|
|
38
39
|
"h3": "^1.12.0",
|
|
39
|
-
"ofetch": "^1.3.4",
|
|
40
40
|
"pathe": "^1.1.2",
|
|
41
41
|
"prettier": "^3.3.3",
|
|
42
|
-
"@arrirpc/codegen-dart": "0.
|
|
43
|
-
"@arrirpc/codegen-
|
|
44
|
-
"@arrirpc/codegen-
|
|
45
|
-
"@arrirpc/codegen-utils": "0.
|
|
46
|
-
"@arrirpc/codegen-ts": "0.
|
|
47
|
-
"@arrirpc/schema": "0.
|
|
42
|
+
"@arrirpc/codegen-dart": "0.58.1",
|
|
43
|
+
"@arrirpc/codegen-rust": "0.58.1",
|
|
44
|
+
"@arrirpc/codegen-kotlin": "0.58.1",
|
|
45
|
+
"@arrirpc/codegen-utils": "0.58.1",
|
|
46
|
+
"@arrirpc/codegen-ts": "0.58.1",
|
|
47
|
+
"@arrirpc/schema": "0.58.1"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@types/degit": "^2.8.6"
|