unjs / template

📋 UnJS Project Starter Template
MIT License
161 stars 15 forks source link

Can we use this as a templat to make typescript packages? #102

Closed fayazara closed 3 weeks ago

fayazara commented 3 weeks ago

Describe the change

Hey @pi0, planning to use this template for some TypeScript packages I'm building. Can we? The docs don't clarify its purpose.

URLs

No response

Additional information

pi0 commented 3 weeks ago

Generally yes this is template i used for creating many of new unjs packages which made with typescript.

fayazara commented 3 weeks ago

Okay, the CI keeps failing with this message -


Run pnpm install
 ERR_PNPM_FROZEN_LOCKFILE_WITH_OUTDATED_LOCKFILE  Cannot perform a frozen installation because the version of the lockfile is incompatible with this version of pnpm
 ```
 
 Any idea?
pi0 commented 3 weeks ago

pnpm install

fayazara commented 3 weeks ago

I meant the the pipeline fails immidiately, even for new repos

https://github.com/SupersaasHQ/usePayment/actions/runs/11477581779/job/31939974451 https://github.com/SupersaasHQ/usePayment/actions/runs/11477581785/job/31939974510

pi0 commented 3 weeks ago

After cloning template, you are supposed to run pnpm install once (similar to Nuxt starter templates). If you clone with giget, it has --install option

fayazara commented 3 weeks ago

Thanks @pi0