Skip to content

Commit

Permalink
Merge pull request #11 from lidofinance/feat/update_yarn
Browse files Browse the repository at this point in the history
feat: update yarn, add plugins
  • Loading branch information
Jeday authored Aug 25, 2023
2 parents e88e2ec + 3fc1f1d commit 8f2651f
Show file tree
Hide file tree
Showing 9 changed files with 8,810 additions and 5,910 deletions.
10 changes: 10 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
root = true

[*]
end_of_line = lf
insert_final_newline = true

[*.{js,json,yml}]
charset = utf-8
indent_style = space
indent_size = 2
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/.yarn/** linguist-vendored
/.yarn/releases/* binary
/.yarn/plugins/**/* binary
/.pnp.* binary linguist-generated
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,9 @@ yarn-error.log*
.idea

/public/runtime/

# yarn
/.yarn/*
!/.yarn/releases
!/.yarn/plugins
!/.yarn/sdks
8 changes: 8 additions & 0 deletions .yarn/plugins/@yarnpkg/plugin-echo-execute.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/* eslint-disable */
module.exports = {
name: "@yarnpkg/plugin-echo-execute",
factory: function (require) {
var plugin;(()=>{"use strict";var o={d:(t,e)=>{for(var r in e)o.o(e,r)&&!o.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},o:(o,t)=>Object.prototype.hasOwnProperty.call(o,t),r:o=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})}},t={};o.r(t),o.d(t,{default:()=>r});const e=require("@yarnpkg/core"),r={hooks:{wrapScriptExecution:async(o,t,r,a,n)=>async()=>(await e.StreamReport.start({configuration:t.configuration,json:!1,includeFooter:!1,stdout:n.stdout},async o=>{const r=e.formatUtils.applyColor(t.configuration,a,e.formatUtils.Type.NAME),i=e.formatUtils.applyColor(t.configuration,n.script,e.formatUtils.Type.CODE);o.reportInfo(e.MessageName.UNNAMED,`executing [${r}]: ${i}`)}),o())}};plugin=t})();
return plugin;
}
};
28 changes: 28 additions & 0 deletions .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs

Large diffs are not rendered by default.

874 changes: 874 additions & 0 deletions .yarn/releases/yarn-3.6.3.cjs

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
httpProxy: "http://1.2.3.4:1234"

nodeLinker: node-modules

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
spec: "@yarnpkg/plugin-workspace-tools"
- path: .yarn/plugins/@yarnpkg/plugin-echo-execute.cjs
spec: "https://yarnplugins.com/echo-execute"

yarnPath: .yarn/releases/yarn-3.6.3.cjs
16 changes: 6 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@
],
"scripts": {
"w-info": "yarn workspaces info",
"build": "yarn workspaces run build",
"types": "yarn workspaces run types",
"test": "yarn workspaces run test",
"publish": "yarn workspaces run publish:package",
"build": "yarn workspaces foreach -pt run build",
"types": "yarn workspaces foreach -pt run types",
"test": "yarn workspaces foreach -pt run test",
"prepare": "husky install"
},
"devDependencies": {
Expand Down Expand Up @@ -44,15 +43,12 @@
"typescript": "^5.1.6"
},
"workspaces": [
"packages/core",
"packages/stake",
"packages/wrap",
"packages/withdrawals",
"packages/sdk"
"packages/*"
],
"release": {
"branches": [
"main"
]
}
},
"packageManager": "[email protected]"
}
Loading

0 comments on commit 8f2651f

Please sign in to comment.