mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-03 09:37:19 +01:00
fix(cli): stage git install workspace closure
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
42c561cbdb
commit
ce9db23bf3
4 files changed
+136
-19
No files matched your search
@@ -30,6 +30,7 @@ const dbPackage = JSON.parse(
|
||||
);
|
||||
const releaseScript = await readFile(new URL("./release.sh", import.meta.url), "utf8");
|
||||
const releaseLib = await readFile(new URL("./release-lib.sh", import.meta.url), "utf8");
|
||||
const buildNpmScript = await readFile(new URL("./build-npm.sh", import.meta.url), "utf8");
|
||||
|
||||
test("published packages preserve the patched ACPX runtime", () => {
|
||||
assert.equal(
|
||||
@@ -189,3 +190,8 @@ test("bundled package dry runs preview without querying published versions", ()
|
||||
assert.match(releaseLib, /run_bundled_npm_publish publish --tag "\$dist_tag"/);
|
||||
assert.doesNotMatch(releaseLib, /run_bundled_npm_publish publish "\.\/\$tarball"/);
|
||||
});
|
||||
|
||||
test("npm builds use corepack instead of requiring a global pnpm", () => {
|
||||
assert.match(buildNpmScript, /corepack pnpm -r typecheck/);
|
||||
assert.doesNotMatch(buildNpmScript, /^\s*pnpm -r typecheck/m);
|
||||
});
|
||||
@@ -37,7 +37,7 @@ fi
|
||||
if [ "$skip_typecheck" = false ]; then
|
||||
echo " [2/6] Type-checking..."
|
||||
cd "$REPO_ROOT"
|
||||
pnpm -r typecheck
|
||||
corepack pnpm -r typecheck
|
||||
else
|
||||
echo " [2/6] Skipping type-check (--skip-typecheck)"
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user