ucshared
v4.1.22584
Published
Shared libs for ucellar
Keywords
Readme
#ucshared
This is the shared library for www + admin + react-native.
SRC:
- api.ts - interface for midtier
- serverless.ts - interface for uc.functions
Getting started:
- As a prerequisite you will need to have Java installed.
- You will need to install/place the file called
swagger-codegen-cli.jarfile one level above the ucshared folder (file located in UC sharepoint dev section). - Run
npm install
How to update api.ts (UC.Midtier):
- make sure midtier is running locally on port 8082, as well as uc.functions on 8087
cd uc_sharedthen runnpm run midtiervia git bashnpm run serverlesscd srcthen runnode ci_auto_patch_ts_files.jscd ..then runnpm run build- commit changes to the repo
npm version minorto increment the ucshared package version. This will update the package.json with the new version AND do a git commit for it. So, you will not be able to do npm version minor until AFTER you committed your changes in (2).npm publishto upload the package to npm. (npm loginfirst)
#Access In order to update ucshared on npmjs.org you need to have Contributor access to the ucshared module.
The following people currently have access via npm login:
- bherila
- dalejo90
- matenji
