Skip to content

Commit

Permalink
release/1.1.2 (#69)
Browse files Browse the repository at this point in the history
* chore: changelog and version

* fix: 🐛 provide missing types (#67)

* fix: missing dependency of inquirer (#63)

Co-authored-by: 那吒 <[email protected]>
  • Loading branch information
ClarkXia and maoxiaoke authored Oct 20, 2021
1 parent 9325320 commit 2ad4ac0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions packages/build-scripts/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 1.1.2

- [fix] missing type of hasRegistration
- [fix] missing dependency of inquirer

## 1.1.1

- [fix] compatible with webpack-dev-server v3
Expand Down
3 changes: 2 additions & 1 deletion packages/build-scripts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "build-scripts",
"version": "1.1.1",
"version": "1.1.2",
"license": "MIT",
"description": "scripts core",
"main": "lib/index.js",
Expand Down Expand Up @@ -36,6 +36,7 @@
"detect-port": "^1.3.0",
"esbuild": "^0.12.16",
"fs-extra": "^8.1.0",
"inquirer": "^6.5.1",
"json5": "^2.1.3",
"lodash": "^4.17.15",
"npmlog": "^4.1.2",
Expand Down
1 change: 1 addition & 0 deletions packages/build-scripts/src/core/Context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ export interface IPluginAPI {
setValue: <T>(name: string, value: T) => void;
getValue: <T>(name: string) => T;
registerUserConfig: (args: MaybeArray<IUserConfigArgs>) => void;
hasRegistration: (name: string, type?: 'cliOption' | 'userConfig') => boolean;
registerCliOption: (args: MaybeArray<ICliOptionArgs>) => void;
registerMethod: IRegisterMethod;
applyMethod: IApplyMethodAPI;
Expand Down

0 comments on commit 2ad4ac0

Please sign in to comment.