Skip to content

Commit

Permalink
fix(rules): add Qovery
Browse files Browse the repository at this point in the history
  • Loading branch information
bodinsamuel committed Oct 21, 2023
1 parent ba1340d commit 28abb31
Show file tree
Hide file tree
Showing 10 changed files with 61 additions and 4 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 @@ -283,6 +283,7 @@ exports[`all > should match everything 1`] = `
"prismacloud",
"puppeteer",
"python",
"qovery",
"rabbitmq",
"react",
"reactemail",
Expand Down
1 change: 1 addition & 0 deletions src/rules/cloud/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import './netlify.js';
import './nextcloud.js';
import './oraclecloud.js';
import './ovh.js';
import './qovery.js';
import './scaleway.js';
import './supabase.js';
import './upstash.js';
Expand Down
5 changes: 1 addition & 4 deletions src/rules/cloud/ovh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@ register({
type: 'cloud',
dependencies: [
{ type: 'terraform', name: 'registry.terraform.io/ovh/ovh' },
{
type: 'npm',
name: '@ovh-api/api',
},
{ type: 'npm', name: '@ovh-api/api' },
{ type: 'php', name: 'ovh/ovh' },
],
});
17 changes: 17 additions & 0 deletions src/rules/cloud/qovery.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import { register } from '../../register.js';

register({
tech: 'qovery',
name: 'Qovery',
type: 'cloud',
dependencies: [
{ type: 'terraform', name: 'registry.terraform.io/Qovery/qovery' },
{ type: 'npm', name: 'qovery-typescript-axios' },
{ type: 'npm', name: 'qovery/qovery-client-javascript' },
{ type: 'npm', name: 'qovery_api' },
{ type: 'npm', name: 'qovery-ws-typescript-axios' },
{ type: 'docker', name: 'public.ecr.aws/r3m4q3r9/qovery-cli' },
{ type: 'golang', name: 'github.com/qovery/qovery-client-go' },
{ type: 'githubAction', name: 'Qovery/qovery-action' },
],
});
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 @@ -62,6 +62,7 @@ exports[`docker > should match everything 1`] = `
"plausible",
"playwright",
"postgresql",
"qovery",
"rabbitmq",
"redis",
"ruby",
Expand Down Expand Up @@ -458,6 +459,11 @@ exports[`docker > should match everything 2`] = `
"postgres",
"0.0.0",
],
[
"docker",
"public.ecr.aws/r3m4q3r9/qovery-cli",
"0.0.0",
],
[
"docker",
"rabbitmq",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ exports[`docker > should match all dependencies 1`] = `
"optimizely",
"planetscale",
"postgresql",
"qovery",
"rollbar",
"scaleway",
"sentry",
Expand Down Expand Up @@ -109,6 +110,11 @@ exports[`docker > should match all dependencies 2`] = `
"JamesIves/github-pages-deploy-action",
"1",
],
[
"githubAction",
"Qovery/qovery-action",
"1",
],
[
"githubAction",
"SonarSource/sonarcloud-github-actio",
Expand Down
6 changes: 6 additions & 0 deletions src/rules/spec/golang/__snapshots__/lockfile.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ exports[`golang (lockfile) > should match everything 1`] = `
"paypal",
"pirschanalytics",
"posthog",
"qovery",
"rollbar",
"sendgrid",
"slack",
Expand Down Expand Up @@ -584,6 +585,11 @@ exports[`golang (lockfile) > should match everything 2`] = `
"github.com/posthog/posthog-go",
"v1.0.0",
],
[
"golang",
"github.com/qovery/qovery-client-go",
"v1.0.0",
],
[
"golang",
"github.com/rollbar/rollbar-go",
Expand Down
21 changes: 21 additions & 0 deletions src/rules/spec/nodejs/__snapshots__/component.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ exports[`npm > should match everything 1`] = `
"prettier",
"prisma",
"puppeteer",
"qovery",
"rabbitmq",
"react",
"reactemail",
Expand Down Expand Up @@ -1999,6 +2000,26 @@ exports[`npm > should match everything 2`] = `
"puppeteer",
"0.0.0",
],
[
"npm",
"qovery-typescript-axios",
"0.0.0",
],
[
"npm",
"qovery-ws-typescript-axios",
"0.0.0",
],
[
"npm",
"qovery/qovery-client-javascript",
"0.0.0",
],
[
"npm",
"qovery_api",
"0.0.0",
],
[
"npm",
"react",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ exports[`terraform (lockfile) > should match everything 1`] = `
"ovh",
"pagerduty",
"prismacloud",
"qovery",
"rollbar",
"scaleway",
"slack",
Expand Down
1 change: 1 addition & 0 deletions src/types/techs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ export type AllowedKeys =
| 'prismacloud'
| 'puppeteer'
| 'python'
| 'qovery'
| 'rabbitmq'
| 'react'
| 'reactemail'
Expand Down

0 comments on commit 28abb31

Please sign in to comment.