Age | Commit message (Collapse) | Author | |
---|---|---|---|
2025-04-09 | build: Configure Vite for library build and finalize package fields | Pawel Zelawski | |
- Add `vite-plugin-dts` dev dependency. - Create `vite.config.ts` specifically for library build mode: - Configure ESM and UMD outputs (`dist/digiid-ts.es.js`, `dist/digiid-ts.umd.js`). - Set up `vite-plugin-dts` for generating `dist/index.d.ts`. - Externalize Node.js built-ins and 'digibyte-message' dependency. - Update `package.json`: - Change `scripts.build` to `vite build`. - Point `main`, `module`, and `types` fields to the correct files in `dist/`. - Run and verify the build process successfully generates the expected distribution files. | |||
2025-04-09 | feat: Initialize project structure and dependencies | Pawel Zelawski | |
Initialize the DigiID-TS project with basic tooling and configuration. - Create package.json with project metadata and scripts. - Configure TypeScript (tsconfig.json) for strict compilation. - Set up ESLint and Prettier for code linting and formatting. - Configure Vitest for unit testing and coverage. - Add a standard Node.js .gitignore file. - Install development dependencies (TypeScript, Vite, Vitest, ESLint, Prettier). - Install core runtime dependency 'digibyte-message' from the original library's Git source. |