Skip to content

Commit

Permalink
Merge pull request #84 from MichealWayne/feat-utils-npm
Browse files Browse the repository at this point in the history
fix lock popcook
  • Loading branch information
MichealWayne authored Jan 14, 2025
2 parents 0483fcd + 3b5a563 commit 83ab28a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions utils/packages/ai-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
},
"devDependencies": {},
"dependencies": {
"ml-distance": "^4.0.1",
"@pipcook/boa": "1.3.1"
"ml-distance": "^4.0.1"
}
}
4 changes: 2 additions & 2 deletions utils/packages/ai-utils/src/utils/python.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
* @module aiUtils
* @author Wayne
* @Date 2023-08-10 13:32:22
* @LastEditTime 2024-08-25 14:03:20
* @LastEditTime 2025-01-12 19:10:00
*/

/** Boa文档:https://github1s.com/imgcook/boa/blob/main/README.md */

// eslint-disable-next-line @typescript-eslint/no-var-requires
const boa = require('@pipcook/boa'); // import会打包进去、存在莫名报错
const boa = require('@pipcook/boa'); // import会打包进去、存在莫名报错;需要按需手动安装

/**
* @function getBoa
Expand Down

0 comments on commit 83ab28a

Please sign in to comment.