File tree Expand file tree Collapse file tree 25 files changed +303
-92
lines changed Expand file tree Collapse file tree 25 files changed +303
-92
lines changed Original file line number Diff line number Diff line change 77dist-deno
88/* .tgz
99.idea /
10+ .eslintcache
1011
Original file line number Diff line number Diff line change 11{
2- "." : " 0.1.0-alpha.6 "
2+ "." : " 0.1.0-alpha.7 "
33}
Original file line number Diff line number Diff line change 11configured_endpoints : 14
2- openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/zeroentropy%2Fzeroentropy-bd2f55f423e09b74f83cbad6034fb76f7052363308d02533a908b49543cff459 .yml
3- openapi_spec_hash : 6d7566ebda7fecac4069744949d547e0
4- config_hash : e07cdee04c971e1db74e91a5a4cd981c
2+ openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/zeroentropy%2Fzeroentropy-c95681b13dc56e64126746c6e546b564c7f802ae567fc9ccc1aeb8eddd40bb1e .yml
3+ openapi_spec_hash : 2ac723122fe938e384f11b5cf19e85ec
4+ config_hash : 3be2ee54cbc850c508c90b9ffae2efe5
Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## 0.1.0-alpha.7 (2025-11-24)
4+
5+ Full Changelog: [ v0.1.0-alpha.6...v0.1.0-alpha.7] ( https://github.com/zeroentropy-ai/zeroentropy-node/compare/v0.1.0-alpha.6...v0.1.0-alpha.7 )
6+
7+ ### Features
8+
9+ * ** api:** manual updates ([ de2c445] ( https://github.com/zeroentropy-ai/zeroentropy-node/commit/de2c4458b3a9fc3a6bc66b3e34d3db411d5ca6cd ) )
10+
11+
12+ ### Chores
13+
14+ * ci build action ([ f6e516b] ( https://github.com/zeroentropy-ai/zeroentropy-node/commit/f6e516bafe89d3d501a111e64a01684588606d41 ) )
15+ * ** deps:** update dependency node-fetch to v2.6.13 ([ b514540] ( https://github.com/zeroentropy-ai/zeroentropy-node/commit/b514540dad74b0359060b3427407f53276f94209 ) )
16+ * ** internal:** formatting change ([ f08028e] ( https://github.com/zeroentropy-ai/zeroentropy-node/commit/f08028ecf081a78515aa37d5a8f31d89bcc5ec12 ) )
17+ * ** internal:** move publish config ([ 0819835] ( https://github.com/zeroentropy-ai/zeroentropy-node/commit/0819835ac68f52cc71834e770bab910f9db38eb8 ) )
18+ * ** internal:** remove redundant imports config ([ 8044b42] ( https://github.com/zeroentropy-ai/zeroentropy-node/commit/8044b42a7e1860b59633b1c1eea41aecd0761f1a ) )
19+ * ** internal:** update comment in script ([ 90782a4] ( https://github.com/zeroentropy-ai/zeroentropy-node/commit/90782a460c764624013f0cd0025c15c6ddc7a69f ) )
20+ * make some internal functions async ([ 9722ec8] ( https://github.com/zeroentropy-ai/zeroentropy-node/commit/9722ec887e08667e0c2ffabe3b0e6e5390187da2 ) )
21+ * update @stainless-api/prism-cli to v5.15.0 ([ 16c797e] ( https://github.com/zeroentropy-ai/zeroentropy-node/commit/16c797edaf4fc82dad985a6b8363c26d99da934a ) )
22+ * update CI script ([ 96de540] ( https://github.com/zeroentropy-ai/zeroentropy-node/commit/96de540a48b20d9e3b5abfed353056d2aca48de7 ) )
23+
324## 0.1.0-alpha.6 (2025-07-08)
425
526Full Changelog: [ v0.1.0-alpha.5...v0.1.0-alpha.6] ( https://github.com/zeroentropy-ai/zeroentropy-node/compare/v0.1.0-alpha.5...v0.1.0-alpha.6 )
Original file line number Diff line number Diff line change 5858fi
5959
6060# Publish with the appropriate tag
61- yarn publish --access public -- tag " $TAG "
61+ yarn publish --tag " $TAG "
Original file line number Diff line number Diff line change 11{
22 "name" : " zeroentropy" ,
3- "version" : " 0.1.0-alpha.6 " ,
3+ "version" : " 0.1.0-alpha.7 " ,
44 "description" : " The official TypeScript library for the ZeroEntropy API" ,
55 "author" : " ZeroEntropy <founders@zeroentropy.dev>" ,
66 "types" : " dist/index.d.ts" ,
1313 " **/*"
1414 ],
1515 "private" : false ,
16+ "publishConfig" : {
17+ "access" : " public"
18+ },
1619 "scripts" : {
1720 "test" : " ./scripts/test" ,
1821 "build" : " ./scripts/build" ,
5861 " ./shims/web.js" ,
5962 " ./shims/web.mjs"
6063 ],
61- "imports" : {
62- "zeroentropy" : " ." ,
63- "zeroentropy/*" : " ./src/*"
64- },
6564 "exports" : {
6665 "./_shims/auto/*" : {
6766 "deno" : {
Original file line number Diff line number Diff line change 44
55cd " $( dirname " $0 " ) /.."
66
7- if [ -f " Brewfile" ] && [ " $( uname -s) " = " Darwin" ] && [ " $SKIP_BREW " != " 1" ]; then
7+ if [ -f " Brewfile" ] && [ " $( uname -s) " = " Darwin" ] && [ " $SKIP_BREW " != " 1" ] && [ -t 0 ] ; then
88 brew bundle check > /dev/null 2>&1 || {
9- echo " ==> Installing Homebrew dependencies…"
10- brew bundle
9+ echo -n " ==> Install Homebrew dependencies? (y/N): "
10+ read -r response
11+ case " $response " in
12+ [yY][eE][sS]|[yY])
13+ brew bundle
14+ ;;
15+ * )
16+ ;;
17+ esac
18+ echo
1119 }
1220fi
1321
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ set -euo pipefail
4+
5+ echo " Script started with $# arguments"
6+ echo " Arguments: $* "
7+ echo " Script location: $( dirname " $0 " ) "
8+
9+ cd " $( dirname " $0 " ) /.."
10+ echo " Changed to directory: $( pwd) "
11+
12+ if [ $# -eq 0 ]; then
13+ echo " Usage: $0 <file-with-paths> [additional-formatter-args...]"
14+ echo " The file should contain one file path per line"
15+ exit 1
16+ fi
17+
18+ FILE_LIST=" $1 "
19+
20+ echo " Looking for file: $FILE_LIST "
21+
22+ if [ ! -f " $FILE_LIST " ]; then
23+ echo " Error: File '$FILE_LIST ' not found"
24+ exit 1
25+ fi
26+
27+ echo " ==> Running eslint --fix"
28+ ESLINT_FILES=" $( grep ' \.ts$' " $FILE_LIST " || true) "
29+ if ! [ -z " $ESLINT_FILES " ]; then
30+ echo " $ESLINT_FILES " | ESLINT_USE_FLAT_CONFIG=" false" xargs ./node_modules/.bin/eslint --cache --fix
31+ fi
32+
33+ echo " ==> Running prettier --write"
34+ # format things eslint didn't
35+ PRETTIER_FILES=" $( grep ' \.\(js\|json\)$' " $FILE_LIST " || true) "
36+ if ! [ -z " $PRETTIER_FILES " ]; then
37+ echo " $PRETTIER_FILES " | xargs ./node_modules/.bin/prettier \
38+ --write --cache --cache-strategy metadata --no-error-on-unmatched-pattern \
39+ ' !**/dist' ' !**/*.ts' ' !**/*.mts' ' !**/*.cts' ' !**/*.js' ' !**/*.mjs' ' !**/*.cjs'
40+ fi
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ echo "==> Starting mock server with URL ${URL}"
2121
2222# Run prism mock on the given spec
2323if [ " $1 " == " --daemon" ]; then
24- npm exec --package=@stainless-api/prism-cli@5.8.5 -- prism mock " $URL " & > .prism.log &
24+ npm exec --package=@stainless-api/prism-cli@5.15.0 -- prism mock " $URL " & > .prism.log &
2525
2626 # Wait for server to come online
2727 echo -n " Waiting for server"
@@ -37,5 +37,5 @@ if [ "$1" == "--daemon" ]; then
3737
3838 echo
3939else
40- npm exec --package=@stainless-api/prism-cli@5.8.5 -- prism mock " $URL "
40+ npm exec --package=@stainless-api/prism-cli@5.15.0 -- prism mock " $URL "
4141fi
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ elif ! prism_is_running ; then
4343 echo -e " To run the server, pass in the path or url of your OpenAPI"
4444 echo -e " spec to the prism command:"
4545 echo
46- echo -e " \$ ${YELLOW} npm exec --package=@stoplight /prism-cli@~5.3.2 -- prism mock path/to/your.openapi.yml${NC} "
46+ echo -e " \$ ${YELLOW} npm exec --package=@stainless-api /prism-cli@5.15.0 -- prism mock path/to/your.openapi.yml${NC} "
4747 echo
4848
4949 exit 1
You can’t perform that action at this time.
0 commit comments