Skip to content

Commit

Permalink
feat: refactor logger, rewrite configuration
Browse files Browse the repository at this point in the history
This commit fixes various issues related to i. e. saving logs.

BREAKING CHANGE: The configuration of @adminjs/logger has been rewritten. Please refer to official documentation at docs.adminjs.co to update.
  • Loading branch information
dziraf committed Oct 14, 2022
1 parent 81523ab commit 52db801
Show file tree
Hide file tree
Showing 31 changed files with 650 additions and 5,599 deletions.
23 changes: 3 additions & 20 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
- name: Setup
uses: actions/setup-node@v1
uses: actions/setup-node@v2
with:
node-version: '14'
- uses: actions/cache@v1
node-version: '16'
- uses: actions/cache@v2
id: yarn-cache
with:
path: node_modules
Expand All @@ -33,20 +33,3 @@ jobs:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: yarn release

notify:
name: Notify
runs-on: ubuntu-latest
if: failure()
needs:
- test
steps:
- uses: technote-space/workflow-conclusion-action@v1
- uses: 8398a7/action-slack@v3
with:
status: ${{ env.WORKFLOW_CONCLUSION }}
fields: repo,message,commit,author,action,eventName,ref,workflow
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}
if: always()
6 changes: 0 additions & 6 deletions example/.example.env

This file was deleted.

14 changes: 0 additions & 14 deletions example/docker-compose.yml

This file was deleted.

30 changes: 0 additions & 30 deletions example/package.json

This file was deleted.

51 changes: 0 additions & 51 deletions example/src/item/item.model.ts

This file was deleted.

14 changes: 0 additions & 14 deletions example/src/item/item.resource.ts

This file was deleted.

97 changes: 0 additions & 97 deletions example/src/log/log.model.ts

This file was deleted.

10 changes: 0 additions & 10 deletions example/src/log/log.resource.ts

This file was deleted.

7 changes: 0 additions & 7 deletions example/src/logger.config.ts

This file was deleted.

10 changes: 0 additions & 10 deletions example/src/sequelize/config.js

This file was deleted.

4 changes: 0 additions & 4 deletions example/src/sequelize/index.ts

This file was deleted.

72 changes: 0 additions & 72 deletions example/src/server.ts

This file was deleted.

Loading

0 comments on commit 52db801

Please sign in to comment.