Skip to content

Commit ce7b133

Browse files
committed
Use pnpm tsx to ensure local install is used
1 parent bfbb83b commit ce7b133

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

scripts/manual-publish.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ try {
147147
}
148148

149149
// Publish canonical packages
150-
execSync("tsx scripts/publish-canonical.ts");
150+
execSync("pnpm tsx scripts/publish-canonical.ts");
151151

152-
execSync("tsx ./scripts/lite.ts");
152+
execSync("pnpm tsx ./scripts/lite.ts");
153153
execSync(publishCmd + reTag.replace("@", "-lite@"));

scripts/publish.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ try {
8686
}
8787

8888
// Publish canonical packages
89-
execSync("tsx scripts/publish-canonical.ts");
89+
execSync("pnpm tsx scripts/publish-canonical.ts");
9090

91-
execSync("tsx ./scripts/lite.ts");
91+
execSync("pnpm tsx ./scripts/lite.ts");
9292
execSync(`cd lib && pnpm build && npm publish ${provenance} --access public`);

scripts/rebrand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ const rebrandFn = async () => {
112112
);
113113

114114
console.log("\x1b[32m", "rebranding...");
115-
execSync("tsx ./scripts/rebrander.ts", { stdio: "inherit" });
115+
execSync("pnpm tsx ./scripts/rebrander.ts", { stdio: "inherit" });
116116

117117
console.log("\x1b[32m", "...");
118118
console.log("\x1b[32m", "...");

0 commit comments

Comments
 (0)