Skip to content

Commit

Permalink
fix: adpot new system building
Browse files Browse the repository at this point in the history
  • Loading branch information
Petr Kachanovsky committed Jan 21, 2025
1 parent 99c5db7 commit 2e639ae
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .woodpecker/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ steps:
volumes:
- /var/run/docker.sock:/var/run/docker.sock
commands:
- export $(cat ./deploy.vault.env | xargs)
- apt update && apt install -y rsync
- export $(cat /woodpecker/deploy.vault.env | xargs)
- npm clean-install
- /bin/bash ./.woodpecker/buildRelease.sh
- npm audit signatures
Expand Down
8 changes: 7 additions & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,13 @@ export default class AuditLogPlugin extends AdminForthPlugin {
throw new Error(`Column ${this.options.resourceColumns.resourceDataColumnName} must be of type 'json'`)
}

diffColumn.showIn = ['show']
diffColumn.showIn = {
show: true,
list: false,
edit: false,
create: false,
filter: false,
};
diffColumn.components = {
show: {
file: this.componentPath('AuditLogView.vue'),
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
"types": "dist/index.d.ts",
"type": "module",
"scripts": {
"rollout": "tsc && rsync -av --exclude 'node_modules' custom dist/ && npm version patch && npm publish --access public",
"build": "tsc",
"build": "tsc && rsync -av --exclude 'node_modules' custom dist/",
"prepare": "npm link adminforth"
},
"author": "devforth",
Expand Down

0 comments on commit 2e639ae

Please sign in to comment.