delacour 0.1.0-alpha.2 → 0.1.0-alpha.3

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/dist/index.js +7 -7
  2. package/package.json +2 -3
package/dist/index.js CHANGED
@@ -9416,8 +9416,8 @@ const EXPO_RUNNER = {
9416
9416
  /**
9417
9417
  * Packages whose `latest` deliberately points at nothing.
9418
9418
  *
9419
- * This repository is in Changesets pre mode, so `delacour-react-native-charts` publishes to
9420
- * the `alpha` dist-tag and `latest` is empty — a bare `bun add delacour-react-native-charts`
9419
+ * This repository is in Changesets pre mode, so `@delacour/charts` publishes to
9420
+ * the `alpha` dist-tag and `latest` is empty — a bare `bun add @delacour/charts`
9421
9421
  * fails outright. It has never bitten because no registry item had ever depended
9422
9422
  * on a Delacour package until `chart`.
9423
9423
  *
@@ -9427,7 +9427,7 @@ const EXPO_RUNNER = {
9427
9427
  *
9428
9428
  * Delete this map when `changeset pre exit` runs — see the root AGENTS.md.
9429
9429
  */
9430
- const DIST_TAG = { "delacour-react-native-charts": "alpha" };
9430
+ const DIST_TAG = { "@delacour/charts": "alpha" };
9431
9431
  /** A package name with its pinned dist-tag, where it has one. */
9432
9432
  function toSpec(name) {
9433
9433
  const tag = DIST_TAG[name];
@@ -9437,7 +9437,7 @@ function toSpec(name) {
9437
9437
  * The range a shared package declares for a peer it does not pin.
9438
9438
  *
9439
9439
  * `*` is the usual answer, and it is wrong for a package still in pre mode:
9440
- * semver's `*` admits no prerelease, so a peer on `delacour-react-native-charts` written as
9440
+ * semver's `*` admits no prerelease, so a peer on `@delacour/charts` written as
9441
9441
  * `*` matches nothing `0.0.1-alpha.N` can ever satisfy. Bun then treats the
9442
9442
  * peer as unmet and goes to the registry for a version that does not exist —
9443
9443
  * which is how `add` failed inside `expo install`, a step that never named
@@ -9943,13 +9943,13 @@ const DEFAULT_REGISTRY_URL = "https://raw.githubusercontent.com/delacournz/delac
9943
9943
  * Replaced at build time with the git tag being published (see `tsdown.config.ts`).
9944
9944
  * `main` in a working tree, where there is no tag yet.
9945
9945
  */
9946
- const DEFAULT_REGISTRY_REF = "10f3730f22e550ce8327ff388dacf6191975fda8";
9946
+ const DEFAULT_REGISTRY_REF = "219b585261d1406c0e7b609638986b6573d76d64";
9947
9947
  const RAW_GITHUB = "https://raw.githubusercontent.com";
9948
9948
  const GITHUB_SHORTHAND = /^github:([^/#]+)\/([^/#]+)(?:#(.+))?$/;
9949
9949
  /** `https://raw.githubusercontent.com/owner/repo` and nothing more. */
9950
9950
  const BARE_RAW_REPO = new RegExp(`^${RAW_GITHUB}/([^/]+)/([^/]+)$`);
9951
9951
  function resolveRegistrySource(options) {
9952
- const ref = options.ref || "10f3730f22e550ce8327ff388dacf6191975fda8";
9952
+ const ref = options.ref || "219b585261d1406c0e7b609638986b6573d76d64";
9953
9953
  const url = options.url?.trim();
9954
9954
  if (!url) return remote(`${DEFAULT_REGISTRY_URL}/${ref}`);
9955
9955
  const shorthand = GITHUB_SHORTHAND.exec(url);
@@ -28467,7 +28467,7 @@ function report(result, output) {
28467
28467
  }
28468
28468
  //#endregion
28469
28469
  //#region src/index.ts
28470
- const program = new Command().name("delacour").description("Add React Native components to your Expo app. You own the code.").version("0.1.0-alpha.2");
28470
+ const program = new Command().name("delacour").description("Add React Native components to your Expo app. You own the code.").version("0.1.0-alpha.3");
28471
28471
  /** Shared by every command that reads the registry. */
28472
28472
  function withRegistryOptions(command) {
28473
28473
  return command.addOption(new Option("--registry <url>", "registry to read from: a URL, github:owner/repo, or a local path")).addOption(new Option("--ref <ref>", "git ref to read the registry at").default(DEFAULT_REGISTRY_REF)).addOption(new Option("--offline", "use only what is already cached")).addOption(new Option("-c, --cwd <path>", "directory to work in").default(process.cwd()));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "delacour",
3
- "version": "0.1.0-alpha.2",
3
+ "version": "0.1.0-alpha.3",
4
4
  "description": "Add React Native components to your Expo app. You own the code.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -18,8 +18,7 @@
18
18
  "tailwind"
19
19
  ],
20
20
  "publishConfig": {
21
- "access": "public",
22
- "tag": "alpha"
21
+ "access": "public"
23
22
  },
24
23
  "bin": {
25
24
  "delacour": "./dist/index.js"