Skip to content

Commit

Permalink
Merge pull request #235 from AthennaIO/develop
Browse files Browse the repository at this point in the history
chore(npm): update dependencies
  • Loading branch information
jlenon7 authored Aug 26, 2024
2 parents 2d9adaf + cc0790f commit c7cab83
Show file tree
Hide file tree
Showing 8 changed files with 34 additions and 36 deletions.
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

0 comments on commit c7cab83

Please sign in to comment.