typescript-github-action-template 0.2.52 → 0.2.54
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/.yarn/install-state.gz +0 -0
- package/.yarnrc.yml +1 -0
- package/README.md +0 -1
- package/dist/__graphql__/graphql.d.ts +21 -2
- package/package.json +7 -7
- package/.cursor/rules/agent-workflow.mdc +0 -26
- package/AGENTS.md +0 -21
- package/CLAUDE.md +0 -21
|
Binary file
|
package/.yarnrc.yml
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
nodeLinker: node-modules
|
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.
|
|
@@ -1802,8 +1802,13 @@ export type CheckAnnotation = {
|
|
|
1802
1802
|
annotationLevel?: Maybe<CheckAnnotationLevel>;
|
|
1803
1803
|
/** The path to the file that this annotation was made on. */
|
|
1804
1804
|
blobUrl: Scalars['URI']['output'];
|
|
1805
|
-
/**
|
|
1805
|
+
/**
|
|
1806
|
+
* Identifies the primary key from the database.
|
|
1807
|
+
* @deprecated `databaseId` will be removed because it does not support 64-bit signed integer identifiers. Use `fullDatabaseId` instead. Removal on 2027-01-01 UTC.
|
|
1808
|
+
*/
|
|
1806
1809
|
databaseId?: Maybe<Scalars['Int']['output']>;
|
|
1810
|
+
/** Identifies the primary key from the database as a BigInt. */
|
|
1811
|
+
fullDatabaseId?: Maybe<Scalars['BigInt']['output']>;
|
|
1807
1812
|
/** The position of this annotation. */
|
|
1808
1813
|
location: CheckAnnotationSpan;
|
|
1809
1814
|
/** The annotation's message. */
|
|
@@ -4269,6 +4274,8 @@ export type CreateRepositoryCustomPropertyInput = {
|
|
|
4269
4274
|
propertyName: Scalars['String']['input'];
|
|
4270
4275
|
/** The regex pattern that the value of the custom property must match, if the `value_type` is `string`. */
|
|
4271
4276
|
regex?: InputMaybe<Scalars['String']['input']>;
|
|
4277
|
+
/** Whether this repository custom property requires explicit values. */
|
|
4278
|
+
requireExplicitValues?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4272
4279
|
/** Whether the custom property is required. */
|
|
4273
4280
|
required?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4274
4281
|
/** The global relay id of the source in which a new custom property should be created in. */
|
|
@@ -9608,6 +9615,10 @@ export type IssueTimelineItemsItemType =
|
|
|
9608
9615
|
| 'DISCONNECTED_EVENT'
|
|
9609
9616
|
/** Represents a comment on an Issue. */
|
|
9610
9617
|
| 'ISSUE_COMMENT'
|
|
9618
|
+
/** Represents a 'issue_comment_pinned' event on a given issue. */
|
|
9619
|
+
| 'ISSUE_COMMENT_PINNED_EVENT'
|
|
9620
|
+
/** Represents a 'issue_comment_unpinned' event on a given issue. */
|
|
9621
|
+
| 'ISSUE_COMMENT_UNPINNED_EVENT'
|
|
9611
9622
|
/** Represents a 'issue_field_added' event on a given issue. */
|
|
9612
9623
|
| 'ISSUE_FIELD_ADDED_EVENT'
|
|
9613
9624
|
/** Represents a 'issue_field_changed' event on a given issue. */
|
|
@@ -21049,6 +21060,10 @@ export type PullRequestTimelineItemsItemType =
|
|
|
21049
21060
|
| 'HEAD_REF_RESTORED_EVENT'
|
|
21050
21061
|
/** Represents a comment on an Issue. */
|
|
21051
21062
|
| 'ISSUE_COMMENT'
|
|
21063
|
+
/** Represents a 'issue_comment_pinned' event on a given issue. */
|
|
21064
|
+
| 'ISSUE_COMMENT_PINNED_EVENT'
|
|
21065
|
+
/** Represents a 'issue_comment_unpinned' event on a given issue. */
|
|
21066
|
+
| 'ISSUE_COMMENT_UNPINNED_EVENT'
|
|
21052
21067
|
/** Represents a 'issue_field_added' event on a given issue. */
|
|
21053
21068
|
| 'ISSUE_FIELD_ADDED_EVENT'
|
|
21054
21069
|
/** Represents a 'issue_field_changed' event on a given issue. */
|
|
@@ -24503,7 +24518,7 @@ export type Repository = Node & PackageOwner & ProjectOwner & ProjectV2Recent &
|
|
|
24503
24518
|
interactionAbility?: Maybe<RepositoryInteractionAbility>;
|
|
24504
24519
|
/** Indicates if the repository is unmaintained. */
|
|
24505
24520
|
isArchived: Scalars['Boolean']['output'];
|
|
24506
|
-
/** Returns true if blank issue
|
|
24521
|
+
/** Returns true if the viewer can create a blank issue in this repository */
|
|
24507
24522
|
isBlankIssuesEnabled: Scalars['Boolean']['output'];
|
|
24508
24523
|
/** Returns whether or not this repository disabled. */
|
|
24509
24524
|
isDisabled: Scalars['Boolean']['output'];
|
|
@@ -25230,6 +25245,8 @@ export type RepositoryCustomProperty = Node & {
|
|
|
25230
25245
|
propertyName: Scalars['String']['output'];
|
|
25231
25246
|
/** The regex pattern that the value of the custom property must match, if the `value_type` is `string`. */
|
|
25232
25247
|
regex?: Maybe<Scalars['String']['output']>;
|
|
25248
|
+
/** Whether this repository custom property requires explicit values. */
|
|
25249
|
+
requireExplicitValues?: Maybe<Scalars['Boolean']['output']>;
|
|
25233
25250
|
/** Whether the custom property is required. */
|
|
25234
25251
|
required?: Maybe<Scalars['Boolean']['output']>;
|
|
25235
25252
|
/** The source type of the custom property. */
|
|
@@ -31909,6 +31926,8 @@ export type UpdateRepositoryCustomPropertyInput = {
|
|
|
31909
31926
|
regex?: InputMaybe<Scalars['String']['input']>;
|
|
31910
31927
|
/** The global relay id of the source of the custom property. */
|
|
31911
31928
|
repositoryCustomPropertyId: Scalars['ID']['input'];
|
|
31929
|
+
/** Whether this repository custom property requires explicit values. */
|
|
31930
|
+
requireExplicitValues?: InputMaybe<Scalars['Boolean']['input']>;
|
|
31912
31931
|
/** Whether the updated custom property is required. */
|
|
31913
31932
|
required?: InputMaybe<Scalars['Boolean']['input']>;
|
|
31914
31933
|
/** The updated actors who can edit the values of the custom property. */
|
package/package.json
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "typescript-github-action-template",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.54",
|
|
4
4
|
"description": "A template to create custom GitHub Action with TypeScript/JavaScript.",
|
|
5
|
+
"packageManager": "yarn@4.13.0",
|
|
5
6
|
"main": "dist/index.js",
|
|
6
7
|
"types": "dist/index.d.js",
|
|
7
8
|
"type": "module",
|
|
8
9
|
"scripts": {
|
|
9
10
|
"codegen": "rm -rf src/__graphql__ && graphql-codegen-esm --config codegen.ts",
|
|
10
|
-
"build": "rm -rf dist &&
|
|
11
|
-
"bundle": "rm -rf bundle &&
|
|
11
|
+
"build": "rm -rf dist && tsc",
|
|
12
|
+
"bundle": "rm -rf bundle && ncc build src/index.ts --source-map --license licenses.txt --out bundle",
|
|
12
13
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
13
14
|
"lint": "eslint -c eslint.config.js",
|
|
14
15
|
"prepublishOnly": "pinst --disable && yarn build",
|
|
@@ -30,10 +31,9 @@
|
|
|
30
31
|
"@0no-co/graphqlsp": "^1.12.12",
|
|
31
32
|
"@eslint/eslintrc": "^3.0.2",
|
|
32
33
|
"@eslint/js": "^10.0.1",
|
|
33
|
-
"@graphql-codegen/cli": "6.1.
|
|
34
|
-
"@graphql-codegen/
|
|
35
|
-
"@graphql-codegen/typescript": "5.0.
|
|
36
|
-
"@graphql-codegen/typescript-document-nodes": "5.0.8",
|
|
34
|
+
"@graphql-codegen/cli": "6.1.3",
|
|
35
|
+
"@graphql-codegen/typescript": "5.0.9",
|
|
36
|
+
"@graphql-codegen/typescript-document-nodes": "5.0.9",
|
|
37
37
|
"@graphql-eslint/eslint-plugin": "^4.4.0",
|
|
38
38
|
"@serverless-guru/prettier-plugin-import-order": "^0.4.2",
|
|
39
39
|
"@types/node": "^25.0.0",
|
|
@@ -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.
|