Skip to content
This repository was archived by the owner on Dec 16, 2022. It is now read-only.

Commit b2ebb3c

Browse files
authored
[WINDOW]: updated build process. (#129)
1 parent fc3eb2b commit b2ebb3c

File tree

5 files changed

+24
-4
lines changed

5 files changed

+24
-4
lines changed

.changeset/wicked-llamas-turn.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@resembli/react-virtualized-window": minor
3+
---
4+
5+
Updated build process to use browserlists.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"bugs": {
1313
"url": "https://github.com/Resembli/ui/issues"
1414
},
15-
"homepage": "https://github.com/Resembli/ui#readme",
15+
"homepage": "https://github.com/Resembli/ui",
1616
"devDependencies": {
1717
"@changesets/changelog-github": "^0.4.2",
1818
"@changesets/cli": "^2.20.0",
@@ -23,6 +23,7 @@
2323
"@types/react": "^17.0.37",
2424
"@typescript-eslint/eslint-plugin": "^5.7.0",
2525
"@typescript-eslint/parser": "^5.7.0",
26+
"browserslist": "^4.19.1",
2627
"eslint": "^8.5.0",
2728
"eslint-plugin-react": "^7.27.1",
2829
"eslint-plugin-react-hooks": "^4.3.0",
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"jsc": {
3-
"target": "es2022",
3+
"target": "es2021",
44
"parser": {
55
"syntax": "typescript",
66
"tsx": true
@@ -9,5 +9,8 @@
99
"module": {
1010
"type": "es6",
1111
"strict": true
12+
},
13+
"env": {
14+
"targets": ["defaults", "not IE 11", "maintained node versions"]
1215
}
1316
}

packages/react-virtualized-window/package.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,15 @@
77
"main": "dist/index.js",
88
"types": "dist/types/index.d.ts"
99
},
10+
"repository": {
11+
"type": "git",
12+
"url": "git+https://github.com/Resembli/ui.git"
13+
},
14+
"license": "MIT",
15+
"bugs": {
16+
"url": "https://github.com/Resembli/ui/issues"
17+
},
18+
"homepage": "https://github.com/Resembli/ui/tree/main/packages/react-virtualized-window",
1019
"scripts": {
1120
"build": "swc ./src -d dist && tsc",
1221
"clean": "rimraf dist",

pnpm-lock.yaml

Lines changed: 4 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)