File tree Expand file tree Collapse file tree 4 files changed +5
-7
lines changed
Expand file tree Collapse file tree 4 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 88 */
99
1010import { createServer } from 'node:http'
11+ import { Logger } from '@adonisjs/logger'
1112import { Emitter } from '@adonisjs/events'
1213import { Encryption } from '@adonisjs/encryption'
1314import { Application } from '@adonisjs/application'
1415
15- import { defineConfig } from '../index.js'
16- import { Server } from '../src/server/main.js'
17- import { Logger } from '@adonisjs/logger'
16+ import { defineConfig , Server } from '../build/index.js'
1817
1918const app = new Application ( new URL ( './' , import . meta. url ) , {
2019 environment : 'web' ,
File renamed without changes.
Original file line number Diff line number Diff line change 88 */
99
1010import { join } from 'node:path'
11- import { fork } from 'node:child_process'
12- // @ts -expect-error
1311import autocannon from 'autocannon'
12+ import { fork } from 'node:child_process'
1413import { getDirname } from '@poppinss/utils'
1514
1615function coolOff ( ) {
1716 return new Promise ( ( resolve ) => setTimeout ( resolve , 5000 ) )
1817}
1918
20- function autocannonRun ( opts : any ) : Promise < void > {
19+ function autocannonRun ( opts ) {
2120 return new Promise ( ( resolve ) => {
2221 const instance = autocannon ( opts , ( ) => {
2322 resolve ( )
Original file line number Diff line number Diff line change 2323 "compile" : " npm run lint && npm run clean && tsup-node" ,
2424 "build" : " npm run compile" ,
2525 "prebenchmark" : " npm run build" ,
26- "benchmark" : " node --experimental-import-meta-resolve build/ benchmarks/index.js" ,
26+ "benchmark" : " node benchmarks/index.js" ,
2727 "release" : " np" ,
2828 "version" : " npm run build" ,
2929 "format" : " prettier --write ." ,
You can’t perform that action at this time.
0 commit comments