@andersbakken/fisk 3.6.1 → 3.6.4

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.
@@ -3562,6 +3562,10 @@ function isConstructorOrProto (obj, key) {
3562
3562
  return key === 'constructor' && typeof obj[key] === 'function' || key === '__proto__';
3563
3563
  }
3564
3564
 
3565
+ function commonjsRequire(path) {
3566
+ throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
3567
+ }
3568
+
3565
3569
  var posixExports = {};
3566
3570
  var posix$1 = {
3567
3571
  get exports(){ return posixExports; },
@@ -3582,7 +3586,7 @@ function load_extension() {
3582
3586
  ], i;
3583
3587
  for (i in ext_dirs) {
3584
3588
  try {
3585
- return require(path.join(__dirname, '../..', ext_dirs[i],
3589
+ return commonjsRequire(path.join(__dirname, '../../posix', ext_dirs[i],
3586
3590
  'posix.node'));
3587
3591
 
3588
3592
  } catch (error) {
@@ -3911,4 +3915,3 @@ process.on("message", (msg) => {
3911
3915
  break;
3912
3916
  }
3913
3917
  });
3914
- //# sourceMappingURL=VM_runtime.js.map
@@ -80,6 +80,10 @@ var nodeGypBuild$1 = {
80
80
  set exports(v){ nodeGypBuildExports = v; },
81
81
  };
82
82
 
83
+ function commonjsRequire(path) {
84
+ throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
85
+ }
86
+
83
87
  var nodeGypBuild;
84
88
  var hasRequiredNodeGypBuild$1;
85
89
 
@@ -91,7 +95,7 @@ function requireNodeGypBuild$1 () {
91
95
  var os = os__default["default"];
92
96
 
93
97
  // Workaround to fix webpack's build warnings: 'the request of a dependency is an expression'
94
- var runtimeRequire = typeof __webpack_require__ === 'function' ? __non_webpack_require__ : require; // eslint-disable-line
98
+ var runtimeRequire = typeof __webpack_require__ === 'function' ? __non_webpack_require__ : commonjsRequire; // eslint-disable-line
95
99
 
96
100
  var vars = (process.config && process.config.variables) || {};
97
101
  var prebuildsOnly = !!process.env.PREBUILDS_ONLY;
@@ -39171,7 +39175,7 @@ function View(name, options) {
39171
39175
  debug$2('require "%s"', mod);
39172
39176
 
39173
39177
  // default engine export
39174
- var fn = require(mod).__express;
39178
+ var fn = commonjsRequire(mod).__express;
39175
39179
 
39176
39180
  if (typeof fn !== 'function') {
39177
39181
  throw new Error('Module "' + mod + '" does not provide a view engine.')
@@ -53607,7 +53611,7 @@ function requireResolve () {
53607
53611
  // If we're in webpack, force it to use the original require() method
53608
53612
  var requireFunction = ("function" === typeof __webpack_require__ || "function" === typeof __non_webpack_require__)
53609
53613
  ? __non_webpack_require__
53610
- : require;
53614
+ : commonjsRequire;
53611
53615
 
53612
53616
  // Resolver
53613
53617
  resolve = function resolve(dirname) {
@@ -53690,7 +53694,7 @@ var appRootPath$1 = function(dirname) {
53690
53694
  },
53691
53695
 
53692
53696
  require: function(pathToModule) {
53693
- return require(publicInterface.resolve(pathToModule));
53697
+ return commonjsRequire(publicInterface.resolve(pathToModule));
53694
53698
  },
53695
53699
 
53696
53700
  toString: function() {
@@ -55236,4 +55240,3 @@ load.on("data", (measure) => {
55236
55240
  }
55237
55241
  });
55238
55242
  start();
55239
- //# sourceMappingURL=fisk-builder.js.map
@@ -27,6 +27,10 @@ var net__default = /*#__PURE__*/_interopDefaultLegacy(net);
27
27
 
28
28
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
29
29
 
30
+ function commonjsRequire(path) {
31
+ throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
32
+ }
33
+
30
34
  var resolve;
31
35
  var hasRequiredResolve;
32
36
 
@@ -55,7 +59,7 @@ function requireResolve () {
55
59
  // If we're in webpack, force it to use the original require() method
56
60
  var requireFunction = ("function" === typeof __webpack_require__ || "function" === typeof __non_webpack_require__)
57
61
  ? __non_webpack_require__
58
- : require;
62
+ : commonjsRequire;
59
63
 
60
64
  // Resolver
61
65
  resolve = function resolve(dirname) {
@@ -138,7 +142,7 @@ var appRootPath$1 = function(dirname) {
138
142
  },
139
143
 
140
144
  require: function(pathToModule) {
141
- return require(publicInterface.resolve(pathToModule));
145
+ return commonjsRequire(publicInterface.resolve(pathToModule));
142
146
  },
143
147
 
144
148
  toString: function() {
@@ -4220,4 +4224,3 @@ client.on('close', () => {
4220
4224
  }
4221
4225
  });
4222
4226
  */
4223
- //# sourceMappingURL=fisk-daemon.js.map
@@ -4325,6 +4325,10 @@ var nodeGypBuild$1 = {
4325
4325
  set exports(v){ nodeGypBuildExports = v; },
4326
4326
  };
4327
4327
 
4328
+ function commonjsRequire(path) {
4329
+ throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
4330
+ }
4331
+
4328
4332
  var nodeGypBuild;
4329
4333
  var hasRequiredNodeGypBuild$1;
4330
4334
 
@@ -4336,7 +4340,7 @@ function requireNodeGypBuild$1 () {
4336
4340
  var os = require$$1__default["default"];
4337
4341
 
4338
4342
  // Workaround to fix webpack's build warnings: 'the request of a dependency is an expression'
4339
- var runtimeRequire = typeof __webpack_require__ === 'function' ? __non_webpack_require__ : require; // eslint-disable-line
4343
+ var runtimeRequire = typeof __webpack_require__ === 'function' ? __non_webpack_require__ : commonjsRequire; // eslint-disable-line
4340
4344
 
4341
4345
  var vars = (process.config && process.config.variables) || {};
4342
4346
  var prebuildsOnly = !!process.env.PREBUILDS_ONLY;
@@ -39740,7 +39744,7 @@ function View(name, options) {
39740
39744
  debug$1('require "%s"', mod);
39741
39745
 
39742
39746
  // default engine export
39743
- var fn = require(mod).__express;
39747
+ var fn = commonjsRequire(mod).__express;
39744
39748
 
39745
39749
  if (typeof fn !== 'function') {
39746
39750
  throw new Error('Module "' + mod + '" does not provide a view engine.')
@@ -51982,7 +51986,7 @@ function requireResolve () {
51982
51986
  // If we're in webpack, force it to use the original require() method
51983
51987
  var requireFunction = ("function" === typeof __webpack_require__ || "function" === typeof __non_webpack_require__)
51984
51988
  ? __non_webpack_require__
51985
- : require;
51989
+ : commonjsRequire;
51986
51990
 
51987
51991
  // Resolver
51988
51992
  resolve = function resolve(dirname) {
@@ -52065,7 +52069,7 @@ var appRootPath$1 = function(dirname) {
52065
52069
  },
52066
52070
 
52067
52071
  require: function(pathToModule) {
52068
- return require(publicInterface.resolve(pathToModule));
52072
+ return commonjsRequire(publicInterface.resolve(pathToModule));
52069
52073
  },
52070
52074
 
52071
52075
  toString: function() {
@@ -52627,7 +52631,7 @@ function load_extension() {
52627
52631
  ], i;
52628
52632
  for (i in ext_dirs) {
52629
52633
  try {
52630
- return require(path.join(__dirname, '../..', ext_dirs[i],
52634
+ return commonjsRequire(path.join(__dirname, '../../posix', ext_dirs[i],
52631
52635
  'posix.node'));
52632
52636
 
52633
52637
  } catch (error) {
@@ -54042,4 +54046,3 @@ Environments.instance
54042
54046
  console.error(e);
54043
54047
  process.exit();
54044
54048
  });
54045
- //# sourceMappingURL=fisk-scheduler.js.map
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@andersbakken/fisk",
3
- "version": "3.6.1",
3
+ "version": "3.6.4",
4
4
  "description": "Fisk, a distributed compile system",
5
5
  "scripts": {
6
6
  "lint": "eslint . --ext .ts",
7
7
  "rollup": "rollup -c",
8
8
  "tsc": "tsc -p .",
9
- "build": "npm run clean:dist && mkdir -p dist && run-p lint rollup",
9
+ "hack-posix-rollup": "./scripts/hack-posix-rollup.js",
10
+ "build": "npm run clean:dist && mkdir -p dist && run-p lint rollup && npm run hack-posix-rollup",
10
11
  "clean:dist": "del-cli dist/*",
11
12
  "clean:cache": "del-cli .cache/*",
12
- "clean": "run-p clean:dist clean:cache",
13
- "watch": "rollup -c -w"
13
+ "clean": "run-p clean:dist clean:cache"
14
14
  },
15
15
  "repository": {
16
16
  "type": "git",
@@ -23,9 +23,7 @@
23
23
  },
24
24
  "homepage": "https://github.com/Andersbakken/fisk#readme",
25
25
  "files": [
26
- "dist/*.js",
27
- "dist/*.js.map",
28
- "node_modules/posix/*"
26
+ "dist/*.js"
29
27
  ],
30
28
  "dependencies": {
31
29
  "@jhanssen/options": "^1.0.34",