mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
dont use rspack as part of test-packages since it only affects app code
This commit is contained in:
@@ -66,7 +66,6 @@ const {
|
||||
isMeteorAppDebug,
|
||||
isMeteorAppConfigModernVerbose,
|
||||
isMeteorAppNative,
|
||||
isMeteorBundleVisualizerProject,
|
||||
} = require('meteor/tools-core/lib/meteor');
|
||||
|
||||
const {
|
||||
|
||||
@@ -163,8 +163,7 @@ export function isMeteorAppBuild() {
|
||||
* @returns {boolean} True if the current command is 'test', false otherwise.
|
||||
*/
|
||||
export function isMeteorAppTest() {
|
||||
return Package?.meteor?.global?.currentCommand?.name === 'test'
|
||||
|| Package?.meteor?.global?.currentCommand?.name === 'test-packages';
|
||||
return Package?.meteor?.global?.currentCommand?.name === 'test';
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -404,3 +403,11 @@ export function isMeteorScssProject() {
|
||||
export function isMeteorBundleVisualizerProject() {
|
||||
return getMeteorAppPackages().includes('bundle-visualizer');
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if the current Meteor command is 'test-packages'.
|
||||
* @returns {boolean} True if the current command is 'test-packages', false otherwise.
|
||||
*/
|
||||
export function isMeteorPackagesTest() {
|
||||
return Package?.meteor?.global?.currentCommand?.name === 'test-packages';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user