@apitree.cz/prettier-config 0.3.10 → 0.3.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -18,14 +18,7 @@
18
18
  pnpm add --save-dev @apitree.cz/prettier-config prettier
19
19
  ```
20
20
 
21
- ### PNPM Monorepos
22
-
23
- Prior to the installation, add the following to your repository root `pnpm-workspace.yaml`:
24
-
25
- ```yaml
26
- publicHoistPattern:
27
- - '*prettier*'
28
- ```
21
+ ### Monorepos
29
22
 
30
23
  Install and use the package in the root only.
31
24
 
package/dist/config.js CHANGED
@@ -1,7 +1,7 @@
1
1
  export const config = {
2
2
  arrowParens: 'always',
3
3
  bracketSpacing: true,
4
- plugins: ['prettier-plugin-packagejson'],
4
+ plugins: [import.meta.resolve('prettier-plugin-packagejson')],
5
5
  printWidth: 120,
6
6
  semi: true,
7
7
  singleQuote: true,
@@ -1 +1 @@
1
- {"version":3,"file":"config.js","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,WAAW,EAAE,QAAQ;IACrB,cAAc,EAAE,IAAI;IACpB,OAAO,EAAE,CAAC,6BAA6B,CAAC;IACxC,UAAU,EAAE,GAAG;IACf,IAAI,EAAE,IAAI;IACV,WAAW,EAAE,IAAI;IACjB,QAAQ,EAAE,CAAC;IACX,aAAa,EAAE,KAAK;IACpB,OAAO,EAAE,KAAK;IACd,SAAS,EAAE;QACT;YACE,oDAAoD;YACpD,KAAK,EAAE,QAAQ;YACf,OAAO,EAAE,EAAE,aAAa,EAAE,MAAM,EAAE;SACnC;KACF;CACe,CAAC"}
1
+ {"version":3,"file":"config.js","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,WAAW,EAAE,QAAQ;IACrB,cAAc,EAAE,IAAI;IACpB,OAAO,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,6BAA6B,CAAC,CAAC;IAC7D,UAAU,EAAE,GAAG;IACf,IAAI,EAAE,IAAI;IACV,WAAW,EAAE,IAAI;IACjB,QAAQ,EAAE,CAAC;IACX,aAAa,EAAE,KAAK;IACpB,OAAO,EAAE,KAAK;IACd,SAAS,EAAE;QACT;YACE,oDAAoD;YACpD,KAAK,EAAE,QAAQ;YACf,OAAO,EAAE,EAAE,aAAa,EAAE,MAAM,EAAE;SACnC;KACF;CACe,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apitree.cz/prettier-config",
3
- "version": "0.3.10",
3
+ "version": "0.3.11",
4
4
  "description": "Prettier configuration for ApiTree projects.",
5
5
  "keywords": [
6
6
  "apitree",