@graphitation/apollo-react-relay-duct-tape
Advanced tools
Comparing version 0.5.0-store-observation.4 to 0.5.0-store-observation.5
@@ -5,11 +5,11 @@ { | ||
{ | ||
"date": "Wed, 06 Oct 2021 22:07:41 GMT", | ||
"tag": "@graphitation/apollo-react-relay-duct-tape_v0.5.0-store-observation.4", | ||
"version": "0.5.0-store-observation.4", | ||
"date": "Thu, 07 Oct 2021 13:10:18 GMT", | ||
"tag": "@graphitation/apollo-react-relay-duct-tape_v0.5.0-store-observation.5", | ||
"version": "0.5.0-store-observation.5", | ||
"comments": { | ||
"prerelease": [ | ||
{ | ||
"comment": "Build-time fixes", | ||
"comment": "Fix node field-policy with default typename prefixing of ids and add test coverage", | ||
"author": "eloy.de.enige@gmail.com", | ||
"commit": "af02cf286db12fc878e5cb9ac5037b67b57b308b", | ||
"commit": "1e57e78cffd349c5d9ee65a5a4a4ad6e22c7422f", | ||
"package": "@graphitation/apollo-react-relay-duct-tape" | ||
@@ -16,0 +16,0 @@ } |
# Change Log - @graphitation/apollo-react-relay-duct-tape | ||
This log was last generated on Wed, 06 Oct 2021 22:07:41 GMT and should not be manually modified. | ||
This log was last generated on Thu, 07 Oct 2021 13:10:18 GMT and should not be manually modified. | ||
<!-- Start content --> | ||
## 0.5.0-store-observation.4 | ||
## 0.5.0-store-observation.5 | ||
Wed, 06 Oct 2021 22:07:41 GMT | ||
Thu, 07 Oct 2021 13:10:18 GMT | ||
### Changes | ||
- Build-time fixes (eloy.de.enige@gmail.com) | ||
- Fix node field-policy with default typename prefixing of ids and add test coverage (eloy.de.enige@gmail.com) | ||
@@ -15,0 +15,0 @@ ## 0.5.0-store-observation.1 |
@@ -42,4 +42,9 @@ var __create = Object.create; | ||
const [importDeclaration, replacementNode] = documentNodes; | ||
const artefactFile = path.join(path.dirname(node.getSourceFile().fileName), importDeclaration.moduleSpecifier.text) + ".ts"; | ||
if (fs.existsSync(artefactFile)) { | ||
let emitImport = true; | ||
const sourceFile = node.getSourceFile(); | ||
if (sourceFile) { | ||
const artefactFile = path.join(path.dirname(sourceFile.fileName), importDeclaration.moduleSpecifier.text) + ".ts"; | ||
emitImport = fs.existsSync(artefactFile); | ||
} | ||
if (emitImport) { | ||
imports.push(importDeclaration); | ||
@@ -46,0 +51,0 @@ return replacementNode; |
@@ -1,3 +0,3 @@ | ||
export * from "./createNodeFromCacheFieldPolicy"; | ||
export * from "./nodeFromCacheFieldPolicy"; | ||
export * from "./shallowCompareFragmentReferences"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -20,3 +20,3 @@ var __create = Object.create; | ||
__markAsModule(exports); | ||
__reExport(exports, __toModule(require("./createNodeFromCacheFieldPolicy"))); | ||
__reExport(exports, __toModule(require("./nodeFromCacheFieldPolicy"))); | ||
__reExport(exports, __toModule(require("./shallowCompareFragmentReferences"))); |
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "0.5.0-store-observation.4", | ||
"version": "0.5.0-store-observation.5", | ||
"main": "./lib/index", | ||
@@ -8,0 +8,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
72185
44
1585