@vyriy/prettier-config 0.1.13 → 0.1.16

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.
Files changed (3) hide show
  1. package/README.md +5 -3
  2. package/index.d.ts +1 -0
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -33,13 +33,15 @@ export { default } from '@vyriy/prettier-config';
33
33
 
34
34
  If you need local overrides:
35
35
 
36
- ```js
37
- import baseConfig from '@vyriy/prettier-config';
36
+ ```ts
37
+ import baseConfig, { type Config } from '@vyriy/prettier-config';
38
38
 
39
- export default {
39
+ const config: Config = {
40
40
  ...baseConfig,
41
41
  printWidth: 100,
42
42
  };
43
+
44
+ export default config;
43
45
  ```
44
46
 
45
47
  ## Formatting Scope
package/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  import type { Config } from 'prettier';
2
+ export type { Config };
2
3
  declare const config: Config;
3
4
  export default config;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vyriy/prettier-config",
3
- "version": "0.1.13",
3
+ "version": "0.1.16",
4
4
  "description": "Shared Prettier config for Vyriy projects",
5
5
  "type": "module",
6
6
  "main": "./index.js",