Skip to content

Commit f02f799

Browse files
authored
v0.1.4 (#10)
1 parent db9fee0 commit f02f799

File tree

2 files changed

+22
-4
lines changed

2 files changed

+22
-4
lines changed

.github/workflows/CI.yml

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,23 @@ jobs:
416416
path: artifacts
417417
- name: Move artifacts
418418
run: pnpm artifacts
419+
- name: Restore entrypoints
420+
run: |
421+
INDEX_JS=$(find artifacts -name "index.js" | head -n 1)
422+
INDEX_D_TS=$(find artifacts -name "index.d.ts" | head -n 1)
423+
424+
if [ -n "$INDEX_JS" ] && [ -n "$INDEX_D_TS" ]; then
425+
echo "Found index.js: $INDEX_JS"
426+
echo "Found index.d.ts: $INDEX_D_TS"
427+
428+
echo "Copying entrypoints to project root"
429+
cp "$INDEX_JS" index.js
430+
cp "$INDEX_D_TS" index.d.ts
431+
else
432+
echo "Error: entrypoints not found in artifacts" >&2
433+
exit 1
434+
fi
435+
shell: bash
419436
- name: Copy fix-python-soname files to Linux packages
420437
run: |
421438
# Find the WASM and JS files from Linux artifacts
@@ -435,10 +452,11 @@ jobs:
435452
fi
436453
done
437454
else
438-
echo "Warning: fix-python-soname files not found in artifacts"
455+
echo "Error: fix-python-soname files not found in artifacts" >&2
456+
exit 1
439457
fi
440-
- name: List packages
441-
run: ls -R ./npm
458+
- name: List project files
459+
run: ls -R .
442460
shell: bash
443461
- name: Update npm
444462
run: npm install -g npm@latest

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@platformatic/python-node",
33
"description": "Run ASGI-compatible Python apps in Node.js",
4-
"version": "0.1.3",
4+
"version": "0.1.4",
55
"main": "index.js",
66
"types": "index.d.ts",
77
"napi": {

0 commit comments

Comments
 (0)