Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] @tauri-apps/cli NPM package contains unnecessary files #12139

Open
Sitin opened this issue Jan 2, 2025 · 0 comments
Open

[bug] @tauri-apps/cli NPM package contains unnecessary files #12139

Sitin opened this issue Jan 2, 2025 · 0 comments
Labels
good first issue Good for newcomers scope: cli.js The @tauri-apps/cli npm package status: needs triage This issue needs to triage, applied to new issues type: bug

Comments

@Sitin
Copy link

Sitin commented Jan 2, 2025

Describe the bug

The following path in packages/cli/Cargo.toml is incorrect in NPM package:

[dependencies]
# Default enable napi4 feature, see https://nodejs.org/api/n-api.html#node-api-version-matrix
napi = { version = "2.16", default-features = false, features = ["napi4"] }
napi-derive = "2.16"
tauri-cli = { path = "../../crates/tauri-cli", default-features = false }  # INCORRECT PATH
log = "0.4.21"

Reproduction

Install @tauri-apps/cli NPM package and check Cargo.toml file.

Expected behavior

The path should be either correct or file should be excluded from the package.

Full tauri info output

Irrelevant

Stack trace

No response

Additional context

No response

@Sitin Sitin added status: needs triage This issue needs to triage, applied to new issues type: bug labels Jan 2, 2025
@Sitin Sitin changed the title [bug] Incorrect or missing path to tauri-cli in @tauri-apps/cli NPM package [bug] Incorrect or missing path to tauri-cli in @tauri-apps/cli NPM package Jan 2, 2025
@FabianLars FabianLars changed the title [bug] Incorrect or missing path to tauri-cli in @tauri-apps/cli NPM package [bug] @tauri-apps/cli NPM package contains unnecessary files Jan 2, 2025
@FabianLars FabianLars added good first issue Good for newcomers scope: cli.js The @tauri-apps/cli npm package labels Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers scope: cli.js The @tauri-apps/cli npm package status: needs triage This issue needs to triage, applied to new issues type: bug
Projects
None yet
Development

No branches or pull requests

2 participants