Skip to content

Commit

Permalink
revert: "chore(main): release 1.0.0" (#23)
Browse files Browse the repository at this point in the history
* Revert "chore(main): release 1.0.0 (#22)"

This reverts commit 55ca02a.

* set yarn version

* set up monorepo publish flow
  • Loading branch information
MakMuftic committed Sep 2, 2022
1 parent 55ca02a commit 1aa6b87
Show file tree
Hide file tree
Showing 18 changed files with 57,514 additions and 42,770 deletions.
9 changes: 8 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,11 @@ yarn-error.log*
public/chainbridge-runtime-config.js

# IDE
.idea/
.idea/

.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
9 changes: 9 additions & 0 deletions .yarn/plugins/@yarnpkg/plugin-engines.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/* eslint-disable */
//prettier-ignore
module.exports = {
name: "@yarnpkg/plugin-engines",
factory: function (require) {
var plugin=(()=>{var R=Object.create,m=Object.defineProperty;var P=Object.getOwnPropertyDescriptor;var j=Object.getOwnPropertyNames;var b=Object.getPrototypeOf,Y=Object.prototype.hasOwnProperty;var T=n=>m(n,"__esModule",{value:!0});var i=n=>{if(typeof require!="undefined")return require(n);throw new Error('Dynamic require of "'+n+'" is not supported')};var V=(n,e)=>{for(var r in e)m(n,r,{get:e[r],enumerable:!0})},N=(n,e,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of j(e))!Y.call(n,t)&&t!=="default"&&m(n,t,{get:()=>e[t],enumerable:!(r=P(e,t))||r.enumerable});return n},s=n=>N(T(m(n!=null?R(b(n)):{},"default",n&&n.__esModule&&"default"in n?{get:()=>n.default,enumerable:!0}:{value:n,enumerable:!0})),n);var S={};V(S,{default:()=>$});var o=s(i("@yarnpkg/core")),c;(function(r){r.Yarn="Yarn",r.Console="Console"})(c||(c={}));var h=class{constructor(e){this.throwWrongEngineError=(e,r)=>{let t=this.formatErrorMessage(e,r);this.throwError(t)};this.throwError=e=>{switch(this.errorReporter){case c.Yarn:this.reportYarnError(e);break;case c.Console:default:this.reportConsoleError(e);break}};this.reportYarnError=e=>{throw new o.ReportError(o.MessageName.UNNAMED,e)};this.reportConsoleError=e=>{console.error(e),process.exit(1)};this.formatErrorMessage=(e,r)=>{let{configuration:t}=this.project,a=o.formatUtils.applyStyle(t,o.formatUtils.pretty(t,this.engine,"green"),2),g=o.formatUtils.pretty(t,e,"cyan"),l=o.formatUtils.pretty(t,r,"cyan"),w=`The current ${a} version ${g} does not satisfy the required version ${l}.`;return o.formatUtils.pretty(t,w,"red")};this.project=e.project,this.errorReporter=e.errorReporter}};var f=s(i("fs")),u=s(i("path")),d=s(i("semver")),k=s(i("@yarnpkg/fslib")),p=s(i("@yarnpkg/core"));var v=class extends h{constructor(){super(...arguments);this.resolveNvmRequiredVersion=()=>{let{configuration:e,cwd:r}=this.project,t=(0,u.resolve)(k.npath.fromPortablePath(r),".nvmrc"),a=p.formatUtils.applyStyle(e,p.formatUtils.pretty(e,this.engine,"green"),2);if(!(0,f.existsSync)(t)){this.throwError(p.formatUtils.pretty(e,`Unable to verify the ${a} version. The .nvmrc file does not exist.`,"red"));return}let g=(0,f.readFileSync)(t,"utf-8").trim();if((0,d.validRange)(g))return g;let l=p.formatUtils.pretty(e,".nvmrc","yellow");this.throwError(p.formatUtils.pretty(e,`Unable to verify the ${a} version. The ${l} file contains an invalid semver range.`,"red"))}}get engine(){return"Node"}verifyEngine(e){let r=e.node;r!=null&&(r===".nvmrc"&&(r=this.resolveNvmRequiredVersion()),(0,d.satisfies)(process.version,r)||this.throwWrongEngineError(process.version.replace(/^v/i,""),r.replace(/^v/i,"")))}};var x=s(i("semver")),y=s(i("@yarnpkg/core"));var E=class extends h{get engine(){return"Yarn"}verifyEngine(e){let r=e.yarn;r!=null&&((0,x.satisfies)(y.YarnVersion,r)||this.throwWrongEngineError(y.YarnVersion,r))}};var C=n=>e=>{let{engines:r={}}=e.getWorkspaceByCwd(e.cwd).manifest.raw,t={project:e,errorReporter:n};[new v(t),new E(t)].forEach(g=>g.verifyEngine(r))},q={hooks:{validateProject:C(c.Yarn),setupScriptEnvironment:C(c.Console)}},$=q;return S;})();
return plugin;
}
};
541 changes: 541 additions & 0 deletions .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions .yarn/plugins/@yarnpkg/plugin-typescript.cjs

