File tree Expand file tree Collapse file tree 3 files changed +7
-8
lines changed
Expand file tree Collapse file tree 3 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -114,8 +114,8 @@ jobs:
114114 working-directory : packages/${{ matrix.package }}
115115 run : |
116116 # Check if a custom publish script exists in package.json
117- if jq -e '.scripts.release ' package.json > /dev/null; then
118- pnpm run release
117+ if jq -e '.scripts.compile ' package.json > /dev/null; then
118+ pnpm run compile
119119 fi
120120
121121 # Then publish the package to npm
Original file line number Diff line number Diff line change 44 "type" : " module" ,
55 "exports" : {
66 "./*" : {
7- "rolldown " : [
7+ "default " : [
88 " ./dist/*" ,
99 " ./dist/*.js" ,
1010 " ./dist/*/index.js"
1111 ],
12- "default " : [
12+ "uncompiled " : [
1313 " ./src/*" ,
1414 " ./src/*.tsx" ,
1515 " ./src/*/index.tsx" ,
2828 "compile:css" : " postcss --dir dist --base src \" src/**/*.module.css\" src/styles/index.css" ,
2929 "compile" : " node --run compile:ts && node --run compile:css" ,
3030 "compile:watch" : " concurrently -k \" node --run compile:ts -- --watch\" \" node --run compile:css -- --watch\" " ,
31- "release" : " node --run compile" ,
3231 "lint" : " node --run lint:js && node --run lint:css" ,
3332 "lint:css" : " stylelint \" **/*.css\" --allow-empty-input --cache --cache-strategy=content --cache-location=.stylelintcache" ,
3433 "lint:css:fix" : " node --run lint:css -- --fix" ,
9089 },
9190 "imports" : {
9291 "#ui/*" : {
93- "rolldown " : [
92+ "default " : [
9493 " ./dist/*" ,
9594 " ./dist/*.js" ,
9695 " ./dist/*/index.js"
9796 ],
98- "default " : [
97+ "uncompiled " : [
9998 " ./src/*" ,
10099 " ./src/*.tsx" ,
101100 " ./src/*/index.tsx" ,
Original file line number Diff line number Diff line change 99 "esModuleInterop" : true ,
1010 "module" : " esnext" ,
1111 "moduleResolution" : " bundler" ,
12- "customConditions" : [" default " ],
12+ "customConditions" : [" uncompiled " ],
1313 "resolveJsonModule" : true ,
1414 "isolatedModules" : true ,
1515 "jsx" : " react-jsx" ,
You can’t perform that action at this time.
0 commit comments