diff --git a/src/rules/__snapshots__/index.test.ts.snap b/src/rules/__snapshots__/index.test.ts.snap index 7b648fad..78255b4f 100644 --- a/src/rules/__snapshots__/index.test.ts.snap +++ b/src/rules/__snapshots__/index.test.ts.snap @@ -202,6 +202,7 @@ exports[`all > should match everything 1`] = ` "golangcilint", "googleanalytics", "grafana", + "gridsome", "haproxy", "hashicorp_vault", "healthchecksio", diff --git a/src/rules/framework/gridsome.ts b/src/rules/framework/gridsome.ts new file mode 100644 index 00000000..c74f70a4 --- /dev/null +++ b/src/rules/framework/gridsome.ts @@ -0,0 +1,9 @@ +import { register } from '../../register.js'; + +register({ + tech: 'gridsome', + name: 'Gridsome', + type: 'framework', + files: ['gridsome.config.js'], + dependencies: [{ type: 'npm', name: 'gridsome' }], +}); diff --git a/src/rules/framework/index.ts b/src/rules/framework/index.ts index aa1b8836..fe0e1665 100644 --- a/src/rules/framework/index.ts +++ b/src/rules/framework/index.ts @@ -5,5 +5,6 @@ import './blitzjs.js'; import './docusaurus.js'; import './eleventy.js'; import './expojs.js'; +import './gridsome.js'; import './ghost.js'; import './hugo.js'; diff --git a/src/rules/js/gastby.ts b/src/rules/js/gastby.ts index f3fe4a7a..40a28fe0 100644 --- a/src/rules/js/gastby.ts +++ b/src/rules/js/gastby.ts @@ -4,6 +4,7 @@ register({ tech: 'gatsby', name: 'Gatsby', type: 'tool', + files: ['gatsby-config.js', 'gatsby-config.ts'], dependencies: [ { type: 'npm', name: 'gatsby' }, { type: 'npm', name: 'gatsby-cli' }, diff --git a/src/rules/spec/nodejs/__snapshots__/component.test.ts.snap b/src/rules/spec/nodejs/__snapshots__/component.test.ts.snap index b2ab28ec..ca6cb767 100644 --- a/src/rules/spec/nodejs/__snapshots__/component.test.ts.snap +++ b/src/rules/spec/nodejs/__snapshots__/component.test.ts.snap @@ -128,6 +128,7 @@ exports[`npm > should match everything 1`] = ` "ghost", "gitbook", "github", + "gridsome", "hotjar", "huggingface", "hugo", @@ -1743,6 +1744,11 @@ exports[`npm > should match everything 2`] = ` "grammy", "0.0.0", ], + [ + "npm", + "gridsome", + "0.0.0", + ], [ "npm", "hugo-extended", diff --git a/src/types/techs.ts b/src/types/techs.ts index d53edea3..0fd8c5e8 100644 --- a/src/types/techs.ts +++ b/src/types/techs.ts @@ -217,6 +217,7 @@ export type AllowedKeys = | 'golangcilint' | 'googleanalytics' | 'grafana' + | 'gridsome' | 'haproxy' | 'hashicorp_vault' | 'healthchecksio'