Commit Graph

39683 Commits

Author SHA1 Message Date
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
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
Nacho Codoñer
2eee978295 ensure meteor modern is disabled for legacy build stack test 2025-05-07 17:18:35 +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
3cbeccb9e7 re-run checks 2025-05-07 14:46:35 +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
e16440ceb5 Update 3.3.0.md 2025-05-07 05:57:24 +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
344423ab6e Revert "test modern build stack as part of windows"
This reverts commit 58f7c78682.
2025-05-06 18:30:49 +02:00
Nacho Codoñer
58f7c78682 test modern build stack as part of windows 2025-05-06 18:10:43 +02:00
Nacho Codoñer
71a7bfe29a change the legacy test name to run it on CI in a different group 2025-05-06 17:38:40 +02:00
Nacho Codoñer
6f18044ad4 Merge branch 'devel' into release-3.3 2025-05-06 17:22:55 +02:00
Nacho Codoñer
10d2232886 test custom .swcrc with component and raw files 2025-05-06 17:20:38 +02:00
Nacho Codoñer
8afbc06b52 test custom .swcrc and aliases 2025-05-06 16:58:45 +02:00
Nacho Codoñer
452f6c01e3 test custom .swcrc and aliases 2025-05-06 16:55:17 +02:00
Nacho Codoñer
e2ed9426f2 test debug scenario on legacy and modern build stack 2025-05-06 16:25:06 +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
195cb927e0 Merge pull request #13728 from meteor/package-development-context
New envs for package development
2025-05-06 16:08:22 +02:00
Nacho Codoñer
117988bf42 Merge pull request #13730 from meteor/swc-resolve-swc-baseUrl
SWC resolves custom base url properly
2025-05-06 13:56:42 +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
c957ae5e66 refactor 2025-05-05 16:23:57 +02:00
Nacho Codoñer
a286d1cca1 adjust waitToStart 2025-05-05 15:05:58 +02:00
Nacho Codoñer
ef72206ab1 add self-test for the modern build stack 2025-05-05 12:31:33 +02:00
Nacho Codoñer
1c72a49417 Merge branch 'devel' into release-3.3 2025-05-05 08:05:41 +02:00
Nacho Codoñer
2dfcde49f5 add METEOR_CORDOVA_DISABLE env 2025-05-03 09:07:20 +02:00
Nacho Codoñer
7c189700d5 add METEOR_FORCE_INCLUDE_ARCHS and METEOR_FORCE_EXCLUDE_ARCHS envs to custom handling 2025-05-03 08:53:22 +02:00
Nacho Codoñer
ca65e01cac add currentCommand context 2025-05-03 08:42:22 +02:00
Gabriel Grubba
b155192b39 Merge pull request #13722 from Sufhal/fix/documentation-typo
chore: fixed a typo on paragraph 2.
2025-05-01 10:10:10 -03:00
Nacho Codoñer
8e4c2648ec Merge branch 'release-3.3' into force-modern-ci 2025-05-01 07:59:59 +02:00
Nacho Codoñer
56746f1fe7 Merge pull request #13719 from meteor/modern-watcher-config
Support modern watcher config
2025-05-01 07:46:13 +02:00
Nacho Codoñer
5f27268495 Merge pull request #13718 from meteor/modern-config
Refactor modern config at package.json
2025-05-01 07:45:46 +02:00
Sufhal
e08b44ebd4 chore: fixed a typo on paragraph 2. 2025-05-01 00:11:02 +02:00
Nacho Codoñer
c1f063aafc Merge branch 'modern-watcher-config' into force-modern-ci 2025-04-30 18:15:23 +02:00
Nacho Codoñer
f0a747d595 fix tests 2025-04-30 18:15:10 +02:00
Nacho Codoñer
0c878098a6 Merge branch 'modern-watcher-config' into force-modern-ci 2025-04-30 17:22:59 +02:00
Nacho Codoñer
4d0398be1e Merge branch 'modern-config' into modern-watcher-config
# Conflicts:
#	tools/cli/commands.js
2025-04-30 17:22:34 +02:00
Nacho Codoñer
56e74492d0 fix tests 2025-04-30 17:22:03 +02:00
Nacho Codoñer
3585ec6ed1 use meteor modern across other CI tests 2025-04-30 16:45:42 +02: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
15c9d56fff Merge branch 'modern-config' into modern-watcher-config 2025-04-30 16:42:33 +02:00