0.1.25 • Published 1 year ago

bit-shared-web-components v0.1.25

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

BIT Shared Web Components

Changelog

0.1.22

  • Updated Auth API urls

Development

Installation

npm install

Develop / run the server

Start the server and let it watch the source code for any changes, which triggers a rebuild of the library.

npm run dev

Every time a source file changes, nodemon will trigger npm run build-lib which rebuilds the project libraries.

How to set up auto-updates with another project

In order to speed up development, we can set up the development environment in such a way that every time the project library rebuilds, the projects that use this library can automatically update it's package source code.

First, run this command to create a symlink to the global folder (global node_modules)

npm link

Then, open a terminal in your other project's root directory, and run the commands:

# Go to your other project's directory
cd bit-boilerplate-web-admin
# Run the bellow command
npm link bit-shared-web-components

# Go to this project's directory
cd bit-shared-web-components
# Start development server
npm run dev

Now, your project should automatically update whenever you make changes to this library.

Troubleshooting npm link

If the other project is not updating with changes to this project, try the following commands to fix npm link issues:

# Go to your project's directory
cd bit-boilerplate-web-admin
npm uninstall bit-shared-web-components
npm link bit-shared-web-components
npm install bit-shared-web-components

After the above commands, the unresponsiveness / issues should be fixed.

0.1.22

1 year ago

0.1.23

1 year ago

0.1.24

1 year ago

0.1.25

1 year ago

0.1.20

2 years ago

0.1.21

2 years ago

0.1.18

2 years ago

0.1.19

2 years ago

0.1.10

2 years ago

0.1.11

2 years ago

0.1.13

2 years ago

0.1.14

2 years ago

0.1.15

2 years ago

0.1.16

2 years ago

0.1.8

2 years ago

0.1.17

2 years ago

0.1.9

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago