Skip to content

Commit 7d384ff

Browse files
authored
Merge pull request #117 from AthennaIO/develop
chore(npm): update dependencies
2 parents c2b297c + 4e5f764 commit 7d384ff

14 files changed

+159
-248
lines changed

.athennarc.json

+64
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
{
2+
"providers": [
3+
"@athenna/core/providers/CoreProvider"
4+
],
5+
"commands": {
6+
"configure": "@athenna/artisan/commands/ConfigureCommand",
7+
"template:customize": "@athenna/artisan/commands/TemplateCustomizeCommand",
8+
"make:exception": "@athenna/core/commands/MakeExceptionCommand",
9+
"make:facade": "@athenna/core/commands/MakeFacadeCommand",
10+
"make:provider": "@athenna/core/commands/MakeProviderCommand",
11+
"make:service": "@athenna/core/commands/MakeServiceCommand",
12+
"make:test": "@athenna/core/commands/MakeTestCommand",
13+
"make:command": "@athenna/artisan/commands/MakeCommandCommand",
14+
"serve": {
15+
"path": "@athenna/core/commands/ServeCommand",
16+
"stayAlive": true
17+
},
18+
"build": {
19+
"path": "@athenna/core/commands/BuildCommand",
20+
"outDir": "build",
21+
"tsconfig": "node_modules/@athenna/tsconfig/tsconfig.app-build.json",
22+
"include": [
23+
"package.json",
24+
"package-lock.json",
25+
"README.md",
26+
"LICENSE.md",
27+
"templates/*.edge",
28+
"bin/.athennarc.prod.json"
29+
]
30+
},
31+
"test": {
32+
"path": "@athenna/core/commands/TestCommand",
33+
"loadAllCommands": true,
34+
"stayAlive": true
35+
},
36+
"repl": {
37+
"path": "@athenna/core/commands/ReplCommand",
38+
"stayAlive": true
39+
},
40+
"install": {
41+
"path": "@athenna/core/commands/InstallCommand",
42+
"registry": "npm"
43+
},
44+
"new": {
45+
"path": "#src/console/commands/new.command",
46+
"loadApp": true
47+
},
48+
"version": {
49+
"path": "#src/console/commands/version.command",
50+
"loadApp": true
51+
}
52+
},
53+
"templates": {
54+
"artisan": "templates/artisan.edge",
55+
"exception": "node_modules/@athenna/core/templates/exception.edge",
56+
"facade": "node_modules/@athenna/core/templates/facade.edge",
57+
"provider": "node_modules/@athenna/core/templates/provider.edge",
58+
"service": "node_modules/@athenna/core/templates/service.edge",
59+
"test": "node_modules/@athenna/core/templates/test.edge",
60+
"test-console": "node_modules/@athenna/core/templates/test-console.edge",
61+
"test-fn": "node_modules/@athenna/core/templates/test-fn.edge",
62+
"command": "node_modules/@athenna/artisan/templates/command.edge"
63+
}
64+
}

.athennarc.prod.json

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"providers": ["@athenna/core/providers/CoreProvider"],
3+
"commands": {
4+
"new": "#src/console/commands/new.command",
5+
"version": "#src/console/commands/version.command"
6+
},
7+
"templates": {
8+
"artisan": "templates/artisan.edge"
9+
}
10+
}

artisan.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ import { Exec } from '@athenna/common'
44

55
Exec.artisan('./bin/artisan.js', {
66
nodeOptions: [
7-
'--no-warnings',
87
'--enable-source-maps',
8+
'--disable-warning=DEP0180',
9+
'--disable-warning=DEP0040',
910
'--import=@athenna/tsconfig',
1011
],
1112
})

bin/.athennarc.prod.json

-28
This file was deleted.

bin/main.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ sourceMapSupport.install({ handleUncaughtExceptions: false })
99

1010
const ignite = await new Ignite().load(import.meta.url, {
1111
bootLogs: false,
12-
athennaRcPath: 'bin/.athennarc.prod.json',
12+
athennaRcPath: '.athennarc.prod.json',
1313
})
1414

1515
Config.set('app.version', `Athenna CLI v${process.env.APP_VERSION}`)

package-lock.json

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

0 commit comments

Comments
 (0)