From f7b9783e525f9f2ce60d1f039546d44b70243c82 Mon Sep 17 00:00:00 2001 From: Ethan Setnik Date: Thu, 4 Jun 2020 11:12:43 -0400 Subject: [PATCH] add prettier editor integration --- .pnp.js | 19 ++++++++++++++++++ .vscode/pnpify/eslint/bin/eslint.js | 6 ++---- .vscode/pnpify/eslint/lib/api.js | 6 ++---- .vscode/pnpify/prettier/index.js | 18 +++++++++++++++++ .vscode/pnpify/prettier/package.json | 6 ++++++ .vscode/pnpify/typescript/bin/tsc | 6 ++---- .vscode/pnpify/typescript/bin/tsserver | 6 ++---- .vscode/pnpify/typescript/lib/tsc.js | 6 ++---- .vscode/pnpify/typescript/lib/tsserver.js | 6 ++---- .vscode/pnpify/typescript/lib/typescript.js | 6 ++---- .vscode/settings.json | 3 ++- ...ettier-npm-2.0.1-79e9e01827-fba408d985.zip | Bin 0 -> 10313 bytes package.json | 4 ++++ yarn.lock | 11 +++++++++- 14 files changed, 73 insertions(+), 30 deletions(-) create mode 100755 .vscode/pnpify/prettier/index.js create mode 100644 .vscode/pnpify/prettier/package.json create mode 100644 .yarn/cache/@types-prettier-npm-2.0.1-79e9e01827-fba408d985.zip diff --git a/.pnp.js b/.pnp.js index 55b906605432..08fee5a9239d 100755 --- a/.pnp.js +++ b/.pnp.js @@ -294,6 +294,10 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "@types/node", "npm:13.7.0" ], + [ + "@types/prettier", + "npm:2.0.1" + ], [ "@typescript-eslint/eslint-plugin", "virtual:e470d99b1e4fdf4c5db5d090ff5472cdeba0404b7ffd31cd2efab3493dd184c67bc45f60c2ef1c040e2c41afe38c6280bffc5df2fbe3aefaa2b6eacf685ab07c#npm:2.29.0" @@ -358,6 +362,10 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "micromatch", "npm:4.0.2" ], + [ + "prettier", + "npm:2.0.5" + ], [ "typescript", "patch:typescript@npm%3A3.8.3#builtin::version=3.8.3&hash=0ea415" @@ -385,6 +393,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["@types/emscripten", "npm:1.38.0"], ["@types/jest", "npm:24.0.25"], ["@types/node", "npm:13.7.0"], + ["@types/prettier", "npm:2.0.1"], ["@typescript-eslint/eslint-plugin", "virtual:e470d99b1e4fdf4c5db5d090ff5472cdeba0404b7ffd31cd2efab3493dd184c67bc45f60c2ef1c040e2c41afe38c6280bffc5df2fbe3aefaa2b6eacf685ab07c#npm:2.29.0"], ["@typescript-eslint/parser", "virtual:e470d99b1e4fdf4c5db5d090ff5472cdeba0404b7ffd31cd2efab3493dd184c67bc45f60c2ef1c040e2c41afe38c6280bffc5df2fbe3aefaa2b6eacf685ab07c#npm:2.23.0"], ["@yarnpkg/cli", "virtual:e04a2594c769771b96db34e7a92a8a3af1c98ae86dce662589a5c5d5209e16875506f8cb5f4c2230a2b2ae06335b14466352c4ed470d39edf9edb6c515984525#workspace:packages/yarnpkg-cli"], @@ -401,6 +410,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["jest-environment-node", "npm:24.5.0"], ["jest-junit", "npm:5.2.0"], ["micromatch", "npm:4.0.2"], + ["prettier", "npm:2.0.5"], ["typescript", "patch:typescript@npm%3A3.8.3#builtin::version=3.8.3&hash=0ea415"] ], "linkType": "SOFT", @@ -6743,6 +6753,13 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["@types/prettier", "npm:1.19.0"] ], "linkType": "HARD", + }], + ["npm:2.0.1", { + "packageLocation": "./.yarn/cache/@types-prettier-npm-2.0.1-79e9e01827-fba408d985.zip/node_modules/@types/prettier/", + "packageDependencies": [ + ["@types/prettier", "npm:2.0.1"] + ], + "linkType": "HARD", }] ]], ["@types/prop-types", [ @@ -8279,6 +8296,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["@types/emscripten", "npm:1.38.0"], ["@types/jest", "npm:24.0.25"], ["@types/node", "npm:13.7.0"], + ["@types/prettier", "npm:2.0.1"], ["@typescript-eslint/eslint-plugin", "virtual:e470d99b1e4fdf4c5db5d090ff5472cdeba0404b7ffd31cd2efab3493dd184c67bc45f60c2ef1c040e2c41afe38c6280bffc5df2fbe3aefaa2b6eacf685ab07c#npm:2.29.0"], ["@typescript-eslint/parser", "virtual:e470d99b1e4fdf4c5db5d090ff5472cdeba0404b7ffd31cd2efab3493dd184c67bc45f60c2ef1c040e2c41afe38c6280bffc5df2fbe3aefaa2b6eacf685ab07c#npm:2.23.0"], ["@yarnpkg/cli", "virtual:e04a2594c769771b96db34e7a92a8a3af1c98ae86dce662589a5c5d5209e16875506f8cb5f4c2230a2b2ae06335b14466352c4ed470d39edf9edb6c515984525#workspace:packages/yarnpkg-cli"], @@ -8295,6 +8313,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["jest-environment-node", "npm:24.5.0"], ["jest-junit", "npm:5.2.0"], ["micromatch", "npm:4.0.2"], + ["prettier", "npm:2.0.5"], ["typescript", "patch:typescript@npm%3A3.8.3#builtin::version=3.8.3&hash=0ea415"] ], "linkType": "SOFT", diff --git a/.vscode/pnpify/eslint/bin/eslint.js b/.vscode/pnpify/eslint/bin/eslint.js index 4e7554dc1ad0..48a5108e41de 100755 --- a/.vscode/pnpify/eslint/bin/eslint.js +++ b/.vscode/pnpify/eslint/bin/eslint.js @@ -10,10 +10,8 @@ const absPnpApiPath = resolve(__dirname, relPnpApiPath); const absRequire = (createRequire || createRequireFromPath)(absPnpApiPath); if (existsSync(absPnpApiPath)) { - if (!process.versions.pnp) { - // Setup the environment to be able to require eslint/bin/eslint.js - require(absPnpApiPath).setup(); - } + // Setup the environment to be able to require eslint/bin/eslint.js + require(absPnpApiPath).setup(); } // Defer to the real eslint/bin/eslint.js your application uses diff --git a/.vscode/pnpify/eslint/lib/api.js b/.vscode/pnpify/eslint/lib/api.js index ac3c9fc06497..761d2f43599f 100644 --- a/.vscode/pnpify/eslint/lib/api.js +++ b/.vscode/pnpify/eslint/lib/api.js @@ -10,10 +10,8 @@ const absPnpApiPath = resolve(__dirname, relPnpApiPath); const absRequire = (createRequire || createRequireFromPath)(absPnpApiPath); if (existsSync(absPnpApiPath)) { - if (!process.versions.pnp) { - // Setup the environment to be able to require eslint/lib/api.js - require(absPnpApiPath).setup(); - } + // Setup the environment to be able to require eslint/lib/api.js + require(absPnpApiPath).setup(); } // Defer to the real eslint/lib/api.js your application uses diff --git a/.vscode/pnpify/prettier/index.js b/.vscode/pnpify/prettier/index.js new file mode 100755 index 000000000000..387119ac69e3 --- /dev/null +++ b/.vscode/pnpify/prettier/index.js @@ -0,0 +1,18 @@ +#!/usr/bin/env node + +const {existsSync} = require(`fs`); +const {createRequire, createRequireFromPath} = require(`module`); +const {resolve} = require(`path`); + +const relPnpApiPath = "../../../.pnp.js"; + +const absPnpApiPath = resolve(__dirname, relPnpApiPath); +const absRequire = (createRequire || createRequireFromPath)(absPnpApiPath); + +if (existsSync(absPnpApiPath)) { + // Setup the environment to be able to require prettier/index.js + require(absPnpApiPath).setup(); +} + +// Defer to the real prettier/index.js your application uses +module.exports = absRequire(`prettier/index.js`); diff --git a/.vscode/pnpify/prettier/package.json b/.vscode/pnpify/prettier/package.json new file mode 100644 index 000000000000..3f4429dcfd58 --- /dev/null +++ b/.vscode/pnpify/prettier/package.json @@ -0,0 +1,6 @@ +{ + "name": "prettier", + "version": "2.0.5-pnpify", + "main": "./index.js", + "type": "commonjs" +} \ No newline at end of file diff --git a/.vscode/pnpify/typescript/bin/tsc b/.vscode/pnpify/typescript/bin/tsc index 06e51d0d9706..28b221f1599e 100755 --- a/.vscode/pnpify/typescript/bin/tsc +++ b/.vscode/pnpify/typescript/bin/tsc @@ -10,10 +10,8 @@ const absPnpApiPath = resolve(__dirname, relPnpApiPath); const absRequire = (createRequire || createRequireFromPath)(absPnpApiPath); if (existsSync(absPnpApiPath)) { - if (!process.versions.pnp) { - // Setup the environment to be able to require typescript/bin/tsc - require(absPnpApiPath).setup(); - } + // Setup the environment to be able to require typescript/bin/tsc + require(absPnpApiPath).setup(); } // Defer to the real typescript/bin/tsc your application uses diff --git a/.vscode/pnpify/typescript/bin/tsserver b/.vscode/pnpify/typescript/bin/tsserver index 2d03f3d97b08..c8db0b1b25e8 100755 --- a/.vscode/pnpify/typescript/bin/tsserver +++ b/.vscode/pnpify/typescript/bin/tsserver @@ -10,10 +10,8 @@ const absPnpApiPath = resolve(__dirname, relPnpApiPath); const absRequire = (createRequire || createRequireFromPath)(absPnpApiPath); if (existsSync(absPnpApiPath)) { - if (!process.versions.pnp) { - // Setup the environment to be able to require typescript/bin/tsserver - require(absPnpApiPath).setup(); - } + // Setup the environment to be able to require typescript/bin/tsserver + require(absPnpApiPath).setup(); } // Defer to the real typescript/bin/tsserver your application uses diff --git a/.vscode/pnpify/typescript/lib/tsc.js b/.vscode/pnpify/typescript/lib/tsc.js index e030711c5aeb..e51d62d0f059 100644 --- a/.vscode/pnpify/typescript/lib/tsc.js +++ b/.vscode/pnpify/typescript/lib/tsc.js @@ -10,10 +10,8 @@ const absPnpApiPath = resolve(__dirname, relPnpApiPath); const absRequire = (createRequire || createRequireFromPath)(absPnpApiPath); if (existsSync(absPnpApiPath)) { - if (!process.versions.pnp) { - // Setup the environment to be able to require typescript/lib/tsc.js - require(absPnpApiPath).setup(); - } + // Setup the environment to be able to require typescript/lib/tsc.js + require(absPnpApiPath).setup(); } // Defer to the real typescript/lib/tsc.js your application uses diff --git a/.vscode/pnpify/typescript/lib/tsserver.js b/.vscode/pnpify/typescript/lib/tsserver.js index fe6d4c60cce8..83d6c14a58ca 100644 --- a/.vscode/pnpify/typescript/lib/tsserver.js +++ b/.vscode/pnpify/typescript/lib/tsserver.js @@ -10,10 +10,8 @@ const absPnpApiPath = resolve(__dirname, relPnpApiPath); const absRequire = (createRequire || createRequireFromPath)(absPnpApiPath); if (existsSync(absPnpApiPath)) { - if (!process.versions.pnp) { - // Setup the environment to be able to require typescript/lib/tsserver.js - require(absPnpApiPath).setup(); - } + // Setup the environment to be able to require typescript/lib/tsserver.js + require(absPnpApiPath).setup(); } // Defer to the real typescript/lib/tsserver.js your application uses diff --git a/.vscode/pnpify/typescript/lib/typescript.js b/.vscode/pnpify/typescript/lib/typescript.js index 7e3c852fe198..9d2397c18426 100644 --- a/.vscode/pnpify/typescript/lib/typescript.js +++ b/.vscode/pnpify/typescript/lib/typescript.js @@ -10,10 +10,8 @@ const absPnpApiPath = resolve(__dirname, relPnpApiPath); const absRequire = (createRequire || createRequireFromPath)(absPnpApiPath); if (existsSync(absPnpApiPath)) { - if (!process.versions.pnp) { - // Setup the environment to be able to require typescript/lib/typescript.js - require(absPnpApiPath).setup(); - } + // Setup the environment to be able to require typescript/lib/typescript.js + require(absPnpApiPath).setup(); } // Defer to the real typescript/lib/typescript.js your application uses diff --git a/.vscode/settings.json b/.vscode/settings.json index 3f861a880136..0ac5a75169b7 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -13,5 +13,6 @@ "editor.codeActionsOnSave": { "source.fixAll.eslint": true }, - "typescript.enablePromptUseWorkspaceTsdk": true + "typescript.enablePromptUseWorkspaceTsdk": true, + "prettier.prettierPath": ".vscode/pnpify/prettier/index.js" } diff --git a/.yarn/cache/@types-prettier-npm-2.0.1-79e9e01827-fba408d985.zip b/.yarn/cache/@types-prettier-npm-2.0.1-79e9e01827-fba408d985.zip new file mode 100644 index 0000000000000000000000000000000000000000..50018ad830586c3b6ce6051faab1f0033ed0fff3 GIT binary patch literal 10313 zcmd6tbyU<_*T)AKy1QGt8w8c^p}U9f8jx;5QWT_7It2uzOArLjR)%qP5Ik8&Kn55J7n5LWe`hn^tpv6yI7D8biSZ~Fn?cWtTz30KGvdxnn zj$XSWB?V;Sk)S|Rn34+^N~k@OJe-szo~-S{%R{{gXSht~jMJTR+(%=*D*12iC0Y?C z0U-yg`xp#!O2fy*WX)Xj&xX)TAElsWhdlOv8g&2zvx}uKJhcI2b1O_na=DKoE9G4~ zP6|983Y)(VrC~TOYkb|07mqABJq+}G77`={kzqB8Q*oN+;+jTYzji?rAVu_unFob` zdE61dpdw)8b9g97u`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VHiGYE>#uu2zsPXn5RY*s%w!uQhmIeeF{B!gFCa9UNvr1tN~7_=E`e% zrKn{+u1TO$pJJlaml!@aG@N@ql-W?}XPHq)nIW~n2-%Z@*9PeJK5Ymr05!p`RXj(D z*f+{z6g3>^5OPXiE5az!c4o^fbKOrIn`7?kt*Cmpao6xL{*^i9{LH2{)Rr{3%&Ku5 z60^sy&v}kp-ny=&rXnBXuIy-cXYR?#YLt9&Xv|U zsdNj}`)l`NkSvzzW7?CuSkb239!6EB31W;|zaD7kl|xFSn6o&-xE2v1lf$~qxq0+M zlFLz4wZA6U?dzBG*GYDTSh%u*9j)B$!LEPoqW1Q&ed1tNE!0AiWo1@kQ!CVzW$78z zRGApnu3cS}mjeyRvC3=84h*uet1<#uDqxwz$|J@4tdXD`TmobAS#`OLJRA?kQNVho zeA>3~lPLOy>~`#ce-4uUH-j_w_wPQkB7ligom)vUi7Nr)TR(Hv~=RO8wv6Ifz`5kN{9O%AFg znPgEYHNB^zlDE}Ni))Q@YNAe;^US>!qfGfw^s<@@cu0!0m4z+?Ip(Jg7 zS%P6>po`$ksmsI3zgP~jD6gX??|#OBGLfyNVRN(hdZ@WMHV005AGHru5(?T0hHbq;e%QJF zIiz%C#%PmD;2Z^&>U7bWpC9zmeRB1q=JabgP5M^X^tb-c0Gtmi(?jcLGwcKRXy*sh z!s-i5tEZz9!AaU>`mbj0JAH|^T^%Ya=tV{#@etjMQF=G3!-6e+@u5w-zBRFmXvfio<>=%T#9Y-w zdKPI@v2=H6pY%D(hBi#lREp@N_`?zDq~h&Yu?PeE2=1RNPrgpWKWs&pA-%yS0+kY5? OPa`}4;7RlC-~RxpP!#_F literal 0 HcmV?d00001 diff --git a/package.json b/package.json index 5678add0ba6d..583e03a42e16 100644 --- a/package.json +++ b/package.json @@ -37,6 +37,7 @@ "jest-environment-node": "^24.5.0", "jest-junit": "^5.2.0", "micromatch": "^4.0.2", + "prettier": "^2.0.5", "typescript": "^3.8.3" }, "dependenciesMeta": { @@ -88,5 +89,8 @@ }, "engines": { "node": ">=10.19.0" + }, + "devDependencies": { + "@types/prettier": "^2" } } diff --git a/yarn.lock b/yarn.lock index 313cb6e29825..05ecf0212a6f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4891,6 +4891,13 @@ __metadata: languageName: node linkType: hard +"@types/prettier@npm:^2": + version: 2.0.1 + resolution: "@types/prettier@npm:2.0.1" + checksum: fba408d98574b9790446bd5d5f1200a1baf164beea676eaad139320a1d1cdf54f2e411a865b253fc75fbadd1a096bb7eacbf13083fa7d26785e98dca57932b47 + languageName: node + linkType: hard + "@types/prop-types@npm:*": version: 15.5.8 resolution: "@types/prop-types@npm:15.5.8" @@ -6188,6 +6195,7 @@ __metadata: "@types/emscripten": ^1.38.0 "@types/jest": ^24.0.25 "@types/node": ^13.7.0 + "@types/prettier": ^2 "@typescript-eslint/eslint-plugin": ^2.29.0 "@typescript-eslint/parser": ^2.23.0 "@yarnpkg/cli": "workspace:^2.0.0-rc.33" @@ -6204,6 +6212,7 @@ __metadata: jest-environment-node: ^24.5.0 jest-junit: ^5.2.0 micromatch: ^4.0.2 + prettier: ^2.0.5 typescript: ^3.8.3 dependenciesMeta: core-js: @@ -22705,7 +22714,7 @@ fsevents@~2.1.2: languageName: node linkType: hard -"prettier@npm:^2.0.4": +"prettier@npm:^2.0.4, prettier@npm:^2.0.5": version: 2.0.5 resolution: "prettier@npm:2.0.5" bin: