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

Significant CLI improvements #160

Merged
merged 19 commits into from
Jul 18, 2022
Merged

Significant CLI improvements #160

merged 19 commits into from
Jul 18, 2022

Commits on Jul 15, 2022

  1. feat(cli): made cli use wasm-bindgen with full binary structure rat…

    …her than `wasm-pack`
    
    This provides *significant* flexibility for all sorts of brilliant new features!
    
    BREAKING CHANGE: `[lib]`/`[[bin]]` settings no longer required in
    `Cargo.toml`, and `lib.rs` should be renamed to `main.rs` (everything is
    a binary now)
    arctic-hen7 committed Jul 15, 2022
    Configuration menu
    Copy the full SHA
    095f489 View commit details
    Browse the repository at this point in the history
  2. refactor: moved target directories into dist/

    This cleans things up a little, and makes directory structures and
    cleaning build artifacts much simpler.
    arctic-hen7 committed Jul 15, 2022
    Configuration menu
    Copy the full SHA
    5e4bdb2 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2022

  1. feat(cli): made wasm-bindgen and wasm-opt automatically install l…

    …ocally
    
    Perseus now has no dependencies except Rust! This also *dramatically*
    reduces bundle sizes for some reason (`wasm-pack` overhead?), by over
    50kb in the basic example.
    arctic-hen7 committed Jul 16, 2022
    Configuration menu
    Copy the full SHA
    22aad04 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    61bf8b9 View commit details
    Browse the repository at this point in the history
  3. fix(deployment): fixed deployment copying GBs of cargo assets

    Since we now store `cargo` target directories inside `dist/`, they were
    being copied for exporting!
    arctic-hen7 committed Jul 16, 2022
    Configuration menu
    Copy the full SHA
    ca9a5a7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    26e6477 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d01e1b4 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2454612 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a8a000e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    416a4bf View commit details
    Browse the repository at this point in the history
  9. refactor: used more object-oriented style for installation code

    This is more longwinded, but fixes a few priority issues, and it's much
    more maintainable and extensible.
    arctic-hen7 committed Jul 16, 2022
    Configuration menu
    Copy the full SHA
    8b29181 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2022

  1. feat(cli): added system-wide cache for tools

    This will be used preferentially over a local directory if available,
    minimizing wait times for creating new projects.
    arctic-hen7 committed Jul 17, 2022
    Configuration menu
    Copy the full SHA
    7ba8a1d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a14b91a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ee0953a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1dcf8fe View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e48d5c5 View commit details
    Browse the repository at this point in the history
  6. docs: updated i18n sizes with different translators

    Our more advanced optimizations cut bundle sizes with Fluent *substantially*.
    arctic-hen7 committed Jul 17, 2022
    Configuration menu
    Copy the full SHA
    5bb13a0 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8d9bedf View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2022

  1. feat(cli): allowed provision of different cargos for browser/engine

    This will allow properly using the Cranelift backend.
    arctic-hen7 committed Jul 18, 2022
    Configuration menu
    Copy the full SHA
    c668ffc View commit details
    Browse the repository at this point in the history