@dword-design/base 8.6.10 → 8.6.11

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.
@@ -18,8 +18,10 @@ var _packageConfig = _interopRequireDefault(require("../package-config"));
18
18
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
19
19
 
20
20
  var _default = async options => {
21
- if (_gitInfo.default !== undefined && (0, _parsePackagejsonName.default)(_packageConfig.default.name).moduleName !== _gitInfo.default.project) {
22
- throw new Error(`Package name '${_packageConfig.default.name}' has to be equal to repository name '${_gitInfo.default.project}'`);
21
+ const packageName = (0, _parsePackagejsonName.default)(_packageConfig.default.name).fullName;
22
+
23
+ if (_gitInfo.default !== undefined && packageName !== _gitInfo.default.project) {
24
+ throw new Error(`Package name '${packageName}' has to be equal to repository name '${_gitInfo.default.project}'`);
23
25
  }
24
26
 
25
27
  options = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dword-design/base",
3
- "version": "8.6.10",
3
+ "version": "8.6.11",
4
4
  "description": "Base package for projects.",
5
5
  "repository": "dword-design/base",
6
6
  "funding": "https://github.com/sponsors/dword-design",