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 #234

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
86 changes: 43 additions & 43 deletions package-lock.json

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

22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@athenna/core",
"version": "4.46.0",
"version": "5.0.0",
"description": "One foundation for multiple applications.",
"license": "MIT",
"author": "João Lenon <[email protected]>",
Expand Down Expand Up @@ -80,16 +80,16 @@
"semver": "^7.6.3"
},
"devDependencies": {
"@athenna/artisan": "^4.45.0",
"@athenna/common": "^4.46.0",
"@athenna/config": "^4.27.0",
"@athenna/cron": "^4.1.0",
"@athenna/http": "^4.41.0",
"@athenna/ioc": "^4.27.0",
"@athenna/logger": "^4.29.0",
"@athenna/test": "^4.30.0",
"@athenna/tsconfig": "^4.19.0",
"@athenna/view": "^4.33.0",
"@athenna/artisan": "^5.0.0",
"@athenna/common": "^5.0.0",
"@athenna/config": "^5.0.0",
"@athenna/cron": "^5.0.0",
"@athenna/http": "^5.0.0",
"@athenna/ioc": "^5.0.0",
"@athenna/logger": "^5.0.0",
"@athenna/test": "^5.0.0",
"@athenna/tsconfig": "^5.0.0",
"@athenna/view": "^5.0.0",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"commitizen": "^4.3.0",
Expand Down
2 changes: 1 addition & 1 deletion src/applications/Repl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export class Repl {

Logger.write(chalkRainbow(figlet.textSync('REPL\n')))
Logger.gray('To import your modules use dynamic imports:\n')
Logger.gray("const { User } = await import('#app/models/User')\n")
Logger.gray("const { User } = await import('#src/models/User')\n")

Logger.write(
`${Color.yellow.bold('To see all commands available type:')} .help\n`
Expand Down
2 changes: 1 addition & 1 deletion templates/facade.edge
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Facade } from '@athenna/ioc'
import type { {{ namePascal }}Impl } from '#app/services/{{ namePascal }}'
import type { {{ namePascal }}Impl } from '#src/services/{{ namePascal }}'

export const {{ namePascal }} = Facade.createFor<{{ namePascal }}>('App/Services/{{ namePascal }}')
7 changes: 4 additions & 3 deletions tests/helpers/BaseCommandTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,11 @@ export class BaseCommandTest {
ioc.reconstruct()

await File.safeRemove(Path.tests('unit/TestTest.ts'))
await File.safeRemove(Path.facades('TestFacade.ts'))
await File.safeRemove(Path.providers('TestProvider.ts'))
await File.safeRemove(Path.exceptions('TestException.ts'))

await Folder.safeRemove(Path.app())
await Folder.safeRemove(Path.providers())
await Folder.safeRemove(Path.storage())
await Folder.safeRemove(Path.services())
await Folder.safeRemove(Path.fixtures('storage'))
await Folder.safeRemove(Path.pwd('dist'))
await Folder.safeRemove(Path.pwd('build'))
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/applications/ReplTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export default class ReplTest {

assert.calledWith(process.stdout.write, chalkRainbow(figlet.textSync('REPL\n')) + '\n')
assert.calledWith(process.stdout.write, Color.gray('To import your modules use dynamic imports:\n') + '\n')
assert.calledWith(process.stdout.write, Color.gray("const { User } = await import('#app/models/User')\n") + '\n')
assert.calledWith(process.stdout.write, Color.gray("const { User } = await import('#src/models/User')\n") + '\n')
assert.calledWith(process.stdout.write, Color.yellow.bold('To see all commands available type:') + ' .help\n\n')
}

Expand Down
2 changes: 1 addition & 1 deletion tests/unit/commands/MakeProviderCommandTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default class MakeProviderCommandTest extends BaseCommandTest {
const { athenna } = await new File(Path.pwd('package.json')).getContentAsJson()

assert.isTrue(await File.exists(Path.providers('TestProvider.ts')))
assert.containsSubset(athenna.providers, ['#providers/TestProvider'])
assert.containsSubset(athenna.providers, ['#src/providers/TestProvider'])
}

@Test()
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/commands/MakeServiceCommandTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default class MakeServiceCommandTest extends BaseCommandTest {
const { athenna } = await new File(Path.pwd('package.json')).getContentAsJson()

assert.isTrue(await File.exists(Path.services('TestService.ts')))
assert.containsSubset(athenna.services, ['#app/services/TestService'])
assert.containsSubset(athenna.services, ['#src/services/TestService'])
}

@Test()
Expand Down
Loading