@saashub/qoq-prettier 0.10.0 → 0.11.1

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
@@ -5,7 +5,7 @@
5
5
 
6
6
  ## Rationale
7
7
 
8
- Beign tired of setting up [Prettier](https://www.npmjs.com/package/prettier) all over again for new projects I've created some base template.
8
+ Beign tired of setting up [Prettier](https://www.npmjs.com/package/prettier) all over again for new projects, we created some base template.
9
9
 
10
10
  ## Install
11
11
 
@@ -25,7 +25,7 @@ module.exports = {
25
25
  };
26
26
  ```
27
27
 
28
- ### For ES modules
28
+ ### For ESM
29
29
 
30
30
  ```js
31
31
  import config from '@saashub/qoq-prettier/config';
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@saashub/qoq-prettier",
3
3
  "type": "module",
4
4
  "license": "MIT",
5
- "version": "0.10.0",
5
+ "version": "0.11.1",
6
6
  "main": "./index.json",
7
7
  "exports": {
8
8
  ".": {
@@ -35,5 +35,5 @@
35
35
  "directory": "packages/prettier"
36
36
  },
37
37
  "homepage": "https://github.com/saashub-it/qoq/tree/master/packages/prettier",
38
- "gitHead": "b62ebd2e433259c84fc7f7941af8dc363871d64c"
38
+ "gitHead": "c2a79738a205ffa7733f4e6575b7211e1ae79bff"
39
39
  }
package/src/config.js DELETED
@@ -1,5 +0,0 @@
1
- export default {
2
- trailingComma: 'es5',
3
- printWidth: 100,
4
- singleQuote: true,
5
- };
@@ -1,12 +0,0 @@
1
- import { describe, test, expect } from 'vitest';
2
-
3
- import config from './config';
4
- import * as prettier from 'prettier';
5
-
6
- describe('config', () => {
7
- test('can execute Pretieer with config', () => {
8
- expect(
9
- async () => await prettier.check('foo ( );', { ...config, parser: 'babel' })
10
- ).not.toThrowError();
11
- });
12
- });
package/src/index.js DELETED
@@ -1,4 +0,0 @@
1
- import { writeFileSync } from 'fs';
2
- import config from './config.js';
3
-
4
- writeFileSync('./index.json', JSON.stringify(config, undefined, 2));