diff --git a/package.json b/package.json index 5800a498..be9a717e 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,8 @@ "rimraf": "^5.0.5", "ts-node": "^10.9.1", "typechain": "^8.3.1", - "typescript": "^5.2.2" + "typescript": "^5.2.2", + "string-width": "^4.2.3" }, "scripts": { "build": "yarn --cwd ./contracts build", diff --git a/subgraph/package.json b/subgraph/package.json index 0094f36a..0ef8eace 100644 --- a/subgraph/package.json +++ b/subgraph/package.json @@ -7,21 +7,21 @@ "private": false, "repository": { "type": "git", - "url": "git+https://github.com/aragon/osx.git" + "url": "git+https://github.com/aragon/osx-commons.git" }, "author": "", "license": "AGPL-3.0-or-later", "bugs": { - "url": "https://github.com/aragon/osx/issues" + "url": "https://github.com/aragon/osx-commons/issues" }, - "homepage": "https://github.com/aragon/osx#readme", + "homepage": "https://github.com/aragon/osx-commons#readme", "scripts": { "test": "graph test", "lint": "prettier --write ./**/*.ts", "clean": "rimraf deploy-output.txt subgraph.yaml ./build ./imported ./generated ./tests/.bin tests/.latest.json" }, "dependencies": { - "@graphprotocol/graph-ts": "0.31.0" + "@graphprotocol/graph-ts": "^0.31.0" }, "devDependencies": { "matchstick-as": "^0.6.0", diff --git a/subgraph/subgraph.yaml b/subgraph/subgraph.yaml new file mode 100644 index 00000000..4862e79e --- /dev/null +++ b/subgraph/subgraph.yaml @@ -0,0 +1,4 @@ +# DO NOT DELETE OR EDIT. This file needs to be parsed by matchsitck before the test so this is the minimal valid file. +specVersion: 0.0.5 +schema: + file: ./schema.graphql diff --git a/yarn.lock b/yarn.lock index 06626e8b..e85147f8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -688,7 +688,7 @@ which "2.0.2" yaml "1.10.2" -"@graphprotocol/graph-ts@0.31.0": +"@graphprotocol/graph-ts@^0.31.0": version "0.31.0" resolved "https://registry.yarnpkg.com/@graphprotocol/graph-ts/-/graph-ts-0.31.0.tgz#730668c0369828b31bef81e8d9bc66b9b48e3480" integrity sha512-xreRVM6ho2BtolyOh2flDkNoGZximybnzUnF53zJVp0+Ed0KnAlO1/KOCUYw06euVI9tk0c9nA2Z/D5SIQV2Rg== @@ -3879,7 +3879,7 @@ get-caller-file@^2.0.5: resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== -get-func-name@^2.0.0, get-func-name@^2.0.2: +get-func-name@^2.0.1, get-func-name@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/get-func-name/-/get-func-name-2.0.2.tgz#0d7cf20cd13fda808669ffa88f4ffc7a3943fc41" integrity sha512-8vXOvuE167CtIc3OyItco7N/dpRtBbYOsPsXCz7X/PMnlGjYjSGuZJgM1Y7mmew7BKf9BqvLX2tnOVy1BBUsxQ== @@ -5446,11 +5446,11 @@ long@^5.2.0: integrity sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q== loupe@^2.3.6: - version "2.3.6" - resolved "https://registry.yarnpkg.com/loupe/-/loupe-2.3.6.tgz#76e4af498103c532d1ecc9be102036a21f787b53" - integrity sha512-RaPMZKiMy8/JruncMU5Bt6na1eftNoo++R4Y+N2FrxkDVTrGvcyzFTsaGif4QTeKESheMGegbhw6iUAq+5A8zA== + version "2.3.7" + resolved "https://registry.yarnpkg.com/loupe/-/loupe-2.3.7.tgz#6e69b7d4db7d3ab436328013d37d1c8c3540c697" + integrity sha512-zSMINGVYkdpYSOBmLi0D1Uo7JU9nVdQKrHxC8eYlV+9YKK9WePqAlL7lSlorG/U2Fw1w0hTBmaa/jrQ3UbPHtA== dependencies: - get-func-name "^2.0.0" + get-func-name "^2.0.1" lru-cache@^5.1.1: version "5.1.1" @@ -6892,7 +6892,6 @@ string-format@^2.0.0: integrity sha512-bbEs3scLeYNXLecRRuk6uJxdXUSj6le/8rNPHChIJTn2V79aXVTR1EH2OH5zLKKoz0V02fOUKZZcw01pLUShZA== "string-width-cjs@npm:string-width@^4.2.0", string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: - name string-width-cjs version "4.2.3" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== @@ -7662,7 +7661,6 @@ workerpool@6.2.1: integrity sha512-ILEIE97kDZvF9Wb9f6h5aXK4swSlKGUcOEGiIYb2OOu/IrDU9iwj0fD//SsA6E5ibwJxpEvhullJY4Sl4GcpAw== "wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0: - name wrap-ansi-cjs version "7.0.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==