Skip to content

Commit 628b64a

Browse files
committed
chore: scope packages under username
1 parent db0f416 commit 628b64a

File tree

8 files changed

+22
-22
lines changed

8 files changed

+22
-22
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
This repository aims to provide convenience tools for validating TopoJSON data.
44

55
In this monorepo:
6-
- `topojson-tests`: A set of valid/invalid TopoJSON test cases
7-
- `topojson-schema`: JSON Schemas for TopoJSON
8-
- `topojson-valibot`: Valibot schemas for TopoJSON
6+
- `@sruenwg/topojson-tests`: A set of valid/invalid TopoJSON test cases
7+
- `@sruenwg/topojson-schema`: JSON Schemas for TopoJSON
8+
- `@sruenwg/topojson-valibot`: Valibot schemas for TopoJSON
99

1010
All definitions and test cases in this project are intended to reflect the [official TopoJSON specification](https://github.com/topojson/topojson-specification) as much as possible.
1111
Where the specification is unclear, as a general principle, this project tries to err on the side of being permissive rather than falsely flag errors.

bun.lock

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,29 +5,29 @@
55
"name": "topojson-validation",
66
},
77
"packages/topojson-schema": {
8-
"name": "topojson-schema",
8+
"name": "@sruenwg/topojson-schema",
99
"version": "0.1.0",
1010
"devDependencies": {
1111
"@exodus/schemasafe": "^1.3.0",
12+
"@sruenwg/topojson-tests": "workspace:*",
1213
"@types/bun": "^1.2.8",
1314
"bun": "^1.2.8",
14-
"topojson-tests": "workspace:*",
1515
"typescript": "^5.8.2",
1616
"vitest": "^3.0.9",
1717
},
1818
},
1919
"packages/topojson-tests": {
20-
"name": "topojson-tests",
20+
"name": "@sruenwg/topojson-tests",
2121
"version": "0.1.0",
2222
},
2323
"packages/topojson-valibot": {
24-
"name": "topojson-valibot",
24+
"name": "@sruenwg/topojson-valibot",
2525
"version": "0.1.0",
2626
"dependencies": {
2727
"valibot": "^1.0.0",
2828
},
2929
"devDependencies": {
30-
"topojson-tests": "workspace:*",
30+
"@sruenwg/topojson-tests": "workspace:*",
3131
"typescript": "^5.8.2",
3232
"vitest": "^3.0.9",
3333
},
@@ -150,6 +150,12 @@
150150

151151
"@rollup/rollup-win32-x64-msvc": ["@rollup/[email protected]", "", { "os": "win32", "cpu": "x64" }, "sha512-LWbXUBwn/bcLx2sSsqy7pK5o+Nr+VCoRoAohfJ5C/aBio9nfJmGQqHAhU6pwxV/RmyTk5AqdySma7uwWGlmeuA=="],
152152

153+
"@sruenwg/topojson-schema": ["@sruenwg/topojson-schema@workspace:packages/topojson-schema"],
154+
155+
"@sruenwg/topojson-tests": ["@sruenwg/topojson-tests@workspace:packages/topojson-tests"],
156+
157+
"@sruenwg/topojson-valibot": ["@sruenwg/topojson-valibot@workspace:packages/topojson-valibot"],
158+
153159
"@types/bun": ["@types/[email protected]", "", { "dependencies": { "bun-types": "1.2.7" } }, "sha512-t8L1RvJVUghW5V+M/fL3Thbxcs0HwNsXsnTEBEfEVqGteiJToOlZ/fyOEaR1kZsNqnu+3XA4RI/qmnX4w6+S+w=="],
154160

155161
"@types/estree": ["@types/[email protected]", "", {}, "sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw=="],
@@ -234,12 +240,6 @@
234240

235241
"tinyspy": ["[email protected]", "", {}, "sha512-n1cw8k1k0x4pgA2+9XrOkFydTerNcJ1zWCO5Nn9scWHTD+5tp8dghT2x1uduQePZTZgd3Tupf+x9BxJjeJi77Q=="],
236242

237-
"topojson-schema": ["topojson-schema@workspace:packages/topojson-schema"],
238-
239-
"topojson-tests": ["topojson-tests@workspace:packages/topojson-tests"],
240-
241-
"topojson-valibot": ["topojson-valibot@workspace:packages/topojson-valibot"],
242-
243243
"typescript": ["[email protected]", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-aJn6wq13/afZp/jT9QZmwEjDqqvSGp1VT5GVg+f/t6/oVyrgXM6BY1h9BRh/O5p3PlUPAe+WuiEZOmb/49RqoQ=="],
244244

245245
"undici-types": ["[email protected]", "", {}, "sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg=="],

packages/topojson-schema/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "topojson-schema",
2+
"name": "@sruenwg/topojson-schema",
33
"private": true,
44
"version": "0.1.0",
55
"type": "module",
@@ -17,7 +17,7 @@
1717
"@exodus/schemasafe": "^1.3.0",
1818
"@types/bun": "^1.2.8",
1919
"bun": "^1.2.8",
20-
"topojson-tests": "workspace:*",
20+
"@sruenwg/topojson-tests": "workspace:*",
2121
"typescript": "^5.8.2",
2222
"vitest": "^3.0.9"
2323
}

packages/topojson-schema/test/schemas.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { validator } from '@exodus/schemasafe';
22
// @ts-expect-error
3-
import * as jsons from 'topojson-tests';
3+
import * as jsons from '@sruenwg/topojson-tests';
44
import { describe, expect, it } from 'vitest';
55
import type { Json } from '../src/types';
66

packages/topojson-tests/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Tests for some of the more complex TopoJSON requirements are not included (yet),
2222
The intended use is for these tests to help check the correctness of a validator implementation.
2323

2424
```ts
25-
import * as tests from 'topojson-tests';
25+
import * as tests from '@sruenwg/topojson-tests';
2626

2727
for (const validTopology of Object.values(tests.valid.topology)) {
2828
const isTopology = myTopologyValidator.parse(validTopology);

packages/topojson-tests/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "topojson-tests",
2+
"name": "@sruenwg/topojson-tests",
33
"private": true,
44
"version": "0.1.0",
55
"type": "module",

packages/topojson-valibot/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "topojson-valibot",
2+
"name": "@sruenwg/topojson-valibot",
33
"private": true,
44
"version": "0.1.0",
55
"type": "module",
@@ -16,7 +16,7 @@
1616
"valibot": "^1.0.0"
1717
},
1818
"devDependencies": {
19-
"topojson-tests": "workspace:*",
19+
"@sruenwg/topojson-tests": "workspace:*",
2020
"typescript": "^5.8.2",
2121
"vitest": "^3.0.9"
2222
}

packages/topojson-valibot/test/schemas.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as jsons from 'topojson-tests';
1+
import * as jsons from '@sruenwg/topojson-tests';
22
import * as v from 'valibot';
33
import { describe, expect, it } from 'vitest';
44
import {

0 commit comments

Comments
 (0)