diff options
Diffstat (limited to 'FrontEnd/.yarn/sdks/prettier')
-rw-r--r-- | FrontEnd/.yarn/sdks/prettier/index.js | 20 | ||||
-rw-r--r-- | FrontEnd/.yarn/sdks/prettier/package.json | 6 |
2 files changed, 26 insertions, 0 deletions
diff --git a/FrontEnd/.yarn/sdks/prettier/index.js b/FrontEnd/.yarn/sdks/prettier/index.js new file mode 100644 index 00000000..5158364a --- /dev/null +++ b/FrontEnd/.yarn/sdks/prettier/index.js @@ -0,0 +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`);
diff --git a/FrontEnd/.yarn/sdks/prettier/package.json b/FrontEnd/.yarn/sdks/prettier/package.json new file mode 100644 index 00000000..0a3b4040 --- /dev/null +++ b/FrontEnd/.yarn/sdks/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 |