create-vidra-app 0.1.1 → 0.1.2

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/dist/cli.js CHANGED
@@ -723,7 +723,7 @@ var formatExecError2 = (error) => {
723
723
  };
724
724
 
725
725
  // src/cli.ts
726
- var VERSION3 = "0.1.1";
726
+ var VERSION3 = "0.1.2";
727
727
  var printHelp = () => {
728
728
  console.log(`
729
729
  ${chalk5.bold("vidra")} ${chalk5.dim(`v${VERSION3}`)}
package/dist/index.js CHANGED
@@ -177,7 +177,7 @@ var main = async () => {
177
177
  console.log();
178
178
  const isMonorepo = fs2.existsSync(path2.join(LOCAL_SDK_DIR, "package.json"));
179
179
  const localFeedExists = isMonorepo && fs2.existsSync(LOCAL_FEED_DIR);
180
- const localFeedPath = localFeedExists ? toTextPath(LOCAL_FEED_DIR) : "";
180
+ const localFeedSource = localFeedExists ? ` <add key="vidra-local" value="${toTextPath(LOCAL_FEED_DIR)}" />` : "";
181
181
  const cliRef = isMonorepo ? `file:${toTextPath(LOCAL_CLI_DIR)}` : `^${VIDRA_VERSION}`;
182
182
  const sdkRef = isMonorepo ? `file:${toTextPath(LOCAL_SDK_DIR)}` : `^${SDK_VERSION}`;
183
183
  const replacements = {
@@ -189,7 +189,7 @@ var main = async () => {
189
189
  "{{cliVersion}}": cliRef,
190
190
  "{{vidraVersion}}": VIDRA_VERSION,
191
191
  "{{sdkVersion}}": sdkRef,
192
- "{{localFeedPath}}": localFeedPath
192
+ "{{localFeedSource}}": localFeedSource
193
193
  };
194
194
  const templateDir = path2.join(TEMPLATES_DIR, "react-vite");
195
195
  await scaffoldDir(templateDir, root, replacements);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-vidra-app",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Scaffold a new Vidra application (React + .NET MAUI)",
5
5
  "type": "module",
6
6
  "bin": {
@@ -3,6 +3,6 @@
3
3
  <packageSources>
4
4
  <clear />
5
5
  <add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
6
- <add key="vidra-local" value="{{localFeedPath}}" />
6
+ {{localFeedSource}}
7
7
  </packageSources>
8
8
  </configuration>