Skip to content

Commit aba850e

Browse files
Thomas Tupperclaude
authored andcommitted
fix(publish): add .npmignore so dist/ is included in npm tarball
.gitignore excludes dist/ (correct for source control). Without a separate .npmignore, npm uses .gitignore for packing — so the compiled dist/ output was silently excluded from the published tarball. This caused "Cannot find module './strip-openclaw-framing'" at runtime because only dist/index.js (from a previous build cache) was present. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent d069063 commit aba850e

2 files changed

Lines changed: 29 additions & 1 deletion

File tree

.npmignore

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Source files (dist/ is the published artifact)
2+
*.ts
3+
!*.d.ts
4+
tsconfig.json
5+
.github/
6+
.claude/
7+
8+
# Dev/docs
9+
*.test.*
10+
*.spec.*
11+
API_V2_GAP_AUDIT.md
12+
CORE_MEMORY_OPS_COVERAGE.md
13+
IMPLEMENTATION_BACKLOG.md
14+
MEM0_CORE_OPS_COVERAGE.md
15+
PROVIDER_API_MAPPING.md
16+
SCOPE_ISOLATION_FIX_PLAN.md
17+
SCOPE_ISOLATION_TEST_PLAN.md
18+
V2_ROLLOUT_PRINCIPLES.md
19+
20+
# OS/IDE
21+
.DS_Store
22+
.vscode/
23+
.idea/
24+
*.swp
25+
*.swo
26+
27+
# Logs
28+
*.log

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@foxlight-foundation/foxmemory-plugin-v2",
3-
"version": "1.1.1",
3+
"version": "1.1.2",
44
"openclaw": {
55
"extensions": ["./dist/index.js"]
66
},

0 commit comments

Comments
 (0)