This repository contains relevant JS libraries to get started using the Laserfiche API.
Contains the following packages:
@laserfiche/lf-api-client-core@laserfiche/lf-repository-api-client@laserfiche/lf-repository-api-client-v2@laserfiche/lf-api-js
- Run
npm install pnpm@latest-9 -g - Run
pnpm install
- To build all projects run
pnpm run build
- To build all projects run
pnpm run build --filter ${name-of-library-npm-package}- Ex/
pnpm run build --filter @laserfiche/lf-repository-api-client-js
- Ex/
- This will build the specified project and all dependent libaries (in this case
@laserfiche/lf-api-client-core)
- Run
pnpm --filter ${project_name} run ${script_name} - Example to run the "cloud" tests on
@laserfiche/lf-api-client-corerunpnpm --filter @laserfiche/lf-api-client-core run test:Cloud
- Update the version in main.yml for the package that you want to update
NPM_API_CLIENT_V1_VERSIONfor@laserfiche/lf-repository-api-clientNPM_API_CLIENT_V2_VERSIONfor@laserfiche/lf-repository-api-client-v2NPM_CLIENT_CORE_VERSIONfor@laserfiche/lf-api-client-core
- Update CHANGELOG in the folder for the package you are updating (i.e.
packages/lf-repository-api-client-v1) - Run pipeline in Github and publish preview package
- Test preview package
- Run publish production package