un-ts / prettier

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

feat(pkg)!: support more fields from yarn and vscode #199

Closed JounQin closed 2 years ago

github-actions[bot] commented 2 years ago

πŸ“Š Package size report   0.1%↑

File Before After
.changeset/stale-crabs-design.md β€” 86 B
.github/FUNDING.yml 163 B 20%↑195 B
.github/workflows/pkg-size.yml 491 B -0.41%↓489 B
.github/workflows/release.yml 1.1 kB -0.36%↓1.1 kB
.github/workflows/vercel.yml 622 B 8%↑674 B
packages/pkg/src/rules/sort.ts 2.3 kB 3%↑2.3 kB
Total (Includes all files) 213.4 kB 0.1%↑213.6 kB
Tarball size 68.1 kB 0.1%↑68.2 kB
Unchanged files | File | Size | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------: | | [`.changeset/config.json`](https://github.com/un-ts/prettier/blob/feat/pkg/.changeset/config.json) | `319 B` | | [`.changeset/README.md`](https://github.com/un-ts/prettier/blob/feat/pkg/.changeset/README.md) | `510 B` | | [`.codesandbox/ci.json`](https://github.com/un-ts/prettier/blob/feat/pkg/.codesandbox/ci.json) | `76 B` | | [`.editorconfig`](https://github.com/un-ts/prettier/blob/feat/pkg/.editorconfig) | `161 B` | | [`.eslintrc`](https://github.com/un-ts/prettier/blob/feat/pkg/.eslintrc) | `93 B` | | [`.github/workflows/ci.yml`](https://github.com/un-ts/prettier/blob/feat/pkg/.github/workflows/ci.yml) | `1.1 kB` | | [`.lintstagedrc.cjs`](https://github.com/un-ts/prettier/blob/feat/pkg/.lintstagedrc.cjs) | `50 B` | | [`.nvmrc`](https://github.com/un-ts/prettier/blob/feat/pkg/.nvmrc) | `6 B` | | [`.prettierignore`](https://github.com/un-ts/prettier/blob/feat/pkg/.prettierignore) | `22 B` | | [`.prettierrc`](https://github.com/un-ts/prettier/blob/feat/pkg/.prettierrc) | `24 B` | | [`.remarkrc`](https://github.com/un-ts/prettier/blob/feat/pkg/.remarkrc) | `53 B` | | [`.simple-git-hooks.cjs`](https://github.com/un-ts/prettier/blob/feat/pkg/.simple-git-hooks.cjs) | `51 B` | | [`assets/pkg.svg`](https://github.com/un-ts/prettier/blob/feat/pkg/assets/pkg.svg) | `15.1 kB` | | [`assets/sh.png`](https://github.com/un-ts/prettier/blob/feat/pkg/assets/sh.png) | `14.4 kB` | | [`CHANGELOG.md`](https://github.com/un-ts/prettier/blob/feat/pkg/CHANGELOG.md) | `323 B` | | [`docs/App.tsx`](https://github.com/un-ts/prettier/blob/feat/pkg/docs/App.tsx) | `1.3 kB` | | [`docs/global.css`](https://github.com/un-ts/prettier/blob/feat/pkg/docs/global.css) | `153 B` | | [`docs/index.tsx`](https://github.com/un-ts/prettier/blob/feat/pkg/docs/index.tsx) | `208 B` | | [`LICENSE`](https://github.com/un-ts/prettier/blob/feat/pkg/LICENSE) | `1.1 kB` | | [`package.json`](https://github.com/un-ts/prettier/blob/feat/pkg/package.json) | `3.1 kB` | | [`packages/pkg/CHANGELOG.md`](https://github.com/un-ts/prettier/blob/feat/pkg/packages/pkg/CHANGELOG.md) | `9.2 kB` | | [`packages/pkg/LICENSE`](https://github.com/un-ts/prettier/blob/feat/pkg/packages/pkg/LICENSE) | `16.7 kB` | | [`packages/pkg/package.json`](https://github.com/un-ts/prettier/blob/feat/pkg/packages/pkg/package.json) | `1.7 kB` | | [`packages/pkg/README.md`](https://github.com/un-ts/prettier/blob/feat/pkg/packages/pkg/README.md) | `6.2 kB` | | [`packages/pkg/src/index.ts`](https://github.com/un-ts/prettier/blob/feat/pkg/packages/pkg/src/index.ts) | `1.4 kB` | | [`packages/pkg/src/rules/files.ts`](https://github.com/un-ts/prettier/blob/feat/pkg/packages/pkg/src/rules/files.ts) | `1.6 kB` | | [`packages/pkg/src/rules/object.ts`](https://github.com/un-ts/prettier/blob/feat/pkg/packages/pkg/src/rules/object.ts) | `736 B` | | [`packages/pkg/src/types.ts`](https://github.com/un-ts/prettier/blob/feat/pkg/packages/pkg/src/types.ts) | `996 B` | | [`packages/pkg/src/utils.ts`](https://github.com/un-ts/prettier/blob/feat/pkg/packages/pkg/src/utils.ts) | `502 B` | | [`packages/pkg/test/__snapshots__/engines.spec.ts.snap`](https://github.com/un-ts/prettier/blob/feat/pkg/packages/pkg/test/__snapshots__/engines.spec.ts.snap) | `159 B` | | [`packages/pkg/test/__snapshots__/files.spec.ts.snap`](https://github.com/un-ts/prettier/blob/feat/pkg/packages/pkg/test/__snapshots__/files.spec.ts.snap) | `174 B` | | [`packages/pkg/test/__snapshots__/test.spec.ts.snap`](https://github.com/un-ts/prettier/blob/feat/pkg/packages/pkg/test/__snapshots__/test.spec.ts.snap) | `2.4 kB` | | [`packages/pkg/test/engines.spec.ts`](https://github.com/un-ts/prettier/blob/feat/pkg/packages/pkg/test/engines.spec.ts) | `437 B` | | [`packages/pkg/test/files.spec.ts`](https://github.com/un-ts/prettier/blob/feat/pkg/packages/pkg/test/files.spec.ts) | `429 B` | | [`packages/pkg/test/fixtures/fixture1.json`](https://github.com/un-ts/prettier/blob/feat/pkg/packages/pkg/test/fixtures/fixture1.json) | `1.0 kB` | | [`packages/pkg/test/fixtures/fixture2.json`](https://github.com/un-ts/prettier/blob/feat/pkg/packages/pkg/test/fixtures/fixture2.json) | `863 B` | | [`packages/pkg/test/test.spec.ts`](https://github.com/un-ts/prettier/blob/feat/pkg/packages/pkg/test/test.spec.ts) | `2.1 kB` | | [`packages/pkg/tsconfig.json`](https://github.com/un-ts/prettier/blob/feat/pkg/packages/pkg/tsconfig.json) | `153 B` | | [`packages/sh/CHANGELOG.md`](https://github.com/un-ts/prettier/blob/feat/pkg/packages/sh/CHANGELOG.md) | `9.9 kB` | | [`packages/sh/LICENSE`](https://github.com/un-ts/prettier/blob/feat/pkg/packages/sh/LICENSE) | `1.1 kB` | | [`packages/sh/package.json`](https://github.com/un-ts/prettier/blob/feat/pkg/packages/sh/package.json) | `1.9 kB` | | [`packages/sh/README.md`](https://github.com/un-ts/prettier/blob/feat/pkg/packages/sh/README.md) | `4.7 kB` | | [`packages/sh/src/index.ts`](https://github.com/un-ts/prettier/blob/feat/pkg/packages/sh/src/index.ts) | `6.3 kB` | | [`packages/sh/test/__snapshots__/fixture.spec.ts.snap`](https://github.com/un-ts/prettier/blob/feat/pkg/packages/sh/test/__snapshots__/fixture.spec.ts.snap) | `27.4 kB` | | [`packages/sh/test/__snapshots__/shellscript.spec.ts.snap`](https://github.com/un-ts/prettier/blob/feat/pkg/packages/sh/test/__snapshots__/shellscript.spec.ts.snap) | `168 B` | | [`packages/sh/test/fixture.spec.ts`](https://github.com/un-ts/prettier/blob/feat/pkg/packages/sh/test/fixture.spec.ts) | `1.1 kB` | | [`packages/sh/test/fixtures/.dockerignore`](https://github.com/un-ts/prettier/blob/feat/pkg/packages/sh/test/fixtures/.dockerignore) | `108 B` | | [`packages/sh/test/fixtures/.properties`](https://github.com/un-ts/prettier/blob/feat/pkg/packages/sh/test/fixtures/.properties) | `177 B` | | [`packages/sh/test/fixtures/133.sh`](https://github.com/un-ts/prettier/blob/feat/pkg/packages/sh/test/fixtures/133.sh) | `5.2 kB` | | [`packages/sh/test/fixtures/146.ini`](https://github.com/un-ts/prettier/blob/feat/pkg/packages/sh/test/fixtures/146.ini) | `1.1 kB` | | [`packages/sh/test/fixtures/147.cfg`](https://github.com/un-ts/prettier/blob/feat/pkg/packages/sh/test/fixtures/147.cfg) | `3.3 kB` | | [`packages/sh/test/fixtures/148.ini`](https://github.com/un-ts/prettier/blob/feat/pkg/packages/sh/test/fixtures/148.ini) | `3.1 kB` | | [`packages/sh/test/fixtures/162.sh`](https://github.com/un-ts/prettier/blob/feat/pkg/packages/sh/test/fixtures/162.sh) | `15.7 kB` | | [`packages/sh/test/fixtures/182`](https://github.com/un-ts/prettier/blob/feat/pkg/packages/sh/test/fixtures/182) | `1.9 kB` | | [`packages/sh/test/fixtures/Dockerfile`](https://github.com/un-ts/prettier/blob/feat/pkg/packages/sh/test/fixtures/Dockerfile) | `394 B` | | [`packages/sh/test/fixtures/hosts`](https://github.com/un-ts/prettier/blob/feat/pkg/packages/sh/test/fixtures/hosts) | `406 B` | | [`packages/sh/test/fixtures/jvm.options`](https://github.com/un-ts/prettier/blob/feat/pkg/packages/sh/test/fixtures/jvm.options) | `162 B` | | [`packages/sh/test/fixtures/no-ext`](https://github.com/un-ts/prettier/blob/feat/pkg/packages/sh/test/fixtures/no-ext) | `37 B` | | [`packages/sh/test/fixtures/shell.sh`](https://github.com/un-ts/prettier/blob/feat/pkg/packages/sh/test/fixtures/shell.sh) | `368 B` | | [`packages/sh/test/shellscript.spec.ts`](https://github.com/un-ts/prettier/blob/feat/pkg/packages/sh/test/shellscript.spec.ts) | `478 B` | | [`packages/sh/tsconfig.json`](https://github.com/un-ts/prettier/blob/feat/pkg/packages/sh/tsconfig.json) | `153 B` | | [`packages/sql/CHANGELOG.md`](https://github.com/un-ts/prettier/blob/feat/pkg/packages/sql/CHANGELOG.md) | `3.6 kB` | | [`packages/sql/LICENSE`](https://github.com/un-ts/prettier/blob/feat/pkg/packages/sql/LICENSE) | `1.1 kB` | | [`packages/sql/package.json`](https://github.com/un-ts/prettier/blob/feat/pkg/packages/sql/package.json) | `1.9 kB` | | [`packages/sql/README.md`](https://github.com/un-ts/prettier/blob/feat/pkg/packages/sql/README.md) | `4.9 kB` | | [`packages/sql/src/index.ts`](https://github.com/un-ts/prettier/blob/feat/pkg/packages/sql/src/index.ts) | `12.6 kB` | | [`packages/sql/test/__snapshots__/fixtures.spec.ts.snap`](https://github.com/un-ts/prettier/blob/feat/pkg/packages/sql/test/__snapshots__/fixtures.spec.ts.snap) | `425 B` | | [`packages/sql/test/__snapshots__/sql.spec.ts.snap`](https://github.com/un-ts/prettier/blob/feat/pkg/packages/sql/test/__snapshots__/sql.spec.ts.snap) | `346 B` | | [`packages/sql/test/fixtures.spec.ts`](https://github.com/un-ts/prettier/blob/feat/pkg/packages/sql/test/fixtures.spec.ts) | `1.0 kB` | | [`packages/sql/test/fixtures/144.sql`](https://github.com/un-ts/prettier/blob/feat/pkg/packages/sql/test/fixtures/144.sql) | `68 B` | | [`packages/sql/test/fixtures/basic.sql`](https://github.com/un-ts/prettier/blob/feat/pkg/packages/sql/test/fixtures/basic.sql) | `120 B` | | [`packages/sql/test/sql.spec.ts`](https://github.com/un-ts/prettier/blob/feat/pkg/packages/sql/test/sql.spec.ts) | `681 B` | | [`packages/sql/tsconfig.json`](https://github.com/un-ts/prettier/blob/feat/pkg/packages/sql/tsconfig.json) | `153 B` | | [`README.md`](https://github.com/un-ts/prettier/blob/feat/pkg/README.md) | `7.6 kB` | | [`scripts/format.ts`](https://github.com/un-ts/prettier/blob/feat/pkg/scripts/format.ts) | `682 B` | | [`scripts/languages.ts`](https://github.com/un-ts/prettier/blob/feat/pkg/scripts/languages.ts) | `3.3 kB` | | [`tsconfig.base.json`](https://github.com/un-ts/prettier/blob/feat/pkg/tsconfig.base.json) | `135 B` | | [`tsconfig.json`](https://github.com/un-ts/prettier/blob/feat/pkg/tsconfig.json) | `182 B` | | [`tsconfig.lib.json`](https://github.com/un-ts/prettier/blob/feat/pkg/tsconfig.lib.json) | `86 B` | | [`vercel.json`](https://github.com/un-ts/prettier/blob/feat/pkg/vercel.json) | `325 B` |

πŸ€– This report was automatically generated by pkg-size-action

codecov-commenter commented 2 years ago

Codecov Report

Merging #199 (c6caeb8) into master (626d39f) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #199   +/-   ##
=======================================
  Coverage   83.96%   83.96%           
=======================================
  Files           7        7           
  Lines         106      106           
  Branches       27       27           
=======================================
  Hits           89       89           
  Misses         17       17           
Impacted Files Coverage Ξ”
packages/pkg/src/rules/sort.ts 100.00% <ΓΈ> (ΓΈ)

Continue to review full report at Codecov.

Legend - Click here to learn more Ξ” = absolute <relative> (impact), ΓΈ = not affected, ? = missing data Powered by Codecov. Last update 626d39f...c6caeb8. Read the comment docs.

changeset-bot[bot] commented 2 years ago

πŸ¦‹ Changeset detected

Latest commit: c6caeb8fb537cef71388649903c45ebbf0b6335c

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-pkg | Minor |

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

github-actions[bot] commented 2 years ago

Deploy preview for prettier ready!

βœ… Preview https://prettier-qk1g0llsu-jounqin.vercel.app

Built with commit c6caeb8fb537cef71388649903c45ebbf0b6335c. This pull request is being automatically deployed with vercel-action