Skip to content

Commit

Permalink
chore(release): fix in pre-release-v0.1.15 (#2521)
Browse files Browse the repository at this point in the history
* fix(umd): fix umd packages

* fix(auth): set default role

* chore(redi): update redi version
  • Loading branch information
hexf00 committed Jun 14, 2024
1 parent 3a7e375 commit e25a50d
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion common/shared/vite/auto-externalize-dependency-plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ exports.autoExternalizeDependency = function autoExternalizeDependency() {
'@wendellhu/redi': {
global: '@wendellhu/redi',
name: '@wendellhu/redi',
version: '0.15.2',
version: '0.15.4',
},
'@wendellhu/redi/react-bindings': {
global: '@wendellhu/redi/react-bindings',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export class AuthzIoLocalService implements IAuthzIoService {
@Inject(UserManagerService) private _userManagerService: UserManagerService
) {
this._initSnapshot();
_userManagerService.setCurrentUser(createDefaultUser(UnitRole.Owner));
}

private _getRole(type: UnitRole) {
Expand Down
2 changes: 1 addition & 1 deletion packages/docs-drawing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"@univerjs/docs-ui": "workspace:*",
"@univerjs/drawing": "workspace:*",
"@univerjs/engine-render": "workspace:*",
"@wendellhu/redi": "0.15.2"
"@wendellhu/redi": "0.15.4"
},
"devDependencies": {
"@univerjs/core": "workspace:*",
Expand Down
1 change: 1 addition & 0 deletions packages/engine-numfmt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
"lint:types": "tsc --noEmit",
"build": "tsc && vite build"
},
"peerDependencies": {},
"dependencies": {
"numfmt": "^2.5.2"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/sheets-drawing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"peerDependencies": {
"@univerjs/core": "workspace:*",
"@univerjs/drawing": "workspace:*",
"@wendellhu/redi": "0.15.2"
"@wendellhu/redi": "0.15.4"
},
"devDependencies": {
"@univerjs/core": "workspace:*",
Expand Down
1 change: 1 addition & 0 deletions packages/umd/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
"@univerjs/sheets-hyper-link-ui": "workspace:*",
"@univerjs/sheets-numfmt": "workspace:*",
"@univerjs/sheets-thread-comment": "workspace:*",
"@univerjs/sheets-thread-comment-base": "workspace:*",
"@univerjs/sheets-ui": "workspace:*",
"@univerjs/sheets-zen-editor": "workspace:*",
"@univerjs/slides": "workspace:*",
Expand Down
1 change: 1 addition & 0 deletions packages/umd/scripts/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ function buildJS() {
'@univerjs/sheets-filter-ui',
'@univerjs/thread-comment',
'@univerjs/thread-comment-ui',
'@univerjs/sheets-thread-comment-base',
'@univerjs/sheets-thread-comment',
'@univerjs/drawing',
'@univerjs/drawing-ui',
Expand Down
3 changes: 3 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e25a50d

Please sign in to comment.