Skip to content

Commit

Permalink
feat(conditional-formatting): support facade api (#4300)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gggpound authored Dec 13, 2024
1 parent f6c7811 commit baa5201
Show file tree
Hide file tree
Showing 7 changed files with 1,292 additions and 1 deletion.
1 change: 1 addition & 0 deletions examples/src/sheets/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ import '@univerjs/sheets-formula/facade';
import '@univerjs/sheets-numfmt/facade';
import '@univerjs/sheets-hyper-link-ui/facade';
import '@univerjs/sheets-thread-comment/facade';
import '@univerjs/sheets-conditional-formatting/facade';

import '../global.css';

Expand Down
13 changes: 12 additions & 1 deletion packages/sheets-conditional-formatting/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
],
"exports": {
".": "./src/index.ts",
"./*": "./src/*"
"./*": "./src/*",
"./facade": "./src/facade/index.ts"
},
"main": "./src/index.ts",
"types": "./lib/types/index.d.ts",
Expand All @@ -41,6 +42,11 @@
"require": "./lib/cjs/*",
"types": "./lib/types/index.d.ts"
},
"./facade": {
"import": "./lib/es/facade.js",
"require": "./lib/cjs/facade.js",
"types": "./lib/types/facade/index.d.ts"
},
"./lib/*": "./lib/*"
}
},
Expand Down Expand Up @@ -86,6 +92,11 @@
"require": "./lib/cjs/*",
"types": "./lib/types/index.d.ts"
},
"./facade": {
"import": "./lib/es/facade.js",
"require": "./lib/cjs/facade.js",
"types": "./lib/types/facade/index.d.ts"
},
"./lib/*": "./lib/*"
}
}
Loading

0 comments on commit baa5201

Please sign in to comment.