Publishes modules.json
description: "Url to modules.json"
default: "https://raw.githubusercontent.com/VirtoCommerce/vc-modules/master/modules_v3.json"
required: false
description: "Package Url for modules.json"
default: ""
required: false
description: "push changed modules.json to github"
default: "true"
required: false
description: "Name of modules manifest file"
required: false
default: "modules_v3.json"
description: "Repo url"
required: false
default: "https://github.com/VirtoCommerce/vc-modules.git"
description: "Path to updated modules.json"
- name: Publish Manifest
if: ${{ github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/master'}}
uses: VirtoCommerce/vc-github-actions/publish-manifest@master
with:
packageUrl: ${{ steps.blobRelease.outputs.packageUrl }}
Use @vercel/ncc tool to compile your code and modules into one file used for distribution.
- Install vercel/ncc by running this command in your terminal.
npm i -g @vercel/ncc
- Compile your index.ts file.
ncc build ./src/index.ts --license licenses.txt