Init

Lifecycle

init(wsRoot) {

	nextPath := wsRoot
	nextPathExists := nextPath

	if nextPathExists {
		@_updateNextTemplate
	} else {
		// see [[Init|dendron://dendron.docs/pkg.dendron-cli.ref.publish.init#^UUkBpHtLmKCK]]
		@_initialize
	}

}
  • update template
_updateNextTemplate {
	updateTemplate
	_installDependencies
}
  • initialize
_initialize {
	_cloneTemplate
	_installDependencies
}

build

"build": "npm run copy:robotstxt && next build",