Skip to content

Commit

Permalink
fix(rules): add Liquibase
Browse files Browse the repository at this point in the history
  • Loading branch information
bodinsamuel committed Oct 23, 2023
1 parent 9eed1c2 commit 892122e
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/rules/__snapshots__/index.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ exports[`all > should match everything 1`] = `
"lemonsqueezy",
"lighthouse",
"linear",
"liquibase",
"logrocket",
"logsnag",
"logstash",
Expand Down
11 changes: 11 additions & 0 deletions src/rules/spec/docker/__snapshots__/component.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ exports[`docker > should match everything 1`] = `
"kibana",
"kong",
"lighthouse",
"liquibase",
"logstash",
"mailhog",
"mariadb",
Expand Down Expand Up @@ -448,6 +449,11 @@ exports[`docker > should match everything 2`] = `
"kong",
"0.0.0",
],
[
"docker",
"liquibase/liquibase",
"0.0.0",
],
[
"docker",
"logstash",
Expand Down Expand Up @@ -718,6 +724,11 @@ exports[`docker > should match everything 2`] = `
"webdevops/azure-metrics-exporter",
"0.0.0",
],
[
"docker",
"webdevops/liquibase",
"0.0.0",
],
[
"docker",
"wordpress",
Expand Down
15 changes: 15 additions & 0 deletions src/rules/spec/githubActions/__snapshots__/component.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -521,6 +521,21 @@ exports[`docker > should match all dependencies 2`] = `
"launchdarkly/find-code-references",
"1",
],
[
"githubAction",
"liquibase-github-actions/init-start-h2",
"1",
],
[
"githubAction",
"liquibase-github-actions/update",
"1",
],
[
"githubAction",
"liquibase/liquibase-github-action",
"1",
],
[
"githubAction",
"microsoft/playwright-github-action",
Expand Down
1 change: 1 addition & 0 deletions src/rules/tool/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import './goacmelego.js';
import './golangcilint.js';
import './helm.js';
import './lighthouse.js';
import './liquibase.js';
import './mailhog.js';
import './mongoexpress.js';
import './playwright.js';
Expand Down
14 changes: 14 additions & 0 deletions src/rules/tool/liquibase.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { register } from '../../register.js';

register({
tech: 'liquibase',
name: 'Liquibase',
type: 'tool',
dependencies: [
{ type: 'docker', name: 'liquibase/liquibase' },
{ type: 'docker', name: 'webdevops/liquibase' },
{ type: 'githubAction', name: 'liquibase/liquibase-github-action' },
{ type: 'githubAction', name: 'liquibase-github-actions/init-start-h2' },
{ type: 'githubAction', name: 'liquibase-github-actions/update' },
],
});
1 change: 1 addition & 0 deletions src/types/techs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ export type AllowedKeys =
| 'lemonsqueezy'
| 'lighthouse'
| 'linear'
| 'liquibase'
| 'logrocket'
| 'logsnag'
| 'logstash'
Expand Down

0 comments on commit 892122e

Please sign in to comment.