Skip to content

Commit 649a01b

Browse files
committed
chore: update package.json to add files, sideEffects and size-limit
1 parent 7f5b693 commit 649a01b

5 files changed

Lines changed: 77 additions & 15 deletions

File tree

packages/convert-to-stream/package.json

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,22 @@
11
{
22
"name": "@apimatic/convert-to-stream",
3+
"author": "APIMatic Ltd.",
34
"version": "0.1.8",
5+
"license": "MIT",
46
"description": "converts the content to stream",
7+
"sideEffects": false,
58
"main": "lib/index.js",
69
"module": "lib/index.js",
710
"types": "lib/index.d.ts",
11+
"files": [
12+
"umd",
13+
"lib/**/*.js",
14+
"lib/**/*.d.ts",
15+
"es/**/*.js",
16+
"es/**/*.d.ts",
17+
"src",
18+
"LICENSE.md"
19+
],
820
"engines": {
921
"node": ">=14.15.0 || >=16.0.0"
1022
},
@@ -22,8 +34,12 @@
2234
"check-style": "prettier --check \"{src,test}/**/*.ts\"",
2335
"check-style:fix": "prettier --write \"{src,test}/**/*.ts\""
2436
},
25-
"author": "APIMatic Ltd.",
26-
"license": "ISC",
37+
"size-limit": [
38+
{
39+
"path": "es/index.js",
40+
"limit": "5 KB"
41+
}
42+
],
2743
"devDependencies": {
2844
"@babel/cli": "^7.26.4",
2945
"@babel/core": "^7.26.10",
@@ -49,4 +65,4 @@
4965
"url": "git@github.com:apimatic/apimatic-js-runtime.git",
5066
"directory": "packages/convert-to-stream"
5167
}
52-
}
68+
}

packages/hmac-signature-verifier/package.json

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,22 @@
11
{
22
"name": "@apimatic/hmac-signature-verifier",
3+
"author": "APIMatic Ltd.",
34
"version": "0.1.2",
5+
"license": "MIT",
46
"description": "provides utilities for handling HMAC signature verification",
7+
"sideEffects": false,
58
"main": "lib/index.js",
69
"module": "lib/index.js",
710
"types": "lib/index.d.ts",
11+
"files": [
12+
"umd",
13+
"lib/**/*.js",
14+
"lib/**/*.d.ts",
15+
"es/**/*.js",
16+
"es/**/*.d.ts",
17+
"src",
18+
"LICENSE.md"
19+
],
820
"engines": {
921
"node": ">=14.15.0 || >=16.0.0"
1022
},
@@ -22,8 +34,6 @@
2234
"check-style": "prettier --check \"{src,test}/**/*.ts\"",
2335
"check-style:fix": "prettier --write \"{src,test}/**/*.ts\""
2436
},
25-
"author": "APIMatic Ltd.",
26-
"license": "ISC",
2737
"size-limit": [
2838
{
2939
"path": "es/index.js",
@@ -42,4 +52,4 @@
4252
"url": "git@github.com:apimatic/apimatic-js-runtime.git",
4353
"directory": "packages/hmac-signature-verifier"
4454
}
45-
}
55+
}

packages/pagination/package.json

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,22 @@
11
{
22
"name": "@apimatic/pagination",
3+
"author": "APIMatic Ltd.",
34
"version": "0.1.6",
5+
"license": "MIT",
46
"description": "provides the async utilities for handling paginated API responses.",
7+
"sideEffects": false,
58
"main": "lib/index.js",
69
"module": "lib/index.js",
710
"types": "lib/index.d.ts",
11+
"files": [
12+
"umd",
13+
"lib/**/*.js",
14+
"lib/**/*.d.ts",
15+
"es/**/*.js",
16+
"es/**/*.d.ts",
17+
"src",
18+
"LICENSE.md"
19+
],
820
"engines": {
921
"node": ">=14.15.0 || >=16.0.0"
1022
},
@@ -22,8 +34,6 @@
2234
"check-style": "prettier --check \"{src,test}/**/*.ts\"",
2335
"check-style:fix": "prettier --write \"{src,test}/**/*.ts\""
2436
},
25-
"author": "APIMatic Ltd.",
26-
"license": "ISC",
2737
"size-limit": [
2838
{
2939
"path": "es/index.js",
@@ -41,4 +51,4 @@
4151
"url": "git@github.com:apimatic/apimatic-js-runtime.git",
4252
"directory": "packages/pagination"
4353
}
44-
}
54+
}

packages/proxy/package.json

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,22 @@
11
{
22
"name": "@apimatic/proxy",
3+
"author": "APIMatic Ltd.",
34
"version": "0.1.3",
5+
"license": "MIT",
46
"description": "provides utilities to route requests through a configurable proxy",
7+
"sideEffects": false,
58
"main": "lib/index.js",
69
"module": "lib/index.js",
710
"types": "lib/index.d.ts",
11+
"files": [
12+
"umd",
13+
"lib/**/*.js",
14+
"lib/**/*.d.ts",
15+
"es/**/*.js",
16+
"es/**/*.d.ts",
17+
"src",
18+
"LICENSE.md"
19+
],
820
"engines": {
921
"node": ">=14.15.0 || >=16.0.0"
1022
},
@@ -22,8 +34,12 @@
2234
"check-style": "prettier --check \"{src,test}/**/*.ts\"",
2335
"check-style:fix": "prettier --write \"{src,test}/**/*.ts\""
2436
},
25-
"author": "APIMatic Ltd.",
26-
"license": "ISC",
37+
"size-limit": [
38+
{
39+
"path": "es/index.js",
40+
"limit": "5 KB"
41+
}
42+
],
2743
"browser": {
2844
"./lib/proxyAgent.js": "./lib/proxyAgentBrowser.js"
2945
},
@@ -39,4 +55,4 @@
3955
"url": "git@github.com:apimatic/apimatic-js-runtime.git",
4056
"directory": "packages/proxy"
4157
}
42-
}
58+
}

packages/test-utilities/package.json

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,22 @@
11
{
22
"name": "@apimatic/test-utilities",
3+
"author": "APIMatic Ltd.",
34
"version": "0.1.2",
5+
"license": "MIT",
46
"description": "provides the assertion utilities",
7+
"sideEffects": false,
58
"main": "lib/index.js",
69
"module": "lib/index.js",
710
"types": "lib/index.d.ts",
11+
"files": [
12+
"umd",
13+
"lib/**/*.js",
14+
"lib/**/*.d.ts",
15+
"es/**/*.js",
16+
"es/**/*.d.ts",
17+
"src",
18+
"LICENSE.md"
19+
],
820
"engines": {
921
"node": ">=14.15.0 || >=16.0.0"
1022
},
@@ -22,8 +34,6 @@
2234
"check-style": "prettier --check \"{src,test}/**/*.ts\"",
2335
"check-style:fix": "prettier --write \"{src,test}/**/*.ts\""
2436
},
25-
"author": "APIMatic Ltd.",
26-
"license": "ISC",
2737
"size-limit": [
2838
{
2939
"path": "umd/schema.js",
@@ -64,4 +74,4 @@
6474
"url": "git@github.com:apimatic/apimatic-js-runtime.git",
6575
"directory": "packages/test-utilities"
6676
}
67-
}
77+
}

0 commit comments

Comments
 (0)