-
Notifications
You must be signed in to change notification settings - Fork 315
refactor: compile contracts cli #3798
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
6b12b2e
to
bc23a85
Compare
@@ -12,8 +13,11 @@ function run(webpack: TaskFunction, cb: TaskFunctionCallback) { | |||
return shell.cwd(cwd)`${cmd}` | |||
} | |||
|
|||
export const codegenGuardWatch = series(codegen, parallel(codegenWatch, run.bind(null, extensionWatch))) | |||
export const codegenGuard = series(codegen, run.bind(null, extension)) | |||
export const codegenGuardWatch: Undertaker.TaskFunction = series( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The inferred type of 'codegenGuardWatch' cannot be named without a reference to '.pnpm/@[email protected]/node_modules/@types/undertaker'. This is likely not portable. A type annotation is necessary.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd prefer to revert this change because this package will not be type-checked.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
okay
|
||
// add to git stage | ||
run(ABIS_PATH, 'git', 'add', '.') | ||
run(GENERATED_PATH, 'git', 'add', '.') | ||
shell`${ABIS_PATH}, 'git', 'add', '.'` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
safe?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
plz revert this modify.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Jack-Works Why remove run()
in e523a09 ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@zhouhanseng you should copy run
from e523a09 into this folder. The content in @masknet/cli
is not designed to be compiled or exported.
@zhouhanseng please revert the irrelated change, just copy |
c149703
to
7a03829
Compare
* develop: (93 commits) chore: add no-var rule (#3846) feat: the Risk Warning Dialog (#3833) fix(twitter): tweet selector fails to get link-only tweet content (#3837) chore: cleanup try-catch (#3840) chore: simplify urlcat builder (#3843) fix: parseint radix unset (#3844) chore: improve eslint (#3835) feat: introduce arbitrum network (#3558) fix: show nan in dashboard asset list (#3828) chore: simplify typing (#3825) refactor: revamp redpacket (#3809) feat: enable new dashboard in beat (#3826) fix: eslint (#3823) Update flags.ts (#3824) refactor: add v2_enabled flag (#3820) RFC: new payload v-37 and TypedMessage binary format (#2623) fix: bridge is down (#3821) feat: set experimentalMark on 3 plugins (#3669) fix: snapshot break down (#3814) refactor: compile contracts cli (#3798) ...
* refactor: compile contracts cli * chore: remove unused packages * chore: reply code review * chore: reply code review
Fix:
Cannot find module '../cli/utils' or its corresponding type declarations.ts(2307)