Skip to content

Commit

Permalink
feat: skip deps install, add initial release cli
Browse files Browse the repository at this point in the history
  • Loading branch information
linbudu599 committed Mar 15, 2022
1 parent 6171a4a commit c79ae05
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Deps Installation
run: |
npm i pnpm -g
pnpm i --no-frozen-lockfile
# pnpm i --no-frozen-lockfile
- name: Build
run: |
pnpm build:all
# pnpm build:all
2 changes: 2 additions & 0 deletions scripts/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import useCopyPackage from './copy-package';
import useCachePackage from './cache-package';
import useRenameWorkspacePackage from './rename-package';
import useForkWorkspace from './fork-workspace';
import useReleaseProject from './release';

const cli = cac('LinbuduLab-Starter');

Expand All @@ -24,6 +25,7 @@ useCopyPackage(cli);
useCachePackage(cli);
useRenameWorkspacePackage(cli);
useForkWorkspace(cli);
useReleaseProject(cli);

cli.help();
cli.parse();
13 changes: 13 additions & 0 deletions scripts/release/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { CAC } from 'cac';

/**
* What'll be included:
*
* - release-it
* - changesets
* - git-cz
* - changelog related
* - simple mode
* @param cli
*/
export default function useReleaseProject(cli: CAC) {}

0 comments on commit c79ae05

Please sign in to comment.