api-v1.3.0
版本发布时间: 2023-05-03 21:42:24
tauri-apps/tauri最新发布版本:tauri-v2.1.1(2024-11-11 22:51:00)
Yarn Audit
yarn audit v1.22.19
info No lockfile found.
0 vulnerabilities found - Packages audited: 148
Done in 2.32s.
[1.3.0]
- Return correct type for
event.payload
inonResized
andonMoved
window event handlers. - Added the
WindowOptions::contentProtected
option andWebviewWindow#setContentProtected
to change it at runtime. - Allow setting the text of the dialog buttons.
- Add
is_minimized()
window method. - Add
title
getter on window.
Yarn Publish
yarn run v1.22.19
$ yarn build && cd ./dist && yarn publish --access public --loglevel silly
$ yarn tsup && node ./scripts/after-build.cjs && yarn generate-docs
$ /home/runner/work/tauri/tauri/tooling/api/node_modules/.bin/tsup
[34mCLI[39m Building entry: {"bundle":"src/index.ts"}
[34mCLI[39m Using tsconfig: tsconfig.json
[34mCLI[39m tsup v6.7.0
[34mCLI[39m Using tsup config: /home/runner/work/tauri/tauri/tooling/api/tsup.config.ts
[34mCLI[39m Building entry: src/app.ts, src/cli.ts, src/clipboard.ts, src/dialog.ts, src/event.ts, src/fs.ts, src/globalShortcut.ts, src/http.ts, src/index.ts, src/mocks.ts, src/notification.ts, src/os.ts, src/path.ts, src/process.ts, src/shell.ts, src/tauri.ts, src/updater.ts, src/window.ts
[34mCLI[39m Using tsconfig: tsconfig.json
[34mCLI[39m tsup v6.7.0
[34mCLI[39m Using tsup config: /home/runner/work/tauri/tauri/tooling/api/tsup.config.ts
[34mCLI[39m Target: es2020
[34mIIFE[39m Build start
[34mCLI[39m Target: es2020
[34mCLI[39m Cleaning output folder
[34mESM[39m Build start
[34mCJS[39m Build start
[32mIIFE[39m [1m../../core/tauri/scripts/bundle.global.js [22m[32m28.66 KB[39m
[32mIIFE[39m ⚡️ Build success in 39ms
[32mESM[39m [1mdist/updater.js [22m[32m216.00 B[39m
[32mESM[39m [1mdist/window.js [22m[32m479.00 B[39m
[32mESM[39m [1mdist/index.js [22m[32m940.00 B[39m
[32mESM[39m [1mdist/chunk-4NZJJ336.js [22m[32m922.00 B[39m
[32mESM[39m [1mdist/chunk-LRLSM7JQ.js [22m[32m10.87 KB[39m
[32mESM[39m [1mdist/mocks.js [22m[32m409.00 B[39m
[32mESM[39m [1mdist/notification.js [22m[32m202.00 B[39m
[32mESM[39m [1mdist/chunk-CICBN6X2.js [22m[32m578.00 B[39m
[32mESM[39m [1mdist/os.js [22m[32m235.00 B[39m
[32mESM[39m [1mdist/chunk-4CXLGJ6R.js [22m[32m656.00 B[39m
[32mESM[39m [1mdist/path.js [22m[32m960.00 B[39m
[32mESM[39m [1mdist/chunk-PEDMYRP6.js [22m[32m3.91 KB[39m
[32mESM[39m [1mdist/chunk-V5J25SYE.js [22m[32m73.00 B[39m
[32mESM[39m [1mdist/process.js [22m[32m154.00 B[39m
[32mESM[39m [1mdist/chunk-3O263AOJ.js [22m[32m322.00 B[39m
[32mESM[39m [1mdist/shell.js [22m[32m186.00 B[39m
[32mESM[39m [1mdist/chunk-6XWZL67Z.js [22m[32m2.47 KB[39m
[32mESM[39m [1mdist/tauri.js [22m[32m131.00 B[39m
[32mESM[39m [1mdist/app.js [22m[32m206.00 B[39m
[32mESM[39m [1mdist/chunk-DIFM6EX4.js [22m[32m608.00 B[39m
[32mESM[39m [1mdist/cli.js [22m[32m144.00 B[39m
[32mESM[39m [1mdist/chunk-6IDLE7HB.js [22m[32m209.00 B[39m
[32mESM[39m [1mdist/clipboard.js [22m[32m159.00 B[39m
[32mESM[39m [1mdist/chunk-6PDK3LJA.js [22m[32m335.00 B[39m
[32mESM[39m [1mdist/dialog.js [22m[32m191.00 B[39m
[32mESM[39m [1mdist/chunk-WJKH4UU7.js [22m[32m1.18 KB[39m
[32mESM[39m [1mdist/event.js [22m[32m202.00 B[39m
[32mESM[39m [1mdist/chunk-M3Y6ZK7U.js [22m[32m1.53 KB[39m
[32mESM[39m [1mdist/fs.js [22m[32m372.00 B[39m
[32mESM[39m [1mdist/chunk-GP2EXCRB.js [22m[32m2.75 KB[39m
[32mESM[39m [1mdist/globalShortcut.js [22m[32m220.00 B[39m
[32mESM[39m [1mdist/chunk-ITP3W3MJ.js [22m[32m804.00 B[39m
[32mESM[39m [1mdist/http.js [22m[32m218.00 B[39m
[32mESM[39m [1mdist/chunk-XH7VLPQH.js [22m[32m2.33 KB[39m
[32mESM[39m [1mdist/chunk-RKMHWDGH.js [22m[32m91.00 B[39m
[32mESM[39m [1mdist/chunk-5UWJICAP.js [22m[32m767.00 B[39m
[32mESM[39m [1mdist/chunk-FEIY7W7S.js [22m[32m106.00 B[39m
[32mESM[39m ⚡️ Build success in 137ms
[32mCJS[39m [1mdist/app.cjs [22m[32m1.39 KB[39m
[32mCJS[39m [1mdist/cli.cjs [22m[32m1.04 KB[39m
[32mCJS[39m [1mdist/clipboard.cjs [22m[32m1.15 KB[39m
[32mCJS[39m [1mdist/dialog.cjs [22m[32m1.99 KB[39m
[32mCJS[39m [1mdist/event.cjs [22m[32m2.27 KB[39m
[32mCJS[39m [1mdist/fs.cjs [22m[32m3.51 KB[39m
[32mCJS[39m [1mdist/globalShortcut.cjs [22m[32m1.54 KB[39m
[32mCJS[39m [1mdist/http.cjs [22m[32m3.12 KB[39m
[32mCJS[39m [1mdist/index.cjs [22m[32m28.60 KB[39m
[32mCJS[39m [1mdist/mocks.cjs [22m[32m837.00 B[39m
[32mCJS[39m [1mdist/notification.cjs [22m[32m1.38 KB[39m
[32mCJS[39m [1mdist/os.cjs [22m[32m1.45 KB[39m
[32mCJS[39m [1mdist/path.cjs [22m[32m5.13 KB[39m
[32mCJS[39m [1mdist/process.cjs [22m[32m1.13 KB[39m
[32mCJS[39m [1mdist/shell.cjs [22m[32m3.23 KB[39m
[32mCJS[39m [1mdist/tauri.cjs [22m[32m1.11 KB[39m
[32mCJS[39m [1mdist/updater.cjs [22m[32m2.24 KB[39m
[32mCJS[39m [1mdist/window.cjs [22m[32m11.96 KB[39m
[32mCJS[39m ⚡️ Build success in 137ms
[34mDTS[39m Build start
[32mDTS[39m ⚡️ Build success in 2679ms
[32mDTS[39m [1mdist/index.d.ts [22m[32m1.21 KB[39m
[32mDTS[39m [1mdist/mocks.d.ts [22m[32m3.45 KB[39m
[32mDTS[39m [1mdist/app.d.ts [22m[32m111.00 B[39m
[32mDTS[39m [1mdist/cli.d.ts [22m[32m107.00 B[39m
[32mDTS[39m [1mdist/clipboard.d.ts [22m[32m73.00 B[39m
[32mDTS[39m [1mdist/dialog.d.ts [22m[32m220.00 B[39m
[32mDTS[39m [1mdist/window.d.ts [22m[32m494.00 B[39m
[32mDTS[39m [1mdist/event.d.ts [22m[32m155.00 B[39m
[32mDTS[39m [1mdist/fs.d.ts [22m[32m395.00 B[39m
[32mDTS[39m [1mdist/globalShortcut.d.ts [22m[32m158.00 B[39m
[32mDTS[39m [1mdist/http.d.ts [22m[32m257.00 B[39m
[32mDTS[39m [1mdist/notification.d.ts [22m[32m149.00 B[39m
[32mDTS[39m [1mdist/path.d.ts [22m[32m640.00 B[39m
[32mDTS[39m [1mdist/process.d.ts [22m[32m66.00 B[39m
[32mDTS[39m [1mdist/shell.d.ts [22m[32m132.00 B[39m
[32mDTS[39m [1mdist/tauri.d.ts [22m[32m113.00 B[39m
[32mDTS[39m [1mdist/updater.d.ts [22m[32m213.00 B[39m
[32mDTS[39m [1mdist/os.d.ts [22m[32m149.00 B[39m
[32mDTS[39m [1mdist/app-5190a154.d.ts [22m[32m1.67 KB[39m
[32mDTS[39m [1mdist/cli-373e13ed.d.ts [22m[32m1.61 KB[39m
[32mDTS[39m [1mdist/clipboard-79413165.d.ts [22m[32m941.00 B[39m
[32mDTS[39m [1mdist/dialog-20ff401c.d.ts [22m[32m7.54 KB[39m
[32mDTS[39m [1mdist/event-30ea0228.d.ts [22m[32m45.33 KB[39m
[32mDTS[39m [1mdist/fs-6ad2a328.d.ts [22m[32m9.55 KB[39m
[32mDTS[39m [1mdist/globalShortcut-003b7421.d.ts [22m[32m3.04 KB[39m
[32mDTS[39m [1mdist/http-43c39402.d.ts [22m[32m9.55 KB[39m
[32mDTS[39m [1mdist/notification-6cd45c32.d.ts [22m[32m2.48 KB[39m
[32mDTS[39m [1mdist/path-c062430b.d.ts [22m[32m17.85 KB[39m
[32mDTS[39m [1mdist/process-63838be1.d.ts [22m[32m925.00 B[39m
[32mDTS[39m [1mdist/shell-efff51a2.d.ts [22m[32m9.35 KB[39m
[32mDTS[39m [1mdist/tauri-605fa63e.d.ts [22m[32m3.26 KB[39m
[32mDTS[39m [1mdist/updater-6b72a601.d.ts [22m[32m2.84 KB[39m
[32mDTS[39m [1mdist/os-0303c6d6.d.ts [22m[32m2.76 KB[39m
$ typedoc
Loaded plugin typedoc-plugin-markdown
Loaded plugin typedoc-plugin-mdn-links
Documentation generated at ./docs
JSON written to ./docs/js-api.json
[1/4] Bumping version...
info Current version: 1.3.0
[2/4] Logging in...
[3/4] Publishing...
success Published.
[4/4] Revoking token...
info Not revoking login token, specified via config file.
Done in 8.73s.