@napi-rs/cli
@napi-rs/cli@3.0.0-alpha.64
10/21/2024
What’s Changed
- feat(cli): support ESM binding by @wemeetagain in https://github.com/napi-rs/napi-rs/pull/2284
New Contributors
- @wemeetagain made their first contribution in https://github.com/napi-rs/napi-rs/pull/2284
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@3.0.0-alpha.15…@napi-rs/cli@3.0.0-alpha.64
@napi-rs/cli@3.0.0-alpha.63
10/2/2024
What’s Changed
- chore(cli): add empty line in created pacakge.json file #2194
- chore(cli): update ci template #2256
- chore(cli): add strip in generated Cargo.toml https://github.com/napi-rs/napi-rs/commit/c12e56f3e8e5ee3e2def23ded399e20684c03693
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.62…@napi-rs/cli@3.0.0-alpha.63
@napi-rs/cli@3.0.0-alpha.59
7/15/2024
3.0.0-alpha.59 (2024-07-15)
Bug Fixes
@napi-rs/cli@3.0.0-alpha.56
7/5/2024
What’s Changed
- docs(cli): fix typo by @naskya in https://github.com/napi-rs/napi-rs/pull/2108
- chore(deps): update dependency sinon to v18 by @renovate in https://github.com/napi-rs/napi-rs/pull/2112
- fix(typegen): add missing
declare
keyword by @magic-akari in https://github.com/napi-rs/napi-rs/pull/2117 - fix(deps): update dependency emnapi to v1.2.0 by @renovate in https://github.com/napi-rs/napi-rs/pull/2118
- chore(deps): update dependency vite-plugin-node-polyfills to ^0.22.0 by @renovate in https://github.com/napi-rs/napi-rs/pull/2119
- chore(deps): update dependency @rollup/plugin-commonjs to v26 by @renovate in https://github.com/napi-rs/napi-rs/pull/2132
- chore(deps): lock file maintenance by @renovate in https://github.com/napi-rs/napi-rs/pull/2129
- chore(deps): update dependency oxlint to ^0.4.0 by @renovate in https://github.com/napi-rs/napi-rs/pull/2126
- chore(deps): update yarn to v4.3.0 by @renovate in https://github.com/napi-rs/napi-rs/pull/2135
- fix(cli): rename env CC to TARGET_CC avoid proc-macro build failed by @richerfu in https://github.com/napi-rs/napi-rs/pull/2137
- chore(deps): update dependency electron to v31 by @renovate in https://github.com/napi-rs/napi-rs/pull/2136
- chore(deps): update dependency c8 to v10 by @renovate in https://github.com/napi-rs/napi-rs/pull/2134
- chore(deps): update docker/build-push-action action to v6 by @renovate in https://github.com/napi-rs/napi-rs/pull/2142
- fix(deps): update dependency @octokit/rest to v21 by @renovate in https://github.com/napi-rs/napi-rs/pull/2149
- chore(deps): update yarn to v4.3.1 by @renovate in https://github.com/napi-rs/napi-rs/pull/2150
- chore(deps): update oven-sh/setup-bun action to v2 by @renovate in https://github.com/napi-rs/napi-rs/pull/2153
- chore(deps): update dependency oxlint to ^0.5.0 by @renovate in https://github.com/napi-rs/napi-rs/pull/2159
- chore(deps): lock file maintenance by @renovate in https://github.com/napi-rs/napi-rs/pull/2163
- chore(deps): update dependency esbuild to ^0.22.0 by @renovate in https://github.com/napi-rs/napi-rs/pull/2162
- chore(deps): update dependency esbuild to ^0.23.0 by @renovate in https://github.com/napi-rs/napi-rs/pull/2164
New Contributors
- @magic-akari made their first contribution in https://github.com/napi-rs/napi-rs/pull/2117
- @Gentle made their first contribution in https://github.com/napi-rs/napi-rs/pull/2131
- @Kreijstal made their first contribution in https://github.com/napi-rs/napi-rs/pull/2026
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.55…@napi-rs/cli@3.0.0-alpha.56
@napi-rs/cli@2.18.4
7/1/2024
What Changed
- fix(cli): add missing declare keyword
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@2.18.3…@napi-rs/cli@2.18.4
@napi-rs/cli@3.0.0-alpha.55
5/12/2024
3.0.0-alpha.55 (2024-05-12)
Bug Fixes
- cli: prevent the wasm optimization crash the build (#2107) (c9c3c0e)
- deps: update dependency @napi-rs/cross-toolchain to ^0.0.16 (#2079) (d022f64)
- napi: set explicit target flag for x86_64 CI template (#2077) (ebc1e2c)
@napi-rs/cli@2.18.3
5/6/2024
What’s Changed
- remove duplicate typedefs in
index.d.ts
from macro re-evaluation by @OmarTawfik in https://github.com/napi-rs/napi-rs/pull/2088
New Contributors
- @OmarTawfik made their first contribution in https://github.com/napi-rs/napi-rs/pull/2088
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@2.18.2…@napi-rs/cli@2.18.3
@napi-rs/cli@3.0.0-alpha.53
4/23/2024
What’s Changed
- feat(cli): allow sync fs operation between workers/mainThread by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2064
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.52…@napi-rs/cli@3.0.0-alpha.53
@napi-rs/cli@3.0.0-alpha.52
4/22/2024
What’s Changed
- feat(cli): support generation of literal union from string enum by @inokawa in https://github.com/napi-rs/napi-rs/pull/2054
- fix(cli): pass fs to browser worker binding by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2062
New Contributors
- @inokawa made their first contribution in https://github.com/napi-rs/napi-rs/pull/2054
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.16.4…@napi-rs/cli@3.0.0-alpha.52
@napi-rs/cli@3.0.0-alpha.51
4/19/2024
What’s Changed
- feat(cli): improve the browser binding by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2056
- fix(cli): new project issue by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2058
- chore: upgrade @tybys/wasm-util by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2059
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.16.4…@napi-rs/cli@3.0.0-alpha.51
@napi-rs/cli@2.18.2
4/17/2024
2.18.2 (2024-04-17)
Bug Fixes
- cli: freebsd ci template (0f42e21)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@2.18.1…@napi-rs/cli@2.18.2
@napi-rs/cli@3.0.0-alpha.50
4/17/2024
What’s Changed
- feat(cli): optimize wasm output binary by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2049
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.49…@napi-rs/cli@3.0.0-alpha.50
@napi-rs/cli@3.0.0-alpha.49
4/16/2024
What’s Changed
- chore(deps): update dependency electron to v30 by @renovate in https://github.com/napi-rs/napi-rs/pull/2043
- fix(cli): wasi targets linker envs by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2044
- feat(cli): allow to define dtsHeader in napi config by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2045
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@3.0.0-alpha.2…@napi-rs/cli@3.0.0-alpha.49
@napi-rs/cli@2.18.1
4/10/2024
What’s Changed
- feat(target): add support for armv7-unknown-linux-muslebihf by @sapphi-red in https://github.com/napi-rs/napi-rs/pull/2020
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@2.18.0…@napi-rs/cli@2.18.1
@napi-rs/cli@3.0.0-alpha.46
4/10/2024
What’s Changed
- fix(deps): update dependency emnapi to v1.1.1 by @renovate in https://github.com/napi-rs/napi-rs/pull/2017
- feat(cli): add support for armv7-unknown-linux-muslebihf by @sapphi-red in https://github.com/napi-rs/napi-rs/pull/2019
- feat(cli): add support for powerpc64le-unknown-linux-gnu by @sapphi-red in https://github.com/napi-rs/napi-rs/pull/2023
- feat(cli): add support for s390x-unknown-linux-gnu by @sapphi-red in https://github.com/napi-rs/napi-rs/pull/2028
- feat(cli): support wasm32-wasipxx targets by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2030
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.45…@napi-rs/cli@3.0.0-alpha.46
@napi-rs/cli@3.0.0-alpha.44
3/21/2024
What’s Changed
- fix(cli): cleanup js binding template by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1984
- chore(deps): lock file maintenance by @renovate in https://github.com/napi-rs/napi-rs/pull/1987
- chore(deps): update yarn to v4.1.1 by @renovate in https://github.com/napi-rs/napi-rs/pull/1989
- ci: fix arm64 job by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1998
- chore(deps): bump follow-redirects from 1.15.5 to 1.15.6 by @dependabot in https://github.com/napi-rs/napi-rs/pull/2004
- fix(deps): update dependency emnapi to v1.1.0 by @renovate in https://github.com/napi-rs/napi-rs/pull/2006
- chore(wasm-runtime): upgrade emnapi by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2008
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.16.0…@napi-rs/cli@3.0.0-alpha.44
@napi-rs/cli@3.0.0-alpha.43
2/28/2024
What’s Changed
- fix(cli): cleanup js binding template by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1984
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.42…@napi-rs/cli@3.0.0-alpha.43
@napi-rs/cli@3.0.0-alpha.42
2/28/2024 Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.16.0…@napi-rs/cli@3.0.0-alpha.42
What’s Changed
- chore: fix renovate path and dedupe electron versions by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1974
- refactor(cli): refactor js-binding to support easier bundling. by @everett1992 in https://github.com/napi-rs/napi-rs/pull/1957
New Contributors
- @everett1992 made their first contribution in https://github.com/napi-rs/napi-rs/pull/1957
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.15.4…@napi-rs/cli@3.0.0-alpha.42
@napi-rs/cli@3.0.0-alpha.41
2/22/2024
What’s Changed
- fix(cli): fallback to wasm32 if platform is not support by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1967
- fix(cli): allow more platform & arch fallback to wasm by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1969
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.15.3…@napi-rs/cli@3.0.0-alpha.41
@napi-rs/cli@3.0.0-alpha.39
2/18/2024
What’s Changed
- chore(deps): update typescript-eslint monorepo to v7 (major) by @renovate in https://github.com/napi-rs/napi-rs/pull/1947
- Ensure cwd and outputDir are used for finding files by @andymac4182 in https://github.com/napi-rs/napi-rs/pull/1949
- fix(cli): set cxxflags while WASI_SDK_PATH exists by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1955
- feat(cli,build): support setjmp.h by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1958
New Contributors
- @andymac4182 made their first contribution in https://github.com/napi-rs/napi-rs/pull/1949
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.38…@napi-rs/cli@3.0.0-alpha.39
@napi-rs/cli@3.0.0-alpha.38
2/12/2024
What’s Changed
- feat(cli): respect WASI_SDK_PATH env by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1946
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.37…@napi-rs/cli@3.0.0-alpha.38
@napi-rs/cli@3.0.0-alpha.37
2/12/2024
What’s Changed
- fix(cli): setup cxx env while using napi-cross by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1942
- fix(cli): log more wasi load errors by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1943
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.15.1…@napi-rs/cli@3.0.0-alpha.37
@napi-rs/cli@2.18.0
1/20/2024
What’s Changed
- chore: upgrade cli deps @Brooooooklyn https://github.com/napi-rs/napi-rs/commit/60c326e8eb4276134daabf41604168fafceb02bf
- feat: update ci.yml and binding template @Brooooooklyn https://github.com/napi-rs/napi-rs/commit/f720c2d0346130f006f6de986fb37c41545f3666
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@2.17.0…@napi-rs/cli@2.18.0
@napi-rs/cli@3.0.0-alpha.35
1/17/2024
What’s Changed
- chore: bump memfs-browser by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1900
- feat(cli): Add support for s390x linux arch in js bindings template by @mgcm in https://github.com/napi-rs/napi-rs/pull/1901
- feat: add wasm runtime package by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1904
New Contributors
- @mgcm made their first contribution in https://github.com/napi-rs/napi-rs/pull/1901
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.34…@napi-rs/cli@3.0.0-alpha.35
@napi-rs/cli@3.0.0-alpha.34
1/17/2024
What’s Changed
- fix(cli): add browser entry by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1899
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.33…@napi-rs/cli@3.0.0-alpha.34
@napi-rs/cli@3.0.0-alpha.33
1/8/2024
What’s Changed
- fix(cli): artifacts wasi worker name by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1895
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.32…@napi-rs/cli@3.0.0-alpha.33
@napi-rs/cli@3.0.0-alpha.32
1/8/2024
What’s Changed
- fix(cli): missing files in created wasi package by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1894
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.31…@napi-rs/cli@3.0.0-alpha.32
@napi-rs/cli@3.0.0-alpha.31
1/8/2024
What’s Changed
- chore(deps): update dependency c8 to v9 by @renovate in https://github.com/napi-rs/napi-rs/pull/1889
- fix(deps): update dependency @tybys/wasm-util to v0.8.1 by @renovate in https://github.com/napi-rs/napi-rs/pull/1892
- feat(cli): support generate browser compatible codes by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1891
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.30…@napi-rs/cli@3.0.0-alpha.31
@napi-rs/cli@3.0.0-alpha.30
1/3/2024
What’s Changed
- chore(deps): lock file maintenance by @renovate in https://github.com/napi-rs/napi-rs/pull/1882
- fix(cli): wasi fallback package load logic by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1887
- fix(cli): upload to github releases issue by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1888
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.29…@napi-rs/cli@3.0.0-alpha.30
@napi-rs/cli@3.0.0-alpha.29
1/2/2024
What’s Changed
- fix(cli): missing wasm files in artifacts command by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1884
- chore: fix async_work status typo by @southorange0929 in https://github.com/napi-rs/napi-rs/pull/1883
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.14.2…@napi-rs/cli@3.0.0-alpha.29
@napi-rs/cli@3.0.0-alpha.28
12/31/2023
What’s Changed
- fix(cli): copy binding files into wasi packages by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1881
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.27…@napi-rs/cli@3.0.0-alpha.28
@napi-rs/cli@3.0.0-alpha.27
12/29/2023
What’s Changed
- fix(deps): update dependency emnapi to v0.45.0 by @renovate in https://github.com/napi-rs/napi-rs/pull/1879
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.26…@napi-rs/cli@3.0.0-alpha.27
@napi-rs/cli@3.0.0-alpha.26
12/29/2023
What’s Changed
- fix(napi): apply clippy suggestions by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1878
- fix(cli): exclude node_modules in artifacts command by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1875
- fix(cli): also load wasm file from packages by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1876
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.25…@napi-rs/cli@3.0.0-alpha.26
@napi-rs/cli@3.0.0-alpha.25
12/28/2023
What’s Changed
- fix(cli): compatible with napi artifacts -d option by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1872
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.14.6…@napi-rs/cli@3.0.0-alpha.25
@napi-rs/cli@3.0.0-alpha.24
12/26/2023
What’s Changed
- fix(cli): prepublish tagstyle flag by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1863
- chore(cli): root directory access permissions by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1864
- feat(cli): support wasi target test & release workflow by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1867
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.20…@napi-rs/cli@3.0.0-alpha.24
@napi-rs/cli@3.0.0-alpha.20
12/16/2023
What’s Changed
- chore(deps): update actions/download-artifact action to v4 by @renovate in https://github.com/napi-rs/napi-rs/pull/1856
- fix(cli): make prepublish as pre-publish alias by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1861
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.19…@napi-rs/cli@3.0.0-alpha.20
@napi-rs/cli@3.0.0-alpha.19
12/15/2023
What’s Changed
- fix(cli): artifacts default option value by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1853
- fix: more accurate napi expanding error by @forehalo in https://github.com/napi-rs/napi-rs/pull/1854
- feat(cli): support read config from the given config file by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1859
- fix(cli): prepublish command by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1860
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.14.4…@napi-rs/cli@3.0.0-alpha.19
@napi-rs/cli@3.0.0-alpha.17
12/13/2023
What’s Changed
- fix(cli): make outputDir option of artifacts command compatible with v2 by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1850
- fix(binding): add riscv64 linux binding by @kxxt in https://github.com/napi-rs/napi-rs/pull/1851
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.14.3…@napi-rs/cli@3.0.0-alpha.17
@napi-rs/cli@3.0.0-alpha.15
12/8/2023
What’s Changed
- fix(cli): manifestPath and js binding output path by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1847
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.14…@napi-rs/cli@3.0.0-alpha.15
@napi-rs/cli@2.17.0
12/7/2023
What’s Changed
- feat: add support for riscv64gc-unknown-linux-gnu by @kxxt in https://github.com/napi-rs/napi-rs/pull/1826
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@2.16.5…@napi-rs/cli@2.17.0
@napi-rs/cli@3.0.0-alpha.14
12/8/2023
What’s Changed
- ci: add back pnpm to debian Docker images by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1841
- fix(cli): C_FLAGS should be CFLAGS by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1842
- chore: upgrade all npm dependencies by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1843
- fix(cli): —features and —no-default-features should not be exclusive by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1846
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.12…@napi-rs/cli@3.0.0-alpha.14
@napi-rs/cli@3.0.0-alpha.12
12/5/2023
What’s Changed
- fix(cli): set CC env if not existed by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1839
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.11…@napi-rs/cli@3.0.0-alpha.12
@napi-rs/cli@3.0.0-alpha.11
12/5/2023
What’s Changed
- ci: fix docker build by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1833
- chore(deps): lock file maintenance by @renovate in https://github.com/napi-rs/napi-rs/pull/1832
- chore(deps): update dependency electron to v28 by @renovate in https://github.com/napi-rs/napi-rs/pull/1837
- fix(cli): duplicated node matrix by @forehalo in https://github.com/napi-rs/napi-rs/pull/1835
- fix(cli): throws if target path of new command test fails by @forehalo in https://github.com/napi-rs/napi-rs/pull/1834
- feat(cli): support @napi-rs/cross-toolchain by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1838
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.10…@napi-rs/cli@3.0.0-alpha.11
@napi-rs/cli@3.0.0-alpha.10
12/1/2023
What’s Changed
- feat(cli): change wasm binding output format to cjs by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1831
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.9…@napi-rs/cli@3.0.0-alpha.10
@napi-rs/cli@3.0.0-alpha.9
11/30/2023
What’s Changed
- test(napi): decrease the worker sizes on Linux x64 musl platform by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1823
- feat: update cli template with edtion2021(#1739) by @southorange0929 in https://github.com/napi-rs/napi-rs/pull/1828
- chore(deps): update dependency lerna to v8 by @renovate in https://github.com/napi-rs/napi-rs/pull/1827
- fix(cli): add back constEnum option by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1829
- feat(cli): export parseTriple function by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1830
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.14.2…@napi-rs/cli@3.0.0-alpha.9
@napi-rs/cli@3.0.0-alpha.8
11/20/2023
What’s Changed
- chore: add .idea folder to ignore by @southorange0929 in https://github.com/napi-rs/napi-rs/pull/1801
- build: upgrade toolchain in Docker by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1810
- chore(deps): update yarn to v4.0.2 by @renovate in https://github.com/napi-rs/napi-rs/pull/1813
- chore(cli): simplify publish step in ci-template by @segevfiner in https://github.com/napi-rs/napi-rs/pull/1812
- chore(deps): update dependency @emnapi/core to v0.44.0 by @renovate in https://github.com/napi-rs/napi-rs/pull/1803
- chore(deps): update dependency @emnapi/runtime to v0.44.0 by @renovate in https://github.com/napi-rs/napi-rs/pull/1804
- fix(cli): 🤖 align wasi template to nodejs demo by @IWANABETHATGUY in https://github.com/napi-rs/napi-rs/pull/1814
- chore(deps): update dependency emnapi to v0.44.0 by @renovate in https://github.com/napi-rs/napi-rs/pull/1805
- chore: upgrade emnapi dependencies by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1817
New Contributors
- @southorange0929 made their first contribution in https://github.com/napi-rs/napi-rs/pull/1801
- @segevfiner made their first contribution in https://github.com/napi-rs/napi-rs/pull/1812
- @IWANABETHATGUY made their first contribution in https://github.com/napi-rs/napi-rs/pull/1814
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.7…@napi-rs/cli@3.0.0-alpha.8
@napi-rs/cli@3.0.0-alpha.7
11/8/2023
What’s Changed
- fix(cli): artifacts command backward compatibility by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1797
- fix(cli): wrong wasm file name with —platform flag by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1798
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-sys@2.3.0…@napi-rs/cli@3.0.0-alpha.7
@napi-rs/cli@3.0.0-alpha.6
11/7/2023
What’s Changed
- chore(deps): update yarn to v3.6.2 by @renovate in https://github.com/napi-rs/napi-rs/pull/1702
- chore(deps): update yarn to v3.6.3 by @renovate in https://github.com/napi-rs/napi-rs/pull/1708
- chore(cli): update ci template by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1771
- Integrate with emnapi by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1669
- fix(cli): switch name parsing to allow periods in name by @RaphaelDarley in https://github.com/napi-rs/napi-rs/pull/1716
- chore: upgrade to yarn 4 by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1774
- fix(cli): js binding template by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1788
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.13.3…@napi-rs/cli@3.0.0-alpha.6
@napi-rs/cli@2.16.5
11/2/2023
What’s Changed
- fix(cli): switch name parsing to allow periods in name by @RaphaelDarley https://github.com/napi-rs/napi-rs/pull/1716
New Contributors
- @RaphaelDarley made their first contribution in https://github.com/napi-rs/napi-rs/pull/1716
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@2.16.4…@napi-rs/cli@2.16.5
@napi-rs/cli@2.16.4
11/2/2023
What’s Changed
- chore(cli): update ci template by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1770
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@2.16.3…@napi-rs/cli@2.16.4
@napi-rs/cli@2.16.3
8/16/2023
What’s Changed
- chore: upgrade npm dependencies by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1658
- fix(cli): zig 0.11 link args by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1698
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@2.16.2…@napi-rs/cli@2.16.3
@napi-rs/cli@3.0.0-alpha.5
7/18/2023
What’s Changed
- fix(cli): add back override cargo by env by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1605
- docs(README): update platform support status by @kxxt in https://github.com/napi-rs/napi-rs/pull/1607
- chore(deps): update dependency electron to v25 by @renovate in https://github.com/napi-rs/napi-rs/pull/1610
- chore(deps): lock file maintenance by @renovate in https://github.com/napi-rs/napi-rs/pull/1612
- chore(deps): update yarn to v3.6.0 by @renovate in https://github.com/napi-rs/napi-rs/pull/1614
- chore: remove extra #[cfg] attribute by @aqrln in https://github.com/napi-rs/napi-rs/pull/1616
- chore(deps): update dependency electron to v25.1.0 by @renovate in https://github.com/napi-rs/napi-rs/pull/1617
- chore(deps): update dependency c8 to v8 by @renovate in https://github.com/napi-rs/napi-rs/pull/1624
- chore(deps): update dependency esbuild to ^0.18.0 by @renovate in https://github.com/napi-rs/napi-rs/pull/1623
- chore(deps): update dependency electron to v25.1.1 by @renovate in https://github.com/napi-rs/napi-rs/pull/1625
- fix cli incorrect behaviors by @forehalo in https://github.com/napi-rs/napi-rs/pull/1626
- ci: reduce the complex of CI config by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1628
- fix cli watch build and remove unused
--esm
option by @forehalo in https://github.com/napi-rs/napi-rs/pull/1631 - chore(deps): update dependency electron to v25.2.0 by @renovate in https://github.com/napi-rs/napi-rs/pull/1633
- chore(deps): update yarn to v3.6.1 by @renovate in https://github.com/napi-rs/napi-rs/pull/1636
- ci: fix FreeBSD and macOS arm64 CI by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1648
- build(deps): bump semver from 5.7.1 to 5.7.2 by @dependabot in https://github.com/napi-rs/napi-rs/pull/1651
- chore(deps): update dependency electron to v25.3.0 by @renovate in https://github.com/napi-rs/napi-rs/pull/1654
- fix(deps): update dependency @octokit/rest to v20 by @renovate in https://github.com/napi-rs/napi-rs/pull/1653
- chore: upgrade dependencies by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1657
- fix(cli): created template missing macOS testing by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1659
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.4…@napi-rs/cli@3.0.0-alpha.5
@napi-rs/cli@2.16.2
7/17/2023
What’s Changed
- fix(cli): ts constEnum option not working when set in package.json by @pengx17 in https://github.com/napi-rs/napi-rs/pull/1647
New Contributors
- @pengx17 made their first contribution in https://github.com/napi-rs/napi-rs/pull/1647
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@2.16.1…@napi-rs/cli@2.16.2
@napi-rs/cli@2.16.0
5/27/2023
What’s Changed
- feat(cli): support —profile flag by @Brooooooklyn https://github.com/napi-rs/napi-rs/commit/dfbe4645f9f84283d233d96c2ea6fa7fd68d5b8c
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@2.15.2…@napi-rs/cli@2.16.0
@napi-rs/cli@3.0.0-alpha.4
5/27/2023
What’s Changed
- chore(deps): update dependency electron to v24.4.0 by @renovate in https://github.com/napi-rs/napi-rs/pull/1596
- feat(target): add support for riscv64gc-unknown-linux-gnu by @kxxt in https://github.com/napi-rs/napi-rs/pull/1599
- feat(cli): detect Cargo —profile argument by @lucasfernog in https://github.com/napi-rs/napi-rs/pull/1598
- fix(cli): revert back js-binding file by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1603
- refactor(cli): —profile flag by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1604
New Contributors
- @kxxt made their first contribution in https://github.com/napi-rs/napi-rs/pull/1599
- @lucasfernog made their first contribution in https://github.com/napi-rs/napi-rs/pull/1598
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.12.7…@napi-rs/cli@3.0.0-alpha.4
@napi-rs/cli@3.0.0-alpha.3
4/7/2023
3.0.0-alpha.3 (2023-04-07)
Bug Fixes
- cli: incorrect new project template content (7fcd68f)
@napi-rs/cli@3.0.0-alpha.0
4/6/2023
3.0.0-alpha.0 (2023-04-06)
Features
BREAKING CHANGES
- cli: requires node >= 16 and some cli options have been renamed
@napi-rs/cli@2.15.2
3/22/2023
What’s Changed
- fix(cli,napi-derive): backward compatible with older cli with #1531 by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1536
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.12.1…@napi-rs/cli@2.15.2
@napi-rs/cli@2.15.1
3/21/2023
What’s Changed
- fix(cli,napi-derive): re-export types from shared crate by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1531
- fix(cli): dts pipe by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1532
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.12.0…@napi-rs/cli@2.15.1
@napi-rs/cli@2.15.0
3/21/2023
What’s Changed
- fix(cli): export non const enums when generating typedefs by @nebarf in https://github.com/napi-rs/napi-rs/pull/1527
- fix(napi): ThreadsafeFunctionHandle never being dropped by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1530
- feat: export registers in wasm32 target by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1529
New Contributors
- @meowtec made their first contribution in https://github.com/napi-rs/napi-rs/pull/1525
- @nebarf made their first contribution in https://github.com/napi-rs/napi-rs/pull/1527
- @victorteokw made their first contribution in https://github.com/napi-rs/napi-rs/pull/1526
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.11.4…@napi-rs/cli@2.15.0
@napi-rs/cli@2.14.8
2/16/2023
2.14.8 (2023-02-16)
Bug Fixes
@napi-rs/cli@2.14.7
2/8/2023
2.14.7 (2023-02-08)
Bug Fixes
@napi-rs/cli@2.14.6
2/2/2023
2.14.6 (2023-02-02)
Note: Version bump only for package @napi-rs/cli
@napi-rs/cli@2.14.5
1/29/2023
2.14.5 (2023-01-29)
Bug Fixes
- cli: upload GitHub assets issue (a302c9c)
@napi-rs/cli@2.14.4
1/20/2023
2.14.4 (2023-01-20)
Bug Fixes
- napi: build error with zig@0.10.1 (2f52793)
@napi-rs/cli@2.14.3
1/13/2023
What’s Changed
- Fix broken zig behaviors by @controversial in https://github.com/napi-rs/napi-rs/pull/1432
New Contributors
- @controversial made their first contribution in https://github.com/napi-rs/napi-rs/pull/1432
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.10.6…@napi-rs/cli@2.14.3
@napi-rs/cli@2.14.2
1/10/2023
What’s Changed
- Fix CARGO env var in
napi build
by @overlookmotel in https://github.com/napi-rs/napi-rs/pull/1426
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.10.5…@napi-rs/cli@2.14.2
@napi-rs/cli@2.14.1
1/3/2023
What’s Changed
- [Fix] Quote toml path by @TheBrenny in https://github.com/napi-rs/napi-rs/pull/1410
- chore(cli): update CI template by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1416
New Contributors
- @TheBrenny made their first contribution in https://github.com/napi-rs/napi-rs/pull/1410
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.10.4…@napi-rs/cli@2.14.1
@napi-rs/cli@2.14.0
12/25/2022
What’s Changed
- feat(cli):
Darwin
universal architecture by @skirsdeda in https://github.com/napi-rs/napi-rs/pull/1397 - feat(cli): add —zig-link-only option by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1400
New Contributors
- @skirsdeda made their first contribution in https://github.com/napi-rs/napi-rs/pull/1397
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.10.3…@napi-rs/cli@2.14.0
@napi-rs/cli@2.13.3
12/15/2022
2.13.3 (2022-12-15)
Bug Fixes
- cli: set cmake toolchain for android cross build (#1394) (f2c10af)
- cli: template to works with nix (#1391) (36a897e)
@napi-rs/cli@2.13.2
12/9/2022
2.13.2 (2022-12-09)
Bug Fixes
- cli: ci template upgrade (bd1d3fe)
@napi-rs/cli@2.13.1
12/9/2022
2.13.1 (2022-12-09)
Bug Fixes
@napi-rs/cli@2.13.0
11/20/2022
What’s Changed
See https://napi.rs/docs/cross-build/summary
- fix(cli): support help command by @ahaoboy in https://github.com/napi-rs/napi-rs/pull/1355
- feat(cli): auto choose the tooling for cross compiling by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1367
- chore(cli): upgrade Node.js dependencies by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1368
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.10.1…@napi-rs/cli@2.13.0
@napi-rs/cli@2.13.0-alpha.0
11/17/2022
2.13.0-alpha.0 (2022-11-17)
Features
- cli: auto choose the tooling for cross compiling (7faf4fc)
@napi-rs/cli@2.12.1
11/12/2022