2.3.0 • Published 4 years ago

@nextbitlabs/nextbit-ui v2.3.0

Weekly downloads
26
License
ISC
Repository
gitlab
Last release
4 years ago

Nextbit UI

This project contains the UI

Usage example: run and develop locally - src-doc

Install and code:

yarn install
yarn start

Build the src-doc (used for gitlab pages):

yarn run build-doc

The compiled HTML SPA contained in src-doc is bundled in public folder used by gh-pages.

Note:

WARNING: the public folder is for gitlab-pages, do not put anything in here! It will be destroyed before each build.

Build an exportable library - src

yarn run build-lib
npm publish

T.L.T.R.

This project is meant to be exported as a library and used into other project. The main entry is src/index.ts file.

To achieve this and produce CJS, UMD and ESM bundles with a single declaration file... I'm doing some workaround/build step.

I'm using microbundle to produce the final dist but it does not actually compiles typescript, only strip types and this is a little bit problematic.

So there are a first compilation step:

  1. compile with tsc into build folder (using tsconfig.json)
  2. actually launch microbundle
  3. bundle d.ts with dts-bundle-generator.

After this step the temporary build folder can be removed.

How to improve

There is big space for improvement writing a custom rollup script that does all this by itself. See those notes:

References

2.3.0

4 years ago

2.2.0

4 years ago

2.1.8

4 years ago

2.1.7

4 years ago

2.1.6

4 years ago

2.1.5

4 years ago

2.1.4

4 years ago

2.1.3

4 years ago

2.1.2

4 years ago

2.1.1

4 years ago

2.1.0

4 years ago

2.0.0

4 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.61

5 years ago

1.0.6

5 years ago

1.0.51

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago