@adonisjs/core
Advanced tools
Comparing version 6.12.0 to 6.12.1
import { CommandOptions } from '../types/ace.js'; | ||
import { BaseCommand } from '../modules/ace/main.js'; | ||
declare const KNOWN_PACKAGE_MANAGERS: readonly ["npm", "pnpm", "bun", "yarn", "yarn@berry", "pnpm@6"]; | ||
/** | ||
@@ -14,3 +15,3 @@ * The install command is used to `npm install` and `node ace configure` a new package | ||
verbose?: boolean; | ||
packageManager?: 'npm' | 'pnpm' | 'bun' | 'yarn' | 'yarn@berry'; | ||
packageManager?: (typeof KNOWN_PACKAGE_MANAGERS)[number]; | ||
dev?: boolean; | ||
@@ -23,1 +24,2 @@ force?: boolean; | ||
} | ||
export {}; |
@@ -17,2 +17,3 @@ /* | ||
import { args, BaseCommand, flags } from '../modules/ace/main.js'; | ||
const KNOWN_PACKAGE_MANAGERS = ['npm', 'pnpm', 'bun', 'yarn', 'yarn@berry', 'pnpm@6']; | ||
/** | ||
@@ -33,3 +34,3 @@ * The install command is used to `npm install` and `node ace configure` a new package | ||
const pkgManager = this.packageManager || (await detectPackageManager(this.app.makePath())) || 'npm'; | ||
if (['npm', 'pnpm', 'yarn', 'yarn@berry'].includes(pkgManager)) { | ||
if (KNOWN_PACKAGE_MANAGERS.includes(pkgManager)) { | ||
return pkgManager; | ||
@@ -36,0 +37,0 @@ } |
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" resolution-mode="require"/> | ||
import { Ignitor } from '../../src/ignitor/main.js'; | ||
@@ -3,0 +2,0 @@ import type { IgnitorOptions } from '../../src/types.js'; |
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" resolution-mode="require"/> | ||
import { Ignitor } from '../../src/ignitor/main.js'; | ||
@@ -3,0 +2,0 @@ import type { ApplicationService, IgnitorOptions } from '../../src/types.js'; |
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" resolution-mode="require"/> | ||
import { Ignitor } from '../../index.js'; | ||
@@ -3,0 +2,0 @@ import type { IgnitorOptions } from '../../src/types.js'; |
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" resolution-mode="require"/> | ||
import { EventEmitter } from 'node:events'; | ||
@@ -3,0 +2,0 @@ import type { UIPrimitives } from '@adonisjs/ace/types'; |
@@ -60,5 +60,5 @@ import type { UIPrimitives } from '../../types/ace.js'; | ||
heading: string; | ||
table: ReturnType<UIPrimitives['table']>; | ||
table: ReturnType<UIPrimitives["table"]>; | ||
}[]>; | ||
} | ||
export {}; |
@@ -7,4 +7,4 @@ import { ApplicationService, ConfigProvider } from './types.js'; | ||
export declare const configProvider: { | ||
create<T>(resolver: ConfigProvider<T>['resolver']): ConfigProvider<T>; | ||
resolve<T_1>(app: ApplicationService, provider: unknown): Promise<T_1 | null>; | ||
create<T>(resolver: ConfigProvider<T>["resolver"]): ConfigProvider<T>; | ||
resolve<T>(app: ApplicationService, provider: unknown): Promise<T | null>; | ||
}; |
@@ -1,3 +0,2 @@ | ||
/// <reference types="node" resolution-mode="require"/> | ||
declare const _default: import("util").DebugLogger; | ||
export default _default; |
@@ -1,3 +0,1 @@ | ||
/// <reference types="node" resolution-mode="require"/> | ||
/// <reference types="node" resolution-mode="require"/> | ||
import type { Server as NodeHttpsServer } from 'node:https'; | ||
@@ -4,0 +2,0 @@ import { IncomingMessage, ServerResponse, Server as NodeHttpServer } from 'node:http'; |
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" resolution-mode="require"/> | ||
import { AceProcess } from './ace.js'; | ||
@@ -3,0 +2,0 @@ import { TestRunnerProcess } from './test.js'; |
@@ -1,3 +0,1 @@ | ||
/// <reference types="node" resolution-mode="require"/> | ||
/// <reference types="node" resolution-mode="require"/> | ||
import type { TestUtils } from './main.js'; | ||
@@ -4,0 +2,0 @@ import type { Server as NodeHttpsServer } from 'node:https'; |
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" resolution-mode="require"/> | ||
import Macroable from '@poppinss/macroable'; | ||
@@ -3,0 +2,0 @@ import { IncomingMessage, ServerResponse } from 'node:http'; |
{ | ||
"name": "@adonisjs/core", | ||
"description": "Core of AdonisJS", | ||
"version": "6.12.0", | ||
"version": "6.12.1", | ||
"engines": { | ||
@@ -94,4 +94,4 @@ "node": ">=20.6.0" | ||
"@japa/runner": "^3.1.4", | ||
"@swc/core": "^1.6.1", | ||
"@types/node": "^20.14.5", | ||
"@swc/core": "^1.6.5", | ||
"@types/node": "^20.14.7", | ||
"@types/pretty-hrtime": "^1.0.3", | ||
@@ -110,3 +110,3 @@ "@types/sinon": "^17.0.3", | ||
"eslint": "^8.57.0", | ||
"execa": "^9.2.0", | ||
"execa": "^9.3.0", | ||
"get-port": "^7.1.0", | ||
@@ -116,3 +116,3 @@ "github-label-sync": "^2.3.1", | ||
"prettier": "^3.3.2", | ||
"release-it": "^17.3.0", | ||
"release-it": "^17.4.0", | ||
"sinon": "^18.0.0", | ||
@@ -122,3 +122,3 @@ "supertest": "^7.0.0", | ||
"ts-node": "^10.9.2", | ||
"typescript": "^5.4.5" | ||
"typescript": "^5.5.2" | ||
}, | ||
@@ -210,2 +210,5 @@ "dependencies": { | ||
}, | ||
"hooks": { | ||
"after:init": "npm test" | ||
}, | ||
"github": { | ||
@@ -228,4 +231,3 @@ "release": true, | ||
] | ||
}, | ||
"packageManager": "pnpm@9.2.0+sha512.98a80fd11c2e7096747762304106432b3ddc67dcf54b5a8c01c93f68a2cd5e05e6821849522a06fb76284d41a2660d5e334f2ee3bbf29183bf2e739b1dafa771" | ||
} | ||
} |
266310
6844