@format.dev/client 0.0.0 → 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/package.json CHANGED
@@ -1,35 +1,74 @@
1
1
  {
2
- "name": "@format.dev/client",
3
- "version": "0.0.0",
4
- "description": "A bootstrap placeholder reserving this package name. Format is not released yet.",
5
- "license": "MIT",
6
- "repository": {
7
- "type": "git",
8
- "url": "git+https://github.com/format-hq/format-js.git",
9
- "directory": "packages/client"
10
- },
11
- "homepage": "https://format.dev",
12
- "files": [
13
- "LICENSE",
14
- "README.md",
15
- "index.d.ts",
16
- "index.js"
17
- ],
18
- "type": "module",
19
- "main": "./index.js",
20
- "types": "./index.d.ts",
21
- "exports": {
22
- ".": {
23
- "types": "./index.d.ts",
24
- "default": "./index.js"
25
- }
26
- },
27
- "engines": {
28
- "node": ">=18.17.0"
29
- },
30
- "publishConfig": {
31
- "access": "public",
32
- "tag": "bootstrap",
33
- "registry": "https://registry.npmjs.org/"
34
- }
35
- }
2
+ "name": "@format.dev/client",
3
+ "version": "0.1.0",
4
+ "license": "MIT",
5
+ "description": "The JavaScript client for the Format API.",
6
+ "author": "the format.dev developers",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/format-hq/format-js.git",
10
+ "directory": "packages/client"
11
+ },
12
+ "type": "module",
13
+ "main": "./dist/index.cjs",
14
+ "module": "./dist/index.mjs",
15
+ "types": "./dist/index.d.mts",
16
+ "exports": {
17
+ ".": {
18
+ "browser": {
19
+ "types": {
20
+ "import": "./dist/web.d.mts",
21
+ "require": "./dist/web.d.cts"
22
+ },
23
+ "import": "./dist/web.mjs",
24
+ "require": "./dist/web.cjs",
25
+ "default": "./dist/web.mjs"
26
+ },
27
+ "types": {
28
+ "import": "./dist/index.d.mts",
29
+ "require": "./dist/index.d.cts"
30
+ },
31
+ "import": "./dist/index.mjs",
32
+ "require": "./dist/index.cjs",
33
+ "default": "./dist/index.mjs"
34
+ },
35
+ "./web": {
36
+ "types": {
37
+ "import": "./dist/web.d.mts",
38
+ "require": "./dist/web.d.cts"
39
+ },
40
+ "import": "./dist/web.mjs",
41
+ "require": "./dist/web.cjs",
42
+ "default": "./dist/web.mjs"
43
+ }
44
+ },
45
+ "files": [
46
+ "dist",
47
+ "LICENSE"
48
+ ],
49
+ "publishConfig": {
50
+ "access": "public"
51
+ },
52
+ "sideEffects": false,
53
+ "dependencies": {
54
+ "form-data-encoder": "^4.1.0",
55
+ "formdata-node": "^6.0.3",
56
+ "is-stream": "^4.0.1",
57
+ "@format.dev/types": "0.1.0"
58
+ },
59
+ "devDependencies": {
60
+ "@types/node": "^24.2.1",
61
+ "rimraf": "^6.0.1",
62
+ "tsdown": "0.17.0-beta.6",
63
+ "typescript": "^5"
64
+ },
65
+ "engines": {
66
+ "node": ">=18.17.0"
67
+ },
68
+ "scripts": {
69
+ "clean": "rimraf dist",
70
+ "build": "tsdown",
71
+ "dev": "tsdown --watch",
72
+ "typecheck": "tsc -p tsconfig.json --noEmit && tsc -p tsconfig.web.json --noEmit"
73
+ }
74
+ }
package/index.d.ts DELETED
@@ -1,2 +0,0 @@
1
- // This is a bootstrap placeholder. Format is not released yet.
2
- export {}
package/index.js DELETED
@@ -1,3 +0,0 @@
1
- // This is a bootstrap placeholder. Format is not released yet, and this version
2
- // carries no implementation. See README.md.
3
- export {}