Skip to content

Commit

Permalink
Update build cjs suitable with next version (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
vitran12 authored Jun 17, 2024
1 parent dfc2100 commit e9fa090
Show file tree
Hide file tree
Showing 2 changed files with 242 additions and 203 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "yorkie-ui",
"version": "0.5.12",
"version": "0.5.13",
"description": "Yorkie UI",
"repository": {
"type": "git",
Expand Down Expand Up @@ -34,7 +34,7 @@
},
"require": {
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.js"
"default": "./dist/cjs/index.mjs"
}
},
"./package.json": "./package.json",
Expand All @@ -45,11 +45,11 @@
},
"scripts": {
"test-alias": "tsc-alias --verbose",
"build": "pnpm run clean && pnpm panda codegen && pnpm run copy:styled-system && pnpm run build:panda && pnpm run build:esm && pnpm run build:cjs && pnpm run test-alias",
"build": "pnpm run clean && npm run style && pnpm run copy:styled-system && pnpm run build:panda && pnpm run build:esm && pnpm run build:cjs && pnpm run test-alias",
"build:esm": "tsc -b tsconfig.esm.json && tsc-alias -p tsconfig.esm.json",
"build:cjs": "tsc -b tsconfig.cjs.json && tsc-alias -p tsconfig.cjs.json",
"build:panda": "mkdir -p dist/styles && panda cssgen --outfile dist/styles/globals.css",
"copy:styled-system": "copyfiles ./styled-system/**/*.{d.ts,js} ./styled-system/*.{d.ts,js} dist/",
"copy:styled-system": "copyfiles ./styled-system/**/* ./styled-system/* dist/",
"dev": "next dev",
"clean": "rm -rf dist tsconfig.tsbuildinfo actions chains connectors query",
"start": "next start",
Expand Down
Loading

0 comments on commit e9fa090

Please sign in to comment.