Large diffs are not rendered by default.

28 changes: 28 additions & 0 deletions .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs

Large diffs are not rendered by default.

783 changes: 783 additions & 0 deletions .yarn/releases/yarn-3.2.3.cjs

Large diffs are not rendered by default.

19 changes: 19 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
compressionLevel: 0

enableGlobalCache: true

nmMode: hardlinks-local

nodeLinker: node-modules

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
spec: "@yarnpkg/plugin-interactive-tools"
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
spec: "@yarnpkg/plugin-workspace-tools"
- path: .yarn/plugins/@yarnpkg/plugin-typescript.cjs
spec: "@yarnpkg/plugin-typescript"
- path: .yarn/plugins/@yarnpkg/plugin-engines.cjs
spec: "https://raw.githubusercontent.com/devoto13/yarn-plugin-engines/main/bundles/%40yarnpkg/plugin-engines.js"

yarnPath: .yarn/releases/yarn-3.2.3.cjs
15 changes: 0 additions & 15 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,5 @@
# Changelog

## [1.0.0](https://github.com/sygmaprotocol/sygma-sdk/compare/v1.0.0...v1.0.0) (2022-09-01)


### Miscellaneous

* fix package.json ([#16](https://github.com/sygmaprotocol/sygma-sdk/issues/16)) ([e731966](https://github.com/sygmaprotocol/sygma-sdk/commit/e73196621f78582b83fab77fa182e74f4e7100c7))
* fix release job definition ([#13](https://github.com/sygmaprotocol/sygma-sdk/issues/13)) ([0460431](https://github.com/sygmaprotocol/sygma-sdk/commit/046043136a1aa915d9908ab9928fa72c48ed7692))
* fix release workflow definition ([#12](https://github.com/sygmaprotocol/sygma-sdk/issues/12)) ([87755aa](https://github.com/sygmaprotocol/sygma-sdk/commit/87755aa390cafacca8ce63ae8f90e507937ffc76))
* **main:** release 1.0.0 ([#14](https://github.com/sygmaprotocol/sygma-sdk/issues/14)) ([d2ff549](https://github.com/sygmaprotocol/sygma-sdk/commit/d2ff549d78db85114db0157d8ecc2c8becbaf258))
* **main:** release 1.0.0 ([#15](https://github.com/sygmaprotocol/sygma-sdk/issues/15)) ([9ef9fad](https://github.com/sygmaprotocol/sygma-sdk/commit/9ef9fadd8b4edd80a8e065623b0f114562cb0804))
* **main:** release 1.0.0 ([#18](https://github.com/sygmaprotocol/sygma-sdk/issues/18)) ([03e45ff](https://github.com/sygmaprotocol/sygma-sdk/commit/03e45ffad3890f71e3a5dbe629918d28f8b9debf))
* **main:** release 1.0.0 ([#20](https://github.com/sygmaprotocol/sygma-sdk/issues/20)) ([c3fc5a0](https://github.com/sygmaprotocol/sygma-sdk/commit/c3fc5a0e17cfb1cb15b30cacdccf94de1975452b))
* release 1.0.0 ([bb6a505](https://github.com/sygmaprotocol/sygma-sdk/commit/bb6a5053d843960f445f0dacebe101745f4d908f))
* Release trigger fix ([#11](https://github.com/sygmaprotocol/sygma-sdk/issues/11)) ([627ee12](https://github.com/sygmaprotocol/sygma-sdk/commit/627ee121c9c35d562e27388e9257dc944e19d68a))

## 1.0.0 (2022-09-01)


Expand Down
Binary file added examples/node-example/.yarn/install-state.gz
Binary file not shown.
7 changes: 3 additions & 4 deletions examples/node-example/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
{
"name": "@chainsafe/sygma-sdk-node-example",
"name": "@sygmaprotocol/sygma-sdk-node-example",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"private": "true",
"scripts": {
"run:local-ex": "ts-node ./local-setup-example/index.ts",
"start:dev": "nodemon"
Expand All @@ -19,8 +18,8 @@
"web3": "^1.7.3"
},
"devDependencies": {
"typescript": "^4.6.3",
"nodemon": "2.0.16",
"ts-node": "^10.7.0",
"nodemon": "2.0.16"
"typescript": "^4.6.3"
}
}
Loading

0 comments on commit 1aa6b87

Please sign in to comment.