Skip to content

Commit 2dcff6c

Browse files
committed
working cli
1 parent 77375eb commit 2dcff6c

File tree

14 files changed

+553
-69
lines changed

14 files changed

+553
-69
lines changed
File renamed without changes.

.github/workflows/publish-npm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ jobs:
2727
2828
- name: Publish to NPM
2929
run: |
30-
bash ./bin/publish-npm
30+
bash ./.github/publish-npm
3131
env:
3232
NPM_TOKEN: ${{ secrets.TOGETHER_NPM_TOKEN || secrets.NPM_TOKEN }}

.github/workflows/release-doctor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
- name: Check release environment
1818
run: |
19-
bash ./bin/check-release-environment
19+
bash ./.github/check-release-environment
2020
env:
2121
NPM_TOKEN: ${{ secrets.TOGETHER_NPM_TOKEN || secrets.NPM_TOKEN }}
2222

bin/cli

Lines changed: 0 additions & 46 deletions
This file was deleted.

bin/dev.cmd

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
@echo off
2+
3+
node "%~dp0\dev" %*

bin/dev.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/usr/bin/env bun
2+
3+
// eslint-disable-next-line unicorn/prefer-top-level-await
4+
;(async () => {
5+
const oclif = await import('@oclif/core')
6+
await oclif.execute({development: true, dir: __dirname})
7+
})()

bin/migration-config.json

Lines changed: 0 additions & 6 deletions
This file was deleted.

bin/run.cmd

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
@echo off
2+
3+
node "%~dp0\run" %*

bin/run.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/usr/bin/env bun
2+
3+
// eslint-disable-next-line unicorn/prefer-top-level-await
4+
(async () => {
5+
const oclif = await import('@oclif/core')
6+
await oclif.execute({dir: __dirname})
7+
})()

0 commit comments

Comments
 (0)