packer

webpack + npm + R = ❤️

OTHER License

Downloads
317
Stars
145
Committers
3
packer - Roclets Latest Release

Published by JohnCoene over 2 years ago

packer 0.1.3

  • More robust check for appropriate engine in engine_which.
  • Added roclets to bundle when documenting (prod & dev).
  • Added support for tailwind with use_tailwind.
  • Modified scaffold for ambiorix to support new version with package form.
packer - Test & Framework7

Published by JohnCoene almost 3 years ago

  • Few typo in documentation.
  • New framework7 parameter for golem_scaffold to create plug and play Framework7 powered Shiny app.
  • New use_loader_framework7 to support Framework7 projects.
  • Added ease_lit to use Lit in a project.
  • Deprecate include_tests (see below)
  • include_tests_mocha supercedes include_tests
  • Add include_tests_peeky.
  • Updating packages prints correct messages.
  • Added scaffold_bare to create empty scaffolds with no code.
  • Added option to scaffold golem applications with framework7
    #13 + added
    respective loader.
  • Added engine_check to check whether npm and/or yarn is
    currently and can be found: necessary to run anything with
    packer.
  • Simplify check for packer, no longer requires dev directory
    to be present.
  • Added put_test to add a testthat check to ensure files are
    minified.
  • Added include_action_check to add a Github workflow that
    checks that the files have been minified on commit.
  • Remove deprecated include_tests.
  • Fix use of React #16
  • Fix widget externals configuration where wrong names were
    inserted.
packer - Recommended

Published by JohnCoene about 3 years ago

Adds helper systems to make it easier to contribute to packer projects and use enforce robustness.Full details below.

  • Added put_precommit_hook to add a pre-commit git hook that
    ebsure JavaScript files have been minified on commit.
  • Added engine_adapt to easily change engine dependending
    on the current project's engine.
  • Added engine_which to retrieve which engine the current
    project is using.
  • Added put_rprofile_adapt to add engine_adapt to the
    .Rprofile.
  • Added checks to run basic checks on packer projects.
  • Added use_loader_svelte.
  • Added add_plugin_workbox for progressive web applications.
  • Added add_plugin_jsdoc for generating documentation from
    JavaScript code à la roxygen2, as well as add_jsdoc_tutorial
    to add vignettes-like documents.
  • Added scaffold_leprechaun to scaffold an application for
    a leprechaun project.
  • Remove use_loader_eslint, previously deprecated, see
    add_plugin_eslint.
packer - Yarn, TypeScript & Styles

Published by JohnCoene over 3 years ago

Major features includes convenience functions to support TypeScript, support for yarn, and support for CSS modules.

  • Ensure existing R files are not overwritten is already existing.
  • Added make_library to turn the project into a library
    callable from outside the bundle.
  • Allow @import statements for CSS loader
  • Changed improved docs
  • Added modules and import arguments to CSS loader function.
  • Added use_loader_style to easily allow CSS modules. See the
    documentation
  • Add support for yarn via engine_* and yarn_* functions,
    see documentation.
  • Watch script now default to dev (not prod)
  • Added use_loader_ts, ts_get_types, and ts_get_type
    for TypeScript integration, see documentation.
packer - Hello CRAN

Published by JohnCoene about 4 years ago

Includes changes in skipped 0.0.5

  • Use rstudio to open files, if available.
  • Added scaffold_ambiorix function.
  • Added function to mock up package creation so examples can run for CRAN submission.
  • Added scaffold_rmd to scaffold R markdown projects.
  • When a test for a specific loader exist the use is now appended to existing entry.
  • Added use_loader_eslint.
  • Added use_eslint argument to use_babel.
  • Added tests
packer - Tests

Published by JohnCoene about 4 years ago

  • Added scaffold_rmd to scaffold R markdown projects.
  • When a test for a specific loader exist the use is now appended to existing entry.
  • Added use_loader_eslint.
  • Added use_eslint argument to use_babel.
  • Added tests
  • Loaders use_loader_* now accept test argument.
  • Add use_loader_rule to allow adding loaders yet implemented.
  • Add use_loader_file to allow importing images.
  • Removed broken use_loader_vue_style, apply_vue now uses use_loader_css which works.
  • Added output_path argument to add_plugin_html.

Bug fixes

  • Fixed import of external libraries (HTMLwidgets, Shiny, and jQuery).
  • Fixed name check on scaffolds, e.g.: scaffold_input("no space allowed") would not fail before.
packer - Stable

Published by JohnCoene about 4 years ago

  • Added apply_react adds the relevant (babel) loader, installs dependencies, and creates, or updates, or replaces the srcjs/index.js file.
  • Added react argument to scaffold_golem to include react in a golem scaffold, run apply_react under the hood.
  • Added add_plugin_clean to easily clean bundled files.
  • Added unit test support via mocha.js woth include_tests, run_tests, and add_test_file.
  • Allow multiple loaders with same rule.
  • Add support for coffeescript loader.
packer - Initial Version

Published by JohnCoene about 4 years ago