@modern-js/plugin 1.0.0-rc.2 → 1.0.0-rc.20

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 ADDED
@@ -0,0 +1,137 @@
1
+ # @modern-js/plugin
2
+
3
+ ## 1.0.0-rc.20
4
+
5
+ ### Patch Changes
6
+
7
+ - 224f7fe: fix server route match
8
+ - 30ac27c: feat: add generator package description
9
+ - feat: fix bugs
10
+ - 204c626: feat: initial
11
+ - 63be0a5: fix: #118 #104
12
+
13
+ ## 1.0.0-rc.19
14
+
15
+ ### Patch Changes
16
+
17
+ - 224f7fe: fix server route match
18
+ - 30ac27c: feat: add generator package description
19
+ - 204c626: feat: initial
20
+ - 63be0a5: fix: #118 #104
21
+
22
+ ## 1.0.0-rc.18
23
+
24
+ ### Patch Changes
25
+
26
+ - 224f7fe: fix server route match
27
+ - 30ac27c: feat: add generator package description
28
+ - 204c626: feat: initial
29
+ - 63be0a5: fix: #118 #104
30
+
31
+ ## 1.0.0-rc.17
32
+
33
+ ### Patch Changes
34
+
35
+ - 224f7fe: fix server route match
36
+ - 30ac27c: feat: add generator package description
37
+ - 204c626: feat: initial
38
+ - fix: #118 #104
39
+
40
+ ## 1.0.0-rc.16
41
+
42
+ ### Patch Changes
43
+
44
+ - 224f7fe: fix server route match
45
+ - 30ac27c: feat: add generator package description
46
+ - 204c626: feat: initial
47
+
48
+ ## 1.0.0-rc.15
49
+
50
+ ### Patch Changes
51
+
52
+ - 224f7fe: fix server route match
53
+ - 30ac27c: feat: add generator package description
54
+ - 204c626: feat: initial
55
+
56
+ ## 1.0.0-rc.14
57
+
58
+ ### Patch Changes
59
+
60
+ - 224f7fe: fix server route match
61
+ - 204c626: feat: initial
62
+
63
+ ## 1.0.0-rc.13
64
+
65
+ ### Patch Changes
66
+
67
+ - 224f7fe: fix server route match
68
+ - 204c626: feat: initial
69
+
70
+ ## 1.0.0-rc.12
71
+
72
+ ### Patch Changes
73
+
74
+ - 224f7fe: fix server route match
75
+ - 204c626: feat: initial
76
+
77
+ ## 1.0.0-rc.11
78
+
79
+ ### Patch Changes
80
+
81
+ - 224f7fe: fix server route match
82
+ - 204c626: feat: initial
83
+
84
+ ## 1.0.0-rc.10
85
+
86
+ ### Patch Changes
87
+
88
+ - 224f7fe: fix server route match
89
+ - 204c626: feat: initial
90
+
91
+ ## 1.0.0-rc.9
92
+
93
+ ### Patch Changes
94
+
95
+ - 224f7fe: fix server route match
96
+ - 204c626: feat: initial
97
+
98
+ ## 1.0.0-rc.8
99
+
100
+ ### Patch Changes
101
+
102
+ - 224f7fe: fix server route match
103
+ - 204c626: feat: initial
104
+
105
+ ## 1.0.0-rc.7
106
+
107
+ ### Patch Changes
108
+
109
+ - 224f7fe: fix server route match
110
+ - 204c626: feat: initial
111
+
112
+ ## 1.0.0-rc.6
113
+
114
+ ### Patch Changes
115
+
116
+ - 224f7fe: fix server route match
117
+ - 204c626: feat: initial
118
+
119
+ ## 1.0.0-rc.5
120
+
121
+ ### Patch Changes
122
+
123
+ - 224f7fe: fix server route match
124
+ - 204c626: feat: initial
125
+
126
+ ## 1.0.0-rc.4
127
+
128
+ ### Patch Changes
129
+
130
+ - fix server route match
131
+ - 204c626: feat: initial
132
+
133
+ ## 1.0.0-rc.3
134
+
135
+ ### Patch Changes
136
+
137
+ - feat: initial
package/README.md CHANGED
@@ -1,32 +1,24 @@
1
1
 
2
2
  <p align="center">
3
- <a href="https://modernjs.dev" target="blank"><img src="https://lf3-static.bytednsdoc.com/obj/eden-cn/ylaelkeh7nuhfnuhf/modernjs.png" width="300" alt="Modern.js Logo" /></a>
3
+ <a href="https://modernjs.dev" target="blank"><img src="https://lf3-static.bytednsdoc.com/obj/eden-cn/ylaelkeh7nuhfnuhf/modernjs-cover.png" width="300" alt="Modern.js Logo" /></a>
4
+ </p>
5
+
6
+ <p align="center">
7
+ 现代 Web 工程体系
8
+ <br/>
9
+ <a href="https://modernjs.dev" target="blank">
10
+ modernjs.dev
11
+ </a>
4
12
  </p>
