@lonely-school-vibes/stub-two 0.0.0-claim → 0.1.0

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.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Lonely School Vibes
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,53 @@
1
- # @lonely-school-vibes/stub-two
1
+ # Stub TypeScript SDK
2
2
 
3
- This version holds nothing. It claims the name, so https://github.com/lonely-school-vibes/stub-sdk-typescript-two can publish every version after it.
3
+ TypeScript SDK for the Stub API.
4
+
5
+ ## Installation
6
+
7
+ Install the SDK from npm. It needs Node.js 20.19 or later.
8
+
9
+ ```sh
10
+ npm install @lonely-school-vibes/stub-two
11
+ ```
12
+
13
+ <details>
14
+ <summary>Other package managers</summary>
15
+
16
+ ```sh
17
+ pnpm add @lonely-school-vibes/stub-two
18
+ ```
19
+
20
+ ```sh
21
+ yarn add @lonely-school-vibes/stub-two
22
+ ```
23
+
24
+ ```sh
25
+ bun add @lonely-school-vibes/stub-two
26
+ ```
27
+
28
+ ```sh
29
+ deno add npm:@lonely-school-vibes/stub-two
30
+ ```
31
+
32
+ ```sh
33
+ nub add @lonely-school-vibes/stub-two
34
+ ```
35
+
36
+ ```sh
37
+ vlt install @lonely-school-vibes/stub-two
38
+ ```
39
+
40
+ ```sh
41
+ aube add @lonely-school-vibes/stub-two
42
+ ```
43
+
44
+ </details>
45
+
46
+ ## Requirements
47
+
48
+ - Node.js 20.19 or later
49
+ - TypeScript 6 or later, for its types
50
+
51
+ ## License
52
+
53
+ MIT. See [LICENSE](LICENSE).
@@ -0,0 +1,7 @@
1
+ //#region src/types.d.ts
2
+ type Stub = {
3
+ id?: string;
4
+ };
5
+ //#endregion
6
+ export type { Stub };
7
+ //# sourceMappingURL=index.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.mts","names":[],"sources":["../src/types.ts"],"mappings":";KAAY;EACV"}
package/dist/index.mjs ADDED
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,11 +1,49 @@
1
1
  {
2
- "description": "Holds this name for lonely-school-vibes/stub-sdk-typescript-two, which publishes every version after this one.",
3
2
  "name": "@lonely-school-vibes/stub-two",
3
+ "version": "0.1.0",
4
+ "description": "TypeScript SDK for the Stub API",
5
+ "keywords": [
6
+ "api",
7
+ "client",
8
+ "lonely-school-vibes",
9
+ "sdk",
10
+ "stub-two",
11
+ "typescript"
12
+ ],
13
+ "bugs": {
14
+ "url": "https://github.com/lonely-school-vibes/stub-sdk-typescript-two/issues"
15
+ },
16
+ "license": "MIT",
4
17
  "repository": {
5
18
  "type": "git",
6
19
  "url": "git+https://github.com/lonely-school-vibes/stub-sdk-typescript-two.git"
7
20
  },
8
- "version": "0.0.0-claim",
21
+ "type": "module",
22
+ "sideEffects": false,
23
+ "exports": {
24
+ ".": {
25
+ "types": "./dist/index.d.mts",
26
+ "default": "./dist/index.mjs"
27
+ },
28
+ "./package.json": "./package.json"
29
+ },
30
+ "types": "./dist/index.d.mts",
31
+ "files": [
32
+ "dist",
33
+ "src"
34
+ ],
35
+ "scripts": {
36
+ "build": "tsdown",
37
+ "prepack": "tsdown",
38
+ "typecheck": "tsc --noEmit"
39
+ },
40
+ "devDependencies": {
41
+ "tsdown": "^0.22.14",
42
+ "typescript": "^6.0.0 || ^7.0.0"
43
+ },
44
+ "engines": {
45
+ "node": ">=20.19.0"
46
+ },
9
47
  "publishConfig": {
10
48
  "access": "public"
11
49
  }
package/src/index.ts ADDED
@@ -0,0 +1 @@
1
+ export type { Stub } from './types';
package/src/types.ts ADDED
@@ -0,0 +1,3 @@
1
+ export type Stub = {
2
+ id?: string;
3
+ };