@willbooster/prettier-config 9.0.0 → 9.1.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/package.json CHANGED
@@ -1,22 +1,27 @@
1
1
  {
2
2
  "name": "@willbooster/prettier-config",
3
- "version": "9.0.0",
3
+ "version": "9.1.1",
4
4
  "description": "A Prettier config for WillBooster projects",
5
5
  "license": "Apache-2.0",
6
6
  "author": "WillBooster Inc.",
7
7
  "main": ".prettierrc.json",
8
+ "files": [
9
+ ".prettierrc.json"
10
+ ],
8
11
  "scripts": {
9
12
  "cleanup": "yarn format",
10
13
  "format": "sort-package-json && yarn prettify",
11
14
  "prettify": "prettier --color --write \"**/{.*/,}*.{cjs,css,htm,html,js,json,json5,jsx,md,mjs,scss,ts,tsx,vue,yaml,yml}\" \"!**/test-fixtures/**\""
12
15
  },
13
16
  "devDependencies": {
14
- "lint-staged": "12.2.2",
15
- "prettier": "2.5.1",
16
- "sort-package-json": "1.53.1"
17
+ "lint-staged": "13.0.3",
18
+ "prettier": "2.7.1",
19
+ "sort-package-json": "1.57.0"
17
20
  },
18
21
  "peerDependencies": {
19
22
  "prettier": ">=2"
20
23
  },
21
- "gitHead": "865a18e97886b4051f555430f8fc0c89bd364001"
24
+ "publishConfig": {
25
+ "access": "public"
26
+ }
22
27
  }
