Casa for my packages, projects, and experiments.
- Install dependencies and symlink
packages/*
npm i
Note: Re-run the above command if you add or remove
packages/*
to ensure all symlinks are up to date.
- Build all
packages/*
npm run build
Run the dev
script with Turborepo's --filter=<package-name>...
option to
start a project and all it's dependencies in watch mode.
npm run dev -- --filter=@aacc/test-app...
# Add tsconfigs dep to tsc-ts package
npx lerna add @aacc/tsconfigs --scope @aacc/tsc-ts
# Add dev dep to rollup-js package
npx lerna add -D rollup --scope @aacc/rollup-js
# Inspect inferred dependencies from the Turborepo "build" pipeline
npm run build -- --dry-run
# Graph the inferred dependencies from the Turborepo "build" pipeline
npm run build -- --graph
# Check formatting of all packages
prettier --check '**/*.{js,ts,cjs,mjs,jsx,tsx,md}'
- Add
babel-{ts,js}
package - Add
rollup-{ts,js}
package - Add
webpack-{ts,js}
package - Add
esbuild-{ts,js}
package - Add
vite-{ts,js}
package - Move TypeScript build and type-check up to the root of the monorepo. AC:
- Single
typescript
dependency - Use TypeScript project references
- Single
- Add eslint-config package
- Integrate eslint-config in all packages
- Add prettier-config package
- Integrate prettier-config in all packages
- Add storybook