typescript-github-action-template 0.2.52 → 0.2.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -1
- package/dist/__graphql__/graphql.d.ts +14 -0
- package/package.json +3 -3
- package/.cursor/rules/agent-workflow.mdc +0 -26
- package/AGENTS.md +0 -21
- package/CLAUDE.md +0 -21
package/README.md
CHANGED
|
@@ -8,4 +8,3 @@ The following secrets need to be set up before you can use workflows already def
|
|
|
8
8
|
|
|
9
9
|
- **`CHECK_GIT_STATUS_BOT_APP_ID`** and **`CHECK_GIT_STATUS_BOT_APP_PRIVATE_KEY`**: Used by the [`Build` workflow](https://github.com/CatChen/typescript-github-action-template/blob/main/.github/workflows/build.yml). If you don't want to set up a bot you can remove the `actions/create-github-app-token` step and remove all references to `steps.get-github-app-token.outputs.token`.
|
|
10
10
|
- **`ACCEPT_TO_SHIP_BOT_APP_ID`** and **`ACCEPT_TO_SHIP_BOT_APP_PRIVATE_KEY`**: Used by the [`Ship` workflow](https://github.com/CatChen/typescript-github-action-template/blob/main/.github/workflows/ship.yml). If you don't want to set up a bot you can remove the two `actions/create-github-app-token` steps and remove all references to `steps.get-github-app-token.outputs.token`.
|
|
11
|
-
- **`NPM_TOKEN`**: Used by the [`Release` workflow](https://github.com/CatChen/typescript-github-action-template/blob/main/.github/workflows/release.yml). This is necessary for publishing the NPM package to NPM. If you don't want to publish to NPM you can remove the `publish` job.
|
|
@@ -4269,6 +4269,8 @@ export type CreateRepositoryCustomPropertyInput = {
|
|
|
4269
4269
|
propertyName: Scalars['String']['input'];
|
|
4270
4270
|
/** The regex pattern that the value of the custom property must match, if the `value_type` is `string`. */
|
|
4271
4271
|
regex?: InputMaybe<Scalars['String']['input']>;
|
|
4272
|
+
/** Whether this repository custom property requires explicit values. */
|
|
4273
|
+
requireExplicitValues?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4272
4274
|
/** Whether the custom property is required. */
|
|
4273
4275
|
required?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4274
4276
|
/** The global relay id of the source in which a new custom property should be created in. */
|
|
@@ -9608,6 +9610,10 @@ export type IssueTimelineItemsItemType =
|
|
|
9608
9610
|
| 'DISCONNECTED_EVENT'
|
|
9609
9611
|
/** Represents a comment on an Issue. */
|
|
9610
9612
|
| 'ISSUE_COMMENT'
|
|
9613
|
+
/** Represents a 'issue_comment_pinned' event on a given issue. */
|
|
9614
|
+
| 'ISSUE_COMMENT_PINNED_EVENT'
|
|
9615
|
+
/** Represents a 'issue_comment_unpinned' event on a given issue. */
|
|
9616
|
+
| 'ISSUE_COMMENT_UNPINNED_EVENT'
|
|
9611
9617
|
/** Represents a 'issue_field_added' event on a given issue. */
|
|
9612
9618
|
| 'ISSUE_FIELD_ADDED_EVENT'
|
|
9613
9619
|
/** Represents a 'issue_field_changed' event on a given issue. */
|
|
@@ -21049,6 +21055,10 @@ export type PullRequestTimelineItemsItemType =
|
|
|
21049
21055
|
| 'HEAD_REF_RESTORED_EVENT'
|
|
21050
21056
|
/** Represents a comment on an Issue. */
|
|
21051
21057
|
| 'ISSUE_COMMENT'
|
|
21058
|
+
/** Represents a 'issue_comment_pinned' event on a given issue. */
|
|
21059
|
+
| 'ISSUE_COMMENT_PINNED_EVENT'
|
|
21060
|
+
/** Represents a 'issue_comment_unpinned' event on a given issue. */
|
|
21061
|
+
| 'ISSUE_COMMENT_UNPINNED_EVENT'
|
|
21052
21062
|
/** Represents a 'issue_field_added' event on a given issue. */
|
|
21053
21063
|
| 'ISSUE_FIELD_ADDED_EVENT'
|
|
21054
21064
|
/** Represents a 'issue_field_changed' event on a given issue. */
|
|
@@ -25230,6 +25240,8 @@ export type RepositoryCustomProperty = Node & {
|
|
|
25230
25240
|
propertyName: Scalars['String']['output'];
|
|
25231
25241
|
/** The regex pattern that the value of the custom property must match, if the `value_type` is `string`. */
|
|
25232
25242
|
regex?: Maybe<Scalars['String']['output']>;
|
|
25243
|
+
/** Whether this repository custom property requires explicit values. */
|
|
25244
|
+
requireExplicitValues?: Maybe<Scalars['Boolean']['output']>;
|
|
25233
25245
|
/** Whether the custom property is required. */
|
|
25234
25246
|
required?: Maybe<Scalars['Boolean']['output']>;
|
|
25235
25247
|
/** The source type of the custom property. */
|
|
@@ -31909,6 +31921,8 @@ export type UpdateRepositoryCustomPropertyInput = {
|
|
|
31909
31921
|
regex?: InputMaybe<Scalars['String']['input']>;
|
|
31910
31922
|
/** The global relay id of the source of the custom property. */
|
|
31911
31923
|
repositoryCustomPropertyId: Scalars['ID']['input'];
|
|
31924
|
+
/** Whether this repository custom property requires explicit values. */
|
|
31925
|
+
requireExplicitValues?: InputMaybe<Scalars['Boolean']['input']>;
|
|
31912
31926
|
/** Whether the updated custom property is required. */
|
|
31913
31927
|
required?: InputMaybe<Scalars['Boolean']['input']>;
|
|
31914
31928
|
/** The updated actors who can edit the values of the custom property. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "typescript-github-action-template",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.53",
|
|
4
4
|
"description": "A template to create custom GitHub Action with TypeScript/JavaScript.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.js",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"scripts": {
|
|
9
9
|
"codegen": "rm -rf src/__graphql__ && graphql-codegen-esm --config codegen.ts",
|
|
10
10
|
"build": "rm -rf dist && yarn tsc",
|
|
11
|
-
"bundle": "rm -rf bundle && yarn ncc build src/index.ts --
|
|
11
|
+
"bundle": "rm -rf bundle && yarn ncc build src/index.ts --source-map --license licenses.txt --out bundle",
|
|
12
12
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
13
13
|
"lint": "eslint -c eslint.config.js",
|
|
14
14
|
"prepublishOnly": "pinst --disable && yarn build",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"@0no-co/graphqlsp": "^1.12.12",
|
|
31
31
|
"@eslint/eslintrc": "^3.0.2",
|
|
32
32
|
"@eslint/js": "^10.0.1",
|
|
33
|
-
"@graphql-codegen/cli": "6.1.
|
|
33
|
+
"@graphql-codegen/cli": "6.1.2",
|
|
34
34
|
"@graphql-codegen/near-operation-file-preset": "^4.0.0",
|
|
35
35
|
"@graphql-codegen/typescript": "5.0.8",
|
|
36
36
|
"@graphql-codegen/typescript-document-nodes": "5.0.8",
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Setup and validation commands required for this repository.
|
|
3
|
-
alwaysApply: true
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Agent Instructions
|
|
7
|
-
|
|
8
|
-
These instructions apply to all coding agents in this repository (Cursor, Claude Code, Codex).
|
|
9
|
-
|
|
10
|
-
## Required setup command
|
|
11
|
-
|
|
12
|
-
After opening or setting up the project, run:
|
|
13
|
-
|
|
14
|
-
```bash
|
|
15
|
-
yarn
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
## Required validation command
|
|
19
|
-
|
|
20
|
-
After making changes, run:
|
|
21
|
-
|
|
22
|
-
```bash
|
|
23
|
-
yarn codegen && yarn lint --fix && yarn build && yarn bundle
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
Do not treat work as complete until the validation command succeeds. If it fails, fix the issues and run it again.
|
package/AGENTS.md
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# Agent Instructions
|
|
2
|
-
|
|
3
|
-
These instructions apply to all coding agents in this repository (Cursor, Claude Code, Codex).
|
|
4
|
-
|
|
5
|
-
## Required setup command
|
|
6
|
-
|
|
7
|
-
After opening or setting up the project, run:
|
|
8
|
-
|
|
9
|
-
```bash
|
|
10
|
-
yarn
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
## Required validation command
|
|
14
|
-
|
|
15
|
-
After making changes, run:
|
|
16
|
-
|
|
17
|
-
```bash
|
|
18
|
-
yarn codegen && yarn lint --fix && yarn build && yarn bundle
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
Do not treat work as complete until the validation command succeeds. If it fails, fix the issues and run it again.
|
package/CLAUDE.md
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# Agent Instructions
|
|
2
|
-
|
|
3
|
-
These instructions apply to all coding agents in this repository (Cursor, Claude Code, Codex).
|
|
4
|
-
|
|
5
|
-
## Required setup command
|
|
6
|
-
|
|
7
|
-
After opening or setting up the project, run:
|
|
8
|
-
|
|
9
|
-
```bash
|
|
10
|
-
yarn
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
## Required validation command
|
|
14
|
-
|
|
15
|
-
After making changes, run:
|
|
16
|
-
|
|
17
|
-
```bash
|
|
18
|
-
yarn codegen && yarn lint --fix && yarn build && yarn bundle
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
Do not treat work as complete until the validation command succeeds. If it fails, fix the issues and run it again.
|