Skip to content

Commit 07f8c65

Browse files
Aiinfo diffcache (#116)
* add changelog to output * add clearCache utility * update cache * add writeChangelog util * ignore package.json in biome lint * @instructure.ai/[email protected] * fix lint issues * @instructure.ai/[email protected] * use vite-node/loader * [email protected] * use loader as an export * [email protected] * use custom loader * [email protected] * quote loader * use correct path * [email protected] * proper quotes * use nextLoad * use register instead of experimentalLoader * --no-git-checks b/c we're building here! * [email protected] * [email protected] * proper quoting * [email protected] * async import * [email protected] * move register to loader script * [email protected] * Update scripts/loader.mjs Co-authored-by: Copilot <[email protected]> * proper release folder * [email protected] * use dirname for loader * ci=1 for current caches * [email protected] * pack build * [email protected] * set env name * [email protected] * [email protected] * add pnpm at init * [email protected] * remove duplicate install * Update .github/workflows/release-package.yml Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Copilot <[email protected]>
1 parent b6cf756 commit 07f8c65

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.github/workflows/release-package.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ jobs:
2525
node-version: '24'
2626
registry-url: 'https://registry.npmjs.org'
2727
cache: 'pnpm'
28+
29+
- name: Install pnpm
30+
run: npm install -g pnpm
2831

2932
- name: Fetch all tags
3033
run: git fetch --tags
@@ -61,7 +64,6 @@ jobs:
6164
fi
6265
6366
# Install deps
64-
npm install -g pnpm
6567
pnpm install --frozen-lockfile
6668
6769
# Enable vite-node loader using the register() API
@@ -96,7 +98,11 @@ jobs:
9698
JSON_PATH=""
9799
fi
98100
99-
TARBALL="./packages/$PKG_NAME/dist/"*.tgz
101+
TARBALL=$(ls ./packages/$PKG_NAME/dist/*.tgz 2>/dev/null | head -n 1)
102+
if [ -z "$TARBALL" ]; then
103+
echo "Error: No .tgz tarball found for $PKG_NAME in ./packages/$PKG_NAME/dist/"
104+
continue
105+
fi
100106
if [ -n "$JSON_PATH" ]; then
101107
ACCESS_PUBLIC=$(jq -r '.publishConfig.access // empty' "$JSON_PATH")
102108
PRIVATE=$(jq -r '.private // false' "$JSON_PATH")

packages/aiinfo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,5 @@
4848
"sideEffects": false,
4949
"type": "module",
5050
"types": "./dist/index.d.ts",
51-
"version": "1.2.14"
51+
"version": "1.2.15"
5252
}

0 commit comments

Comments
 (0)