@graphprotocol/graph-cli 0.79.1 → 0.79.2
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 +9 -0
- package/dist/compiler/index.js +2 -2
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @graphprotocol/graph-cli
|
|
2
2
|
|
|
3
|
+
## 0.79.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1698](https://github.com/graphprotocol/graph-tooling/pull/1698)
|
|
8
|
+
[`c8ec890`](https://github.com/graphprotocol/graph-tooling/commit/c8ec890cb13bb109bb97387e4819c948d97a079a)
|
|
9
|
+
Thanks [@soilking](https://github.com/soilking)! - Fix build files being placed outside the build
|
|
10
|
+
directory
|
|
11
|
+
|
|
3
12
|
## 0.79.1
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
package/dist/compiler/index.js
CHANGED
|
@@ -186,8 +186,8 @@ class Compiler {
|
|
|
186
186
|
}
|
|
187
187
|
_writeSubgraphFile(maybeRelativeFile, data, sourceDir, targetDir, spinner) {
|
|
188
188
|
const absoluteSourceFile = path_1.default.resolve(sourceDir, maybeRelativeFile);
|
|
189
|
-
const
|
|
190
|
-
const targetFile = path_1.default.join(targetDir,
|
|
189
|
+
const baseName = path_1.default.basename(absoluteSourceFile);
|
|
190
|
+
const targetFile = path_1.default.join(targetDir, baseName);
|
|
191
191
|
(0, spinner_1.step)(spinner, 'Write subgraph file', this.displayPath(targetFile));
|
|
192
192
|
fs_extra_1.default.mkdirsSync(path_1.default.dirname(targetFile));
|
|
193
193
|
fs_extra_1.default.writeFileSync(targetFile, data);
|
package/oclif.manifest.json
CHANGED