happyskills 0.28.0 → 0.28.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -0
- package/package.json +1 -1
- package/src/utils/archive.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.28.1] - 2026-04-02
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
- Exclude macOS metadata files (`._*`, `.DS_Store`) from tar archive during `publish` to prevent server-side extraction failures
|
|
14
|
+
|
|
10
15
|
## [0.28.0] - 2026-04-02
|
|
11
16
|
|
|
12
17
|
### Added
|
package/package.json
CHANGED
package/src/utils/archive.js
CHANGED
|
@@ -11,7 +11,7 @@ const exec_file = promisify(execFile)
|
|
|
11
11
|
const create_archive = (source_dir) =>
|
|
12
12
|
catch_errors('Failed to create archive', async () => {
|
|
13
13
|
const archive_path = path.join(os.tmpdir(), `happyskills-${crypto.randomUUID()}.tar.gz`)
|
|
14
|
-
await exec_file('tar', ['czf', archive_path, '-C', source_dir, '.'])
|
|
14
|
+
await exec_file('tar', ['czf', archive_path, '--exclude', '._*', '--exclude', '.DS_Store', '-C', source_dir, '.'])
|
|
15
15
|
const buffer = await fs.promises.readFile(archive_path)
|
|
16
16
|
const sha = crypto.createHash('sha256').update(buffer).digest('hex')
|
|
17
17
|
return { path: archive_path, buffer, sha, size: buffer.length }
|