Documentation Report Checklist
Overview
As of the new npm trusted publishing requirements (#2270 & co.), I don't know the best / canonically correct way to make a new package with a new repository. Trusted publishing needs to be enabled, but how do you do that for a new package automatically?
Accepting docs PRs for someone to figure this out!
Additional Info
The approximate steps I took for https://github.com/JoshuaKGoldberg/remark-add-twoslash were:
- Run
npx create-typescript-app --remote to create the package & upstream repo
- Ran
pnpm build locally
- Ran
pnpm publish locally to make a 0.0.*
- Went to https://www.npmjs.com/package/remark-add-twoslash/access and set the Trusted Publisher settings to JoshuaKGoldberg / remark-add-twoslash / publish.yaml
If there's a way for create-typescript-app to do this automatically, that'd be lovely. Please file issue(s) (or just comment here if you're in a hurry) letting us know!
🎁
Documentation Report Checklist
mainbranch of the repository.Overview
As of the new npm trusted publishing requirements (#2270 & co.), I don't know the best / canonically correct way to make a new package with a new repository. Trusted publishing needs to be enabled, but how do you do that for a new package automatically?
Accepting docs PRs for someone to figure this out!
Additional Info
The approximate steps I took for https://github.com/JoshuaKGoldberg/remark-add-twoslash were:
npx create-typescript-app --remoteto create the package & upstream repopnpm buildlocallypnpm publishlocally to make a 0.0.*If there's a way for create-typescript-app to do this automatically, that'd be lovely. Please file issue(s) (or just comment here if you're in a hurry) letting us know!
🎁