@react-native-reusables/cli 0.5.0-alpha.1 → 0.5.0-beta.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.
Files changed (2) hide show
  1. package/bin.cjs +17 -17
  2. package/package.json +1 -1
package/bin.cjs CHANGED
@@ -57242,14 +57242,14 @@ var FILE_CHECKS = [
57242
57242
  {
57243
57243
  content: ["inlineRem", "16"],
57244
57244
  message: "The inlineRem is missing",
57245
- docs: "https://www.reactnativereusables.com/docs/installation/manual#update-the-default-inlined-rem-value"
57245
+ docs: "https://reactnativereusables.com/docs/installation/manual#update-the-default-inlined-rem-value"
57246
57246
  }
57247
57247
  ]
57248
57248
  },
57249
57249
  {
57250
57250
  name: "Root Layout",
57251
57251
  fileNames: ["app/_layout.tsx", "src/app/_layout.tsx"],
57252
- docs: "hhttps://www.reactnativereusables.com/docs/installation/manual#add-the-portal-host-to-your-root-layout",
57252
+ docs: "hhttps://reactnativereusables.com/docs/installation/manual#add-the-portal-host-to-your-root-layout",
57253
57253
  //
57254
57254
  includes: [
57255
57255
  {
@@ -57260,7 +57260,7 @@ var FILE_CHECKS = [
57260
57260
  {
57261
57261
  content: ["<PortalHost"],
57262
57262
  message: "The PortalHost component is missing",
57263
- docs: "https://www.reactnativereusables.com/docs/installation/manual#add-the-portal-host-to-your-root-layout"
57263
+ docs: "https://reactnativereusables.com/docs/installation/manual#add-the-portal-host-to-your-root-layout"
57264
57264
  }
57265
57265
  ]
57266
57266
  }
@@ -57273,7 +57273,7 @@ var DEPRECATED_FROM_LIB = [
57273
57273
  {
57274
57274
  content: ["iconWithClassName"],
57275
57275
  message: "lib/icons and its contents are deprecated. Use the new icon wrapper from components/ui/icon.",
57276
- docs: "https://www.reactnativereusables.com/docs/changelog#august-2025-deprecated"
57276
+ docs: "https://reactnativereusables.com/docs/changelog#august-2025-deprecated"
57277
57277
  }
57278
57278
  ]
57279
57279
  },
@@ -57284,7 +57284,7 @@ var DEPRECATED_FROM_LIB = [
57284
57284
  {
57285
57285
  content: ["NAV_THEME"],
57286
57286
  message: "Usage of lib/constants for NAV_THEME is deprecated. Use lib/theme instead.",
57287
- docs: "https://www.reactnativereusables.com/docs/installation/manual#configure-your-styles"
57287
+ docs: "https://reactnativereusables.com/docs/installation/manual#configure-your-styles"
57288
57288
  }
57289
57289
  ]
57290
57290
  },
@@ -57320,7 +57320,7 @@ var DEPRECATED_FROM_UI = [
57320
57320
  "function Muted({"
57321
57321
  ],
57322
57322
  message: "Typography is deprecated. Instead, use the Text component with its variant prop (e.g. <Text variant='h1'>Title</Text>)",
57323
- docs: "https://www.reactnativereusables.com/docs/components/text#typography"
57323
+ docs: "https://reactnativereusables.com/docs/components/text#typography"
57324
57324
  }
57325
57325
  ]
57326
57326
  }
