@willbooster/prettier-config 5.1.0 → 6.5.0

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.
@@ -1,9 +1,9 @@
1
1
  const path = require('path');
2
2
 
3
3
  module.exports = {
4
- './**/*.{css,htm,html,js,json,jsx,md,scss,ts,tsx,vue,yaml,yml}': (files) => {
4
+ './**/*.{cjs,css,htm,html,js,json,json5,jsx,md,mjs,scss,ts,tsx,vue,yaml,yml}': (files) => {
5
5
  const filteredFiles = files
6
- .filter((file) => !file.includes('/test-fixtures/') && !file.includes('/packages/'))
6
+ .filter((file) => !file.includes('/test-fixtures/'))
7
7
  .map((file) => path.relative('', file));
8
8
  if (filteredFiles.length === 0) return [];
9
9
  const commands = [`prettier --write ${filteredFiles.join(' ')}`];
package/.prettierignore CHANGED
@@ -10,11 +10,14 @@ no-format/
10
10
  test-fixtures/
11
11
  *.d.ts
12
12
  *.min.js
13
+ .yarn/
14
+ .pnp.js
13
15
 
14
16
 
15
17
  .devcontainer/
16
18
  dist/
17
19
  temp/
20
+ Icon[
18
21
 
19
22
  # Created by https://www.toptal.com/developers/gitignore/api/windows
20
23
  # Edit at https://www.toptal.com/developers/gitignore?templates=windows
@@ -114,6 +117,9 @@ Temporary Items
114
117
  .idea/**/dictionaries
115
118
  .idea/**/shelf
116
119
 
120
+ # AWS User-specific
121
+ .idea/**/aws.xml
122
+
117
123
  # Generated files
118
124
  .idea/**/contentModel.xml
119
125
 
@@ -219,11 +225,17 @@ fabric.properties
219
225
  !.vscode/extensions.json
220
226
  *.code-workspace
221
227
 
228
+ # Local History for Visual Studio Code
229
+ .history/
230
+
222
231
  ### VisualStudioCode Patch ###
223
232
  # Ignore all local history of files
224
233
  .history
225
234
  .ionide
226
235
 
236
+ # Support for Project snippet scope
237
+ !.vscode/*.code-snippets
238
+
227
239
  # End of https://www.toptal.com/developers/gitignore/api/visualstudiocode
228
240
 
229
241
  # Created by https://www.toptal.com/developers/gitignore/api/emacs
@@ -318,6 +330,7 @@ npm-debug.log*
318
330
  yarn-debug.log*
319
331
  yarn-error.log*
320
332
  lerna-debug.log*
333
+ .pnpm-debug.log*
321
334
 
322
335
  # Diagnostic reports (https://nodejs.org/api/report.html)
323
336
  report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
@@ -354,8 +367,8 @@ build/Release
354
367
  node_modules/
355
368
  jspm_packages/
356
369
 
357
- # TypeScript v1 declaration files
358
- typings/
370
+ # Snowpack dependency directory (https://snowpack.dev/)
371
+ web_modules/
359
372
 
360
373
  # TypeScript cache
361
374
  *.tsbuildinfo
@@ -384,7 +397,7 @@ typings/
384
397
  # dotenv environment variables file
385
398
  .env
386
399
  .env.test
387
- .env*.local
400
+ .env.production
388
401
 
389
402
  # parcel-bundler cache (https://parceljs.org/)
390
403
  .cache
@@ -392,6 +405,7 @@ typings/
392
405
 
393
406
  # Next.js build output
394
407
  .next
408
+ out
395
409
 
396
410
  # Nuxt.js build / generate output
397
411
  .nuxt
@@ -421,4 +435,21 @@ dist
421
435
  # Stores VSCode versions used for testing VSCode extensions
422
436
  .vscode-test
423
437
 
438
+ # yarn v2
439
+ .yarn/cache
440
+ .yarn/unplugged
441
+ .yarn/build-state.yml
442
+ .yarn/install-state.gz
443
+ .pnp.*
444
+
445
+ ### Node Patch ###
446
+ # Serverless Webpack directories
447
+ .webpack/
448
+
449
+ # Optional stylelint cache
450
+ .stylelintcache
451
+
452
+ # SvelteKit build / generate output
453
+ .svelte-kit
454
+
424
455
  # End of https://www.toptal.com/developers/gitignore/api/node
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willbooster/prettier-config",
3
- "version": "5.1.0",
3
+ "version": "6.5.0",
4
4
  "description": "A Prettier config for WillBooster projects",
5
5
  "license": "Apache-2.0",
6
6
  "author": "WillBooster Inc.",
@@ -8,14 +8,14 @@
8
8
  "scripts": {
9
9
  "cleanup": "yarn format",
10
10
  "format": "sort-package-json && yarn prettify",
11
- "prettify": "prettier --write \"**/{.*/,}*.{css,htm,html,js,json,jsx,md,scss,ts,tsx,vue,yaml,yml}\" \"!**/test-fixtures/**\" --color"
11
+ "prettify": "prettier --color --write \"**/{.*/,}*.{cjs,css,htm,html,js,json,json5,jsx,md,mjs,scss,ts,tsx,vue,yaml,yml}\" \"!**/test-fixtures/**\""
12
12
  },
13
13
  "devDependencies": {
14
- "prettier": "2.1.2",
15
- "sort-package-json": "1.46.1"
14
+ "prettier": "2.4.1",
15
+ "sort-package-json": "1.53.1"
16
16
  },
17
17
  "peerDependencies": {
18
18
  "prettier": ">=2"
19
19
  },
20
- "gitHead": "54645c6af7b98d42386628ca6ce365d394cb25ac"
20
+ "gitHead": "e3e24949984b6a755a1fbacd9c6260c101ae9c9a"
21
21
  }