@canopycanopycanopy/b-ber-cli 3.0.8-nav-memo.0 → 3.0.8-nav-memo.1

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/dist/app.js CHANGED
@@ -11,8 +11,8 @@ exports.default = bber;
11
11
  var _yargs = _interopRequireDefault(require("yargs"));
12
12
  var _State = _interopRequireDefault(require("@canopycanopycanopy/b-ber-lib/State"));
13
13
  var commands = _interopRequireWildcard(require("./commands"));
14
- function _getRequireWildcardCache(nodeInterop) { if (typeof _WeakMap !== "function") return null; var cacheBabelInterop = new _WeakMap(); var cacheNodeInterop = new _WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
15
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = _Object$defineProperty && _Object$getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? _Object$getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { _Object$defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
14
+ function _getRequireWildcardCache(e) { if ("function" != typeof _WeakMap) return null; var r = new _WeakMap(), t = new _WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
15
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = _Object$defineProperty && _Object$getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? _Object$getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? _Object$defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
16
16
  const LINE_LENGTH = 70;
17
17
  function bber() {
18
18
  const showCustomHelp = () => console.log(`
@@ -86,10 +86,9 @@ const handler = async argv => {
86
86
  }).then(() => run(sequence)).catch(console.error);
87
87
  };
88
88
  const builder = yargs => (0, _configOptions.withConfigOptions)(yargs).command('', 'Build all formats', noop, handler).command('epub', 'Build an Epub', noop, handler).command('mobi', 'Build a Mobi', noop, handler).command('pdf', 'Build a PDF', noop, handler).command('reader', 'Build for the b-ber-reader format', noop, handler).command('sample', 'Build a sample Epub', noop, handler).command('web', 'Build for web', noop, handler).command('xml', 'Build for XML', noop, handler).help('h').alias('h', 'help');
89
- var _default = {
89
+ var _default = exports.default = {
90
90
  command,
91
91
  describe,
92
92
  builder,
93
93
  handler
94
- };
95
- exports.default = _default;
94
+ };
@@ -19,10 +19,9 @@ const handler = argv => {
19
19
  project
20
20
  });
21
21
  };
22
- var _default = {
22
+ var _default = exports.default = {
23
23
  command,
24
24
  describe,
25
25
  builder,
26
26
  handler
27
- };
28
- exports.default = _default;
27
+ };
@@ -11,10 +11,9 @@ const command = 'cover';
11
11
  const describe = 'Generate a project cover';
12
12
  const builder = yargs => yargs.fail((msg, err) => (0, _utils.fail)(msg, err, yargs)).help('h').alias('h', 'help').usage(`\nUsage: $0 cover\n\n${describe}`);
13
13
  const handler = () => _bBerTasks.cover.init();
14
- var _default = {
14
+ var _default = exports.default = {
15
15
  command,
16
16
  describe,
17
17
  builder,
18
18
  handler
19
- };
20
- exports.default = _default;
19
+ };
@@ -19,10 +19,9 @@ const builder = yargs => yargs.option('yes', {
19
19
  type: 'string'
20
20
  }).help('h').alias('h', 'help').usage(`\nUsage: $0 deploy\n\n${describe}`).fail((msg, err) => (0, _utils.fail)(msg, err, yargs));
21
21
  const handler = _bBerTasks.deploy;
22
- var _default = {
22
+ var _default = exports.default = {
23
23
  command,
24
24
  describe,
25
25
  builder,
26
26
  handler
27
- };
28
- exports.default = _default;
27
+ };
@@ -24,10 +24,9 @@ const handler = ({
24
24
  title,
25
25
  type
26
26
  })).catch(console.error);
27
- var _default = {
27
+ var _default = exports.default = {
28
28
  command,
29
29
  describe,
30
30
  builder,
31
31
  handler
32
- };
33
- exports.default = _default;
32
+ };
@@ -74,10 +74,9 @@ const handler = async argv => {
74
74
  });
75
75
  initializer.start();
76
76
  };
77
- var _default = {
77
+ var _default = exports.default = {
78
78
  command,
79
79
  describe,
80
80
  builder,
81
81
  handler
82
- };
83
- exports.default = _default;
82
+ };
@@ -10,10 +10,9 @@ const command = 'opf';
10
10
  const describe = 'Generate the opf';
11
11
  const builder = yargs => yargs.help('h').alias('h', 'help').usage(`\nUsage: $0 opf\n\n${describe}`);
12
12
  const handler = _bBerTasks.opf;
13
- var _default = {
13
+ var _default = exports.default = {
14
14
  command,
15
15
  describe,
16
16
  builder,
17
17
  handler
18
- };
19
- exports.default = _default;
18
+ };
@@ -31,10 +31,9 @@ const builder = yargs => yargs.positional('build', {
31
31
  describe: 'Serve from an externally accessible URL',
32
32
  type: 'boolean'
33
33
  }).help('h').alias('h', 'help').usage(`\nUsage: $0 serve\n\n${describe}`).fail((msg, err) => (0, _utils.fail)(msg, err, yargs));
34
- var _default = {
34
+ var _default = exports.default = {
35
35
  command,
36
36
  describe,
37
37
  builder,
38
38
  handler
39
- };
40
- exports.default = _default;
39
+ };
@@ -25,10 +25,9 @@ const builder = yargs => yargs.positional('command', {
25
25
  describe: 'Name of the theme to activate',
26
26
  type: 'string'
27
27
  }).help('h').alias('h', 'help').usage(`\nUsage: $0 theme\n\n${describe}`).fail((msg, err) => (0, _utils.fail)(msg, err, yargs));
28
- var _default = {
28
+ var _default = exports.default = {
29
29
  command: _command,
30
30
  describe,
31
31
  builder,
32
32
  handler
33
- };
34
- exports.default = _default;
33
+ };
@@ -10,10 +10,9 @@ const command = 'xml';
10
10
  const describe = 'Export a project as an XML document';
11
11
  const builder = yargs => yargs.help('h').alias('h', 'help').usage(`\nUsage: $0 xml\n\n${describe}`);
12
12
  const handler = _bBerTasks.xml;
13
- var _default = {
13
+ var _default = exports.default = {
14
14
  command,
15
15
  describe,
16
16
  builder,
17
17
  handler
18
- };
19
- exports.default = _default;
18
+ };
@@ -85,9 +85,7 @@ function withConfigOptions(yargs) {
85
85
  // default: '',
86
86
  });
87
87
  }
88
-
89
- const blacklistedConfigOptions = new _set.default(['ibooks_specified_fonts', 'autoprefixer_options', 'downloads', 'ui_options']);
90
- exports.blacklistedConfigOptions = blacklistedConfigOptions;
88
+ const blacklistedConfigOptions = exports.blacklistedConfigOptions = new _set.default(['ibooks_specified_fonts', 'autoprefixer_options', 'downloads', 'ui_options']);
91
89
  const parseConfigFile = async configFile => {
92
90
  const ext = _path.default.extname(configFile);
93
91
  const configPath = _path.default.resolve(process.cwd(), configFile);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@canopycanopycanopy/b-ber-cli",
3
- "version": "3.0.8-nav-memo.0+24db1e6b",
3
+ "version": "3.0.8-nav-memo.1+b6642a50",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
@@ -22,11 +22,11 @@
22
22
  },
23
23
  "dependencies": {
24
24
  "@babel/runtime-corejs3": "^7.10.5",
25
- "@canopycanopycanopy/b-ber-lib": "3.0.8-nav-memo.0+24db1e6b",
26
- "@canopycanopycanopy/b-ber-logger": "3.0.8-nav-memo.0+24db1e6b",
27
- "@canopycanopycanopy/b-ber-shapes-sequences": "3.0.8-nav-memo.0+24db1e6b",
28
- "@canopycanopycanopy/b-ber-tasks": "3.0.8-nav-memo.0+24db1e6b",
29
- "@canopycanopycanopy/b-ber-templates": "3.0.8-nav-memo.0+24db1e6b",
25
+ "@canopycanopycanopy/b-ber-lib": "3.0.8-nav-memo.1+b6642a50",
26
+ "@canopycanopycanopy/b-ber-logger": "3.0.8-nav-memo.1+b6642a50",
27
+ "@canopycanopycanopy/b-ber-shapes-sequences": "3.0.8-nav-memo.1+b6642a50",
28
+ "@canopycanopycanopy/b-ber-tasks": "3.0.8-nav-memo.1+b6642a50",
29
+ "@canopycanopycanopy/b-ber-templates": "3.0.8-nav-memo.1+b6642a50",
30
30
  "fs-extra": "^8.1.0",
31
31
  "lodash": "^4.17.21",
32
32
  "lodash.has": "latest",
@@ -59,5 +59,5 @@
59
59
  "url": "https://maxwellsimmer.com"
60
60
  }
61
61
  ],
62
- "gitHead": "24db1e6bb491faae0d52c6dadc09d974a5a31cf5"
62
+ "gitHead": "b6642a50841814fcec9d10d0d2111c1673c80c44"
63
63
  }