tauri/cli/tauri.js/architecture.md
Jacob Bolda c718bd2382
chore: tauri.js dead code elim (#1422)
* remove templates, only used it CTA

* help command is empty, remove

* delete files that aren't imported / required

* set files array to ignore src and config files

* remove unused deps

* add arch notes for future ref

* change file
2021-04-01 13:46:59 -05:00

889 B

Contributing

See the main document in the .github folder for general instructions. This document includes information regarding specific architecture choices.

Development and Publishing

This package is primarily a CLI. This means that the output should not contain any Typescript, and only use the bin directory with .js (or files runnable directly in pure node) or the dist directory which includes processed Typescript files. Running npm publish --dry-run will give you a list of files and the package structure that are included when it is published. This may be helpful for understanding path requirements.

The scripts folder is included for use in dependency manager to install rustup.

Webpack is our current bundler of choice. It is not bundling the node_modules so our package.json dependency array needs to include anything required within the repository.