llamaindex
v0.5.21 llm llama openai gpt data science prompt prompt engineering chatgpt machine learning and 6 more...
dev
concurrently "pnpm run build:esm --watch" "pnpm run build:cjs --watch" "pnpm run build:type --watch"
copy
cp -r ../../README.md ../../LICENSE .
lint
eslint .
build
rm -rf ./dist && pnpm run build:esm && pnpm run build:cjs && pnpm run build:type
build:cjs
swc src -d dist/cjs --strip-leading-paths --config-file ../../.cjs.swcrc
build:esm
swc src -d dist --strip-leading-paths --config-file ../../.swcrc
postbuild
pnpm run copy && node -e "require('fs').writeFileSync('./dist/cjs/package.json', JSON.stringify({ type: 'commonjs' }))"
build:type
tsc -p tsconfig.json
circular-check
madge -c ./src/**/*.ts