https://github.com/bencoveney/pnpm-publish-workflows
https://github.com/bencoveney/pnpm-publish-workflows
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/bencoveney/pnpm-publish-workflows
- Owner: bencoveney
- Created: 2024-09-01T09:58:22.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-09-03T22:52:22.000Z (8 months ago)
- Last Synced: 2025-01-13T21:25:17.035Z (3 months ago)
- Language: TypeScript
- Size: 180 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PNPM Experimentation
```shell
# https://pnpm.io/installation
corepack enable pnpm
corepack use pnpm@latest
```Env variables impacting where pnpm stores information:
- `XDG_CACHE_HOME`
- `XDG_CONFIG_HOME`
- `XDG_DATA_HOME`
- `XDG_STATE_HOME``.npmrc` file locations:
- per-project `/path/to/my/project/.npmrc`
- per-workspace (dir that contains `pnpm-workspace.yaml`)
- per-user `~/.npmrc`
- global `/etc/npmrc`Values in `.npmrc` files may contain env variables using the `${NAME}`, `${NAME-fallback}` (missing) or `${NAME:-fallback}` (missing or empty)
## Goals to show:
- [/] Sites, packages, tools living in one repository.
- [/] What happens when we publish.
- [/] Can we version and ship to github packages.
- [/] Can we use changesets.
- [ ] What happens in CI.
- [ ] Can we limit checks to changed packages.
- [ ] Can we publish packages.
- [ ] What happens for local dev.
- [ ] Hosting the site.
- [ ] Running from within docker.
- [ ] How would tooling configuration work.
- [/] TypeScript.
- [/] Eslint.
- [ ] Jest.## Misc:
- Changesets needs "Allow GitHub Actions to create and approve pull requests"
- https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-npm-registry#publishing-multiple-packages-to-the-same-repository
- https://github.com/pnpm/pnpm/issues/3141