Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- `pnpm install` auto-updated the lockfile to 5.4 and added some things - add `clean` and `tsc` commands to `package.json` - change `tsconfig.json` settings - add `declaration: true` here instead of in `tsconfigOverride` - add `rootDir: './src'` so that types are output flatly into `dist` instead of in `dist/src` - add `skipLibCheck: true` as a recommended optimization from the TS team - it's quite a bit faster; I was wondering why `tsc` was a bit slow on such a tiny file, then saw `skipLibCheck` wasn't enabled - also because I was getting some type issues within `node_modules`, and this setting skips those as they're outside of our control - after these changes, `pnpm run tsc` has correct output, while rpt2 has incorrect output - the incorrect output is definitely because `check: false` is set and bc rpt2 is hitting a type-error when `check: true` - and the type-error is bc `pnpm`'s symlinks or something aren't being properly resolved - note that if you use regular NPM instead, rpt2 will have correct output: `rm -rf node_modules && npm install && npm run build`
- Loading branch information