Skip to content
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

fix: 修复构建产物的类型文件中找不到第三方依赖类型的问题 #432

Merged
merged 3 commits into from
Mar 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 12
node-version: 14
registry-url: https://registry.npmjs.org
cache: npm
- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
# an extra windows-x86 run:
include:
- os: windows-latest
node: 12
node: 14
architecture: x86
name: Node ${{ matrix.node }} - ${{ matrix.architecture }} on ${{ matrix.os }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
12
14
86 changes: 23 additions & 63 deletions packages/feflow-cli/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions packages/feflow-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@
},
"devDependencies": {
"@oclif/dev-cli": "^1.22.2",
"@types/nedb": "^1.8.10"
},
"dependencies": {
"@feflow/feflow-plugin-devtool": "^0.4.2",
"@feflow/report": "^0.6.2",
"@types/abbrev": "^1.1.0",
"@types/bunyan": "^1.8.7",
"@types/command-line-usage": "^5.0.1",
Expand All @@ -48,16 +53,11 @@
"@types/lodash": "^4.14.161",
"@types/marked": "^4.0.3",
"@types/minimist": "^1.2.0",
"@types/nedb": "^1.8.10",
"@types/osenv": "^0.1.0",
"@types/ps-node": "^0.1.1",
"@types/request-promise": "^4.1.45",
"@types/semver": "^6.0.1",
"@types/yeoman-environment": "^2.10.1"
},
"dependencies": {
"@feflow/feflow-plugin-devtool": "^0.4.2",
"@feflow/report": "^0.6.2",
"@types/yeoman-environment": "^2.10.1",
"abbrev": "^1.1.1",
"axios": "^0.21.1",
"bunyan": "^1.8.14",
Expand Down
5 changes: 5 additions & 0 deletions packages/feflow-cli/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
import Feflow from './core';

// 命名导出便于插件开发者进行 ts module augmentation: https://www.typescriptlang.org/docs/handbook/declaration-merging.html#module-augmentation
// 因为 default 导出不能被 augment
export { Feflow };
// legacy default 导出,后续不建议
export default Feflow;
Loading