fix(mod_assets): Fix issue with asset directory copy
This commit is contained in:
		| @@ -1,5 +1,11 @@ | ||||
| # Changelog | ||||
|  | ||||
| ## 2025-01-29 - 2.2.3 - fix(mod_assets) | ||||
| Fix issue with asset directory copy | ||||
|  | ||||
| - Updated dependency '@push.rocks/smartfile' to version '^11.2.0' | ||||
| - Ensure target directory is properly replaced when copying assets | ||||
|  | ||||
| ## 2025-01-29 - 2.2.2 - fix(dependencies) | ||||
| Update smartfile dependency and fix spacing issue in assets module | ||||
|  | ||||
|   | ||||
| @@ -26,7 +26,7 @@ | ||||
|     "@push.rocks/early": "^4.0.4", | ||||
|     "@push.rocks/smartcli": "^4.0.11", | ||||
|     "@push.rocks/smartdelay": "^3.0.5", | ||||
|     "@push.rocks/smartfile": "^11.1.8", | ||||
|     "@push.rocks/smartfile": "^11.2.0", | ||||
|     "@push.rocks/smartlog": "^3.0.7", | ||||
|     "@push.rocks/smartlog-destination-local": "^9.0.2", | ||||
|     "@push.rocks/smartpath": "^5.0.18", | ||||
|   | ||||
							
								
								
									
										32
									
								
								pnpm-lock.yaml
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										32
									
								
								pnpm-lock.yaml
									
									
									
										generated
									
									
									
								
							| @@ -18,8 +18,8 @@ importers: | ||||
