@app-studio/web 0.8.0 → 0.8.2

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@app-studio/web",
3
- "version": "0.8.0",
3
+ "version": "0.8.2",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/components/index.d.ts",
6
6
  "files": [
@@ -11,7 +11,7 @@
11
11
  },
12
12
  "scripts": {
13
13
  "start": "react-scripts start",
14
- "build": "tsdx build --entry ./src/components/index.tsx --tsconfig tsconfig.build.json",
14
+ "build": "tsdx build --format cjs,esm,umd --entry ./src/components/index.tsx --tsconfig tsconfig.build.json",
15
15
  "test": "react-scripts test",
16
16
  "test:unwatch": "react-scripts test --watchAll=false",
17
17
  "eject": "react-scripts eject",
@@ -100,6 +100,7 @@
100
100
  "@babel/preset-react": "^7.18.6",
101
101
  "@commitlint/cli": "^19.2.0",
102
102
  "@commitlint/config-conventional": "^19.1.0",
103
+ "@size-limit/preset-small-lib": "^10.0.2",
103
104
  "@testing-library/jest-dom": "^5.16.5",
104
105
  "@testing-library/react": "^14.0.0",
105
106
  "@testing-library/user-event": "^13.5.0",
@@ -110,7 +111,7 @@
110
111
  "@types/react-test-renderer": "^18.0.0",
111
112
  "@typescript-eslint/eslint-plugin": "^5.59.7",
112
113
  "@typescript-eslint/parser": "^5.59.7",
113
- "app-studio": "^0.2.29",
114
+ "app-studio": "^0.4.0",
114
115
  "babel-jest": "^29.5.0",
115
116
  "babel-loader": "^9.1.2",
116
117
  "babel-plugin-named-exports-order": "^0.0.2",
@@ -153,7 +154,8 @@
153
154
  "webpack-cli": "^5.1.3"
154
155
  },
155
156
  "peerDependencies": {
156
- "react": ">= 17"
157
+ "react": ">= 17",
158
+ "app-studio": ">= 0.4"
157
159
  },
158
160
  "size-limit": [
159
161
  {
@@ -163,7 +165,12 @@
163
165
  {
164
166
  "path": "dist/web.esm.js",
165
167
  "limit": "100 KB"
168
+ },
169
+ {
170
+ "path": "dist/web.umd.production.min.js",
171
+ "limit": "100 KB"
166
172
  }
167
173
  ],
168
- "module": "dist/web.esm.js"
174
+ "module": "dist/web.esm.js",
175
+ "unpkg": "dist/web.umd.production.min.js"
169
176
  }