Skip to content

Commit

Permalink
Merge pull request #117 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 c2b297c + 4e5f764 commit 7d384ff
Show file tree
Hide file tree
Showing 14 changed files with 159 additions and 248 deletions.
64 changes: 64 additions & 0 deletions .athennarc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{
"providers": [
"@athenna/core/providers/CoreProvider"
],
"commands": {
"configure": "@athenna/artisan/commands/ConfigureCommand",
"template:customize": "@athenna/artisan/commands/TemplateCustomizeCommand",
"make:exception": "@athenna/core/commands/MakeExceptionCommand",
"make:facade": "@athenna/core/commands/MakeFacadeCommand",
"make:provider": "@athenna/core/commands/MakeProviderCommand",
"make:service": "@athenna/core/commands/MakeServiceCommand",
"make:test": "@athenna/core/commands/MakeTestCommand",
"make:command": "@athenna/artisan/commands/MakeCommandCommand",
"serve": {
"path": "@athenna/core/commands/ServeCommand",
"stayAlive": true
},
"build": {
"path": "@athenna/core/commands/BuildCommand",
"outDir": "build",
"tsconfig": "node_modules/@athenna/tsconfig/tsconfig.app-build.json",
"include": [
"package.json",
"package-lock.json",
"README.md",
"LICENSE.md",
"templates/*.edge",
"bin/.athennarc.prod.json"
]
},
"test": {
"path": "@athenna/core/commands/TestCommand",
"loadAllCommands": true,
"stayAlive": true
},
"repl": {
"path": "@athenna/core/commands/ReplCommand",
"stayAlive": true
},
"install": {
"path": "@athenna/core/commands/InstallCommand",
"registry": "npm"
},
"new": {
"path": "#src/console/commands/new.command",
"loadApp": true
},
"version": {
"path": "#src/console/commands/version.command",
"loadApp": true
}
},
"templates": {
"artisan": "templates/artisan.edge",
"exception": "node_modules/@athenna/core/templates/exception.edge",
"facade": "node_modules/@athenna/core/templates/facade.edge",
"provider": "node_modules/@athenna/core/templates/provider.edge",
"service": "node_modules/@athenna/core/templates/service.edge",
"test": "node_modules/@athenna/core/templates/test.edge",
"test-console": "node_modules/@athenna/core/templates/test-console.edge",
"test-fn": "node_modules/@athenna/core/templates/test-fn.edge",
"command": "node_modules/@athenna/artisan/templates/command.edge"
}
}
10 changes: 10 additions & 0 deletions .athennarc.prod.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"providers": ["@athenna/core/providers/CoreProvider"],
"commands": {
"new": "#src/console/commands/new.command",
"version": "#src/console/commands/version.command"
},
"templates": {
"artisan": "templates/artisan.edge"
}
}
3 changes: 2 additions & 1 deletion artisan.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ import { Exec } from '@athenna/common'

Exec.artisan('./bin/artisan.js', {
nodeOptions: [
'--no-warnings',
'--enable-source-maps',
'--disable-warning=DEP0180',
'--disable-warning=DEP0040',
'--import=@athenna/tsconfig',
],
})
28 changes: 0 additions & 28 deletions bin/.athennarc.prod.json

This file was deleted.

2 changes: 1 addition & 1 deletion bin/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ sourceMapSupport.install({ handleUncaughtExceptions: false })

const ignite = await new Ignite().load(import.meta.url, {
bootLogs: false,
athennaRcPath: 'bin/.athennarc.prod.json',
athennaRcPath: '.athennarc.prod.json',
})

Config.set('app.version', `Athenna CLI v${process.env.APP_VERSION}`)
Expand Down
96 changes: 48 additions & 48 deletions package-lock.json

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

Loading

0 comments on commit 7d384ff

Please sign in to comment.