|         specifier: ^3.0.5 | ||||
|         version: 3.0.5 | ||||
|       '@push.rocks/smartfile': | ||||
|         specifier: ^11.1.8 | ||||
|         version: 11.1.8 | ||||
|         specifier: ^11.2.0 | ||||
|         version: 11.2.0 | ||||
|       '@push.rocks/smartlog': | ||||
|         specifier: ^3.0.7 | ||||
|         version: 3.0.7 | ||||
| @@ -777,8 +777,8 @@ packages: | ||||
|   '@push.rocks/smartfile@10.0.41': | ||||
|     resolution: {integrity: sha512-xOOy0duI34M2qrJZggpk51EHGXmg9+mBL1Q55tNiQKXzfx89P3coY1EAZG8tvmep3qB712QEKe7T+u04t42Kjg==} | ||||
|  | ||||
|   '@push.rocks/smartfile@11.1.8': | ||||
|     resolution: {integrity: sha512-bTaP5W3/tymX/9qqld8ENrBh9ssRc/ZPnYysKh8nAEYGMA5zrFgT2rMNRfY0BSK4IGXdlgbCplzE9eaiNRST4g==} | ||||
|   '@push.rocks/smartfile@11.2.0': | ||||
|     resolution: {integrity: sha512-0Gw6DvCQ2D/BXNN6airSC7hoSBut0p/uNWf2+rqO+D6VLhIJ/QUBvF6xm/LnpPI/zcF8YlDn/GEriInB5DUtEw==} | ||||
|  | ||||
|   '@push.rocks/smartguard@3.1.0': | ||||
|     resolution: {integrity: sha512-J23q84f1O+TwFGmd4lrO9XLHUh2DaLXo9PN/9VmTWYzTkQDv5JehmifXVI0esophXcCIfbdIu6hbt7/aHlDF4A==} | ||||
| @@ -4236,7 +4236,7 @@ snapshots: | ||||
|       '@push.rocks/smartdelay': 3.0.5 | ||||
|       '@push.rocks/smartenv': 5.0.12 | ||||
|       '@push.rocks/smartfeed': 1.0.11 | ||||
|       '@push.rocks/smartfile': 11.1.8 | ||||
|       '@push.rocks/smartfile': 11.2.0 | ||||
|       '@push.rocks/smartjson': 5.0.20 | ||||
|       '@push.rocks/smartlog': 3.0.7 | ||||
|       '@push.rocks/smartlog-destination-devtools': 1.0.12 | ||||
| @@ -5041,7 +5041,7 @@ snapshots: | ||||
|       '@push.rocks/early': 4.0.4 | ||||
|       '@push.rocks/smartcli': 4.0.11 | ||||
|       '@push.rocks/smartdelay': 3.0.5 | ||||
|       '@push.rocks/smartfile': 11.1.8 | ||||
|       '@push.rocks/smartfile': 11.2.0 | ||||
|       '@push.rocks/smartlog': 3.0.7 | ||||
|       '@push.rocks/smartpath': 5.0.18 | ||||
|       '@push.rocks/smartpromise': 4.2.2 | ||||
| @@ -5054,7 +5054,7 @@ snapshots: | ||||
|       '@push.rocks/early': 4.0.4 | ||||
|       '@push.rocks/smartcli': 4.0.11 | ||||
|       '@push.rocks/smartdelay': 3.0.5 | ||||
|       '@push.rocks/smartfile': 11.1.8 | ||||
|       '@push.rocks/smartfile': 11.2.0 | ||||
|       '@push.rocks/smartlog': 3.0.7 | ||||
|       '@push.rocks/smartlog-destination-local': 9.0.2 | ||||
|       '@push.rocks/smartpath': 5.0.18 | ||||
| @@ -5071,7 +5071,7 @@ snapshots: | ||||
|     dependencies: | ||||
|       '@push.rocks/smartcli': 4.0.11 | ||||
|       '@push.rocks/smartdelay': 3.0.5 | ||||
|       '@push.rocks/smartfile': 11.1.8 | ||||
|       '@push.rocks/smartfile': 11.2.0 | ||||
|       '@push.rocks/smartlog': 3.0.7 | ||||
|       '@push.rocks/smartnpm': 2.0.4 | ||||
|       '@push.rocks/smartpath': 5.0.18 | ||||
| @@ -5082,7 +5082,7 @@ snapshots: | ||||
|  | ||||
|   '@git.zone/tsrun@1.3.3': | ||||
|     dependencies: | ||||
|       '@push.rocks/smartfile': 11.1.8 | ||||
|       '@push.rocks/smartfile': 11.2.0 | ||||
|       '@push.rocks/smartshell': 3.2.2 | ||||
|       tsx: 4.19.2 | ||||
|  | ||||
| @@ -5094,7 +5094,7 @@ snapshots: | ||||
|       '@push.rocks/consolecolor': 2.0.2 | ||||
|       '@push.rocks/smartbrowser': 2.0.8 | ||||
|       '@push.rocks/smartdelay': 3.0.5 | ||||
|       '@push.rocks/smartfile': 11.1.8 | ||||
|       '@push.rocks/smartfile': 11.2.0 | ||||
|       '@push.rocks/smartlog': 3.0.7 | ||||
|       '@push.rocks/smartpromise': 4.2.2 | ||||
|       '@push.rocks/smartshell': 3.2.2 | ||||
| @@ -5286,7 +5286,7 @@ snapshots: | ||||
|       '@push.rocks/smartcache': 1.0.16 | ||||
|       '@push.rocks/smartenv': 5.0.12 | ||||
|       '@push.rocks/smartexit': 1.0.23 | ||||
|       '@push.rocks/smartfile': 11.1.8 | ||||
|       '@push.rocks/smartfile': 11.2.0 | ||||
|       '@push.rocks/smartjson': 5.0.20 | ||||
|       '@push.rocks/smartpath': 5.0.18 | ||||
|       '@push.rocks/smartpromise': 4.2.2 | ||||
| @@ -5324,7 +5324,7 @@ snapshots: | ||||
|     dependencies: | ||||
|       '@api.global/typedrequest': 3.1.10 | ||||
|       '@configvault.io/interfaces': 1.0.17 | ||||
|       '@push.rocks/smartfile': 11.1.8 | ||||
|       '@push.rocks/smartfile': 11.2.0 | ||||
|       '@push.rocks/smartlog': 3.0.7 | ||||
|       '@push.rocks/smartpath': 5.0.18 | ||||
|  | ||||
| @@ -5476,7 +5476,7 @@ snapshots: | ||||
|       glob: 10.4.5 | ||||
|       js-yaml: 4.1.0 | ||||
|  | ||||
|   '@push.rocks/smartfile@11.1.8': | ||||
|   '@push.rocks/smartfile@11.2.0': | ||||
|     dependencies: | ||||
|       '@push.rocks/lik': 6.1.0 | ||||
|       '@push.rocks/smartdelay': 3.0.5 | ||||
| @@ -5633,7 +5633,7 @@ snapshots: | ||||
|     dependencies: | ||||
|       '@push.rocks/smartbuffer': 3.0.4 | ||||
|       '@push.rocks/smartdelay': 3.0.5 | ||||
|       '@push.rocks/smartfile': 11.1.8 | ||||
|       '@push.rocks/smartfile': 11.2.0 | ||||
|       '@push.rocks/smartnetwork': 3.0.2 | ||||
|       '@push.rocks/smartpath': 5.0.18 | ||||
|       '@push.rocks/smartpromise': 4.2.2 | ||||
| @@ -5686,7 +5686,7 @@ snapshots: | ||||
|   '@push.rocks/smarts3@2.2.5': | ||||
|     dependencies: | ||||
|       '@push.rocks/smartbucket': 3.3.7 | ||||
|       '@push.rocks/smartfile': 11.1.8 | ||||
|       '@push.rocks/smartfile': 11.2.0 | ||||
|       '@push.rocks/smartpath': 5.0.18 | ||||
|       '@tsclass/tsclass': 4.4.0 | ||||
|       '@types/s3rver': 3.7.4 | ||||
| @@ -5833,7 +5833,7 @@ snapshots: | ||||
|       '@push.rocks/smartdelay': 3.0.5 | ||||
|       '@push.rocks/smartenv': 5.0.12 | ||||
|       '@push.rocks/smartexpect': 1.4.0 | ||||
|       '@push.rocks/smartfile': 11.1.8 | ||||
|       '@push.rocks/smartfile': 11.2.0 | ||||
|       '@push.rocks/smartjson': 5.0.20 | ||||
|       '@push.rocks/smartmongo': 2.0.10(@aws-sdk/credential-providers@3.734.0)(socks@2.8.3) | ||||
|       '@push.rocks/smartpath': 5.0.18 | ||||
|   | ||||
| @@ -3,6 +3,6 @@ | ||||
|  */ | ||||
| export const commitinfo = { | ||||
|   name: '@git.zone/tsbundle', | ||||
|   version: '2.2.2', | ||||
|   version: '2.2.3', | ||||
|   description: 'a bundler using rollup for painless bundling of web projects' | ||||
| } | ||||
|   | ||||
| @@ -32,7 +32,9 @@ export class AssetsHandler { | ||||
|  | ||||
|     // lets clean theh target directory | ||||
|     plugins.smartfile.fs.ensureEmptyDir(optionsArg.to); | ||||
|      | ||||
|     plugins.smartfile.fs.copySync(optionsArg.from, optionsArg.to); | ||||
|  | ||||
|     plugins.smartfile.fs.copySync(optionsArg.from, optionsArg.to, { | ||||
|       replaceTargetDir: true, | ||||
|     }); | ||||
|   } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user