0.45.0 • Published 2 months ago

@kcws/web-rig v0.45.0

Weekly downloads
-
License
SEE LICENSE IN LI...
Repository
github
Last release
2 months ago

Web-rig

npm@latest bundle@latest libsio@latest snyk@latest

Typescript

Using Typescript module in heft to build and compile typescript via TypescriptTask (source).

Output

This will generate output on multiple directories,

  1. lib - a main directory contains compiled code.
  • commonjs (.js) - compiled code using commonjs type.
  • esmodule (.mjs) - compiled code using esmodule/es5 type.
  • mapping (.js.map or .mjs.map) - file mapping for commonjs or esmodule.
  • typings (.d.ts) - typescript definition created by tsc cli.
  1. dist - a main typescript definition single file. it's separated to 4 files.
  • index.d.ts is a aggregated type of a project.
  • index-alpha.d.ts is a alpha-only type of a project.
  • index-beta.d.ts is a beta-only type of a project.
  • index-public.d.ts is a public-only type of a project.
  1. lib-umd - a compiled umd code.

notes: library using this rig will requires client to install 'tslib' package. This is to reduce package size on production build

Jest

Using heft-jest-plugin module to configure jest. There are several config we overwritten to meet our need.

  1. Enabled code coverage by default
  2. Produce lcov report for analysis code coverage at sonarcloud
  3. Produce html report for test result using jest-html-reporters
  4. Produce junit report for test result using jest-junit

Scss

We didn't test this yet, it may or may not works as we expected

Using heft-sass-plugin module to generate css and build type definition.

0.45.0

2 months ago

0.44.0

2 months ago

0.43.0

2 months ago

0.42.0

2 months ago

0.41.0

3 months ago

0.40.0

3 months ago

0.39.0

3 months ago

0.38.0

3 months ago

0.37.1

4 months ago

0.37.0

4 months ago

0.36.0

4 months ago

0.35.0

4 months ago

0.34.0

4 months ago

0.33.1

4 months ago

0.33.0

4 months ago

0.32.0

5 months ago

0.21.0

8 months ago

0.20.0

8 months ago

0.19.0

8 months ago

0.12.0

10 months ago

0.13.0

10 months ago

0.14.0

10 months ago

0.15.0

9 months ago

0.16.0

9 months ago

0.17.0

9 months ago

0.18.0

9 months ago

0.31.0

5 months ago

0.30.0

6 months ago

0.29.0

6 months ago

0.28.0

6 months ago

0.27.0

6 months ago

0.26.1

6 months ago

0.26.0

6 months ago

0.25.0

7 months ago

0.24.0

7 months ago

0.23.0

7 months ago

0.22.0

8 months ago

0.11.0

10 months ago

0.10.0

11 months ago

0.9.0

11 months ago

0.8.0

11 months ago

0.7.0

1 year ago

0.6.0

1 year ago

0.5.0

1 year ago

0.4.0

1 year ago

0.3.0

1 year ago

0.2.0

1 year ago