@graphprotocol/graph-cli 0.78.1-alpha-20240723203802-b89fbf8 → 0.78.1-alpha-20240729131711-cf29a94
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -7
- package/dist/commands/test.js +7 -7
- package/oclif.manifest.json +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,21 +1,19 @@
|
|
|
1
1
|
# @graphprotocol/graph-cli
|
|
2
2
|
|
|
3
|
-
## 0.78.1-alpha-
|
|
3
|
+
## 0.78.1-alpha-20240729131711-cf29a94
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
7
|
- [#1549](https://github.com/graphprotocol/graph-tooling/pull/1549)
|
|
8
|
-
[`
|
|
8
|
+
[`44de51b`](https://github.com/graphprotocol/graph-tooling/commit/44de51b98b0e25d96650fff9e8ca44f2a1d9651f)
|
|
9
9
|
Thanks [@YassinEldeeb](https://github.com/YassinEldeeb)! - dependencies updates:
|
|
10
|
-
|
|
10
|
+
- Added dependency
|
|
11
|
+
[`@graphprotocol/graph-tooling-napi-utils@0.1.0` ↗︎](https://www.npmjs.com/package/@graphprotocol/graph-tooling-napi-utils/v/0.1.0)
|
|
12
|
+
(to `dependencies`)
|
|
11
13
|
- Removed dependency
|
|
12
14
|
[`binary-install-raw@0.0.13` ↗︎](https://www.npmjs.com/package/binary-install-raw/v/0.0.13)
|
|
13
15
|
(from `dependencies`)
|
|
14
16
|
|
|
15
|
-
- [#1549](https://github.com/graphprotocol/graph-tooling/pull/1549)
|
|
16
|
-
[`bfab548`](https://github.com/graphprotocol/graph-tooling/commit/bfab54829df78907f2b3935d49dff1f6c6f261f0)
|
|
17
|
-
Thanks [@YassinEldeeb](https://github.com/YassinEldeeb)! - test
|
|
18
|
-
|
|
19
17
|
## 0.78.0
|
|
20
18
|
|
|
21
19
|
### Minor Changes
|
package/dist/commands/test.js
CHANGED
|
@@ -35,25 +35,25 @@ const core_1 = require("@oclif/core");
|
|
|
35
35
|
class TestCommand extends core_1.Command {
|
|
36
36
|
async run() {
|
|
37
37
|
const { args: { datasource }, flags: { coverage, force, logs, recompile, version }, } = await this.parse(TestCommand);
|
|
38
|
-
// Ensure PostgreSQL
|
|
38
|
+
// Ensure PostgreSQL 16 is installed
|
|
39
39
|
try {
|
|
40
40
|
const versionOutput = (0, child_process_1.execSync)('psql --version').toString();
|
|
41
|
-
const versionMatch = versionOutput.match(/\
|
|
41
|
+
const versionMatch = versionOutput.match(/\b(14|15|16)\.\d+/);
|
|
42
42
|
if (!versionMatch) {
|
|
43
|
-
this.error(`PostgreSQL version 14 is required. Detected version: ${versionOutput}`, {
|
|
43
|
+
this.error(`PostgreSQL version >=14 is required. Detected version: ${versionOutput}`, {
|
|
44
44
|
exit: 1,
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
catch (error) {
|
|
49
|
-
this.error(`PostgreSQL version 14 is required. It seems PostgreSQL is not installed.\n
|
|
50
|
-
To install PostgreSQL
|
|
49
|
+
this.error(`PostgreSQL version >=14 is required. It seems PostgreSQL is not installed.\n
|
|
50
|
+
To install PostgreSQL 16:\n
|
|
51
51
|
On Linux (Ubuntu/Debian based):
|
|
52
52
|
sudo apt update
|
|
53
|
-
sudo apt install -y postgresql-
|
|
53
|
+
sudo apt install -y postgresql-16
|
|
54
54
|
|
|
55
55
|
On macOS:
|
|
56
|
-
brew install postgresql@
|
|
56
|
+
brew install postgresql@16`, {
|
|
57
57
|
exit: 1,
|
|
58
58
|
});
|
|
59
59
|
}
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphprotocol/graph-cli",
|
|
3
|
-
"version": "0.78.1-alpha-
|
|
3
|
+
"version": "0.78.1-alpha-20240729131711-cf29a94",
|
|
4
4
|
"description": "CLI for building for and deploying to The Graph",
|
|
5
5
|
"license": "(Apache-2.0 OR MIT)",
|
|
6
6
|
"engines": {
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
],
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@float-capital/float-subgraph-uncrashable": "^0.0.0-alpha.4",
|
|
23
|
+
"@graphprotocol/graph-tooling-napi-utils": "0.1.0",
|
|
23
24
|
"@oclif/core": "2.8.6",
|
|
24
25
|
"@oclif/plugin-autocomplete": "^2.3.6",
|
|
25
26
|
"@oclif/plugin-not-found": "^2.4.0",
|
|
@@ -45,8 +46,7 @@
|
|
|
45
46
|
"tmp-promise": "3.0.3",
|
|
46
47
|
"web3-eth-abi": "1.7.0",
|
|
47
48
|
"which": "2.0.2",
|
|
48
|
-
"yaml": "1.10.2"
|
|
49
|
-
"@graphprotocol/graph-tooling-napi-utils": "0.1.0"
|
|
49
|
+
"yaml": "1.10.2"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@types/debug": "^4.1.7",
|