Test suite for hansogj npm packages
Run pnpm i --frozen-lockfile to install dependencies for utility package, and then pnpm -r build to build all workspaces
Each folder
apps/
├── commonjs
├── javascript
└── typescript
contains scripts and html-templates needed to verify the different packages pulled into this util in the dependencies block from package.json.
Commands pnpm web-cs serve && pnpm web-js serve && pnpm web-ts serve runs the webpack server for commonjs and typescript, respectively. Likewise, pnpm web-cjs run test:watch && pnpm web-ts run test:watch will run tests for the two modes.
To verify the packages open in you favorite browser
There is also a Dockerfile and a docker-compose.yml that will run the three servers in separate containers. Just wind upp the whole project
- [http://localhost:4114/](http://localhost:4114/)
- [http://localhost:3113/](http://localhost:3113/)
- [http://localhost:2112/](http://localhost:2112/)
```bash
pnpm run clean // NB! important to flush cache so that old version numbers not listed
docker build .
docker container prune && docker compose up