Skip to content

Commit 4a45b6d

Browse files
authored
Merge pull request #188 from AthennaIO/develop
chore(npm): update dependencies
2 parents 2240de3 + 0e11565 commit 4a45b6d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+248
-251
lines changed

.gitignore

+4-4
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,9 @@ build
120120
*.js
121121
*.d.ts
122122
*.js.map
123-
!tests/stubs/**/*.js
124-
!tests/stubs/**/*.d.ts
125-
!tests/stubs/**/*.js.map
123+
!tests/fixtures/**/*.js
124+
!tests/fixtures/**/*.d.ts
125+
!tests/fixtures/**/*.js.map
126126

127127
# IDE
128128
.idea
@@ -133,7 +133,7 @@ build
133133
.env
134134
.env.testing
135135
.env.production
136-
!tests/stubs/.env
136+
!tests/fixtures/**/.env**
137137

138138
# MacOS folder mapper file
139139
.DS_Store

bin/artisan.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,17 @@ Config.set('rc.commands', {
3333
'make:test': '#src/commands/MakeTestCommand',
3434
serve: {
3535
entrypoint: '#bin/http',
36-
path: '#src/commands/ServeCommand',
36+
path: '#src/commands/ServeCommand'
3737
},
3838
test: {
3939
entrypoint: '#bin/test',
40-
path: '#src/commands/TestCommand',
40+
path: '#src/commands/TestCommand'
4141
},
4242
repl: {
4343
entrypoint: '#bin/repl',
44-
path: '#src/commands/ReplCommand',
44+
path: '#src/commands/ReplCommand'
4545
},
46-
greet: '#tests/stubs/commands/GreetCommand',
46+
greet: '#tests/fixtures/commands/GreetCommand'
4747
})
4848

4949
/*

package-lock.json

+52-51
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+15-15
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@athenna/core",
3-
"version": "4.7.0",
3+
"version": "4.8.0",
44
"description": "The plug and play Node.js framework.",
55
"license": "MIT",
66
"author": "João Lenon <[email protected]>",
@@ -70,14 +70,14 @@
7070
"semver": "^7.5.4"
7171
},
7272
"devDependencies": {
73-
"@athenna/artisan": "^4.8.0",
74-
"@athenna/common": "^4.9.2",
75-
"@athenna/config": "^4.3.0",
76-
"@athenna/http": "^4.4.0",
77-
"@athenna/ioc": "^4.1.0",
78-
"@athenna/logger": "^4.2.0",
79-
"@athenna/test": "^4.3.0",
80-
"@athenna/view": "^4.1.0",
73+
"@athenna/artisan": "^4.9.0",
74+
"@athenna/common": "^4.10.1",
75+
"@athenna/config": "^4.4.0",
76+
"@athenna/http": "^4.5.0",
77+
"@athenna/ioc": "^4.2.0",
78+
"@athenna/logger": "^4.3.0",
79+
"@athenna/test": "^4.5.0",
80+
"@athenna/view": "^4.2.0",
8181
"@typescript-eslint/eslint-plugin": "^5.56.0",
8282
"@typescript-eslint/parser": "^5.56.0",
8383
"c8": "^7.12.0",
@@ -140,7 +140,7 @@
140140
},
141141
"prettier": {
142142
"singleQuote": true,
143-
"trailingComma": "all",
143+
"trailingComma": "none",
144144
"arrowParens": "avoid",
145145
"endOfLine": "lf",
146146
"semi": false,
@@ -155,7 +155,7 @@
155155
]
156156
},
157157
"eslintIgnore": [
158-
"tests/stubs/syntaxErrorConfig/*"
158+
"tests/fixtures/syntaxErrorConfig/*"
159159
],
160160
"eslintConfig": {
161161
"env": {
@@ -236,7 +236,7 @@
236236
},
237237
"build": {
238238
"path": "#src/commands/BuildCommand",
239-
"tsconfig": "./tests/stubs/tsconfig.json",
239+
"tsconfig": "./tests/fixtures/tsconfig.json",
240240
"metaFiles": [
241241
"app/hello.edge",
242242
"LICENSE.md",
@@ -245,16 +245,16 @@
245245
}
246246
},
247247
"services": [
248-
"#tests/stubs/services/WelcomeService",
249-
"#tests/stubs/services/DecoratedWelcomeService"
248+
"#tests/fixtures/services/WelcomeService",
249+
"#tests/fixtures/services/DecoratedWelcomeService"
250250
],
251251
"providers": [
252252
"#src/providers/CoreProvider",
253253
"@athenna/http/providers/HttpRouteProvider",
254254
"@athenna/http/providers/HttpServerProvider"
255255
],
256256
"preloads": [
257-
"#tests/stubs/routes/http"
257+
"#tests/fixtures/routes/http"
258258
]
259259
}
260260
}

src/applications/Artisan.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ export class Artisan {
1818
*/
1919
public static async boot(
2020
argv: string[],
21-
options?: ArtisanOptions,
21+
options?: ArtisanOptions
2222
): Promise<ArtisanImpl> {
2323
options = Options.create(options, {
2424
displayName: null,
2525
routePath: Path.routes(`console.${Path.ext()}`),
26-
kernelPath: '@athenna/artisan/kernels/ConsoleKernel',
26+
kernelPath: '@athenna/artisan/kernels/ConsoleKernel'
2727
})
2828

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

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

5353
if (Config.is('rc.bootLogs', true)) {
5454
Log.channelOrVanilla('application').success(
55-
`Kernel ({yellow} ${Kernel.name}) successfully booted`,
55+
`Kernel ({yellow} ${Kernel.name}) successfully booted`
5656
)
5757
}
5858
}

0 commit comments

Comments
 (0)