@canopycanopycanopy/b-ber-tasks 1.2.13-react-reader.6 → 1.2.13

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.
@@ -46,8 +46,7 @@ class Reader {
46
46
  this.readerModuleName = '@canopycanopycanopy/b-ber-reader';
47
47
  this.readerModuleDistDir = 'dist';
48
48
  this.readerAppPath = null;
49
- return this.createOutputDirs().then(() => this.ensureReaderModuleExists()).then(() => this.copyEpubToOutputDir()).then(() => this.writeBookManifest()).then(() => this.writeWebpubManifest()).then(() => this.copyReaderAppToOutputDir()).then(() => this.injectServerDataIntoTemplate()) // .then(() => this.updateLinkedResourcesWithAbsolutePaths())
50
- .then(() => this.updateAssetURLsWithAbsolutePaths()).then(() => this.injectWebpubManifestLink()).catch(_bBerLogger.default.error);
49
+ return this.createOutputDirs().then(() => this.ensureReaderModuleExists()).then(() => this.copyEpubToOutputDir()).then(() => this.writeBookManifest()).then(() => this.writeWebpubManifest()).then(() => this.copyReaderAppToOutputDir()).then(() => this.injectServerDataIntoTemplate()).then(() => this.updateLinkedResourcesWithAbsolutePaths()).then(() => this.updateAssetURLsWithAbsolutePaths()).then(() => this.injectWebpubManifestLink()).catch(_bBerLogger.default.error);
51
50
  }
52
51
 
53
52
  get remoteURL() {
@@ -211,8 +210,7 @@ class Reader {
211
210
  contents = _fsExtra.default.readFileSync(indexHTML, 'utf8');
212
211
  contents = contents.replace(/__SERVER_DATA__ = {}/, `__SERVER_DATA__ = ${(0, _stringify.default)(serverData)}`);
213
212
  return _fsExtra.default.writeFile(indexHTML, contents);
214
- } // Update URLs in CSS
215
-
213
+ }
216
214
 
217
215
  updateLinkedResourcesWithAbsolutePaths() {
218
216
  const indexContents = _fsExtra.default.readFileSync(_State.default.dist.root('index.html'), 'utf8');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@canopycanopycanopy/b-ber-tasks",
3
- "version": "1.2.13-react-reader.6+5f5ac8b3",
3
+ "version": "1.2.13",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -19,14 +19,14 @@
19
19
  },
20
20
  "dependencies": {
21
21
  "@babel/runtime-corejs3": "^7.10.5",
22
- "@canopycanopycanopy/b-ber-lib": "1.2.13-react-reader.6+5f5ac8b3",
23
- "@canopycanopycanopy/b-ber-logger": "1.2.13-react-reader.6+5f5ac8b3",
24
- "@canopycanopycanopy/b-ber-markdown-renderer": "1.2.13-react-reader.6+5f5ac8b3",
25
- "@canopycanopycanopy/b-ber-reader": "1.2.13-react-reader.6+5f5ac8b3",
26
- "@canopycanopycanopy/b-ber-resources": "1.2.13-react-reader.6+5f5ac8b3",
27
- "@canopycanopycanopy/b-ber-shapes-sequences": "1.2.13-react-reader.6+5f5ac8b3",
28
- "@canopycanopycanopy/b-ber-templates": "1.2.13-react-reader.6+5f5ac8b3",
29
- "@canopycanopycanopy/b-ber-validator": "1.2.13-react-reader.6+5f5ac8b3",
22
+ "@canopycanopycanopy/b-ber-lib": "1.2.12",
23
+ "@canopycanopycanopy/b-ber-logger": "1.2.12",
24
+ "@canopycanopycanopy/b-ber-markdown-renderer": "1.2.12",
25
+ "@canopycanopycanopy/b-ber-reader": "1.2.13",
26
+ "@canopycanopycanopy/b-ber-resources": "1.2.12",
27
+ "@canopycanopycanopy/b-ber-shapes-sequences": "1.2.12",
28
+ "@canopycanopycanopy/b-ber-templates": "1.2.12",
29
+ "@canopycanopycanopy/b-ber-validator": "1.2.12",
30
30
  "autoprefixer": "^9.6.1",
31
31
  "browser-sync": "^2.27.7",
32
32
  "bs-html-injector": "^3.0.3",
@@ -75,5 +75,5 @@
75
75
  "url": "https://maxwellsimmer.com"
76
76
  }
77
77
  ],
78
- "gitHead": "5f5ac8b3704149ac656dd852aaac311eea945d65"
78
+ "gitHead": "af49c5bfb3f662b112bc3685a55564d4e12b9073"
79
79
  }