@pothos/core
v4.3.0 pothos graphql schema types typescript builder framework plugin deno and 1 more...
type
tsc --project tsconfig.type.json
build
pnpm build:clean && pnpm build:cjs && pnpm build:dts && pnpm build:esm
build:clean
git clean -dfX esm lib
build:cjs
swc src -d lib --config-file ../../.swcrc -C module.type=commonjs --strip-leading-paths
build:esm
cp -r dts/* esm/ && swc src -d esm --config-file ../../.swcrc -C module.type=es6 --strip-leading-paths && pnpm esm:extensions
build:dts
tsc
esm:extensions
TS_NODE_PROJECT=../../tsconfig.json node -r @swc-node/register ../../scripts/esm-transformer.ts
test
pnpm vitest --run