mirror of https://github.com/grafana/grafana
Chore: Update to yarn 4 (#77156)
* update to yarn 4 * update project to yarn 4 * update tetherdrop archive * update sdks * change puppeteer image to official node 20 one * revert previous, use grafana/docker-puppeteer:pre-node-20 instead * okay, try original docker image, but use npx instead of yarn for wait-on * remove wait-on from deps as we use it via npx now * yarn dedupe * remove logs from drone * empty commit testing yarn cache :) * comment explaining why no -ypull/77296/head
parent
661e1e2fff
commit
75005a8482
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,20 +0,0 @@ |
||||
#!/usr/bin/env node
|
||||
|
||||
const {existsSync} = require(`fs`); |
||||
const {createRequire} = require(`module`); |
||||
const {resolve} = require(`path`); |
||||
|
||||
const relPnpApiPath = "../../../.pnp.cjs"; |
||||
|
||||
const absPnpApiPath = resolve(__dirname, relPnpApiPath); |
||||
const absRequire = createRequire(absPnpApiPath); |
||||
|
||||
if (existsSync(absPnpApiPath)) { |
||||
if (!process.versions.pnp) { |
||||
// Setup the environment to be able to require prettier
|
||||
require(absPnpApiPath).setup(); |
||||
} |
||||
} |
||||
|
||||
// Defer to the real prettier your application uses
|
||||
module.exports = absRequire(`prettier`); |
@ -1,6 +1,7 @@ |
||||
{ |
||||
"name": "prettier", |
||||
"version": "3.0.0-sdk", |
||||
"main": "./index.js", |
||||
"type": "commonjs" |
||||
"main": "./index.cjs", |
||||
"type": "commonjs", |
||||
"bin": "./bin/prettier.cjs" |
||||
} |
||||
|
Loading…
Reference in new issue