Commit graph

7 commits

Author SHA1 Message Date
Victor Berchet
15613eefe4
refactor(CI): explicitly set encoding when reading package.json (#7684) 2025-01-08 12:13:48 +01:00
Cina Saffary
884e418816
Add prettier plugin to auto-sort imports (#4139)
* Install and configure @ianvs/prettier-plugin-sort-imports

* Replace use of reserved word `package`

The import sorting prettier plugin chokes trying to parse this.

* Fix export of variables declared in global scope

* run `pnpm prettify` after adding @ianvs/prettier-plugin-sort-imports

* Remove `import/order` rule from eslint preset

* Turn off miniflare prettier eslint rule

Using different versions of prettier in the root and the miniflare workspaces is causing some errors now. Disabling for the time being until we can upgrade the root to prettier v3.

* Update snapshots
2024-01-22 14:32:32 -06:00
Pete Bacon Darwin
03133ee6ff
ci: publish beta releases of create-cloudflare to npm (#3458)
* ci: publish beta releases of create-cloudflare to npm

* Add repository_dispatch event
2023-06-14 15:35:52 +01:00
Pete Bacon Darwin
2d936049c4
Extra tabs fixes (#1361)
* ensure github actions don't break formatting
* convert github action helper scripts to use tab indents
2022-06-28 10:32:24 +01:00
Sunil Pai
5af9eb82b9
Add a new line to the generated package.json in the prerelease script (#176)
We now check for lint fails before we publish to npm. The script that rewrites package.json doesn't add a newline to the end oft he generated file, which makes prettier fail. This PR adds that newline, and should make the script pass.
2021-12-30 15:13:11 +00:00
Jacob M-G Evans
689cd55b3e
CI/CD Improvements (#76)
* Changesets
- Installed CLI tool
- npx changeset init -- addeds changesets dir, config and readme
- Modified the config for main branch instead of master

* Start of Contributing documentation

* ESlint & Prettier combined
VScode Settings file added to encourage ESLint usage w/ integrated Prettier
- ESLint recs & default formatter
- Test Changeset
- PR review fixups
2021-12-10 12:32:33 -06:00
Jacob M-G Evans
62fec70b1a
GitHub Action (#9) 2021-11-04 22:34:16 +00:00