Commit Graph

14564 Commits

Author SHA1 Message Date
Nacho Codoñer
2b540c7d5d refactor verbose mode check to a helper 2025-05-27 14:48:53 +02:00
Nacho Codoñer
1602adf2b3 clean 2025-05-27 13:55:59 +02:00
Nacho Codoñer
e39d66bb5e implement swc compiler plugin and add test coverage 2025-05-26 22:36:06 +02:00
Nacho Codoñer
7e0f051472 ensure to resolve the baseUrl properly on setup 2025-05-26 19:46:03 +02:00
Nacho Codoñer
e6ba85150d Revert "Revert "advance swc-config by file level""
This reverts commit b98d15c52f.
2025-05-26 18:30:56 +02:00
Nacho Codoñer
7dfb09bd5c Revert "Revert "refactor extend babel options""
This reverts commit 1fd8c98b22.
2025-05-26 18:30:53 +02:00
Nacho Codoñer
1fd8c98b22 Revert "refactor extend babel options"
This reverts commit d983e791e1.
2025-05-26 18:30:12 +02:00
Nacho Codoñer
b98d15c52f Revert "advance swc-config by file level"
This reverts commit 05f76baa8c.
2025-05-26 18:30:10 +02:00
Nacho Codoñer
05f76baa8c advance swc-config by file level 2025-05-26 18:26:23 +02:00
Nacho Codoñer
d983e791e1 refactor extend babel options 2025-05-26 16:16:58 +02:00
Nacho Codoñer
7e4b42dbf3 Merge pull request #13761 from meteor/swc-dynamic-config
Support swc.config.js file for dynamic config
2025-05-23 15:09:21 +02:00
Nacho Codoñer
5a02996189 bump packages to prepare for next release 2025-05-23 14:56:58 +02:00
Nacho Codoñer
95877da516 support swc.config.js file for dynamic config 2025-05-19 17:04:00 +02:00
italo jose
4576e6938a Meteor version to 3.3-beta.1 ☄️ 2025-05-15 10:45:15 -03:00
Nacho Codoñer
bdf7cb014c bump swc-core to latest 2025-05-15 09:41:08 +02:00
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
italo jose
2ef3861cd1 refactor: enhance debug logging and improve minification logic in MeteorMinifier 2025-05-14 15:13:38 -03:00
Nacho Codoñer
fb400271df Merge branch 'devel' into release-3.3 2025-05-13 08:22:13 +02: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
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
italo jose
6ebf87e393 test: add unit tests for standard-minifier-js functionality 2025-05-12 10:31:23 -03: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
d2954ffa9d ensure meteor mode disabled webArchOnly on necessary 2025-05-07 18:16:41 +02:00
Nacho Codoñer
97eed052a8 Merge branch 'release-3.3' into force-modern-ci 2025-05-07 17:12:22 +02:00
Nacho Codoñer
86fc826b93 Revert "Bump mongodb dependency to version 6.16.0 in npm-mongo package (#13710)"
This reverts commit 43af635d1b.
2025-05-07 14:20:23 +02:00
Nacho Codoñer
40445a37a8 Merge pull request #13729 from meteor/modern-legacy-selftests
Test coverage for modern build stack config
2025-05-06 20:17:43 +02:00
Nacho Codoñer
6f18044ad4 Merge branch 'devel' into release-3.3 2025-05-06 17:22:55 +02:00
Nacho Codoñer
67a7cbe23f Merge branch 'release-3.3' into modern-legacy-selftests 2025-05-06 16:08:55 +02:00
Nacho Codoñer
03080cfb23 resolve custom baseUrl to an absolute path pointing to the project root 2025-05-05 16:32:21 +02:00
Faris
5dbb7e86a1 corrected the return type and added an example (#13724) 2025-05-05 11:27:16 -03:00
Nacho Codoñer
ef72206ab1 add self-test for the modern build stack 2025-05-05 12:31:33 +02:00
italo jose
fdc3c89b87 Meteor version to 3.2.2 ☄️ 2025-05-02 13:40:03 -03:00
italo jose
46047a455c Meteor version to 3.2.1 ☄️ 2025-05-02 13:36:05 -03:00
Italo José
f7ea6817b9 Refactor IP address parsing on Webapp (#13721)
* Implement improvements to 'x-forwarded-for' header parsing in DDP server

- Enhanced the handling of comma-separated values in Session._clientAddress.
- Added explicit trimming of IP addresses using a map function.
- Updated validation to ensure an exact match for httpForwardedCount.
- Bumped package version from 3.1.0 to 3.1.1.
- Created a changelog to document these changes.

* changelog
2025-05-02 13:03:52 -03:00
Nacho Codoñer
23c5f9a1b1 Merge branch 'modern-watcher-config' into force-modern-ci
# Conflicts:
#	packages/babel-compiler/babel-compiler.js
2025-04-30 16:43:16 +02:00
Nacho Codoñer
9682b60f6a fix tests 2025-04-30 16:41:52 +02:00
Nacho Codoñer
22828c3ee7 Merge branch 'release-3.3' into modern-config 2025-04-30 15:59:09 +02:00
Nacho Codoñer
24af25a78a Merge pull request #13717 from meteor/swc-debug-source-maps
Support filename references in sourcemaps during SWC transpilation
2025-04-30 15:54:54 +02:00
Nacho Codoñer
b922a71fc0 clean 2025-04-30 15:50:42 +02:00
Nacho Codoñer
8a2d74bef1 clean 2025-04-30 15:49:30 +02:00
Nacho Codoñer
a00a34fcc9 force CI to pass tests using modern bundler 2025-04-30 15:11:59 +02:00
Nacho Codoñer
2fee467d6c fix normalization 2025-04-30 13:36:04 +02:00
Nacho Codoñer
df576c6604 normalize properly the modern config to ensure defaults even on scenarios of partial configs 2025-04-30 13:15:34 +02:00
Nacho Codoñer
4a232d10ef enable proper transpiler config 2025-04-30 12:51:54 +02:00
Nacho Codoñer
88306046f4 ensure proper modern transpiler compilation 2025-04-30 12:46:11 +02:00