generated from AthennaIO/Template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #79 from AthennaIO/develop
improve codebase
- Loading branch information
Showing
24 changed files
with
1,771 additions
and
1,225 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
Please note this issue tracker is not a help forum. We recommend using [StackOverflow](https://stackoverflow.com/questions/tagged/athennaio) or [Discord channel](https://discord.gg/mZyBkA936X) for questions. | ||
Please note this issue tracker is not a help forum. We recommend using [StackOverflow](https://stackoverflow.com/questions/tagged/athennaio) or [Discord channel](https://discord.gg/JdEbBAKw6X) for questions. | ||
|
||
<!-- Love Athenna? Please consider supporting our collective: 👉 https://opencollective.com/athennaio/donate --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ jobs: | |
fetch-depth: 0 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: '18.x' | ||
node-version: '20.x' | ||
registry-url: 'https://registry.npmjs.org' | ||
|
||
- name: Install dependencies | ||
|
@@ -24,11 +24,8 @@ jobs: | |
- name: Compile code | ||
run: npm run build | ||
|
||
- name: Copy README to build | ||
run: cp README.md build/README.md | true | ||
|
||
- name: Copy LICENSE to build | ||
run: cp LICENSE.md build/LICENSE.md | true | ||
- name: Install dependencies for compiled code | ||
run: cd build && npm ci --omit=dev | ||
|
||
- name: Automatic GitHub Release | ||
uses: justincy/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
engine-strict=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/usr/bin/env node | ||
|
||
import { Exec } from '@athenna/common' | ||
|
||
Exec.artisan('./bin/artisan.js', { | ||
nodeOptions: ['--enable-source-maps', '--import=@athenna/tsconfig'], | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
#!/usr/bin/env -S node --experimental-import-meta-resolve | ||
|
||
import { Ignite } from '@athenna/core' | ||
|
||
const ignite = await new Ignite().load(import.meta.url, { bootLogs: false }) | ||
|
||
await ignite.artisan(process.argv, { displayName: 'Artisan' }) | ||
await ignite.console(process.argv, { displayName: 'Artisan' }) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,17 @@ | ||
#!/usr/bin/env -S node --experimental-import-meta-resolve | ||
#!/usr/bin/env node | ||
|
||
import 'reflect-metadata' | ||
import sourceMapSupport from 'source-map-support' | ||
|
||
import { Ignite } from '@athenna/core' | ||
|
||
sourceMapSupport.install({ handleUncaughtExceptions: false }) | ||
|
||
const ignite = await new Ignite().load(import.meta.url, { | ||
bootLogs: false, | ||
athennaRcPath: 'bin/.athennarc.prod.json', | ||
}) | ||
|
||
Config.set('app.version', `Athenna CLI v${process.env.APP_VERSION}`) | ||
|
||
await ignite.artisan(process.argv, { displayName: 'Athenna' }) | ||
await ignite.console(process.argv, { displayName: 'Athenna' }) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.