un-ts / prettier

:package: Opinionated but Incredible Prettier plugins.
https://prettier.vercel.app
MIT License
274 stars 25 forks source link

fix!: revert back to mvdan-sh for now #192

Closed JounQin closed 2 years ago

JounQin commented 2 years ago

At least we have more test cases for sh-syntax...

changeset-bot[bot] commented 2 years ago

🦋 Changeset detected

Latest commit: 7d9bbf04a405c53164444fcddb490a9f69904559

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ------------------ | ----- | | prettier-plugin-sh | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

codesandbox-ci[bot] commented 2 years ago

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

github-actions[bot] commented 2 years ago

📊 Package size report   -8.05%↓

File Before After
.changeset/selfish-ladybugs-matter.md — 75 B
package.json 3.0 kB 0.4%↑3.0 kB
packages/sh/package.json 1.1 kB -2.29%↓1.1 kB
packages/sh/src/index.ts 6.4 kB -1.58%↓6.3 kB
packages/sh/src/worker.ts 100 B —
packages/sh/test/__snapshots__/fixture.spec.ts.snap 25.4 kB 8%↑27.4 kB
packages/sh/test/fixture.spec.ts 1.5 kB -24.3%↓1.1 kB
packages/sh/test/fixtures/182 — 1.9 kB
packages/sh/test/fixtures/182-diff-os 1.9 kB —
packages/sh/test/shellscript.spec.ts 557 B -14.2%↓478 B
patches/get-tsconfig+4.0.6.patch 18.8 kB —
scripts/format.ts 620 B 0.2%↑621 B
tsconfig.json 272 B -33.1%↓182 B
Total (Includes all files) 216.3 kB -8.05%↓198.9 kB
Tarball size 69.8 kB -3.51%↓67.4 kB
Unchanged files | File | Size | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | --------: | | [`.changeset/config.json`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/.changeset/config.json) | `319 B` | | [`.changeset/README.md`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/.changeset/README.md) | `510 B` | | [`.codesandbox/ci.json`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/.codesandbox/ci.json) | `76 B` | | [`.editorconfig`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/.editorconfig) | `161 B` | | [`.eslintrc.cjs`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/.eslintrc.cjs) | `137 B` | | [`.github/FUNDING.yml`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/.github/FUNDING.yml) | `40 B` | | [`.github/workflows/ci.yml`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/.github/workflows/ci.yml) | `1.2 kB` | | [`.github/workflows/pkg-size.yml`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/.github/workflows/pkg-size.yml) | `491 B` | | [`.github/workflows/release.yml`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/.github/workflows/release.yml) | `1.1 kB` | | [`.lintstagedrc.cjs`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/.lintstagedrc.cjs) | `50 B` | | [`.nvmrc`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/.nvmrc) | `6 B` | | [`.prettierignore`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/.prettierignore) | `22 B` | | [`.prettierrc.cjs`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/.prettierrc.cjs) | `50 B` | | [`.remarkrc`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/.remarkrc) | `53 B` | | [`.simple-git-hooks.cjs`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/.simple-git-hooks.cjs) | `51 B` | | [`assets/pkg.svg`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/assets/pkg.svg) | `15.1 kB` | | [`assets/sh.png`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/assets/sh.png) | `14.4 kB` | | [`CHANGELOG.md`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/CHANGELOG.md) | `323 B` | | [`docs/App.tsx`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/docs/App.tsx) | `1.3 kB` | | [`docs/global.css`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/docs/global.css) | `153 B` | | [`docs/index.tsx`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/docs/index.tsx) | `208 B` | | [`LICENSE`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/LICENSE) | `1.1 kB` | | [`packages/pkg/CHANGELOG.md`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/packages/pkg/CHANGELOG.md) | `8.7 kB` | | [`packages/pkg/LICENSE`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/packages/pkg/LICENSE) | `16.7 kB` | | [`packages/pkg/package.json`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/packages/pkg/package.json) | `872 B` | | [`packages/pkg/README.md`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/packages/pkg/README.md) | `3.8 kB` | | [`packages/pkg/src/index.ts`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/packages/pkg/src/index.ts) | `1.4 kB` | | [`packages/pkg/src/rules/files.ts`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/packages/pkg/src/rules/files.ts) | `1.6 kB` | | [`packages/pkg/src/rules/object.ts`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/packages/pkg/src/rules/object.ts) | `736 B` | | [`packages/pkg/src/rules/sort.ts`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/packages/pkg/src/rules/sort.ts) | `2.3 kB` | | [`packages/pkg/src/types.ts`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/packages/pkg/src/types.ts) | `996 B` | | [`packages/pkg/src/utils.ts`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/packages/pkg/src/utils.ts) | `502 B` | | [`packages/pkg/test/__snapshots__/engines.spec.ts.snap`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/packages/pkg/test/__snapshots__/engines.spec.ts.snap) | `159 B` | | [`packages/pkg/test/__snapshots__/files.spec.ts.snap`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/packages/pkg/test/__snapshots__/files.spec.ts.snap) | `174 B` | | [`packages/pkg/test/__snapshots__/test.spec.ts.snap`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/packages/pkg/test/__snapshots__/test.spec.ts.snap) | `2.4 kB` | | [`packages/pkg/test/engines.spec.ts`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/packages/pkg/test/engines.spec.ts) | `437 B` | | [`packages/pkg/test/files.spec.ts`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/packages/pkg/test/files.spec.ts) | `429 B` | | [`packages/pkg/test/fixtures/fixture1.json`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/packages/pkg/test/fixtures/fixture1.json) | `1.0 kB` | | [`packages/pkg/test/fixtures/fixture2.json`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/packages/pkg/test/fixtures/fixture2.json) | `847 B` | | [`packages/pkg/test/test.spec.ts`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/packages/pkg/test/test.spec.ts) | `2.1 kB` | | [`packages/pkg/tsconfig.json`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/packages/pkg/tsconfig.json) | `153 B` | | [`packages/sh/CHANGELOG.md`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/packages/sh/CHANGELOG.md) | `9.1 kB` | | [`packages/sh/LICENSE`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/packages/sh/LICENSE) | `1.1 kB` | | [`packages/sh/README.md`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/packages/sh/README.md) | `2.2 kB` | | [`packages/sh/test/__snapshots__/shellscript.spec.ts.snap`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/packages/sh/test/__snapshots__/shellscript.spec.ts.snap) | `168 B` | | [`packages/sh/test/fixtures/.dockerignore`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/packages/sh/test/fixtures/.dockerignore) | `108 B` | | [`packages/sh/test/fixtures/.properties`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/packages/sh/test/fixtures/.properties) | `177 B` | | [`packages/sh/test/fixtures/133.sh`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/packages/sh/test/fixtures/133.sh) | `5.2 kB` | | [`packages/sh/test/fixtures/146.ini`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/packages/sh/test/fixtures/146.ini) | `1.1 kB` | | [`packages/sh/test/fixtures/147.cfg`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/packages/sh/test/fixtures/147.cfg) | `3.3 kB` | | [`packages/sh/test/fixtures/148.ini`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/packages/sh/test/fixtures/148.ini) | `3.1 kB` | | [`packages/sh/test/fixtures/162.sh`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/packages/sh/test/fixtures/162.sh) | `15.7 kB` | | [`packages/sh/test/fixtures/Dockerfile`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/packages/sh/test/fixtures/Dockerfile) | `394 B` | | [`packages/sh/test/fixtures/hosts`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/packages/sh/test/fixtures/hosts) | `406 B` | | [`packages/sh/test/fixtures/jvm.options`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/packages/sh/test/fixtures/jvm.options) | `162 B` | | [`packages/sh/test/fixtures/no-ext`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/packages/sh/test/fixtures/no-ext) | `37 B` | | [`packages/sh/test/fixtures/shell.sh`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/packages/sh/test/fixtures/shell.sh) | `368 B` | | [`packages/sh/tsconfig.json`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/packages/sh/tsconfig.json) | `153 B` | | [`packages/sql/CHANGELOG.md`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/packages/sql/CHANGELOG.md) | `3.1 kB` | | [`packages/sql/LICENSE`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/packages/sql/LICENSE) | `1.1 kB` | | [`packages/sql/package.json`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/packages/sql/package.json) | `1.1 kB` | | [`packages/sql/README.md`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/packages/sql/README.md) | `2.4 kB` | | [`packages/sql/src/index.ts`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/packages/sql/src/index.ts) | `12.6 kB` | | [`packages/sql/test/__snapshots__/fixtures.spec.ts.snap`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/packages/sql/test/__snapshots__/fixtures.spec.ts.snap) | `425 B` | | [`packages/sql/test/__snapshots__/sql.spec.ts.snap`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/packages/sql/test/__snapshots__/sql.spec.ts.snap) | `346 B` | | [`packages/sql/test/fixtures.spec.ts`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/packages/sql/test/fixtures.spec.ts) | `1.0 kB` | | [`packages/sql/test/fixtures/144.sql`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/packages/sql/test/fixtures/144.sql) | `68 B` | | [`packages/sql/test/fixtures/basic.sql`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/packages/sql/test/fixtures/basic.sql) | `120 B` | | [`packages/sql/test/sql.spec.ts`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/packages/sql/test/sql.spec.ts) | `681 B` | | [`packages/sql/tsconfig.json`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/packages/sql/tsconfig.json) | `153 B` | | [`README.md`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/README.md) | `5.2 kB` | | [`scripts/languages.ts`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/scripts/languages.ts) | `3.3 kB` | | [`tsconfig.base.json`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/tsconfig.base.json) | `135 B` | | [`tsconfig.lib.json`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/tsconfig.lib.json) | `86 B` | | [`vercel.json`](https://github.com/rx-ts/prettier/blob/fix/mvdan-sh/vercel.json) | `353 B` |

🤖 This report was automatically generated by pkg-size-action