Skip to content

Commit 2ee2655

Browse files
Copilothuangyiirene
andcommitted
Changes before error encountered
Co-authored-by: huangyiirene <7665279+huangyiirene@users.noreply.github.com>
1 parent 8fde9fe commit 2ee2655

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"scripts": {
1717
"dev": "pnpm --filter prototype dev",
1818
"start": "pnpm --filter prototype dev",
19-
"build": "pnpm -r build",
19+
"build": "pnpm --filter './packages/*' -r build && pnpm --filter './examples/*' -r build",
2020
"pretest": "pnpm --filter @object-ui/types build && pnpm --filter @object-ui/core build && pnpm --filter @object-ui/react build && pnpm --filter @object-ui/components build",
2121
"test": "vitest run",
2222
"docs:dev": "pnpm --filter object-ui-docs dev",

packages/components/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
"version": "0.2.0",
44
"type": "module",
55
"license": "MIT",
6-
"main": "dist/index.umd.js",
7-
"module": "dist/index.mjs",
6+
"main": "dist/index.umd.cjs",
7+
"module": "dist/index.js",
88
"types": "dist/index.d.ts",
99
"exports": {
1010
".": {
1111
"types": "./dist/index.d.ts",
12-
"import": "./dist/index.mjs",
13-
"require": "./dist/index.umd.js"
12+
"import": "./dist/index.js",
13+
"require": "./dist/index.umd.cjs"
1414
},
1515
"./dist/style.css": "./dist/style.css"
1616
},

0 commit comments

Comments
 (0)