@tauri-apps/api-v2.0.0-alpha.13
版本发布时间: 2023-12-19 22:18:52
tauri-apps/tauri最新发布版本:tauri-v2.1.1(2024-11-11 22:51:00)
Yarn Audit
yarn audit v1.22.21
info No lockfile found.
0 vulnerabilities found - Packages audited: 162
Done in 3.05s.
[2.0.0-alpha.13]
New Features
-
428ea652
(#8370) ExposedResource
class which should be extended for Rust-backed resources created throughtauri::Manager::resources_table
.
Bug Fixes
-
ef21b681
(#8391) Fix a regression where typescript could not find types when using"moduleResolution": "node"
-
46451aee
(#8268) Add top-levelmain
,module
andtypes
fields inpackage.json
to be compliant with typescripts's"moduleResolution": "node"
Breaking Changes
Yarn Publish
yarn run v1.22.21
$ yarn build && cd ./dist && yarn publish --access public --loglevel silly --tag next
$ rollup -c --configPlugin typescript
[36m
[1m./src/app.ts, ./src/core.ts, ./src/dpi.ts, ./src/event.ts, ./src/index.ts, ./src/menu.ts, ./src/mocks.ts, ./src/path.ts, ./src/tray.ts, ./src/window.ts[22m → [1m./dist, ./dist[22m...[39m
[32mcreated [1m./dist, ./dist[22m in [1m1.2s[22m[39m
[36m
[1msrc/index.ts[22m → [1m../../core/tauri/scripts/bundle.global.js[22m...[39m
[32mcreated [1m../../core/tauri/scripts/bundle.global.js[22m in [1m1.5s[22m[39m
[1/4] Bumping version...
info Current version: 2.0.0-alpha.13
[2/4] Logging in...
[3/4] Publishing...
success Published.
[4/4] Revoking token...
info Not revoking login token, specified via config file.
Done in 7.38s.