@dword-design/base 9.5.0 → 9.5.2

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.
@@ -1,14 +1,14 @@
1
1
  import { execa } from 'execa';
2
2
  import { createRequire } from 'module';
3
3
  import parsePackagejsonName from 'parse-packagejson-name';
4
- const require = createRequire(import.meta.url);
4
+ const _require = createRequire(import.meta.url);
5
5
  export default async function (options) {
6
6
  const packageName = parsePackagejsonName(this.packageConfig.name).fullName;
7
7
  if (this.config.git !== undefined && packageName !== this.config.git.project) {
8
8
  throw new Error(`Package name '${packageName}' has to be equal to repository name '${this.config.git.project}'`);
9
9
  }
10
10
  options = {
11
- resolvePluginsRelativeTo: require.resolve('@dword-design/eslint-config'),
11
+ resolvePluginsRelativeTo: _require.resolve('@dword-design/eslint-config'),
12
12
  ...options
13
13
  };
14
14
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dword-design/base",
3
- "version": "9.5.0",
3
+ "version": "9.5.2",
4
4
  "description": "Base package for projects.",
5
5
  "repository": "dword-design/base",
6
6
  "funding": "https://github.com/sponsors/dword-design",