@@ -57344,7 +57344,7 @@ var CUSTOM_FILE_CHECKS = {
57344
57344
  tailwindConfig: {
57345
57345
  name: "Tailwind Config",
57346
57346
  defaultFileNames: ["tailwind.config.js", "tailwind.config.ts"],
57347
- docs: "https://www.reactnativereusables.com/docs/installation/manual#configure-your-styles",
57347
+ docs: "https://reactnativereusables.com/docs/installation/manual#configure-your-styles",
57348
57348
  includes: [
57349
57349
  {
57350
57350
  content: ["nativewind/preset"],
@@ -57354,24 +57354,24 @@ var CUSTOM_FILE_CHECKS = {
57354
57354
  {
57355
57355
  content: CSS_VARIABLE_NAMES,
57356
57356
  message: "At least one of the color css variables is missing",
57357
- docs: "https://www.reactnativereusables.com/docs/installation/manual#configure-your-styles"
57357
+ docs: "https://reactnativereusables.com/docs/installation/manual#configure-your-styles"
57358
57358
  }
57359
57359
  ]
57360
57360
  },
57361
57361
  theme: {
57362
57362
  name: "Theme",
57363
57363
  defaultFileNames: ["lib/theme.ts"],
57364
- docs: "https://www.reactnativereusables.com/docs/installation/manual#configure-your-styles",
57364
+ docs: "https://reactnativereusables.com/docs/installation/manual#configure-your-styles",
57365
57365
  includes: [
57366
57366
  {
57367
57367
  content: CSS_VARIABLE_NAMES,
57368
57368
  message: "At least one of the color variables is missing",
57369
- docs: "https://www.reactnativereusables.com/docs/installation/manual#configure-your-styles"
57369
+ docs: "https://reactnativereusables.com/docs/installation/manual#configure-your-styles"
57370
57370
  },
57371
57371
  {
57372
57372
  content: ["NAV_THEME"],
57373
57373
  message: "The NAV_THEME is missing",
57374
- docs: "https://www.reactnativereusables.com/docs/installation/manual#configure-your-styles"
57374
+ docs: "https://reactnativereusables.com/docs/installation/manual#configure-your-styles"
57375
57375
  }
57376
57376
  ]
57377
57377
  },
@@ -57389,29 +57389,29 @@ var CUSTOM_FILE_CHECKS = {
57389
57389
  utils: {
57390
57390
  name: "Utils",
57391
57391
  defaultFileNames: ["lib/utils.ts"],
57392
- docs: "https://www.reactnativereusables.com/docs/installation/manual#add-a-cn-helper",
57392
+ docs: "https://reactnativereusables.com/docs/installation/manual#add-a-cn-helper",
57393
57393
  includes: [
57394
57394
  {
57395
57395
  content: ["function cn("],
57396
57396
  message: "The cn function is missing",
57397
- docs: "https://www.reactnativereusables.com/docs/installation/manual#add-a-cn-helper"
57397
+ docs: "https://reactnativereusables.com/docs/installation/manual#add-a-cn-helper"
57398
57398
  }
57399
57399
  ]
57400
57400
  },
57401
57401
  css: {
57402
57402
  name: "CSS",
57403
57403
  defaultFileNames: ["globals.css", "src/global.css"],
57404
- docs: "https://www.reactnativereusables.com/docs/installation/manual#configure-your-styles",
57404
+ docs: "https://reactnativereusables.com/docs/installation/manual#configure-your-styles",
57405
57405
  includes: [
57406
57406
  {
57407
57407
  content: ["@tailwind base", "@tailwind components", "@tailwind utilities"],
57408
57408
  message: "The tailwind layer directives are missing",
57409
- docs: "https://www.reactnativereusables.com/docs/installation/manual#configure-your-styles"
57409
+ docs: "https://reactnativereusables.com/docs/installation/manual#configure-your-styles"
57410
57410
  },
57411
57411
  {
57412
57412
  content: CSS_VARIABLE_NAMES,
57413
57413
  message: "At least one of the color css variables is missing",
57414
- docs: "https://www.reactnativereusables.com/docs/installation/manual#configure-your-styles"
57414
+ docs: "https://reactnativereusables.com/docs/installation/manual#configure-your-styles"
57415
57415
  }
57416
57416
  ]
57417
57417
  }
@@ -60171,7 +60171,7 @@ var Add = class extends Effect_exports.Service()("Add", {
60171
60171
  yield* Effect_exports.fail(new Error("No components selected."));
60172
60172
  }
60173
60173
  yield* Effect_exports.logDebug(`Selected components: ${components.join(", ")}`);
60174
- const baseUrl = process.env.NODE_ENV === "development" ? "http://localhost:3000/local/r" : "https://www.reactnativereusables.com/r";
60174
+ const baseUrl = process.env.NODE_ENV === "development" ? "http://localhost:3000/local/r" : "https://reactnativereusables.com/r";
60175
60175
  const componentUrls = components.map((component) => `${baseUrl}/${style}/${component}.json`);
60176
60176
  const shadcnOptions = toShadcnOptions(options3);
60177
60177
  const commandArgs = ["shadcn@latest", "add", ...shadcnOptions, ...componentUrls];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-native-reusables/cli",
3
- "version": "0.5.0-alpha.1",
3
+ "version": "0.5.0-beta.2",
4
4
  "type": "module",
5
5
  "description": "A CLI for React Native Reusables",
6
6
  "main": "bin.cjs",