aboutsummaryrefslogtreecommitdiff
path: root/src/main/webui/.yarn/sdks/prettier
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/webui/.yarn/sdks/prettier')
-rwxr-xr-xsrc/main/webui/.yarn/sdks/prettier/index.js20
-rw-r--r--src/main/webui/.yarn/sdks/prettier/package-lock.json12
-rw-r--r--src/main/webui/.yarn/sdks/prettier/package.json6
3 files changed, 38 insertions, 0 deletions
diff --git a/src/main/webui/.yarn/sdks/prettier/index.js b/src/main/webui/.yarn/sdks/prettier/index.js
new file mode 100755
index 0000000..f6882d8
--- /dev/null
+++ b/src/main/webui/.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.cjs";
+
+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/src/main/webui/.yarn/sdks/prettier/package-lock.json b/src/main/webui/.yarn/sdks/prettier/package-lock.json
new file mode 100644
index 0000000..1c7cb88
--- /dev/null
+++ b/src/main/webui/.yarn/sdks/prettier/package-lock.json
@@ -0,0 +1,12 @@
+{
+ "name": "prettier",
+ "version": "2.6.2-sdk",
+ "lockfileVersion": 3,
+ "requires": true,
+ "packages": {
+ "": {
+ "name": "prettier",
+ "version": "2.6.2-sdk"
+ }
+ }
+}
diff --git a/src/main/webui/.yarn/sdks/prettier/package.json b/src/main/webui/.yarn/sdks/prettier/package.json
new file mode 100644
index 0000000..bce279f
--- /dev/null
+++ b/src/main/webui/.yarn/sdks/prettier/package.json
@@ -0,0 +1,6 @@
+{
+ "name": "prettier",
+ "version": "2.6.2-sdk",
+ "main": "./index.js",
+ "type": "commonjs"
+}