diff --git a/.github/workflows/canary.yml b/.github/workflows/canary.yml index 0fabed5a..4749ac4c 100644 --- a/.github/workflows/canary.yml +++ b/.github/workflows/canary.yml @@ -28,7 +28,7 @@ jobs: jq --arg prop "workspaces" 'del(.[$prop])' package.json > package.tmp.json && rm package.json && cp package.tmp.json package.json && rm package.tmp.json cd src npm --no-git-tag-version version $(npm pkg get version | sed 's/"//g')-$(git branch --show-current | tr -cs '[:alnum:]-' '-' | tr '[:upper:]' '[:lower:]' | sed 's/-$//').$(date +'%Y%m%dT%H%M%S') - cd ../create-vocs + cd ../create-farc npm --no-git-tag-version version $(npm pkg get version | sed 's/"//g')-$(git branch --show-current | tr -cs '[:alnum:]-' '-' | tr '[:upper:]' '[:lower:]' | sed 's/-$//').$(date +'%Y%m%dT%H%M%S') - name: Build @@ -38,7 +38,7 @@ jobs: run: | cd src npm publish --tag $(git branch --show-current | tr -cs '[:alnum:]-' '-' | tr '[:upper:]' '[:lower:]' | sed 's/-$//') - cd ../create-vocs + cd ../create-farc npm publish --tag $(git branch --show-current | tr -cs '[:alnum:]-' '-' | tr '[:upper:]' '[:lower:]' | sed 's/-$//') env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/create-farc/bin.ts b/create-farc/bin.ts index a241c751..47aa77de 100644 --- a/create-farc/bin.ts +++ b/create-farc/bin.ts @@ -6,7 +6,7 @@ import { type CreateParameters, create } from './create.js' const require = createRequire(import.meta.url) const pkg = require('../package.json') -const cli = cac('create-vocs') +const cli = cac('create-farc') cli.usage('[options]').option('-n, --name [name]', 'Name of project')