un-ts / prettier

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

fix: enable SQLite which is actually supported #299

Closed jlarmstrongiv closed 11 months ago

jlarmstrongiv commented 11 months ago

Closes https://github.com/un-ts/prettier/issues/298

changeset-bot[bot] commented 11 months ago

πŸ¦‹ Changeset detected

Latest commit: b64a229d7479becdc1d80835edf04cfb26892405

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-sql | 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 11 months 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.

jlarmstrongiv commented 11 months ago

And here I thought I could make a hot fix in the web ui without cloning and installing the repo πŸ˜‚ adding a changeset momentarily

jlarmstrongiv commented 11 months ago

Having issues with changeset actually. Maybe you could run the quick command?

πŸ¦‹  error Error: Cannot find module '/Users/user/projects/prettier/node_modules/.pnpm/@1stg+prettier-config@3.9.2_prettier@3.0.3_svelte@4.0.4/node_modules/prettier-plugin-pkg/lib/index.cjs'
πŸ¦‹  error     at createEsmNotFoundErr (node:internal/modules/cjs/loader:1070:15)
πŸ¦‹  error     at finalizeEsmResolution (node:internal/modules/cjs/loader:1063:15)
πŸ¦‹  error     at resolveExports (node:internal/modules/cjs/loader:547:14)
πŸ¦‹  error     at Module._findPath (node:internal/modules/cjs/loader:621:31)
πŸ¦‹  error     at Module._resolveFilename (node:internal/modules/cjs/loader:1034:27)
πŸ¦‹  error     at Module._load (node:internal/modules/cjs/loader:901:27)
πŸ¦‹  error     at Module.require (node:internal/modules/cjs/loader:1115:19)
πŸ¦‹  error     at require (node:internal/modules/helpers:130:18)
πŸ¦‹  error     at /Users/user/projects/prettier/node_modules/.pnpm/@1stg+prettier-config@3.9.2_prettier@3.0.3_svelte@4.0.4/node_modules/@1stg/prettier-config/base.js:20:5
πŸ¦‹  error     at Array.map (<anonymous>) {
πŸ¦‹  error   code: 'MODULE_NOT_FOUND',
πŸ¦‹  error   path: '/Users/user/projects/prettier/node_modules/.pnpm/@1stg+prettier-config@3.9.2_prettier@3.0.3_svelte@4.0.4/node_modules/prettier-plugin-pkg/package.json'
πŸ¦‹  error }

feat: add sqlite option for language

codecov[bot] commented 11 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (7f50e90) 84.66% compared to head (b64a229) 84.66%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #299 +/- ## ======================================= Coverage 84.66% 84.66% ======================================= Files 8 8 Lines 150 150 Branches 40 40 ======================================= Hits 127 127 Misses 23 23 ``` | [Files](https://app.codecov.io/gh/un-ts/prettier/pull/299?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=un-ts) | Coverage Ξ” | | |---|---|---| | [packages/sql/src/index.ts](https://app.codecov.io/gh/un-ts/prettier/pull/299?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=un-ts#diff-cGFja2FnZXMvc3FsL3NyYy9pbmRleC50cw==) | `65.38% <ΓΈ> (ΓΈ)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.