Commit Graph

39725 Commits

Author SHA1 Message Date
Nacho Codoñer
e81b8b5c6b Merge pull request #13715 from meteor/perf/swc-minifier-core
MinifierJS - Using SWC from zodern's package
2025-05-15 09:25:05 +02:00
Nacho Codoñer
6cb499102d Merge pull request #13755 from meteor/dev-bundle-22.15.1.0
Node 22.15.1
2025-05-15 09:18:12 +02:00
Nacho Codoñer
70abfd1ffa Merge pull request #13744 from meteor/fix-3.3-app-adaption
Broader app modernization support
2025-05-15 08:30:37 +02:00
Nacho Codoñer
afa6f07f20 re-run checks 2025-05-15 08:04:36 +02:00
Nacho Codoñer
1b4cb98edc re-run checks 2025-05-15 08:03:53 +02:00
Nacho Codoñer
bed8188720 update Node 22.15.1 2025-05-15 07:56:56 +02:00
italo jose
4d0b1718ae refactor: simplify error handling in expectEqual function 2025-05-14 15:33:47 -03:00
italo jose
2ef3861cd1 refactor: enhance debug logging and improve minification logic in MeteorMinifier 2025-05-14 15:13:38 -03:00
Nacho Codoñer
08001799b4 add missing buildCommand options 2025-05-14 17:25:53 +02:00
Nacho Codoñer
ff53723576 Update modern-transpiler-swc.md 2025-05-14 15:52:30 +02:00
Nacho Codoñer
34bf4c1dea Update modern-transpiler-swc.md 2025-05-14 15:51:09 +02:00
Nacho Codoñer
decada77f9 Update modern-transpiler-swc.md 2025-05-14 15:48:21 +02:00
Nacho Codoñer
db13cf2710 Merge branch 'devel' into release-3.3 2025-05-14 15:24:40 +02:00
Gabriel Grubba
539bf68c99 Merge pull request #13749 from meteor/ci/work-on-meteor-profile-ci
DEV: add a different check for workflow
2025-05-14 10:19:11 -03:00
Nacho Codoñer
5324f41443 add more SWC migration topics on the section 2025-05-14 15:18:59 +02:00
Gabriel Grubba
ff1661bec8 DEV: playing with if statment 2025-05-14 10:18:30 -03:00
Gabriel Grubba
94f7b8dd44 DEV: update check to not use github variables 2025-05-14 10:16:07 -03:00
Gabriel Grubba
22e5458a2e DEV: add a different check for workfloww 2025-05-14 10:11:47 -03:00
Gabriel Grubba
e778ec9d2e Merge pull request #13748 from meteor/ci/work-on-meteor-profile-ci
CI: test where the profiler is ran
2025-05-14 10:10:53 -03:00
Gabriel Grubba
becb0d8bc4 DEV: add logs to check if the assertion is correct 2025-05-14 10:09:16 -03:00
Gabriel Grubba
bc99f0f5f1 DEV: adding value example to the profiler 2025-05-14 10:04:29 -03:00
Gabriel Grubba
e79988113a CI: test where the profiler is ran 2025-05-14 10:01:15 -03:00
Nacho Codoñer
3f3fc5e368 Merge branch 'devel' into release-3.3 2025-05-14 14:58:45 +02:00
Gabriel Grubba
860d37cfa3 Merge pull request #13747 from meteor/Grubba27-patch-4
Create run-profiler.yml
2025-05-14 09:54:10 -03:00
Gabriel Grubba
b907c40f32 Update run-profiler.yml 2025-05-14 09:53:42 -03:00
Gabriel Grubba
52ee9188bc Update run-profiler.yml 2025-05-14 09:48:28 -03:00
Gabriel Grubba
54359ff861 Create run-profiler.yml 2025-05-14 09:46:34 -03:00
Nacho Codoñer
fd04f1473e clean 2025-05-14 10:57:23 +02:00
Nacho Codoñer
1b293c26db ensure get meteor config only returns proper filtered config 2025-05-14 10:55:30 +02:00
Nacho Codoñer
2bf3b1300c ensure get meteor config only returns proper filtered config 2025-05-14 10:50:35 +02:00
Nacho Codoñer
fb400271df Merge branch 'devel' into release-3.3 2025-05-13 08:22:13 +02:00
Gabriel Grubba
2892718148 Update README.md with version 2025-05-12 19:15:05 -03:00
Gabriel Grubba
242be2e3c8 Update 3.2.2.md typo 2025-05-12 19:10:50 -03:00
Gabriel Grubba
cf1dfc2713 Merge pull request #13742 from meteor/release-3.2.2
Release 3.2.2
2025-05-12 19:09:42 -03:00
Gabriel Grubba
9cc04e1d40 DOCS: run generators 2025-05-12 19:03:01 -03:00
italo jose
6fa42d4b4c refactor: improve minification methods and enhance code clarity
- Removed outdated comments and replaced them with clear English descriptions for better understanding.
- Refactored the minification methods to utilize Profile for performance tracking.
- Adjusted the handling of the 'unused' option in Terser to ensure it aligns with intended behavior.
- Enhanced error handling in the minification process to provide clearer feedback on failures.
- Overall improvements contribute to a more maintainable and understandable codebase.
2025-05-12 14:59:15 -03:00
italo jose
0a81115f79 chore: remove minifier tests and update package configuration
- Deleted the minifier-tests.js file as it is no longer needed.
- Updated package.js to remove references to the deleted test file, streamlining the package configuration.
- This change helps maintain a cleaner codebase by eliminating obsolete test files.
2025-05-12 14:41:57 -03:00
Nacho Codoñer
00b5e825f8 Merge pull request #13738 from meteor/fix-linter
Fix linter issue triggering full server refreshes for client-only entrypoint
2025-05-12 17:13:48 +02:00
italo jose
6ebf87e393 test: add unit tests for standard-minifier-js functionality 2025-05-12 10:31:23 -03:00
Nacho Codoñer
b46dc52bc8 fix an issue on linter making trigger client-only files as full server refreshes 2025-05-12 11:47:53 +02:00
italo jose
cb6bb11911 refactor: improve package.json retrieval and update minification logic
- Changed the method of retrieving the Meteor project's package.json to use the current working directory.
- Updated the minification logic to only proceed with Terser if the modernTranspiler configuration is explicitly set to false.
- Added a new import for the 'fs' module to facilitate file reading.
- Enhanced code clarity and maintainability with these adjustments.
2025-05-09 13:30:35 -03:00
italo jose
64c7514187 feat: enhance minification process with configuration retrieval and SWC integration
- Added a function to read the Meteor project's package.json for configuration settings.
- Updated the minifier to utilize the new SWC integration, replacing the previous dependency.
- Introduced a constructor in the MeteorMinifier class to store configuration for use during minification.
- Added TODO comments for future enhancements regarding file skipping and build option checks.
2025-05-09 13:30:35 -03:00
italo jose
0bd0fabd4c lint try catch 2025-05-09 13:30:35 -03:00
italo jose
d27218e71b fix: correct summary typo and update npm dependency in standard-minifier-js package
- Fixed a typo in the package summary, changing 'inspered' to 'Inspired'.
- Updated the npm dependency from 'meteor-package-install-swc' to '@meteorjs/swc-core' for better clarity and alignment with current naming conventions.
2025-05-09 13:30:35 -03:00
italo jose
f713d672f4 feat: update standard-minifier-js to version 3.1.0 with SWC integration and new CombinedFile class
- Bumped version to 3.1.0 and updated summary to reflect SWC inspiration.
- Added CombinedFile class for improved handling of minified code and source maps.
- Integrated SWC for JavaScript minification, with Terser as a fallback.
- Enhanced README with credits for SWC and Terser contributions.
- Updated npm dependencies to include 'meteor-package-install-swc', 'acorn', and '@babel/parser'.
2025-05-09 13:30:35 -03:00
Nacho Codoñer
e0281932f4 Merge pull request #13720 from meteor/force-modern-ci
Force modern bundler on CI
2025-05-08 16:15:22 +02:00
Nacho Codoñer
b10a403e25 ensure meteor modern tests ignore METEOR_MODERN 2025-05-07 19:52:16 +02:00
Nacho Codoñer
741b504d4f ensure meteor modules test for legacy and modern (avoid an app with a babel-specific plugin) 2025-05-07 18:27:15 +02:00
Nacho Codoñer
d2954ffa9d ensure meteor mode disabled webArchOnly on necessary 2025-05-07 18:16:41 +02:00
Nacho Codoñer
84f8cc74a5 ensure meteor modern is disabled for legacy build stack test 2025-05-07 18:10:42 +02:00