dsh-whale-link 0.0.1

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 (3) hide show
  1. package/README.md +33 -0
  2. package/index.js +18 -0
  3. package/package.json +21 -0
package/README.md ADDED
@@ -0,0 +1,33 @@
1
+ # dsh-whale-link
2
+
3
+ **Name reservation package.** This package currently exists only to reserve the
4
+ `dsh-whale-link` name on npm.
5
+
6
+ ## Status
7
+
8
+ | | |
9
+ |---|---|
10
+ | Implementation | ❌ not here — the working plugin is [`dsh-web-remote`](../web-remote) |
11
+ | Installable | ❌ not yet — `index.js` deliberately throws |
12
+ | Purpose | reserve the branded name so it can be used later |
13
+
14
+ ## Background
15
+
16
+ The remote-access plugin is published as **`dsh-web-remote`** (a descriptive
17
+ name). **`dsh-whale-link`** is the branded name for the same product. Both
18
+ names should be kept available and published together in the future, so this
19
+ placeholder reserves the name before someone else takes it.
20
+
21
+ ## Options under discussion
22
+
23
+ Once the loading strategy is settled, this package will become one of:
24
+
25
+ - **(a) Thin wrapper** — keep the implementation in `dsh-web-remote` and have
26
+ this package re-export it (`export * from "dsh-web-remote"` plus its own
27
+ `cordis.patch.yml`). No duplicated code; recommended.
28
+ - **(b) Full package** — move the implementation here.
29
+
30
+ ## Do not install yet
31
+
32
+ `dsh plugin add dsh-whale-link` will fail until one of the options above is
33
+ implemented. Use `dsh-web-remote` in the meantime.
package/index.js ADDED
@@ -0,0 +1,18 @@
1
+ /**
2
+ * dsh-whale-link — name reservation package.
3
+ *
4
+ * This package currently reserves the npm name only; the implementation has
5
+ * NOT been moved here yet. The working plugin lives in `dsh-web-remote`
6
+ * (packages/web-remote), and both names refer to the same product.
7
+ *
8
+ * The loading strategy for this name is still under discussion:
9
+ * (a) re-export the implementation from `dsh-web-remote` (thin wrapper), or
10
+ * (b) carry the implementation itself.
11
+ * Until that is decided, this module intentionally throws so that any accidental
12
+ * `dsh plugin add dsh-whale-link` fails loudly instead of silently doing nothing.
13
+ */
14
+
15
+ throw new Error(
16
+ "dsh-whale-link is a name-reservation package and is not installable yet. " +
17
+ "Use `dsh-web-remote` for now."
18
+ );
package/package.json ADDED
@@ -0,0 +1,21 @@
1
+ {
2
+ "name": "dsh-whale-link",
3
+ "version": "0.0.1",
4
+ "description": "WhaleLink branded name for the DSH remote-access plugin (name reservation; implementation pending)",
5
+ "license": "MIT",
6
+ "type": "module",
7
+ "main": "index.js",
8
+ "exports": {
9
+ ".": {
10
+ "default": "./index.js"
11
+ },
12
+ "./package.json": "./package.json"
13
+ },
14
+ "files": [
15
+ "index.js",
16
+ "README.md"
17
+ ],
18
+ "engines": {
19
+ "node": ">=22"
20
+ }
21
+ }