-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6295411
commit 3002397
Showing
27 changed files
with
6,993 additions
and
4,226 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
node_modules | ||
dist | ||
|
||
pnpm-lock.yaml | ||
.changeset | ||
.prettierrc | ||
package.json | ||
|
||
vite.config.js.timestamp-* | ||
vite.config.ts.timestamp-* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
/* eslint-env node */ | ||
module.exports = { | ||
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'prettier'], | ||
parser: '@typescript-eslint/parser', | ||
plugins: ['@typescript-eslint'], | ||
root: true, | ||
}; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
pnpm run build && git add index.js | ||
pnpm run build && git add dist/index.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
node_modules | ||
dist | ||
.husky | ||
pnpm-lock.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"printWidth": 120, | ||
"singleQuote": false, | ||
"semi": true, | ||
"useTabs": true | ||
"useTabs": true, | ||
"singleQuote": true, | ||
"trailingComma": "es5", | ||
"printWidth": 100 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,34 @@ | ||
name: "Cloudflare Pages GitHub Action" | ||
description: "Publish to Cloudflare Pages" | ||
branding: | ||
icon: "upload-cloud" | ||
color: "orange" | ||
name: 'Cloudflare Pages GitHub Action' | ||
description: 'Publish to Cloudflare Pages with PR previews' | ||
inputs: | ||
apiToken: | ||
description: "Cloudflare API Token" | ||
description: 'Cloudflare API Token' | ||
required: true | ||
accountId: | ||
description: "Cloudflare Account ID" | ||
description: 'Cloudflare Account ID' | ||
required: true | ||
projectName: | ||
description: "The name of the Pages project to upload to" | ||
description: 'The name of the Pages project to upload to' | ||
required: true | ||
directory: | ||
description: "The directory of static assets to upload" | ||
description: 'The directory of static assets to upload' | ||
required: true | ||
githubToken: | ||
description: 'GitHub Token' | ||
required: true | ||
gitHubToken: | ||
description: "GitHub Token" | ||
required: false | ||
branch: | ||
description: "The name of the branch you want to deploy to" | ||
description: 'The name of the branch you want to deploy to' | ||
required: false | ||
deploymentName: | ||
description: "The name of the GitHub deployment" | ||
description: 'The name of the GitHub deployment' | ||
required: false | ||
workingDirectory: | ||
description: "The working directory in which to run Wrangler" | ||
description: 'The working directory in which to run Wrangler' | ||
required: false | ||
wranglerVersion: | ||
description: "The version of Wrangler to use" | ||
description: 'The version of Wrangler to use' | ||
required: false | ||
default: "3" | ||
default: '3' | ||
runs: | ||
using: "node16" | ||
main: "index.js" | ||
using: 'node16' | ||
main: 'dist/index.js' |
Oops, something went wrong.