Skip to content

add shebang back to script and disable lint rule#7011

Merged
EvilGenius13 merged 1 commit intostable/3.92from
add-shebang-back-to-release-script
Mar 13, 2026
Merged

add shebang back to script and disable lint rule#7011
EvilGenius13 merged 1 commit intostable/3.92from
add-shebang-back-to-release-script

Conversation

@EvilGenius13
Copy link
Copy Markdown
Contributor

The pnpm post-release was missing the she bang as a lint rule caught and deleted it. I've added it back and disabled the lint rule for the file.

@EvilGenius13 EvilGenius13 requested a review from a team as a code owner March 13, 2026 15:33
@github-actions
Copy link
Copy Markdown
Contributor

Differences in type declarations

We detected differences in the type declarations generated by Typescript for this branch compared to the baseline ('main' branch). Please, review them to ensure they are backward-compatible. Here are some important things to keep in mind:

  • Some seemingly private modules might be re-exported through public modules.
  • If the branch is behind main you might see odd diffs, rebase main into this branch.

New type declarations

packages/cli-kit/dist/public/node/toml.d.ts
import { JsonMap } from '../../private/common/json.js';
export type JsonMapType = JsonMap;
/**
 * Given a TOML string, it returns a JSON object.
 *
 * @param input - TOML string.
 * @returns JSON object.
 */
export declare function decodeToml(input: string): JsonMapType;
/**
 * Given a JSON object, it returns a TOML string.
 *
 * @param content - JSON object.
 * @returns TOML string.
 */
export declare function encodeToml(content: JsonMap | object): string;

Existing type declarations

packages/cli-kit/dist/public/common/version.d.ts
@@ -1 +1 @@
-export declare const CLI_KIT_VERSION = "3.92.0";
\ No newline at end of file
+export declare const CLI_KIT_VERSION = "3.92.1";
\ No newline at end of file
packages/cli-kit/dist/public/node/git.d.ts
@@ -1,13 +1,5 @@
 import { AbortError } from './error.js';
-export interface GitLogEntry {
-    hash: string;
-    date: string;
-    message: string;
-    refs: string;
-    body: string;
-    author_name: string;
-    author_email: string;
-}
+import { DefaultLogFields, ListLogLine } from 'simple-git';
 /**
  * Initialize a git repository at the given directory.
  *
@@ -48,12 +40,14 @@ export declare function addToGitIgnore(root: string, entry: string): void;
  *
  * @param repoUrl - The URL of the repository to clone.
  * @param destination - The directory where the repository will be cloned.
+ * @param progressUpdater - A function that will be called with the progress of the clone.
  * @param shallow - Whether to clone the repository shallowly.
  * @param latestTag - Whether to clone the latest tag instead of the default branch.
  */
 export interface GitCloneOptions {
     repoUrl: string;
     destination: string;
+    progressUpdater?: (statusString: string) => void;
     shallow?: boolean;
     latestTag?: boolean;
 }
@@ -70,7 +64,7 @@ export declare function downloadGitRepository(cloneOptions: GitCloneOptions): Pr
  * @param directory - The directory of the git repository.
  * @returns The latest commit of the repository.
  */
-export declare function getLatestGitCommit(directory?: string): Promise<GitLogEntry>;
+export declare function getLatestGitCommit(directory?: string): Promise<DefaultLogFields & ListLogLine>;
 /**
  * Add all files to the git index from the given directory.
  *

@github-actions
Copy link
Copy Markdown
Contributor

Coverage report

St.
Category Percentage Covered / Total
🟡 Statements 78.81% 14467/18357
🟡 Branches 73.08% 7188/9836
🟡 Functions 79.05% 3693/4672
🟡 Lines 79.15% 13669/17269

Test suite run success

3776 tests passing in 1448 suites.

Report generated by 🧪jest coverage report action from 30bef0c

@EvilGenius13 EvilGenius13 merged commit 4ae7671 into stable/3.92 Mar 13, 2026
22 checks passed
@EvilGenius13 EvilGenius13 deleted the add-shebang-back-to-release-script branch March 13, 2026 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants