chore(deps): update yarn to v4
This commit is contained in:
parent
ca88e4975d
commit
27992aa4d6
|
@ -4,7 +4,7 @@
|
|||
|
||||
name: Bug Report
|
||||
about: File a bug report
|
||||
labels: ["bug", "to be confirmed"]
|
||||
labels: ['bug', 'to be confirmed']
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
name: Feature Request
|
||||
description: Submit a feature request
|
||||
labels: ["feature"]
|
||||
labels: ['feature']
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
|
|
|
@ -30,6 +30,7 @@ steps:
|
|||
- git config user.email woodpecker[bot]@${CI_SYSTEM_HOST}
|
||||
- yarn bump-version --release=${RELEASE_TYPE}
|
||||
- export RELEASE_VERSION=$(jq -r '.version' < package.json)
|
||||
- yarn prettier --write package.json module.json
|
||||
- git --no-pager diff
|
||||
- git add package.json module.json
|
||||
- 'git commit -m "chore(release): $${RELEASE_VERSION}"'
|
||||
|
|
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
|
@ -0,0 +1,20 @@
|
|||
#!/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 eslint/use-at-your-own-risk
|
||||
require(absPnpApiPath).setup();
|
||||
}
|
||||
}
|
||||
|
||||
// Defer to the real eslint/use-at-your-own-risk your application uses
|
||||
module.exports = absRequire(`eslint/use-at-your-own-risk`);
|
|
@ -1,6 +1,14 @@
|
|||
{
|
||||
"name": "eslint",
|
||||
"version": "8.42.0-sdk",
|
||||
"version": "8.52.0-sdk",
|
||||
"main": "./lib/api.js",
|
||||
"type": "commonjs"
|
||||
"type": "commonjs",
|
||||
"bin": {
|
||||
"eslint": "./bin/eslint.js"
|
||||
},
|
||||
"exports": {
|
||||
"./package.json": "./package.json",
|
||||
".": "./lib/api.js",
|
||||
"./use-at-your-own-risk": "./lib/unsupported-api.js"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
#!/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/bin-prettier.js
|
||||
require(absPnpApiPath).setup();
|
||||
}
|
||||
}
|
||||
|
||||
// Defer to the real prettier/bin-prettier.js your application uses
|
||||
module.exports = absRequire(`prettier/bin-prettier.js`);
|
|
@ -2,5 +2,6 @@
|
|||
"name": "prettier",
|
||||
"version": "2.8.8-sdk",
|
||||
"main": "./index.js",
|
||||
"type": "commonjs"
|
||||
"type": "commonjs",
|
||||
"bin": "./bin-prettier.js"
|
||||
}
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
nodeLinker: pnp
|
||||
|
||||
plugins:
|
||||
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
|
||||
spec: "@yarnpkg/plugin-interactive-tools"
|
||||
yarnPath: .yarn/releases/yarn-4.0.1.cjs
|
||||
|
||||
yarnPath: .yarn/releases/yarn-3.6.4.cjs
|
||||
enableGlobalCache: false
|
||||
|
|
20
module.json
20
module.json
|
@ -18,28 +18,16 @@
|
|||
"version": "1.4.0",
|
||||
"flags": {
|
||||
"hotReload": {
|
||||
"extensions": [
|
||||
"css",
|
||||
"hbs",
|
||||
"json"
|
||||
],
|
||||
"paths": [
|
||||
"templates",
|
||||
"styles",
|
||||
"lang"
|
||||
]
|
||||
"extensions": ["css", "hbs", "json"],
|
||||
"paths": ["templates", "styles", "lang"]
|
||||
}
|
||||
},
|
||||
"compatibility": {
|
||||
"minimum": "10.290",
|
||||
"verified": "11"
|
||||
},
|
||||
"esmodules": [
|
||||
"tickwerk.js"
|
||||
],
|
||||
"styles": [
|
||||
"styles/tickwerk.css"
|
||||
],
|
||||
"esmodules": ["tickwerk.js"],
|
||||
"styles": ["styles/tickwerk.css"],
|
||||
"languages": [
|
||||
{
|
||||
"lang": "en",
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
"clean:link": "node ./tools/link-package.js --clean",
|
||||
"lint": "eslint --ext .js,.cjs,.mjs .",
|
||||
"lint:fix": "eslint --ext .js,.cjs,.mjs --fix .",
|
||||
"format": "prettier --write \"./**/*.(js|cjs|mjs|json|scss|yml)\"",
|
||||
"format": "prettier --write \"./**/*.(js|cjs|mjs|json|scss|yml|yaml)\"",
|
||||
"bump-version": "node ./tools/bump-version.js",
|
||||
"changelog": "conventional-changelog -p conventionalcommits -o CHANGELOG.md -r 2"
|
||||
},
|
||||
|
@ -54,5 +54,5 @@
|
|||
"semver": "7.5.4",
|
||||
"yargs": "17.7.2"
|
||||
},
|
||||
"packageManager": "yarn@3.6.4"
|
||||
"packageManager": "yarn@4.0.1"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue