Releases: JohnCoene/packer
Releases · JohnCoene/packer
Roclets
Test & Framework7
- Few typo in documentation.
- New
framework7
parameter forgolem_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
supercedesinclude_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.
Recommended
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 addengine_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 asadd_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
.
Yarn, TypeScript & Styles
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
andimport
arguments to CSS loader function. - Added
use_loader_style
to easily allow CSS modules. See the
documentation - Add support for yarn via
engine_*
andyarn_*
functions,
see documentation. - Watch script now default to dev (not prod)
- Added
use_loader_ts
,ts_get_types
, andts_get_type
for TypeScript integration, see documentation.
Hello CRAN
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 touse_babel
. - Added tests
Tests
- 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 touse_babel
. - Added tests
- Loaders
use_loader_*
now accepttest
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 usesuse_loader_css
which works. - Added
output_path
argument toadd_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.
Stable
- Added
apply_react
adds the relevant (babel) loader, installs dependencies, and creates, or updates, or replaces thesrcjs/index.js
file. - Added
react
argument toscaffold_golem
to include react in a golem scaffold, runapply_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
, andadd_test_file
. - Allow multiple loaders with same
rule
. - Add support for coffeescript loader.
Initial Version
v0.0.1 release