mirror of https://github.com/grafana/grafana
Yarn: Updates to SDK packages (#45043)
parent
d0bc3b10bf
commit
31ba5bfea0
@ -1,6 +1,6 @@ |
||||
{ |
||||
"name": "eslint", |
||||
"version": "7.28.0-sdk", |
||||
"version": "8.8.0-sdk", |
||||
"main": "./lib/api.js", |
||||
"type": "commonjs" |
||||
} |
||||
|
@ -1,6 +1,6 @@ |
||||
{ |
||||
"name": "prettier", |
||||
"version": "2.2.1-sdk", |
||||
"version": "2.5.1-sdk", |
||||
"main": "./index.js", |
||||
"type": "commonjs" |
||||
} |
||||
|
@ -1,20 +0,0 @@ |
||||
#!/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 stylelint/bin/stylelint.js
|
||||
require(absPnpApiPath).setup(); |
||||
} |
||||
} |
||||
|
||||
// Defer to the real stylelint/bin/stylelint.js your application uses
|
||||
module.exports = absRequire(`stylelint/bin/stylelint.js`); |
@ -1,20 +0,0 @@ |
||||
#!/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 stylelint/lib/index.js
|
||||
require(absPnpApiPath).setup(); |
||||
} |
||||
} |
||||
|
||||
// Defer to the real stylelint/lib/index.js your application uses
|
||||
module.exports = absRequire(`stylelint/lib/index.js`); |
@ -1,6 +0,0 @@ |
||||
{ |
||||
"name": "stylelint", |
||||
"version": "14.0.1-sdk", |
||||
"main": "lib/index.js", |
||||
"type": "commonjs" |
||||
} |
Loading…
Reference in new issue