github tauri-apps/tauri @tauri-apps/api-v2.0.0-alpha.5
@tauri-apps/api v2.0.0-alpha.5

17 months ago

Yarn Audit

yarn audit v1.22.19
info No lockfile found.
0 vulnerabilities found - Packages audited: 161
Done in 3.81s.

[2.0.0-alpha.5]

New Features

  • e0f0dce2(#6442) Added the windowEffects option when creating a window and setWindowEffects method to change it at runtime.

Enhancements

  • 9e3a18e0(#7132) Expose the window target option on event APIs.
  • 6d3f3138(#7160) Changed sep and delimiter from path module into functions to fix import in frameworks like next.js
  • 4652c446(#7144) Add tempDir function to path module

Yarn Publish

yarn run v1.22.19
$ yarn build && cd ./dist && yarn publish --access public --loglevel silly --tag next
$ 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/event.ts, src/index.ts, src/mocks.ts, src/path.ts, src/tauri.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�[32m6.63 KB�[39m
�[32mIIFE�[39m ⚡️ Build success in 37ms
�[32mESM�[39m �[1mdist/event.js          �[22m�[32m154.00 B�[39m
�[32mESM�[39m �[1mdist/index.js          �[22m�[32m216.00 B�[39m
�[32mESM�[39m �[1mdist/mocks.js          �[22m�[32m409.00 B�[39m
�[32mESM�[39m �[1mdist/chunk-Z6K374JS.js �[22m�[32m1.09 KB�[39m
�[32mESM�[39m �[1mdist/path.js           �[22m�[32m688.00 B�[39m
�[32mESM�[39m �[1mdist/chunk-7WJWFJRR.js �[22m�[32m3.78 KB�[39m
�[32mESM�[39m �[1mdist/tauri.js          �[22m�[32m193.00 B�[39m
�[32mESM�[39m �[1mdist/chunk-3YK5DLRW.js �[22m�[32m1.39 KB�[39m
�[32mESM�[39m �[1mdist/chunk-WVIOQTRJ.js �[22m�[32m466.00 B�[39m
�[32mESM�[39m ⚡️ Build success in 41ms
�[32mCJS�[39m �[1mdist/event.cjs �[22m�[32m2.41 KB�[39m
�[32mCJS�[39m �[1mdist/index.cjs �[22m�[32m6.58 KB�[39m
�[32mCJS�[39m �[1mdist/mocks.cjs �[22m�[32m837.00 B�[39m
�[32mCJS�[39m �[1mdist/path.cjs  �[22m�[32m4.92 KB�[39m
�[32mCJS�[39m �[1mdist/tauri.cjs �[22m�[32m2.05 KB�[39m
�[32mCJS�[39m ⚡️ Build success in 45ms
�[34mDTS�[39m Build start
�[32mDTS�[39m ⚡️ Build success in 1895ms
�[32mDTS�[39m �[1mdist/index.d.ts          �[22m�[32m601.00 B�[39m
�[32mDTS�[39m �[1mdist/mocks.d.ts          �[22m�[32m3.68 KB�[39m
�[32mDTS�[39m �[1mdist/event.d.ts          �[22m�[32m169.00 B�[39m
�[32mDTS�[39m �[1mdist/tauri.d.ts          �[22m�[32m172.00 B�[39m
�[32mDTS�[39m �[1mdist/path.d.ts           �[22m�[32m593.00 B�[39m
�[32mDTS�[39m �[1mdist/event-506df71d.d.ts �[22m�[32m4.49 KB�[39m
�[32mDTS�[39m �[1mdist/tauri-d78b6be0.d.ts �[22m�[32m4.38 KB�[39m
�[32mDTS�[39m �[1mdist/path-f8d71c21.d.ts  �[22m�[32m18.19 KB�[39m
$ typedoc --plugin typedoc-plugin-markdown --plugin typedoc-plugin-mdn-links
�[96m[info]�[0m Loaded plugin typedoc-plugin-markdown
�[96m[info]�[0m Loaded plugin typedoc-plugin-mdn-links
�[93m[warning]�[0m The entrypoint glob ./src/window.ts did not match any files.
�[96m[info]�[0m Documentation generated at ./docs
�[96m[info]�[0m JSON written to ./docs/js-api.json
[1/4] Bumping version...
info Current version: 2.0.0-alpha.5
[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.35s.

Don't miss a new tauri release

NewReleases is sending notifications on new releases.