5
13
 
6
- <p align="center">现代 Web 工程体系</p>
7
14
 
8
- ## 背景
15
+ ## 参考链接
9
16
  - [迈入现代 Web 开发](https://zhuanlan.zhihu.com/p/386607009)
10
17
  - [现代 Web 开发者问卷调查报告](https://zhuanlan.zhihu.com/p/403206195)
18
+ - [字节跳动是如何落地微前端的](https://mp.weixin.qq.com/s/L9wbfNG5fTXF5bx7dcgj4Q)
11
19
 
12
- ## 计划
13
-
14
- Modern.js 的 1.0.0.rc 版已经发到 npm,目前在做测试改进,README 文档之后统一提供(现阶段加入测试和开发,可以发 [issue](https://github.com/modern-js-dev/modern.js/issues) 留微信联系),完整的文档站计划在10月14日上线
15
-
16
-
17
-
18
-
19
-
20
-
21
-
22
-
23
-
24
-
25
-
26
-
27
-
28
-
29
-
30
-
20
+ ## 近期计划
31
21
 
22
+ Modern.js 的 1.0.0.rc 版已经发到 npm,目前在做测试改进和文档建设。
32
23
 
24
+ README、完整的文档站、介绍等,都计划在 10 月 27 日上线。
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.disable = exports.enable = void 0;
6
+ exports.enable = exports.disable = void 0;
7
7
 
8
8
  var _async_hooks = _interopRequireDefault(require("async_hooks"));
9
9
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.runWithContainer = exports.fromContainer = exports.useContainer = exports.runHooks = exports.createContainer = exports.assertContainer = exports.isContainer = exports.ContainerSymbol = exports.createContext = exports.assertContext = exports.isContext = void 0;
6
+ exports.useContainer = exports.runWithContainer = exports.runHooks = exports.isContext = exports.isContainer = exports.fromContainer = exports.createContext = exports.createContainer = exports.assertContext = exports.assertContainer = exports.ContainerSymbol = void 0;
7
7
 
8
8
  var _hook = require("./hook");
9
9
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.createAsyncCounter = exports.createCounter = void 0;
6
+ exports.createCounter = exports.createAsyncCounter = void 0;
7
7
 
8
8
  /**
9
9
  * Copyright Lucifier129 and other contributors.
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.hasOwnProperty = exports.cloneProgressRecord = exports.cloneProgress = exports.generateRunner = exports.createManager = exports.DEFAULT_OPTIONS = void 0;
6
+ exports.hasOwnProperty = exports.generateRunner = exports.createManager = exports.cloneProgressRecord = exports.cloneProgress = exports.DEFAULT_OPTIONS = void 0;
7
7
 
8
8
  var _context = require("../context");
9
9
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.useAsyncPipeline = exports.createAsyncPipeline = exports.getAsyncMiddleware = exports.isAsyncPipeline = void 0;
6
+ exports.useAsyncPipeline = exports.isAsyncPipeline = exports.getAsyncMiddleware = exports.createAsyncPipeline = void 0;
7
7
 
8
8
  var _context = require("../context");
9
9
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.usePipeline = exports.createPipeline = exports.getMiddleware = exports.isPipeline = void 0;
6
+ exports.usePipeline = exports.isPipeline = exports.getMiddleware = exports.createPipeline = void 0;
7
7
 
8
8
  var _context = require("../context");
9
9
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.isAsyncWaterfall = exports.createAsyncWaterfall = exports.getAsyncBrook = void 0;
6
+ exports.isAsyncWaterfall = exports.getAsyncBrook = exports.createAsyncWaterfall = void 0;
7
7
 
8
8
  var _counter = require("../counter");
9
9
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.isWaterfall = exports.createWaterfall = exports.getBrook = void 0;
6
+ exports.isWaterfall = exports.getBrook = exports.createWaterfall = void 0;
7
7
 
8
8
  var _counter = require("../counter");
9
9
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.createAsyncWorkflow = exports.isAsyncWorkflow = void 0;
6
+ exports.isAsyncWorkflow = exports.createAsyncWorkflow = void 0;
7
7
 
8
8
  var _counter = require("../counter");
9
9
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.createParallelWorkflow = exports.isParallelWorkflow = void 0;
6
+ exports.isParallelWorkflow = exports.createParallelWorkflow = void 0;
7
7
 
8
8
  var _counter = require("../counter");
9
9
 
@@ -1,3 +1,5 @@
1
+ import _regeneratorRuntime from "@babel/runtime/regenerator";
2
+
1
3
  function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
2
4
 
3
5
  function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
@@ -35,9 +37,9 @@ export var createCounter = function createCounter(callback) {
35
37
 
36
38
  export var createAsyncCounter = function createAsyncCounter(callback) {
37
39
  var dispatch = /*#__PURE__*/function () {
38
- var _ref = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(index, input) {
40
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(index, input) {
39
41
  var next;
40
- return regeneratorRuntime.wrap(function _callee$(_context) {
42
+ return _regeneratorRuntime.wrap(function _callee$(_context) {
41
43
  while (1) {
42
44
  switch (_context.prev = _context.next) {
43
45
  case 0:
@@ -12,6 +12,8 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
12
12
 
13
13
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
14
14
 
15
+ import _regeneratorRuntime from "@babel/runtime/regenerator";
16
+
15
17
  function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
16
18
 
17
19
  function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
@@ -83,9 +85,9 @@ export var createAsyncManager = function createAsyncManager(processes) {
83
85
  var currentContainer = createContainer();
84
86
 
85
87
  var init = /*#__PURE__*/function () {
86
- var _ref = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(options) {
88
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(options) {
87
89
  var container, sortedPlugins, hooksList;
88
- return regeneratorRuntime.wrap(function _callee$(_context) {
90
+ return _regeneratorRuntime.wrap(function _callee$(_context) {
89
91
  while (1) {
90
92
  switch (_context.prev = _context.next) {
91
93
  case 0:
@@ -1,3 +1,5 @@
1
+ import _regeneratorRuntime from "@babel/runtime/regenerator";
2
+
1
3
  function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
2
4
 
3
5
  function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
@@ -62,9 +64,9 @@ export var createAsyncPipeline = function createAsyncPipeline(options) {
62
64
 
63
65
  var createCurrentCounter = function createCurrentCounter(hooks, onLast) {
64
66
  return createAsyncCounter( /*#__PURE__*/function () {
65
- var _ref = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(index, input, next) {
67
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(index, input, next) {
66
68
  var middleware, result;
67
- return regeneratorRuntime.wrap(function _callee2$(_context2) {
69
+ return _regeneratorRuntime.wrap(function _callee2$(_context2) {
68
70
  while (1) {
69
71
  switch (_context2.prev = _context2.next) {
70
72
  case 0:
@@ -86,8 +88,8 @@ export var createAsyncPipeline = function createAsyncPipeline(options) {
86
88
  case 4:
87
89
  middleware = middlewares[index];
88
90
  _context2.next = 7;
89
- return runHooks( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
90
- return regeneratorRuntime.wrap(function _callee$(_context) {
91
+ return runHooks( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
92
+ return _regeneratorRuntime.wrap(function _callee$(_context) {
91
93
  while (1) {
92
94
  switch (_context.prev = _context.next) {
93
95
  case 0:
@@ -12,6 +12,8 @@ function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToAr
12
12
 
13
13
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
14
14
 
15
+ import _regeneratorRuntime from "@babel/runtime/regenerator";
16
+
15
17
  function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
16
18
 
17
19
  function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
@@ -35,8 +37,8 @@ export var createAsyncWaterfall = function createAsyncWaterfall() {
35
37
 
36
38
  var createCurrentRunner = function createCurrentRunner(hooks) {
37
39
  return createAsyncCounter( /*#__PURE__*/function () {
38
- var _ref = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(index, input, next) {
39
- return regeneratorRuntime.wrap(function _callee2$(_context2) {
40
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(index, input, next) {
41
+ return _regeneratorRuntime.wrap(function _callee2$(_context2) {
40
42
  while (1) {
41
43
  switch (_context2.prev = _context2.next) {
42
44
  case 0:
@@ -48,8 +50,8 @@ export var createAsyncWaterfall = function createAsyncWaterfall() {
48
50
  return _context2.abrupt("return", input);
49
51
 
50
52
  case 2:
51
- return _context2.abrupt("return", runHooks( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
52
- return regeneratorRuntime.wrap(function _callee$(_context) {
53
+ return _context2.abrupt("return", runHooks( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
54
+ return _regeneratorRuntime.wrap(function _callee$(_context) {
53
55
  while (1) {
54
56
  switch (_context.prev = _context.next) {
55
57
  case 0:
@@ -107,11 +109,11 @@ export var createAsyncWaterfall = function createAsyncWaterfall() {
107
109
  };
108
110
 
109
111
  var run = /*#__PURE__*/function () {
110
- var _ref3 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3(input, options) {
112
+ var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(input, options) {
111
113
  var _options$container;
112
114
 
113
115
  var container, hooks, runner;
114
- return regeneratorRuntime.wrap(function _callee3$(_context3) {
116
+ return _regeneratorRuntime.wrap(function _callee3$(_context3) {
115
117
  while (1) {
116
118
  switch (_context3.prev = _context3.next) {
117
119
  case 0:
@@ -1,5 +1,7 @@
1
1
  function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
2
2
 
3
+ import _regeneratorRuntime from "@babel/runtime/regenerator";
4
+
3
5
  function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
4
6
 
5
7
  function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
@@ -28,9 +30,9 @@ export var createAsyncWorkflow = function createAsyncWorkflow() {
28
30
 
29
31
  var createCurrentRunner = function createCurrentRunner(hooks) {
30
32
  return createAsyncCounter( /*#__PURE__*/function () {
31
- var _ref = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(index, input, next) {
33
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(index, input, next) {
32
34
  var middleware;
33
- return regeneratorRuntime.wrap(function _callee2$(_context2) {
35
+ return _regeneratorRuntime.wrap(function _callee2$(_context2) {
34
36
  while (1) {
35
37
  switch (_context2.prev = _context2.next) {
36
38
  case 0:
@@ -43,9 +45,9 @@ export var createAsyncWorkflow = function createAsyncWorkflow() {
43
45
 
44
46
  case 2:
45
47
  middleware = middlewares[index];
46
- return _context2.abrupt("return", runHooks( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
48
+ return _context2.abrupt("return", runHooks( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
47
49
  var result, rest;
48
- return regeneratorRuntime.wrap(function _callee$(_context) {
50
+ return _regeneratorRuntime.wrap(function _callee$(_context) {
49
51
  while (1) {
50
52
  switch (_context.prev = _context.next) {
51
53
  case 0:
@@ -93,11 +95,11 @@ export var createAsyncWorkflow = function createAsyncWorkflow() {
93
95
  };
94
96
 
95
97
  var run = /*#__PURE__*/function () {
96
- var _ref3 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3(input, options) {
98
+ var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(input, options) {
97
99
  var _options$container;
98
100
 
99
101
  var container, hooks, runner;
100
- return regeneratorRuntime.wrap(function _callee3$(_context3) {
102
+ return _regeneratorRuntime.wrap(function _callee3$(_context3) {
101
103
  while (1) {
102
104
  switch (_context3.prev = _context3.next) {
103
105
  case 0:
@@ -1,5 +1,7 @@
1
1
  function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
2
2
 
3
+ import _regeneratorRuntime from "@babel/runtime/regenerator";
4
+
3
5
  function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
4
6
 
5
7
  function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
@@ -32,8 +34,8 @@ export var createParallelWorkflow = function createParallelWorkflow() {
32
34
  }
33
35
 
34
36
  var middleware = middlewares[index];
35
- return runHooks( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
36
- return regeneratorRuntime.wrap(function _callee$(_context) {
37
+ return runHooks( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
38
+ return _regeneratorRuntime.wrap(function _callee$(_context) {
37
39
  while (1) {
38
40
  switch (_context.prev = _context.next) {
39
41
  case 0:
@@ -69,11 +71,11 @@ export var createParallelWorkflow = function createParallelWorkflow() {
69
71
  };
70
72
 
71
73
  var run = /*#__PURE__*/function () {
72
- var _ref2 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(input, options) {
74
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(input, options) {
73
75
  var _options$container;
74
76
 
75
77
  var container, hooks, runner;
76
- return regeneratorRuntime.wrap(function _callee2$(_context2) {
78
+ return _regeneratorRuntime.wrap(function _callee2$(_context2) {
77
79
  while (1) {
78
80
  switch (_context2.prev = _context2.next) {
79
81
  case 0:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modern-js/plugin",
3
- "version": "1.0.0-rc.2",
3
+ "version": "1.0.0-rc.20",
4
4
  "jsnext:source": "./src/index.ts",
5
5
  "types": "./dist/types/index.d.ts",
6
6
  "main": "./dist/js/node/index.js",
@@ -25,10 +25,14 @@
25
25
  "@types/jest": "^26",
26
26
  "@types/node": "^14",
27
27
  "typescript": "^4",
28
- "@modern-js/plugin-testing": "^1.0.0-rc.2",
29
- "@modern-js/module-tools": "^1.0.0-rc.2"
28
+ "@modern-js/plugin-testing": "^1.0.0-rc.20",
29
+ "@modern-js/module-tools": "^1.0.0-rc.20"
30
30
  },
31
31
  "sideEffects": false,
32
+ "publishConfig": {
33
+ "registry": "https://registry.npmjs.org/",
34
+ "access": "public"
35
+ },
32
36
  "scripts": {
33
37
  "new": "modern new",
34
38
  "build": "modern build",