@rs-x/cli 2.0.0-next.17 → 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
|
@@ -1826,6 +1826,8 @@ function applyVueDemoStarter(projectRoot, projectName, pm, flags) {
|
|
|
1826
1826
|
|
|
1827
1827
|
const staleVueFiles = [
|
|
1828
1828
|
path.join(projectRoot, 'public'),
|
|
1829
|
+
path.join(projectRoot, 'src/components/HelloWorld.vue'),
|
|
1830
|
+
path.join(projectRoot, 'src/assets'),
|
|
1829
1831
|
];
|
|
1830
1832
|
for (const stalePath of staleVueFiles) {
|
|
1831
1833
|
removeFileOrDirectoryWithDryRun(stalePath, dryRun);
|
|
@@ -3086,10 +3088,6 @@ function runSetupReact(flags) {
|
|
|
3086
3088
|
const pm = detectPackageManager(flags.pm);
|
|
3087
3089
|
const tag = resolveInstallTag(flags);
|
|
3088
3090
|
const projectRoot = process.cwd();
|
|
3089
|
-
const angularTsConfigPath = resolveAngularProjectTsConfig(projectRoot);
|
|
3090
|
-
const angularTsConfigRelative = path
|
|
3091
|
-
.relative(projectRoot, angularTsConfigPath)
|
|
3092
|
-
.replace(/\\/gu, '/');
|
|
3093
3091
|
const packageJsonPath = path.join(projectRoot, 'package.json');
|
|
3094
3092
|
if (!fs.existsSync(packageJsonPath)) {
|
|
3095
3093
|
logError(`package.json not found in ${projectRoot}`);
|
|
@@ -3174,6 +3172,10 @@ function runSetupAngular(flags) {
|
|
|
3174
3172
|
const pm = detectPackageManager(flags.pm);
|
|
3175
3173
|
const tag = resolveInstallTag(flags);
|
|
3176
3174
|
const projectRoot = process.cwd();
|
|
3175
|
+
const angularTsConfigPath = resolveAngularProjectTsConfig(projectRoot);
|
|
3176
|
+
const angularTsConfigRelative = path
|
|
3177
|
+
.relative(projectRoot, angularTsConfigPath)
|
|
3178
|
+
.replace(/\\/gu, '/');
|
|
3177
3179
|
|
|
3178
3180
|
if (!Boolean(flags['skip-install'])) {
|
|
3179
3181
|
installRuntimePackages(pm, dryRun, tag);
|
|
@@ -4190,6 +4192,7 @@ function printTypecheckHelp() {
|
|
|
4190
4192
|
function printVersionHelp() {
|
|
4191
4193
|
console.log('Usage:');
|
|
4192
4194
|
console.log(' rsx version');
|
|
4195
|
+
console.log(' rsx v');
|
|
4193
4196
|
console.log(' rsx -v');
|
|
4194
4197
|
console.log(' rsx -version');
|
|
4195
4198
|
console.log(' rsx --version');
|
|
@@ -4201,6 +4204,7 @@ function isHelpToken(value) {
|
|
|
4201
4204
|
|
|
4202
4205
|
function isVersionToken(value) {
|
|
4203
4206
|
return (
|
|
4207
|
+
value === 'v' ||
|
|
4204
4208
|
value === '-v' ||
|
|
4205
4209
|
value === '--version' ||
|
|
4206
4210
|
value === '-version' ||
|
|
@@ -4261,6 +4265,7 @@ function printHelpFor(command, target) {
|
|
|
4261
4265
|
}
|
|
4262
4266
|
|
|
4263
4267
|
if (
|
|
4268
|
+
command === 'v' ||
|
|
4264
4269
|
command === 'version' ||
|
|
4265
4270
|
command === '-v' ||
|
|
4266
4271
|
command === '--version' ||
|
package/package.json
CHANGED
package/{rs-x-vscode-extension-2.0.0-next.17.vsix → rs-x-vscode-extension-2.0.0-next.19.vsix}
RENAMED
|
index 866e4f3..9dbb8e0 100644
|
|
|
Binary file
|