mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-28 11:41:04 +00:00
fix: include bundled skills directory in published package
The bundled skills directory (dist/bundled/) was missing from the published npm package because it was not listed in the files array of the generated dist/package.json. copy_bundle_assets.js correctly copies bundled skills to dist/bundled/ during the bundle step, but prepare-package.js omitted 'bundled' from the files whitelist. This caused SkillManager to find an empty bundled skills directory at runtime after installation, since npm excluded it during publish.
This commit is contained in:
parent
602a5db119
commit
c406d2768f
1 changed files with 9 additions and 1 deletions
|
|
@ -150,7 +150,15 @@ const distPackageJson = {
|
|||
bin: {
|
||||
qwen: 'cli.js',
|
||||
},
|
||||
files: ['cli.js', 'vendor', '*.sb', 'README.md', 'LICENSE', 'locales'],
|
||||
files: [
|
||||
'cli.js',
|
||||
'vendor',
|
||||
'*.sb',
|
||||
'README.md',
|
||||
'LICENSE',
|
||||
'locales',
|
||||
'bundled',
|
||||
],
|
||||
config: rootPackageJson.config,
|
||||
dependencies: {},
|
||||
optionalDependencies: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue