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 #64 from AthennaIO/develop
Move project to TS
- Loading branch information
Showing
58 changed files
with
4,020 additions
and
13,183 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
{ | ||
"services": [], | ||
"preloads": [], | ||
"providers": [ | ||
"@athenna/core/providers/CoreProvider" | ||
], | ||
"commands": { | ||
"make:exception": { | ||
"path": "@athenna/core/commands/MakeExceptionCommand", | ||
"destination": "./src/exceptions" | ||
}, | ||
"make:facade": { | ||
"path": "@athenna/core/commands/MakeFacadeCommand", | ||
"destination": "./src/providers/facades" | ||
}, | ||
"make:provider": { | ||
"path": "@athenna/core/commands/MakeProviderCommand", | ||
"destination": "./src/providers" | ||
}, | ||
"make:service": { | ||
"path": "@athenna/core/commands/MakeServiceCommand", | ||
"destination": "./src/services" | ||
}, | ||
"make:test": { | ||
"path": "@athenna/core/commands/MakeTestCommand", | ||
"destination": "./tests" | ||
}, | ||
"make:command": { | ||
"path": "@athenna/artisan/commands/MakeCommandCommand", | ||
"destination": "./src/commands" | ||
}, | ||
"configure": "@athenna/artisan/commands/ConfigureCommand", | ||
"template:customize": "@athenna/artisan/commands/TemplateCustomizeCommand", | ||
"serve": { | ||
"path": "@athenna/core/commands/ServeCommand", | ||
"entrypoint": "#bin/main", | ||
"stayAlive": true | ||
}, | ||
"test": { | ||
"path": "@athenna/core/commands/TestCommand", | ||
"entrypoint": "#bin/test", | ||
"loadAllCommands": true, | ||
"stayAlive": true | ||
}, | ||
"repl": { | ||
"path": "@athenna/core/commands/ReplCommand", | ||
"entrypoint": "#bin/repl", | ||
"stayAlive": true | ||
}, | ||
"build": "@athenna/core/commands/BuildCommand", | ||
"new": "#src/commands/new.command" | ||
}, | ||
"templates": { | ||
"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", | ||
"testFn": "node_modules/@athenna/core/templates/testFn.edge", | ||
"command": "node_modules/@athenna/artisan/templates/command.edge" | ||
} | ||
} |
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,10 @@ | ||
{ | ||
"services": [], | ||
"preloads": [], | ||
"providers": [ | ||
"@athenna/core/providers/CoreProvider" | ||
], | ||
"commands": { | ||
"new": "#src/commands/new.command" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -7,7 +7,7 @@ on: | |
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-18.04 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
@@ -20,9 +20,14 @@ jobs: | |
|
||
- name: Install dependencies | ||
run: npm install | ||
|
||
- name: Compile code | ||
run: sh node artisan build | ||
|
||
- name: Automatic GitHub Release | ||
uses: justincy/[email protected] | ||
id: release | ||
|
||
- name: Publish to NPM Registry | ||
run: npm publish --access public | ||
if: steps.release.outputs.released == '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
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 |
---|---|---|
|
@@ -2,9 +2,10 @@ | |
|
||
Athenna is a community driven project. You are free to contribute in any of the following ways. | ||
|
||
- [Coding style](#coding-style) | ||
- [Fix bugs by creating PR's](#fix-bugs-by-creating-prs) | ||
- [Report security issues](#report-security-issues) | ||
- [Contributing](#contributing) | ||
- [Coding style](#coding-style) | ||
- [Fix bugs by creating PR's](#fix-bugs-by-creating-prs) | ||
- [Report security issues](#report-security-issues) | ||
|
||
## Coding style | ||
|
||
|
@@ -30,4 +31,4 @@ Go through the following points, before creating a new PR. | |
## Report security issues | ||
|
||
All the security issues, must be reported via [email](mailto:[email protected]) and not using any of the public | ||
channels. | ||
channels. |
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
Oops, something went wrong.