typescript-github-action-template 0.2.51 → 0.2.52
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/.cursor/rules/agent-workflow.mdc +26 -0
- package/AGENTS.md +21 -0
- package/CLAUDE.md +21 -0
- package/dist/__graphql__/graphql.d.ts +18 -0
- package/dist/getOctokit.js +1 -1
- package/package.json +3 -3
|
@@ -0,0 +1,26 @@
|
|
|
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
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
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
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
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.
|
|
@@ -20363,6 +20363,12 @@ export type PullRequestContributionsByRepositoryContributionsArgs = {
|
|
|
20363
20363
|
last?: InputMaybe<Scalars['Int']['input']>;
|
|
20364
20364
|
orderBy?: InputMaybe<ContributionOrder>;
|
|
20365
20365
|
};
|
|
20366
|
+
/** The policy controlling who can create pull requests in a repository. */
|
|
20367
|
+
export type PullRequestCreationPolicy =
|
|
20368
|
+
/** Anyone can create pull requests. */
|
|
20369
|
+
'ALL'
|
|
20370
|
+
/** Only collaborators can create pull requests. */
|
|
20371
|
+
| 'COLLABORATORS_ONLY';
|
|
20366
20372
|
/** An edge in a connection. */
|
|
20367
20373
|
export type PullRequestEdge = {
|
|
20368
20374
|
__typename: 'PullRequestEdge';
|
|
@@ -24481,6 +24487,8 @@ export type Repository = Node & PackageOwner & ProjectOwner & ProjectV2Recent &
|
|
|
24481
24487
|
hasIssuesEnabled: Scalars['Boolean']['output'];
|
|
24482
24488
|
/** Indicates if the repository has the Projects feature enabled. */
|
|
24483
24489
|
hasProjectsEnabled: Scalars['Boolean']['output'];
|
|
24490
|
+
/** Indicates if the repository has the pull requests feature enabled. */
|
|
24491
|
+
hasPullRequestsEnabled: Scalars['Boolean']['output'];
|
|
24484
24492
|
/** Indicates if the repository displays a Sponsor button for financial contributions. */
|
|
24485
24493
|
hasSponsorshipsEnabled: Scalars['Boolean']['output'];
|
|
24486
24494
|
/** Whether vulnerability alerts are enabled for the repository. */
|
|
@@ -24601,6 +24609,8 @@ export type Repository = Node & PackageOwner & ProjectOwner & ProjectV2Recent &
|
|
|
24601
24609
|
projectsV2: ProjectV2Connection;
|
|
24602
24610
|
/** Returns a single pull request from the current repository by number. */
|
|
24603
24611
|
pullRequest?: Maybe<PullRequest>;
|
|
24612
|
+
/** The policy controlling who can create pull requests in this repository. */
|
|
24613
|
+
pullRequestCreationPolicy?: Maybe<PullRequestCreationPolicy>;
|
|
24604
24614
|
/** Returns a list of pull request templates associated to the repository */
|
|
24605
24615
|
pullRequestTemplates?: Maybe<Array<PullRequestTemplate>>;
|
|
24606
24616
|
/** A list of pull requests that have been opened in the repository. */
|
|
@@ -25350,6 +25360,8 @@ export type RepositoryInfo = {
|
|
|
25350
25360
|
hasIssuesEnabled: Scalars['Boolean']['output'];
|
|
25351
25361
|
/** Indicates if the repository has the Projects feature enabled. */
|
|
25352
25362
|
hasProjectsEnabled: Scalars['Boolean']['output'];
|
|
25363
|
+
/** Indicates if the repository has the pull requests feature enabled. */
|
|
25364
|
+
hasPullRequestsEnabled: Scalars['Boolean']['output'];
|
|
25353
25365
|
/** Indicates if the repository displays a Sponsor button for financial contributions. */
|
|
25354
25366
|
hasSponsorshipsEnabled: Scalars['Boolean']['output'];
|
|
25355
25367
|
/** Indicates if the repository has wiki feature enabled. */
|
|
@@ -25384,6 +25396,8 @@ export type RepositoryInfo = {
|
|
|
25384
25396
|
openGraphImageUrl: Scalars['URI']['output'];
|
|
25385
25397
|
/** The User owner of the repository. */
|
|
25386
25398
|
owner: RepositoryOwner;
|
|
25399
|
+
/** The policy controlling who can create pull requests in this repository. */
|
|
25400
|
+
pullRequestCreationPolicy?: Maybe<PullRequestCreationPolicy>;
|
|
25387
25401
|
/** Identifies the date and time when the repository was last pushed to. */
|
|
25388
25402
|
pushedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
25389
25403
|
/** The HTTP path for this repository */
|
|
@@ -31920,6 +31934,8 @@ export type UpdateRepositoryInput = {
|
|
|
31920
31934
|
hasIssuesEnabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
31921
31935
|
/** Indicates if the repository should have the project boards feature enabled. */
|
|
31922
31936
|
hasProjectsEnabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
31937
|
+
/** Indicates if the repository should have the pull requests feature enabled. */
|
|
31938
|
+
hasPullRequestsEnabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
31923
31939
|
/** Indicates if the repository displays a Sponsor button for financial contributions. */
|
|
31924
31940
|
hasSponsorshipsEnabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
31925
31941
|
/** Indicates if the repository should have the wiki feature enabled. */
|
|
@@ -31928,6 +31944,8 @@ export type UpdateRepositoryInput = {
|
|
|
31928
31944
|
homepageUrl?: InputMaybe<Scalars['URI']['input']>;
|
|
31929
31945
|
/** The new name of the repository. */
|
|
31930
31946
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
31947
|
+
/** The policy controlling who can create pull requests in this repository. */
|
|
31948
|
+
pullRequestCreationPolicy?: InputMaybe<PullRequestCreationPolicy>;
|
|
31931
31949
|
/** The ID of the repository to update. */
|
|
31932
31950
|
repositoryId: Scalars['ID']['input'];
|
|
31933
31951
|
/**
|
package/dist/getOctokit.js
CHANGED
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.52",
|
|
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",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"@eslint/js": "^10.0.1",
|
|
33
33
|
"@graphql-codegen/cli": "6.1.1",
|
|
34
34
|
"@graphql-codegen/near-operation-file-preset": "^4.0.0",
|
|
35
|
-
"@graphql-codegen/typescript": "5.0.
|
|
36
|
-
"@graphql-codegen/typescript-document-nodes": "5.0.
|
|
35
|
+
"@graphql-codegen/typescript": "5.0.8",
|
|
36
|
+
"@graphql-codegen/typescript-document-nodes": "5.0.8",
|
|
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",
|