arri 0.45.3 → 0.45.5
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.
|
|
14
|
+
const dev = require('./shared/arri.50f2646c.cjs');
|
|
15
15
|
const ofetch = require('ofetch');
|
|
16
16
|
const Degit = require('degit');
|
|
17
17
|
const enquirer = require('enquirer');
|
|
@@ -106,7 +106,7 @@ async function startBuild(config, skipCodeGen = false) {
|
|
|
106
106
|
`Build finished! You can start your server by running "node .output/${dev.OUT_SERVER_ENTRY}"`
|
|
107
107
|
);
|
|
108
108
|
}
|
|
109
|
-
async function bundleAppEntry(config,
|
|
109
|
+
async function bundleAppEntry(config, _allowCodegen = true) {
|
|
110
110
|
const appEntry = path__default.resolve(
|
|
111
111
|
config.rootDir,
|
|
112
112
|
config.buildDir,
|
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.
|
|
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.87c198d9.mjs';
|
|
13
13
|
import { ofetch } from 'ofetch';
|
|
14
14
|
import Degit from 'degit';
|
|
15
15
|
import enquirer from 'enquirer';
|
|
@@ -95,7 +95,7 @@ async function startBuild(config, skipCodeGen = false) {
|
|
|
95
95
|
`Build finished! You can start your server by running "node .output/${OUT_SERVER_ENTRY}"`
|
|
96
96
|
);
|
|
97
97
|
}
|
|
98
|
-
async function bundleAppEntry(config,
|
|
98
|
+
async function bundleAppEntry(config, _allowCodegen = true) {
|
|
99
99
|
const appEntry = path.resolve(
|
|
100
100
|
config.rootDir,
|
|
101
101
|
config.buildDir,
|
package/dist/index.cjs
CHANGED
|
@@ -4,7 +4,7 @@ const codegenDart = require('@arrirpc/codegen-dart');
|
|
|
4
4
|
const codegenTs = require('@arrirpc/codegen-ts');
|
|
5
5
|
const codegenKotlin = require('@arrirpc/codegen-kotlin');
|
|
6
6
|
const codegenUtils = require('@arrirpc/codegen-utils');
|
|
7
|
-
const dev = require('./shared/arri.
|
|
7
|
+
const dev = require('./shared/arri.50f2646c.cjs');
|
|
8
8
|
require('node:fs');
|
|
9
9
|
require('node:fs/promises');
|
|
10
10
|
require('@joshmossas/listhen');
|
package/dist/index.mjs
CHANGED
|
@@ -2,7 +2,7 @@ export { dartClientGenerator } from '@arrirpc/codegen-dart';
|
|
|
2
2
|
export { typescriptClientGenerator } from '@arrirpc/codegen-ts';
|
|
3
3
|
export { kotlinClientGenerator } from '@arrirpc/codegen-kotlin';
|
|
4
4
|
export { createAppDefinition } from '@arrirpc/codegen-utils';
|
|
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.87c198d9.mjs';
|
|
6
6
|
import 'node:fs';
|
|
7
7
|
import 'node:fs/promises';
|
|
8
8
|
import '@joshmossas/listhen';
|
|
@@ -321,7 +321,7 @@ async function startDevServer(config) {
|
|
|
321
321
|
});
|
|
322
322
|
process.on("SIGINT", cleanExit);
|
|
323
323
|
process.on("SIGTERM", cleanExit);
|
|
324
|
-
async function load(
|
|
324
|
+
async function load(_isRestart, _reason) {
|
|
325
325
|
if (fileWatcher) {
|
|
326
326
|
await fileWatcher.close();
|
|
327
327
|
}
|
|
@@ -355,7 +355,7 @@ async function startDevServer(config) {
|
|
|
355
355
|
"**/.git/**"
|
|
356
356
|
]
|
|
357
357
|
});
|
|
358
|
-
fileWatcher.on("all", async (eventName,
|
|
358
|
+
fileWatcher.on("all", async (eventName, _path) => {
|
|
359
359
|
if (eventName === "addDir" || eventName === "add") {
|
|
360
360
|
return;
|
|
361
361
|
}
|
|
@@ -300,7 +300,7 @@ async function startDevServer(config) {
|
|
|
300
300
|
});
|
|
301
301
|
process.on("SIGINT", cleanExit);
|
|
302
302
|
process.on("SIGTERM", cleanExit);
|
|
303
|
-
async function load(
|
|
303
|
+
async function load(_isRestart, _reason) {
|
|
304
304
|
if (fileWatcher) {
|
|
305
305
|
await fileWatcher.close();
|
|
306
306
|
}
|
|
@@ -334,7 +334,7 @@ async function startDevServer(config) {
|
|
|
334
334
|
"**/.git/**"
|
|
335
335
|
]
|
|
336
336
|
});
|
|
337
|
-
fileWatcher.on("all", async (eventName,
|
|
337
|
+
fileWatcher.on("all", async (eventName, _path) => {
|
|
338
338
|
if (eventName === "addDir" || eventName === "add") {
|
|
339
339
|
return;
|
|
340
340
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "arri",
|
|
3
|
-
"version": "0.45.
|
|
3
|
+
"version": "0.45.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -32,17 +32,17 @@
|
|
|
32
32
|
"consola": "^3.2.3",
|
|
33
33
|
"degit": "^2.8.4",
|
|
34
34
|
"enquirer": "^2.4.1",
|
|
35
|
-
"esbuild": "^0.21.
|
|
35
|
+
"esbuild": "^0.21.3",
|
|
36
36
|
"esbuild-plugin-replace": "^1.4.0",
|
|
37
37
|
"globby": "^14.0.1",
|
|
38
38
|
"ofetch": "^1.3.4",
|
|
39
39
|
"pathe": "^1.1.2",
|
|
40
40
|
"prettier": "^3.2.5",
|
|
41
41
|
"scule": "^1.3.0",
|
|
42
|
-
"@arrirpc/codegen-dart": "0.45.
|
|
43
|
-
"@arrirpc/codegen-
|
|
44
|
-
"@arrirpc/codegen-
|
|
45
|
-
"@arrirpc/codegen-
|
|
42
|
+
"@arrirpc/codegen-dart": "0.45.5",
|
|
43
|
+
"@arrirpc/codegen-utils": "0.45.5",
|
|
44
|
+
"@arrirpc/codegen-ts": "0.45.5",
|
|
45
|
+
"@arrirpc/codegen-kotlin": "0.45.5"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@types/degit": "^2.8.6"
|