package/.lintstagedrc.cjs DELETED
@@ -1,15 +0,0 @@
1
- const path = require('path');
2
-
3
- module.exports = {
4
- './**/*.{cjs,css,htm,html,js,json,json5,jsx,md,mjs,scss,ts,tsx,vue,yaml,yml}': (files) => {
5
- const filteredFiles = files
6
- .filter((file) => !file.includes('/test-fixtures/'))
7
- .map((file) => path.relative('', file));
8
- if (filteredFiles.length === 0) return [];
9
- const commands = [`prettier --write ${filteredFiles.join(' ')}`];
10
- if (filteredFiles.some((file) => file.endsWith('package.json'))) {
11
- commands.push('yarn sort-package-json');
12
- }
13
- return commands;
14
- },
15
- };
package/.prettierignore DELETED
@@ -1,455 +0,0 @@
1
- # Project-specific settings
2
-
3
-
4
- # Generated by @willbooster/gen-configs
5
-
6
- 3rd-party/
7
- android/
8
- ios/
9
- no-format/
10
- test-fixtures/
11
- *.d.ts
12
- *.min.js
13
- .yarn/
14
- .pnp.js
15
-
16
-
17
- .devcontainer/
18
- dist/
19
- temp/
20
- Icon[
21
-
22
- # Created by https://www.toptal.com/developers/gitignore/api/windows
23
- # Edit at https://www.toptal.com/developers/gitignore?templates=windows
24
-
25
- ### Windows ###
26
- # Windows thumbnail cache files
27
- Thumbs.db
28
- Thumbs.db:encryptable
29
- ehthumbs.db
30
- ehthumbs_vista.db
31
-
32
- # Dump file
33
- *.stackdump
34
-
35
- # Folder config file
36
- [Dd]esktop.ini
37
-
38
- # Recycle Bin used on file shares
39
- $RECYCLE.BIN/
40
-
41
- # Windows Installer files
42
- *.cab
43
- *.msi
44
- *.msix
45
- *.msm
46
- *.msp
47
-
48
- # Windows shortcuts
49
- *.lnk
50
-
51
- # End of https://www.toptal.com/developers/gitignore/api/windows
52
-
53
- # Created by https://www.toptal.com/developers/gitignore/api/macos
54
- # Edit at https://www.toptal.com/developers/gitignore?templates=macos
55
-
56
- ### macOS ###
57
- # General
58
- .DS_Store
59
- .AppleDouble
60
- .LSOverride
61
-
62
- # Icon must end with two \r
63
- Icon
64
-
65
- # Thumbnails
66
- ._*
67
-
68
- # Files that might appear in the root of a volume
69
- .DocumentRevisions-V100
70
- .fseventsd
71
- .Spotlight-V100
72
- .TemporaryItems
73
- .Trashes
74
- .VolumeIcon.icns
75
- .com.apple.timemachine.donotpresent
76
-
77
- # Directories potentially created on remote AFP share
78
- .AppleDB
79
- .AppleDesktop
80
- Network Trash Folder
81
- Temporary Items
82
- .apdisk
83
-
84
- # End of https://www.toptal.com/developers/gitignore/api/macos
85
-
86
- # Created by https://www.toptal.com/developers/gitignore/api/linux
87
- # Edit at https://www.toptal.com/developers/gitignore?templates=linux
88
-
89
- ### Linux ###
90
- *~
91
-
92
- # temporary files which can be created if a process still has a handle open of a deleted file
93
- .fuse_hidden*
94
-
95
- # KDE directory preferences
96
- .directory
97
-
98
- # Linux trash folder which might appear on any partition or disk
99
- .Trash-*
100
-
101
- # .nfs files are created when an open file is removed but is still being accessed
102
- .nfs*
103
-
104
- # End of https://www.toptal.com/developers/gitignore/api/linux
105
-
106
- # Created by https://www.toptal.com/developers/gitignore/api/jetbrains
107
- # Edit at https://www.toptal.com/developers/gitignore?templates=jetbrains
108
-
109
- ### JetBrains ###
110
- # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
111
- # Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
112
-
113
- # User-specific stuff
114
- .idea/**/workspace.xml
115
- .idea/**/tasks.xml
116
- .idea/**/usage.statistics.xml
117
- .idea/**/dictionaries
118
- .idea/**/shelf
119
-
120
- # AWS User-specific
121
- .idea/**/aws.xml
122
-
123
- # Generated files
124
- .idea/**/contentModel.xml
125
-
126
- # Sensitive or high-churn files
127
- .idea/**/dataSources/
128
- .idea/**/dataSources.ids
129
- .idea/**/dataSources.local.xml
130
- .idea/**/sqlDataSources.xml
131
- .idea/**/dynamic.xml
132
- .idea/**/uiDesigner.xml
133
- .idea/**/dbnavigator.xml
134
-
135
- # Gradle
136
- .idea/**/gradle.xml
137
- .idea/**/libraries
138
-
139
- # Gradle and Maven with auto-import
140
- # When using Gradle or Maven with auto-import, you should exclude module files,
141
- # since they will be recreated, and may cause churn. Uncomment if using
142
- # auto-import.
143
- # .idea/artifacts
144
- # .idea/compiler.xml
145
- # .idea/jarRepositories.xml
146
- # .idea/modules.xml
147
- # .idea/*.iml
148
- # .idea/modules
149
- # *.iml
150
- # *.ipr
151
-
152
- # CMake
153
- cmake-build-*/
154
-
155
- # Mongo Explorer plugin
156
- .idea/**/mongoSettings.xml
157
-
158
- # File-based project format
159
- *.iws
160
-
161
- # IntelliJ
162
- out/
163
-
164
- # mpeltonen/sbt-idea plugin
165
- .idea_modules/
166
-
167
- # JIRA plugin
168
- atlassian-ide-plugin.xml
169
-
170
- # Cursive Clojure plugin
171
- .idea/replstate.xml
172
-
173
- # Crashlytics plugin (for Android Studio and IntelliJ)
174
- com_crashlytics_export_strings.xml
175
- crashlytics.properties
176
- crashlytics-build.properties
177
- fabric.properties
178
-
179
- # Editor-based Rest Client
180
- .idea/httpRequests
181
-
182
- # Android studio 3.1+ serialized cache file
183
- .idea/caches/build_file_checksums.ser
184
-
185
- ### JetBrains Patch ###
186
- # Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721
187
-
188
- # *.iml
189
- # modules.xml
190
- # .idea/misc.xml
191
- # *.ipr
192
-
193
- # Sonarlint plugin
194
- # https://plugins.jetbrains.com/plugin/7973-sonarlint
195
- .idea/**/sonarlint/
196
-
197
- # SonarQube Plugin
198
- # https://plugins.jetbrains.com/plugin/7238-sonarqube-community-plugin
199
- .idea/**/sonarIssues.xml
200
-
201
- # Markdown Navigator plugin
202
- # https://plugins.jetbrains.com/plugin/7896-markdown-navigator-enhanced
203
- .idea/**/markdown-navigator.xml
204
- .idea/**/markdown-navigator-enh.xml
205
- .idea/**/markdown-navigator/
206
-
207
- # Cache file creation bug
208
- # See https://youtrack.jetbrains.com/issue/JBR-2257
209
- .idea/$CACHE_FILE$
210
-
211
- # CodeStream plugin
212
- # https://plugins.jetbrains.com/plugin/12206-codestream
213
- .idea/codestream.xml
214
-
215
- # End of https://www.toptal.com/developers/gitignore/api/jetbrains
216
-
217
- # Created by https://www.toptal.com/developers/gitignore/api/visualstudiocode
218
- # Edit at https://www.toptal.com/developers/gitignore?templates=visualstudiocode
219
-
220
- ### VisualStudioCode ###
221
- .vscode/*
222
- !.vscode/settings.json
223
- !.vscode/tasks.json
224
- !.vscode/launch.json
225
- !.vscode/extensions.json
226
- *.code-workspace
227
-
228
- # Local History for Visual Studio Code
229
- .history/
230
-
231
- ### VisualStudioCode Patch ###
232
- # Ignore all local history of files
233
- .history
234
- .ionide
235
-
236
- # Support for Project snippet scope
237
- !.vscode/*.code-snippets
238
-
239
- # End of https://www.toptal.com/developers/gitignore/api/visualstudiocode
240
-
241
- # Created by https://www.toptal.com/developers/gitignore/api/emacs
242
- # Edit at https://www.toptal.com/developers/gitignore?templates=emacs
243
-
244
- ### Emacs ###
245
- # -*- mode: gitignore; -*-
246
- *~
247
- \#*\#
248
- /.emacs.desktop
249
- /.emacs.desktop.lock
250
- *.elc
251
- auto-save-list
252
- tramp
253
- .\#*
254
-
255
- # Org-mode
256
- .org-id-locations
257
- *_archive
258
-
259
- # flymake-mode
260
- *_flymake.*
261
-
262
- # eshell files
263
- /eshell/history
264
- /eshell/lastdir
265
-
266
- # elpa packages
267
- /elpa/
268
-
269
- # reftex files
270
- *.rel
271
-
272
- # AUCTeX auto folder
273
- /auto/
274
-
275
- # cask packages
276
- .cask/
277
- dist/
278
-
279
- # Flycheck
280
- flycheck_*.el
281
-
282
- # server auth directory
283
- /server/
284
-
285
- # projectiles files
286
- .projectile
287
-
288
- # directory configuration
289
- .dir-locals.el
290
-
291
- # network security
292
- /network-security.data
293
-
294
- # End of https://www.toptal.com/developers/gitignore/api/emacs
295
-
296
- # Created by https://www.toptal.com/developers/gitignore/api/vim
297
- # Edit at https://www.toptal.com/developers/gitignore?templates=vim
298
-
299
- ### Vim ###
300
- # Swap
301
- [._]*.s[a-v][a-z]
302
- !*.svg # comment out if you don't need vector files
303
- [._]*.sw[a-p]
304
- [._]s[a-rt-v][a-z]
305
- [._]ss[a-gi-z]
306
- [._]sw[a-p]
307
-
308
- # Session
309
- Session.vim
310
- Sessionx.vim
311
-
312
- # Temporary
313
- .netrwhist
314
- *~
315
- # Auto-generated tag files
316
- tags
317
- # Persistent undo
318
- [._]*.un~
319
-
320
- # End of https://www.toptal.com/developers/gitignore/api/vim
321
-
322
- # Created by https://www.toptal.com/developers/gitignore/api/node
323
- # Edit at https://www.toptal.com/developers/gitignore?templates=node
324
-
325
- ### Node ###
326
- # Logs
327
- logs
328
- *.log
329
- npm-debug.log*
330
- yarn-debug.log*
331
- yarn-error.log*
332
- lerna-debug.log*
333
- .pnpm-debug.log*
334
-
335
- # Diagnostic reports (https://nodejs.org/api/report.html)
336
- report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
337
-
338
- # Runtime data
339
- pids
340
- *.pid
341
- *.seed
342
- *.pid.lock
343
-
344
- # Directory for instrumented libs generated by jscoverage/JSCover
345
- lib-cov
346
-
347
- # Coverage directory used by tools like istanbul
348
- coverage
349
- *.lcov
350
-
351
- # nyc test coverage
352
- .nyc_output
353
-
354
- # Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
355
- .grunt
356
-
357
- # Bower dependency directory (https://bower.io/)
358
- bower_components
359
-
360
- # node-waf configuration
361
- .lock-wscript
362
-
363
- # Compiled binary addons (https://nodejs.org/api/addons.html)
364
- build/Release
365
-
366
- # Dependency directories
367
- node_modules/
368
- jspm_packages/
369
-
370
- # Snowpack dependency directory (https://snowpack.dev/)
371
- web_modules/
372
-
373
- # TypeScript cache
374
- *.tsbuildinfo
375
-
376
- # Optional npm cache directory
377
- .npm
378
-
379
- # Optional eslint cache
380
- .eslintcache
381
-
382
- # Microbundle cache
383
- .rpt2_cache/
384
- .rts2_cache_cjs/
385
- .rts2_cache_es/
386
- .rts2_cache_umd/
387
-
388
- # Optional REPL history
389
- .node_repl_history
390
-
391
- # Output of 'npm pack'
392
- *.tgz
393
-
394
- # Yarn Integrity file
395
- .yarn-integrity
396
-
397
- # dotenv environment variables file
398
- .env
399
- .env.test
400
- .env.production
401
-
402
- # parcel-bundler cache (https://parceljs.org/)
403
- .cache
404
- .parcel-cache
405
-
406
- # Next.js build output
407
- .next
408
- out
409
-
410
- # Nuxt.js build / generate output
411
- .nuxt
412
- dist
413
-
414
- # Gatsby files
415
- .cache/
416
- # Comment in the public line in if your project uses Gatsby and not Next.js
417
- # https://nextjs.org/blog/next-9-1#public-directory-support
418
- # public
419
-
420
- # vuepress build output
421
- .vuepress/dist
422
-
423
- # Serverless directories
424
- .serverless/
425
-
426
- # FuseBox cache
427
- .fusebox/
428
-
429
- # DynamoDB Local files
430
- .dynamodb/
431
-
432
- # TernJS port file
433
- .tern-port
434
-
435
- # Stores VSCode versions used for testing VSCode extensions
436
- .vscode-test
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
-
455
- # End of https://www.toptal.com/developers/gitignore/api/node
package/NOTICE DELETED
@@ -1,15 +0,0 @@
1
- @willbooster/prettier-config
2
-
3
- Copyright (c) 2019 WillBooster Inc. and contributors.
4
-
5
- Licensed under the Apache License, Version 2.0 (the "License");
6
- you may not use this file except in compliance with the License.
7
- You may obtain a copy of the License at
8
-
9
- http://www.apache.org/licenses/LICENSE-2.0
10
-
11
- Unless required by applicable law or agreed to in writing, software
12
- distributed under the License is distributed on an "AS IS" BASIS,
13
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- See the License for the specific language governing permissions and
15
- limitations under the License.