File tree Expand file tree Collapse file tree 2 files changed +5
-15
lines changed Expand file tree Collapse file tree 2 files changed +5
-15
lines changed Original file line number Diff line number Diff line change 15
15
"prepack" : " echo 'to pack, run yarn build && (cd dist; yarn pack)' && exit 1" ,
16
16
"prepublishOnly" : " echo 'to publish, run yarn build && (cd dist; yarn publish)' && exit 1" ,
17
17
"format" : " prettier --write --cache --cache-strategy metadata . !dist" ,
18
- "prepare" : " npm run build" ,
18
+ "prepare" : " if [ $(basename $(dirname $PWD)) = 'node_modules' ]; then npm run build; fi " ,
19
19
"tsn" : " ts-node -r tsconfig-paths/register" ,
20
20
"lint" : " eslint --ext ts,js ." ,
21
21
"fix" : " eslint --fix --ext ts,js ."
39
39
"eslint-plugin-prettier" : " ^4.0.0" ,
40
40
"eslint-plugin-unused-imports" : " ^2.0.0" ,
41
41
"jest" : " ^29.4.0" ,
42
- "openai" : " file:." ,
43
42
"prettier" : " rattrayalex/prettier#postfix-ternaries" ,
44
43
"ts-jest" : " ^29.1.0" ,
45
44
"ts-morph" : " ^19.0.0" ,
56
55
" ./shims/web.js" ,
57
56
" ./shims/web.mjs"
58
57
],
58
+ "imports" : {
59
+ "openai" : " ." ,
60
+ "openai/*" : " ./src/*"
61
+ },
59
62
"exports" : {
60
63
"./_shims/auto/*" : {
61
64
"deno" : {
Original file line number Diff line number Diff line change @@ -3062,19 +3062,6 @@ onetime@^5.1.2:
3062
3062
dependencies :
3063
3063
mimic-fn "^2.1.0"
3064
3064
3065
- " openai@file:. " :
3066
- version "4.20.0"
3067
- dependencies :
3068
- " @types/node" " ^18.11.18"
3069
- " @types/node-fetch" " ^2.6.4"
3070
- abort-controller "^3.0.0"
3071
- agentkeepalive "^4.2.1"
3072
- digest-fetch "^1.3.0"
3073
- form-data-encoder "1.7.2"
3074
- formdata-node "^4.3.2"
3075
- node-fetch "^2.6.7"
3076
- web-streams-polyfill "^3.2.1"
3077
-
3078
3065
optionator@^0.9.3 :
3079
3066
version "0.9.3"
3080
3067
resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.9.3.tgz#007397d44ed1872fdc6ed31360190f81814e2c64"
You can’t perform that action at this time.
0 commit comments