@sakuli/rollup-hooks
provide test script preprocessing with rollup
Last updated 2 months ago by sakuli_dev .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @sakuli/rollup-hooks 
SYNC missed versions from official npm registry.

@sakuli/rollup-hooks

TLDR;

This is a essential Part of Sakuli which handles the preprocessing of Testfiles. It is usually not nesseccary for Sakuli-Endusers to have any knowledge about the internals of this package.

Usage

This package provdies a preset that implements the following lifecycle hooks:

  • readFileContent
  • requestContext

It is required by @sakuli/legacy but can also be used (and considered) as the default file transformer for any Sakuli extension.

The basic task is to take a given test-file and bundle it together with it's dependencies into a single script-string. Sakuli will than create a Script-Object from this source.

As the name of this package tells, Rollup does the heavy lifting of the bundling process. There is not much magic in this process. Some points are still interesting:

  • It enables Sakuli to use ES6-Modules
  • The output format is commonjs, in order to work properly with external required modules sakuli also injects the require function from its scope.
  • If the extension of the provided file is .ts or .tsx the plugin rollup-plugin-typescript2 is added as a plugin

Current Tags

  • 2.2.0                                ...           latest (2 months ago)
  • 2.2.1-next.8                                ...           next (14 days ago)

63 Versions

  • 2.2.1-next.8                                ...           14 days ago
  • 2.2.1-next.7                                ...           a month ago
  • 2.2.1-next.6                                ...           a month ago
  • 2.2.1-next.5                                ...           a month ago
  • 2.2.1-next.4                                ...           a month ago
  • 2.2.1-next.3                                ...           a month ago
  • 2.2.1-next.1                                ...           a month ago
  • 2.2.1-next.0                                ...           2 months ago
  • 2.2.0                                ...           2 months ago
  • 2.1.4-next.16                                ...           2 months ago
  • 2.1.4-next.15                                ...           2 months ago
  • 2.1.4-next.14                                ...           2 months ago
  • 2.1.4-next.13                                ...           2 months ago
  • 2.1.4-next.12                                ...           2 months ago
  • 2.1.4-next.10                                ...           3 months ago
  • 2.1.4-next.9                                ...           3 months ago
  • 2.1.4-next.8                                ...           3 months ago
  • 2.1.4-next.7                                ...           3 months ago
  • 2.1.4-next.6                                ...           3 months ago
  • 2.1.4-next.5                                ...           3 months ago
  • 2.1.4-next.4                                ...           3 months ago
  • 2.1.4-next.2                                ...           3 months ago
  • 2.1.4-next.1                                ...           4 months ago
  • 2.1.4-next.0                                ...           4 months ago
  • 2.1.3                                ...           4 months ago
  • 2.1.3-next.20                                ...           4 months ago
  • 2.1.3-next.19                                ...           4 months ago
  • 2.1.3-next.18                                ...           4 months ago
  • 2.1.3-next.17                                ...           4 months ago
  • 2.1.3-next.16                                ...           4 months ago
  • 2.1.3-next.15                                ...           4 months ago
  • 2.1.3-next.14                                ...           4 months ago
  • 2.1.3-next.13                                ...           4 months ago
  • 2.1.3-next.12                                ...           4 months ago
  • 2.1.3-next.11                                ...           4 months ago
  • 2.1.3-next.10                                ...           4 months ago
  • 2.1.3-next.9                                ...           4 months ago
  • 2.1.3-next.7                                ...           4 months ago
  • 2.1.3-next.6                                ...           4 months ago
  • 2.1.3-next.5                                ...           4 months ago
  • 2.1.3-next.4                                ...           4 months ago
  • 2.1.3-next.3                                ...           5 months ago
  • 2.1.3-next.2                                ...           5 months ago
  • 2.1.3-next.1                                ...           5 months ago
  • 2.1.3-next.0                                ...           5 months ago
  • 2.1.2                                ...           5 months ago
  • 2.1.2-next.1                                ...           5 months ago
  • 2.1.2-next.0                                ...           5 months ago
  • 2.1.1                                ...           5 months ago
  • 2.1.1-next.17                                ...           5 months ago
  • 2.1.1-next.16                                ...           5 months ago
  • 2.1.1-next.15                                ...           5 months ago
  • 2.1.1-next.14                                ...           5 months ago
  • 2.1.1-next.13                                ...           6 months ago
  • 2.1.1-next.12                                ...           6 months ago
  • 2.1.1-next.11                                ...           6 months ago
  • 2.1.1-next.10                                ...           6 months ago
  • 2.1.0                                ...           6 months ago
  • 2.0.1                                ...           7 months ago
  • 2.0.0                                ...           8 months ago
  • 2.0.0-RC3                                ...           8 months ago
  • 2.0.0-RC2                                ...           9 months ago
  • 2.0.0-RC1                                ...           9 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 23
Last Day 0
Last Week 0
Last Month 186
Dependencies (9)
Dev Dependencies (11)
Dependents (1)

Copyright 2014 - 2017 © taobao.org |