diff options
Diffstat (limited to 'FrontEnd/.yarn/sdks/prettier')
-rw-r--r-- | FrontEnd/.yarn/sdks/prettier/index.js | 40 | ||||
-rw-r--r-- | FrontEnd/.yarn/sdks/prettier/package.json | 12 |
2 files changed, 26 insertions, 26 deletions
diff --git a/FrontEnd/.yarn/sdks/prettier/index.js b/FrontEnd/.yarn/sdks/prettier/index.js index 5158364a..984baf1d 100644 --- a/FrontEnd/.yarn/sdks/prettier/index.js +++ b/FrontEnd/.yarn/sdks/prettier/index.js @@ -1,20 +1,20 @@ -#!/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)) {
- if (!process.versions.pnp) {
- // 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`);
+#!/usr/bin/env node + +const {existsSync} = require(`fs`); +const {createRequire, createRequireFromPath} = require(`module`); +const {resolve, dirname} = require(`path`); + +const relPnpApiPath = "../../../.pnp.js"; + +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 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/FrontEnd/.yarn/sdks/prettier/package.json b/FrontEnd/.yarn/sdks/prettier/package.json index 0a3b4040..6a957f27 100644 --- a/FrontEnd/.yarn/sdks/prettier/package.json +++ b/FrontEnd/.yarn/sdks/prettier/package.json @@ -1,6 +1,6 @@ -{
- "name": "prettier",
- "version": "2.0.5-pnpify",
- "main": "./index.js",
- "type": "commonjs"
-}
\ No newline at end of file +{ + "name": "prettier", + "version": "2.1.2-pnpify", + "main": "./index.js", + "type": "commonjs" +} |