@saashub/qoq-prettier 0.7.4 → 0.7.6

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
@@ -1 +1,4 @@
1
- # QoQ Prettier
1
+ # @saashub/qoq-prettier
2
+
3
+ ![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/saashub-it/qoq/main.yml) ![NPM Version](https://img.shields.io/npm/v/%40saashub%2Fqoq-eslint-v9-ts-vitest)
4
+ ![NPM Unpacked Size](https://img.shields.io/npm/unpacked-size/%40saashub%2Fqoq-eslint-v9-ts-vitest) ![NPM License](https://img.shields.io/npm/l/%40saashub%2Fqoq-eslint-v9-ts-vitest)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@saashub/qoq-prettier",
3
3
  "license": "MIT",
4
- "version": "0.7.4",
4
+ "version": "0.7.6",
5
5
  "main": "./index.json",
6
6
  "type": "module",
7
7
  "exports": {
@@ -32,5 +32,5 @@
32
32
  "directory": "packages/prettier"
33
33
  },
34
34
  "homepage": "https://github.com/saashub-it/qoq/tree/master/packages/prettier",
35
- "gitHead": "25afae5edb4d2bfcf293c268a8f6b20fa039d90d"
35
+ "gitHead": "c53363c935828ff01447c1d49b5851e891b0ac60"
36
36
  }
@@ -0,0 +1,12 @@
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
+ });