Build

Summary

This describes the plugin build process

Details

The build process is automated in ../packages/dendron-cli/src/commands/devCLICommand.ts (Private)

It consists of the following steps:

  • prepPublish[Local|remote]
  • runTypeCheck
  • bumpVersion
  • publishVersion
  • syncAssets
    • buildNextServer
    • syncStaticAssets
      cp dendron-next-server/out plugin-core/assets/static
      cp dendron-next-server/assets/js plugin-core/assets/static
      cp api-server/assets/js plugin-core/assets/static
      
  • prepPluginPkg
  • installPluginDependencies
    rm package.json
    cd packages/plugin-core && yarn --no-lockfile
    
  • packagePluginDependencies
  • setRegRemote
  • restorePluginPkgJson

More details in Build


Backlinks