Skip to content

Commit d726ba8

Browse files
committed
Scope npm package under tabslabs
1 parent 69c238b commit d726ba8

5 files changed

Lines changed: 9 additions & 9 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The intended user flow is:
1515
Public install target:
1616

1717
```bash
18-
pnpx forksync init
18+
pnpx @tabslabs/forksync init
1919
```
2020

2121
Current repo-local dogfood flow:

docs/release/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ The action verifies release downloads against a sibling `.sha256` file when avai
2121

2222
## npm launcher
2323

24-
The npm package name is `forksync`.
24+
The npm package name is `@tabslabs/forksync`.
2525

2626
Typical usage:
2727

2828
```bash
29-
pnpx forksync init
29+
pnpx @tabslabs/forksync init
3030
```
3131

3232
The launcher accepts pass-through CLI arguments and wrapper-only overrides:

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "forksync",
3-
"version": "0.1.0",
2+
"name": "@tabslabs/forksync",
3+
"version": "0.1.2",
44
"description": "Git-first fork sync tooling for public and local workflows",
55
"license": "MIT",
66
"repository": {

registry/src/command.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ function normalizeSourceRef(source) {
1010

1111
export function renderBootstrapCommand(sources) {
1212
if (!sources.length) {
13-
return "pnpx forksync init";
13+
return "pnpx @tabslabs/forksync init";
1414
}
1515

1616
const args = sources
1717
.map((source) => `--source '${normalizeSourceRef(source)}'`)
1818
.join(" ");
1919

20-
return `pnpx forksync init ${args}`;
20+
return `pnpx @tabslabs/forksync init ${args}`;
2121
}
2222

2323
export function escapeHtml(value) {

registry/test/command.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ test("renderBootstrapCommand returns a clean init command for multiple sources",
1010

1111
assert.equal(
1212
command,
13-
"pnpx forksync init --source 'github.com/alice/widget#main' --source 'github.com/bob/widget#v2'"
13+
"pnpx @tabslabs/forksync init --source 'github.com/alice/widget#main' --source 'github.com/bob/widget#v2'"
1414
);
1515
});
1616

1717
test("renderBootstrapCommand falls back to a bare init command", () => {
18-
assert.equal(renderBootstrapCommand([]), "pnpx forksync init");
18+
assert.equal(renderBootstrapCommand([]), "pnpx @tabslabs/forksync init");
1919
});

0 commit comments

Comments
 (0)