codeplay-common 1.3.2 → 1.3.3

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.
@@ -89,12 +89,16 @@ try {
89
89
 
90
90
 
91
91
  // Clean up AppleDouble files (._*) created by macOS START
92
- try {
93
- console.log('🧹 Cleaning up AppleDouble files (._*)...');
94
- execSync(`find . -name '._*' -delete`);
95
- console.log('✅ AppleDouble files removed.');
96
- } catch (err) {
97
- console.warn('⚠️ Failed to remove AppleDouble files:', err.message);
92
+ if (process.platform === 'darwin') {
93
+ try {
94
+ console.log('🧹 Cleaning up AppleDouble files (._*)...');
95
+ execSync(`find . -name '._*' -delete`);
96
+ console.log('✅ AppleDouble files removed.');
97
+ } catch (err) {
98
+ console.warn('⚠️ Failed to remove AppleDouble files:', err.message);
99
+ }
100
+ } else {
101
+ console.log('ℹ️ Skipping AppleDouble cleanup — not a macOS machine.');
98
102
  }
99
103
 
100
104
  // Clean up AppleDouble files (._*) created by macOS END
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codeplay-common",
3
- "version": "1.3.2",
3
+ "version": "1.3.3",
4
4
  "description": "Common build scripts and files",
5
5
  "scripts": {
6
6
  "postinstall": "node scripts/sync-files.js",