Skip to content

Commit

Permalink
fix(rules): add Joomla
Browse files Browse the repository at this point in the history
  • Loading branch information
bodinsamuel committed Oct 13, 2023
1 parent 79e7d97 commit 0b0b03a
Show file tree
Hide file tree
Showing 6 changed files with 26 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 @@ -206,6 +206,7 @@ exports[`all > should match everything 1`] = `
"java",
"jenkins",
"jira",
"joomla",
"kibana",
"klarna",
"klaviyo",
Expand Down
1 change: 1 addition & 0 deletions src/rules/php/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import './doctrinephp.js';
import './joomla.js';
import './laravel.js';
import './magento.js';
import './phppest.js';
Expand Down
11 changes: 11 additions & 0 deletions src/rules/php/joomla.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { register } from '../../register.js';

register({
tech: 'joomla',
name: 'Joomla!',
type: 'tool',
dependencies: [
{ type: 'php', name: 'joomla/application' },
{ type: 'docker', name: 'joomla' },
],
});
6 changes: 6 additions & 0 deletions src/rules/spec/docker/__snapshots__/component.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ exports[`docker > should match everything 1`] = `
"influxdb",
"jenkins",
"jira",
"joomla",
"kibana",
"lighthouse",
"logstash",
Expand Down Expand Up @@ -324,6 +325,11 @@ exports[`docker > should match everything 2`] = `
"jenkins-docker",
"0.0.0",
],
[
"docker",
"joomla",
"0.0.0",
],
[
"docker",
"kasmweb/slack",
Expand Down
6 changes: 6 additions & 0 deletions src/rules/spec/php/__snapshots__/component.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ exports[`php > should match everything 1`] = `
"influxdb",
"intercom",
"jira",
"joomla",
"klaviyo",
"kubernetes",
"laravel",
Expand Down Expand Up @@ -583,6 +584,11 @@ exports[`php > should match everything 2`] = `
"jolicode/slack-php-api",
"0.0.0",
],
[
"php",
"joomla/application",
"0.0.0",
],
[
"php",
"klaviyo/magento2-extension",
Expand Down
1 change: 1 addition & 0 deletions src/types/techs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ export type AllowedKeys =
| 'jenkins'
| 'jest'
| 'jira'
| 'joomla'
| 'kibana'
| 'klarna'
| 'klaviyo'
Expand Down

0 comments on commit 0b0b03a

Please sign in to comment.