Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commiteb1ee23

Browse files
committed
fix(rules): add Cloudflare Pages
1 parenta4574c9 commiteb1ee23

File tree

7 files changed

+27
-0
lines changed

7 files changed

+27
-0
lines changed

‎src/rules/__snapshots__/index.test.ts.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ exports[`all > should match everything 1`] = `
4747
"cirrusci",
4848
"clickhouse",
4949
"cloudflare",
50+
"cloudflare.pages",
5051
"cloudflare.workers",
5152
"cockroachdb",
5253
"codecov",

‎src/rules/hosting/cloudflare.pages.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import{register}from'../../register.js';
2+
3+
register({
4+
tech:'cloudflare.pages',
5+
name:'Cloudflare Pages',
6+
type:'hosting',
7+
dependencies:[
8+
{type:'npm',name:'wrangler'},
9+
{
10+
type:'terraform.resource',
11+
name:/^cloudflare_pages_/,
12+
example:'cloudflare_pages_domain',
13+
},
14+
{type:'githubAction',name:'cloudflare/pages-action'},
15+
],
16+
});

‎src/rules/hosting/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import './aws.js';
77
import'./aws.lambda.js';
88
import'./azure.js';
99
import'./cloudflare.js';
10+
import'./cloudflare.pages.js';
1011
import'./cloudflare.workers.js';
1112
import'./digitalocean.js';
1213
import'./elasticstack.js';

‎src/rules/spec/githubActions/__snapshots__/component.test.ts.snap

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ exports[`docker > should match all dependencies 1`] = `
1111
"aws.s3",
1212
"azure",
1313
"cloudflare",
14+
"cloudflare.pages",
1415
"cloudflare.workers",
1516
"databricks",
1617
"datadog",
@@ -220,6 +221,11 @@ exports[`docker > should match all dependencies 2`] = `
220221
"bitovi/github-actions-deploy-docker-to-ec2",
221222
"1",
222223
],
224+
[
225+
"githubAction",
226+
"cloudflare/pages-action",
227+
"1",
228+
],
223229
[
224230
"githubAction",
225231
"cloudflare/wrangler-action",

‎src/rules/spec/nodejs/__snapshots__/component.test.ts.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ exports[`npm > should match everything 1`] = `
2525
"browserstack",
2626
"clickhouse",
2727
"cloudflare",
28+
"cloudflare.pages",
2829
"cloudflare.workers",
2930
"contenful",
3031
"couchbase",

‎src/rules/spec/terraform/__snapshots__/resource.test.ts.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ exports[`terraform (resource) > should match everything 1`] = `
1515
"aws.sns",
1616
"aws.sqs",
1717
"cloudflare",
18+
"cloudflare.pages",
1819
"cloudflare.workers",
1920
"datadog",
2021
"firebase",

‎src/types/techs.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ export type AllowedKeys =
6060
|'circleci'
6161
|'cirrusci'
6262
|'clickhouse'
63+
|'cloudflare.pages'
6364
|'cloudflare.workers'
6465
|'cloudflare'
6566
|'cockroachdb'

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp