Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(npm): update dependencies #235

Merged
merged 1 commit into from
Aug 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 23 additions & 23 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@athenna/core",
"version": "5.0.0",
"version": "5.1.0",
"description": "One foundation for multiple applications.",
"license": "MIT",
"author": "João Lenon <[email protected]>",
Expand Down Expand Up @@ -80,11 +80,11 @@
"semver": "^7.6.3"
},
"devDependencies": {
"@athenna/artisan": "^5.0.0",
"@athenna/artisan": "^5.1.0",
"@athenna/common": "^5.0.0",
"@athenna/config": "^5.0.0",
"@athenna/cron": "^5.0.0",
"@athenna/http": "^5.0.0",
"@athenna/cron": "^5.1.0",
"@athenna/http": "^5.1.0",
"@athenna/ioc": "^5.0.0",
"@athenna/logger": "^5.0.0",
"@athenna/test": "^5.0.0",
Expand Down
4 changes: 1 addition & 3 deletions src/commands/BuildCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,7 @@ export class BuildCommand extends BaseCommand {
.add(`cd ${outDirName}`)
.add('npm ci --omit=dev')
.add('Define your production environment variables')
.add(
`node ${Color.yellow.bold(`${parse(Path.bootstrap()).name}/main.js`)}`
)
.add(`node ${Color.yellow.bold(`${parse(Path.bin()).name}/main.js`)}`)
.render()
}

Expand Down
2 changes: 1 addition & 1 deletion src/commands/ReplCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export class ReplCommand extends BaseCommand {
public async handle(): Promise<void> {
const entrypoint = Config.get(
'rc.commands.repl.entrypoint',
Path.bootstrap(`repl.${Path.ext()}`)
Path.bin(`repl.${Path.ext()}`)
)

await Module.resolve(entrypoint, Config.get('rc.parentURL'))
Expand Down
2 changes: 1 addition & 1 deletion src/commands/ServeCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export class ServeCommand extends BaseCommand {
public async handle(): Promise<void> {
const entrypoint = Config.get(
'rc.commands.serve.entrypoint',
Path.bootstrap(`main.${Path.ext()}`)
Path.bin(`main.${Path.ext()}`)
)

if (this.watch) {
Expand Down
2 changes: 1 addition & 1 deletion src/commands/TestCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export class TestCommand extends BaseCommand {
public async handle(): Promise<void> {
const entrypoint = Config.get(
'rc.commands.test.entrypoint',
Path.bootstrap(`test.${Path.ext()}`)
Path.bin(`test.${Path.ext()}`)
)

process.argv.splice(2, 1)
Expand Down
4 changes: 2 additions & 2 deletions src/testing/BaseConsoleTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ import { TestCommand } from '@athenna/artisan/testing/plugins'
export class BaseConsoleTest {
public ignite: Ignite
public igniteOptions: IgniteOptions = {}
public artisanPath: string = Path.bootstrap(`artisan.${Path.ext()}`)
public artisanPath: string = Path.bin(`artisan.${Path.ext()}`)

@BeforeAll()
public async baseBeforeAll() {
TestCommand.setArtisanPath(this.artisanPath)

this.ignite = await new Ignite().load(
Path.toHref(Path.bootstrap(`test.${Path.ext()}`)),
Path.toHref(Path.bin(`test.${Path.ext()}`)),
this.getIgniteOptions()
)
}
Expand Down
2 changes: 1 addition & 1 deletion src/testing/BaseHttpTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export class BaseHttpTest {
@BeforeAll()
public async baseBeforeAll() {
this.ignite = await new Ignite().load(
Path.toHref(Path.bootstrap(`test.${Path.ext()}`)),
Path.toHref(Path.bin(`test.${Path.ext()}`)),
this.getIgniteOptions()
)

Expand Down
Loading