- Add Activepieces fork with SmoothSchedule custom piece - Create integrations app with Activepieces service layer - Add embed token endpoint for iframe integration - Create Automations page with embedded workflow builder - Add sidebar visibility fix for embed mode - Add list inactive customers endpoint to Public API - Include SmoothSchedule triggers: event created/updated/cancelled - Include SmoothSchedule actions: create/update/cancel events, list resources/services/customers 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
44 lines
1.2 KiB
TypeScript
44 lines
1.2 KiB
TypeScript
import assert from 'node:assert'
|
|
import { argv } from 'node:process'
|
|
import { exec } from './exec'
|
|
import { readPackageJson, readProjectJson } from './files'
|
|
import { packagePrePublishChecks } from './package-pre-publish-checks'
|
|
|
|
export const publishNxProject = async (path: string): Promise<void> => {
|
|
console.info(`[publishNxProject] path=${path}`)
|
|
assert(path, '[publishNxProject] parameter "path" is required')
|
|
|
|
const packageAlreadyPublished = await packagePrePublishChecks(path);
|
|
|
|
if (packageAlreadyPublished) {
|
|
return;
|
|
}
|
|
|
|
const { version } = await readPackageJson(path)
|
|
const { name: nxProjectName } = await readProjectJson(path)
|
|
|
|
const nxPublishProjectCommand = `
|
|
node tools/scripts/publish.mjs \
|
|
${nxProjectName} \
|
|
${version} \
|
|
latest
|
|
`
|
|
|
|
await exec(nxPublishProjectCommand)
|
|
|
|
console.info(`[publishNxProject] success, path=${path}, version=${version}`)
|
|
}
|
|
|
|
const main = async (): Promise<void> => {
|
|
const path = argv[2]
|
|
await publishNxProject(path)
|
|
}
|
|
|
|
/*
|
|
* module is entrypoint, not imported i.e. invoked directly
|
|
* see https://nodejs.org/api/modules.html#modules_accessing_the_main_module
|
|
*/
|
|
if (require.main === module) {
|
|
main()
|
|
}
|