#MMS-lib-front
feature/name
need relase new version
use instructions in section install in other project
copy tsconfig-build.json
and tsconfig-serve.json.dist
from directory USE_in_project
to root path in your project (most important is section 'path')
tsconfig-serve.json.dist
copy to tsconfig-serve.json
and change path to library local paths
add to .gitignore
file: .env
and tsconfig-serve.json
in new project in package.json
set:
"tsconfig:dev": "cp tsconfig-serve.json tsconfig.json" ,
"tsconfig:prod": "cp tsconfig-prod.json tsconfig.json"
and set (for run app)
"start": "npm run tsconfig:dev && npm run config -- --environment=dev && ng serve"
use npm run start
to start project in develop mode (serve)
before install set in terminal (in repo path):
npm config set @front-mms:registry=https://git.mobilems.pl/api/v4/packages/npm/
npm config set '//git.mobilems.pl/api/v4/projects/PROJECT_ID/packages/npm/:_authToken' 'PERSONAL_ACCESS_TOKEN'
npm config set 'https://git.mobilems.pl/api/v4/packages/npm/:_authToken' 'PERSONAL_ACCESS_TOKEN'
when:
dyRxHX7sU7hF-_UwCDN_
) and install:
npm i @front-mms/filter-layer
or npm i @front-mms/filter-layer@version_number
npm i @front-mms/logic-layer
or npm i @front-mms/logic-layer@version_number
npm i @front-mms/view-layer
or npm i @front-mms/view-layer@version_number
npm i @front-mms/gallery-layer
or npm i @front-mms/gallery-layer@version_number
.env.dist
copy to .env
npm run start
app.commponent.ts / html