Skip to content

Commit

Permalink
Merge pull request #188 from AthennaIO/develop
Browse files Browse the repository at this point in the history
chore(npm): update dependencies
  • Loading branch information
jlenon7 authored Sep 7, 2023
2 parents 2240de3 + 0e11565 commit 4a45b6d
Show file tree
Hide file tree
Showing 69 changed files with 248 additions and 251 deletions.
8 changes: 4 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,9 @@ build
*.js
*.d.ts
*.js.map
!tests/stubs/**/*.js
!tests/stubs/**/*.d.ts
!tests/stubs/**/*.js.map
!tests/fixtures/**/*.js
!tests/fixtures/**/*.d.ts
!tests/fixtures/**/*.js.map

# IDE
.idea
Expand All @@ -133,7 +133,7 @@ build
.env
.env.testing
.env.production
!tests/stubs/.env
!tests/fixtures/**/.env**

# MacOS folder mapper file
.DS_Store
Expand Down
8 changes: 4 additions & 4 deletions bin/artisan.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,17 @@ Config.set('rc.commands', {
'make:test': '#src/commands/MakeTestCommand',
serve: {
entrypoint: '#bin/http',
path: '#src/commands/ServeCommand',
path: '#src/commands/ServeCommand'
},
test: {
entrypoint: '#bin/test',
path: '#src/commands/TestCommand',
path: '#src/commands/TestCommand'
},
repl: {
entrypoint: '#bin/repl',
path: '#src/commands/ReplCommand',
path: '#src/commands/ReplCommand'
},
greet: '#tests/stubs/commands/GreetCommand',
greet: '#tests/fixtures/commands/GreetCommand'
})

/*
Expand Down
103 changes: 52 additions & 51 deletions package-lock.json

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

30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@athenna/core",
"version": "4.7.0",
"version": "4.8.0",
"description": "The plug and play Node.js framework.",
"license": "MIT",
"author": "João Lenon <[email protected]>",
Expand Down Expand Up @@ -70,14 +70,14 @@
"semver": "^7.5.4"
},
"devDependencies": {
"@athenna/artisan": "^4.8.0",
"@athenna/common": "^4.9.2",
"@athenna/config": "^4.3.0",
"@athenna/http": "^4.4.0",
"@athenna/ioc": "^4.1.0",
"@athenna/logger": "^4.2.0",
"@athenna/test": "^4.3.0",
"@athenna/view": "^4.1.0",
"@athenna/artisan": "^4.9.0",
"@athenna/common": "^4.10.1",
"@athenna/config": "^4.4.0",
"@athenna/http": "^4.5.0",
"@athenna/ioc": "^4.2.0",
"@athenna/logger": "^4.3.0",
"@athenna/test": "^4.5.0",
"@athenna/view": "^4.2.0",
"@typescript-eslint/eslint-plugin": "^5.56.0",
"@typescript-eslint/parser": "^5.56.0",
"c8": "^7.12.0",
Expand Down Expand Up @@ -140,7 +140,7 @@
},
"prettier": {
"singleQuote": true,
"trailingComma": "all",
"trailingComma": "none",
"arrowParens": "avoid",
"endOfLine": "lf",
"semi": false,
Expand All @@ -155,7 +155,7 @@
]
},
"eslintIgnore": [
"tests/stubs/syntaxErrorConfig/*"
"tests/fixtures/syntaxErrorConfig/*"
],
"eslintConfig": {
"env": {
Expand Down Expand Up @@ -236,7 +236,7 @@
},
"build": {
"path": "#src/commands/BuildCommand",
"tsconfig": "./tests/stubs/tsconfig.json",
"tsconfig": "./tests/fixtures/tsconfig.json",
"metaFiles": [
"app/hello.edge",
"LICENSE.md",
Expand All @@ -245,16 +245,16 @@
}
},
"services": [
"#tests/stubs/services/WelcomeService",
"#tests/stubs/services/DecoratedWelcomeService"
"#tests/fixtures/services/WelcomeService",
"#tests/fixtures/services/DecoratedWelcomeService"
],
"providers": [
"#src/providers/CoreProvider",
"@athenna/http/providers/HttpRouteProvider",
"@athenna/http/providers/HttpServerProvider"
],
"preloads": [
"#tests/stubs/routes/http"
"#tests/fixtures/routes/http"
]
}
}
8 changes: 4 additions & 4 deletions src/applications/Artisan.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ export class Artisan {
*/
public static async boot(
argv: string[],
options?: ArtisanOptions,
options?: ArtisanOptions
): Promise<ArtisanImpl> {
options = Options.create(options, {
displayName: null,
routePath: Path.routes(`console.${Path.ext()}`),
kernelPath: '@athenna/artisan/kernels/ConsoleKernel',
kernelPath: '@athenna/artisan/kernels/ConsoleKernel'
})

const artisan = ioc.safeUse('Athenna/Core/Artisan')
Expand All @@ -41,7 +41,7 @@ export class Artisan {
private static async resolveKernel(argv: string[], options?: ArtisanOptions) {
const Kernel = await Module.resolve(
options.kernelPath,
Config.get('rc.meta'),
Config.get('rc.meta')
)

const kernel = new Kernel()
Expand All @@ -52,7 +52,7 @@ export class Artisan {

if (Config.is('rc.bootLogs', true)) {
Log.channelOrVanilla('application').success(
`Kernel ({yellow} ${Kernel.name}) successfully booted`,
`Kernel ({yellow} ${Kernel.name}) successfully booted`
)
}
}
Expand Down
Loading

0 comments on commit 4a45b6d

Please sign in to comment.