0.1.5 • Published 4 years ago

@vendasta/sales-shared-components v0.1.5

Weekly downloads
179
License
ISC
Repository
-
Last release
4 years ago

Sales Shared Components

This directory contains components, services and other objects that are published for use outside of SSC.

Warning

None of the code in this directory should refer to anything outside of this directory. Doing so will cause the library to be unpublishable.

Updating dependencies

The dependencies listed in this sub-project's package.json should use the same versions as the outer SSC app whenever possible.

If changes are made to these dependencies, remember to update the package-lock file in this sub-project so that our CI processes can run correctly.

(cd sales-shared; npm install)

Making changes to the library and testing them in another local project

There is an NPM script that can be used to pack up this lib

npm run packForLocal

The resulting tar file can be installed in the other project:

npm i -s <THIS DIRECTORY>/vendasta-sales-shared-components-1.y.z.tgz

Note: CSS Changes

If you make changes to the SCSS files in sales-shared, you may need to restart the target application after installing sales-shared in it. Angular sometimes fails to load CSS changes.

Testing the build

You can simulate the cloud build locally. Make sure you first install cloud-build-local.

cd <project root>
cloud-build-local --config=build/cloudbuild-frontend-branch.yaml --dryrun=false .
0.1.5

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.0

4 years ago

0.1.1

4 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.1

4 years ago

0.0.1-alpha.4

4 years ago