@rs-x/cli 2.0.0-next.18 → 2.0.0-next.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/rsx.cjs
CHANGED
|
@@ -3088,10 +3088,6 @@ function runSetupReact(flags) {
|
|
|
3088
3088
|
const pm = detectPackageManager(flags.pm);
|
|
3089
3089
|
const tag = resolveInstallTag(flags);
|
|
3090
3090
|
const projectRoot = process.cwd();
|
|
3091
|
-
const angularTsConfigPath = resolveAngularProjectTsConfig(projectRoot);
|
|
3092
|
-
const angularTsConfigRelative = path
|
|
3093
|
-
.relative(projectRoot, angularTsConfigPath)
|
|
3094
|
-
.replace(/\\/gu, '/');
|
|
3095
3091
|
const packageJsonPath = path.join(projectRoot, 'package.json');
|
|
3096
3092
|
if (!fs.existsSync(packageJsonPath)) {
|
|
3097
3093
|
logError(`package.json not found in ${projectRoot}`);
|
|
@@ -3176,6 +3172,10 @@ function runSetupAngular(flags) {
|
|
|
3176
3172
|
const pm = detectPackageManager(flags.pm);
|
|
3177
3173
|
const tag = resolveInstallTag(flags);
|
|
3178
3174
|
const projectRoot = process.cwd();
|
|
3175
|
+
const angularTsConfigPath = resolveAngularProjectTsConfig(projectRoot);
|
|
3176
|
+
const angularTsConfigRelative = path
|
|
3177
|
+
.relative(projectRoot, angularTsConfigPath)
|
|
3178
|
+
.replace(/\\/gu, '/');
|
|
3179
3179
|
|
|
3180
3180
|
if (!Boolean(flags['skip-install'])) {
|
|
3181
3181
|
installRuntimePackages(pm, dryRun, tag);
|
|
@@ -4192,6 +4192,7 @@ function printTypecheckHelp() {
|
|
|
4192
4192
|
function printVersionHelp() {
|
|
4193
4193
|
console.log('Usage:');
|
|
4194
4194
|
console.log(' rsx version');
|
|
4195
|
+
console.log(' rsx v');
|
|
4195
4196
|
console.log(' rsx -v');
|
|
4196
4197
|
console.log(' rsx -version');
|
|
4197
4198
|
console.log(' rsx --version');
|
|
@@ -4203,6 +4204,7 @@ function isHelpToken(value) {
|
|
|
4203
4204
|
|
|
4204
4205
|
function isVersionToken(value) {
|
|
4205
4206
|
return (
|
|
4207
|
+
value === 'v' ||
|
|
4206
4208
|
value === '-v' ||
|
|
4207
4209
|
value === '--version' ||
|
|
4208
4210
|
value === '-version' ||
|
|
@@ -4263,6 +4265,7 @@ function printHelpFor(command, target) {
|
|
|
4263
4265
|
}
|
|
4264
4266
|
|
|
4265
4267
|
if (
|
|
4268
|
+
command === 'v' ||
|
|
4266
4269
|
command === 'version' ||
|
|
4267
4270
|
command === '-v' ||
|
|
4268
4271
|
command === '--version' ||
|
package/package.json
CHANGED
package/{rs-x-vscode-extension-2.0.0-next.18.vsix → rs-x-vscode-extension-2.0.0-next.19.vsix}
RENAMED
|
index 6f1fa29..9dbb8e0 100644
|
|
|
Binary file
|