Skip to content

Commit 9c95eb0

Browse files
committed
feat!: upgrade to size-limit v8
1 parent f0a1b32 commit 9c95eb0

File tree

7 files changed

+2627
-3727
lines changed

7 files changed

+2627
-3727
lines changed

.codesandbox/ci.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"node": "16",
3-
"installCommand": "codesanbox:install",
3+
"installCommand": "codesandbox:install",
44
"sandboxes": []
55
}

.github/FUNDING.yml

Lines changed: 0 additions & 11 deletions
This file was deleted.

package.json

Lines changed: 18 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"build:r": "r -f cjs",
1717
"build:tsc": "tsc -b",
1818
"clean": "rimraf 'packages/**/{lib,*.tsbuildinfo}'",
19-
"codesanbox:install": "npx [email protected] i",
19+
"codesandbox:install": "npx [email protected] i",
2020
"dev": "w -e docs --disableDotRule --publicPath /",
2121
"lint": "run-p lint:*",
2222
"lint:es": "eslint . --cache -f friendly",
@@ -33,27 +33,27 @@
3333
"version": "changeset version"
3434
},
3535
"devDependencies": {
36-
"@1stg/app-config": "^6.1.2",
37-
"@1stg/lib-config": "^8.1.1",
38-
"@changesets/changelog-github": "^0.4.5",
39-
"@changesets/cli": "^2.23.2",
40-
"@pkgr/webpack": "^3.1.2",
41-
"@pkgr/webpack-mdx": "^2.0.3",
36+
"@1stg/app-config": "^7.3.0",
37+
"@1stg/lib-config": "^10.3.0",
38+
"@changesets/changelog-github": "^0.4.6",
39+
"@changesets/cli": "^2.24.4",
40+
"@pkgr/webpack": "^3.4.0",
41+
"@pkgr/webpack-mdx": "^2.2.0",
4242
"@types/nanoid": "^3.0.0",
43-
"@types/node": "^18.0.4",
44-
"@types/react": "^18.0.15",
43+
"@types/node": "^18.7.18",
44+
"@types/react": "^18.0.20",
4545
"@types/react-dom": "^18.0.6",
46-
"@types/web": "^0.0.69",
46+
"@types/web": "^0.0.73",
4747
"github-markdown-css": "^5.1.0",
4848
"react": "^18.2.0",
4949
"react-dom": "^18.2.0",
50-
"react-router-dom": "^6.3.0",
50+
"react-router-dom": "^6.4.0",
5151
"sirv-cli": "^2.0.2",
52-
"size-limit": "^7.0.8",
52+
"size-limit": "^8.1.0",
5353
"size-limit-node-esbuild": "workspace:*",
5454
"size-limit-preset-node-lib": "workspace:*",
5555
"type-coverage": "^2.22.0",
56-
"typescript": "^4.7.4"
56+
"typescript": "^4.8.3"
5757
},
5858
"resolutions": {
5959
"prettier": "^2.7.1"
@@ -75,15 +75,10 @@
7575
"/pnpm-lock.yaml",
7676
"!/.*.cjs"
7777
],
78-
"pnpm": {
79-
"patchedDependencies": {
80-
81-
}
82-
},
8378
"prettier": "@1stg/prettier-config",
8479
"remarkConfig": {
8580
"plugins": [
86-
"@1stg/remark-config"
81+
"@1stg/preset"
8782
]
8883
},
8984
"renovate": {
@@ -93,10 +88,12 @@
9388
},
9489
"size-limit": [
9590
{
96-
"path": "./packages/node-esbuild/lib/index.js"
91+
"path": "./packages/node-esbuild/lib/index.js",
92+
"limit": "500B"
9793
},
9894
{
99-
"path": "./packages/preset-node-lib/lib/index.js"
95+
"path": "./packages/preset-node-lib/lib/index.js",
96+
"limit": "150B"
10097
}
10198
],
10299
"stylelint": {

packages/node-esbuild/package.json

Lines changed: 1 addition & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -6,37 +6,6 @@
66
"repository": "git+https://github.com/un-ts/size-limit.git",
77
"homepage": "https://github.com/un-ts/size-limit/blob/main/packages/node-esbuild",
88
"author": "JounQin (https://www.1stG.me) <[email protected]>",
9-
"donate": {
10-
"recipients": [
11-
{
12-
"name": "unts",
13-
"platform": "opencollective",
14-
"address": "https://opencollective.com/unts",
15-
"weight": 60
16-
},
17-
{
18-
"name": "rxts",
19-
"platform": "opencollective",
20-
"address": "https://opencollective.com/rxts",
21-
"weight": 20
22-
},
23-
{
24-
"name": "1stG",
25-
"email": "[email protected]",
26-
"weight": 20,
27-
"platforms": [
28-
{
29-
"platform": "opencollective",
30-
"address": "https://opencollective.com/1stG"
31-
},
32-
{
33-
"platform": "patreon",
34-
"address": "https://www.patreon.com/1stG"
35-
}
36-
]
37-
}
38-
]
39-
},
409
"funding": "https://opencollective.com/unts",
4110
"license": "MIT",
4211
"engines": {
@@ -55,7 +24,7 @@
5524
"shim.d.ts"
5625
],
5726
"dependencies": {
58-
"@size-limit/esbuild": "^7.0.8",
27+
"@size-limit/esbuild": "^8.1.0",
5928
"nanoid": "^3.2.0",
6029
"tslib": "^2.4.0"
6130
},

packages/preset-node-lib/package.json

Lines changed: 1 addition & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -6,37 +6,6 @@
66
"repository": "git+https://github.com/un-ts/size-limit.git",
77
"homepage": "https://github.com/un-ts/size-limit/blob/main/packages/preset-node-lib",
88
"author": "JounQin (https://www.1stG.me) <[email protected]>",
9-
"donate": {
10-
"recipients": [
11-
{
12-
"name": "unts",
13-
"platform": "opencollective",
14-
"address": "https://opencollective.com/unts",
15-
"weight": 60
16-
},
17-
{
18-
"name": "rxts",
19-
"platform": "opencollective",
20-
"address": "https://opencollective.com/rxts",
21-
"weight": 20
22-
},
23-
{
24-
"name": "1stG",
25-
"email": "[email protected]",
26-
"weight": 20,
27-
"platforms": [
28-
{
29-
"platform": "opencollective",
30-
"address": "https://opencollective.com/1stG"
31-
},
32-
{
33-
"platform": "patreon",
34-
"address": "https://www.patreon.com/1stG"
35-
}
36-
]
37-
}
38-
]
39-
},
409
"funding": "https://opencollective.com/unts",
4110
"license": "MIT",
4211
"engines": {
@@ -55,7 +24,7 @@
5524
"shim.d.ts"
5625
],
5726
"dependencies": {
58-
"@size-limit/file": "^7.0.8",
27+
"@size-limit/file": "^8.1.0",
5928
"size-limit-node-esbuild": "^0.1.0",
6029
"tslib": "^2.4.0"
6130
},

patches/[email protected]

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)