@ornikar/repo-config 12.0.0 → 13.0.0

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 CHANGED
@@ -3,6 +3,19 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [13.0.0](https://github.com/ornikar/shared-configs/compare/@ornikar/repo-config@12.0.0...@ornikar/repo-config@13.0.0) (2023-10-25)
7
+
8
+
9
+ ### ⚠ BREAKING CHANGES
10
+
11
+ * monorepo-config rename lerna-config to monrepo-config and reduce lerna dependencies [no issue] (#1000)
12
+
13
+ ### Features
14
+
15
+ * monorepo-config rename lerna-config to monrepo-config and reduce lerna dependencies [no issue] ([#1000](https://github.com/ornikar/shared-configs/issues/1000)) ([63bab23](https://github.com/ornikar/shared-configs/commit/63bab23fb7f9fd2870cbf4259908afa3fe70e9cd))
16
+
17
+
18
+
6
19
  ## [12.0.0](https://github.com/ornikar/shared-configs/compare/@ornikar/repo-config@11.0.0...@ornikar/repo-config@12.0.0) (2023-10-18)
7
20
 
8
21
 
@@ -32,8 +32,9 @@ module.exports = function createLintStagedConfig(options = {}) {
32
32
  return [
33
33
  'yarn dedupe',
34
34
  packagejsonFilenames.length === 0 ? undefined : `prettier --write ${packagejsonFilenames.join(' ')}`,
35
- isLernaRepo && require.resolve('@ornikar/lerna-config/bin/generate-eslintrc-files.mjs'),
36
- shouldGenerateTsconfigInLernaRepo && require.resolve('@ornikar/lerna-config/bin/generate-tsconfig-files.mjs'),
35
+ isLernaRepo && require.resolve('@ornikar/monorepo-config/bin/generate-eslintrc-files.mjs'),
36
+ shouldGenerateTsconfigInLernaRepo &&
37
+ require.resolve('@ornikar/monorepo-config/bin/generate-tsconfig-files.mjs'),
37
38
  shouldRunCheckPkgJSScript && 'node ./scripts/check-packagejson.js',
38
39
  shouldRunCheckPkgMJSScript && 'node ./scripts/check-packagejson.mjs',
39
40
  'git add yarn.lock .yarn',
@@ -49,9 +49,9 @@ const getPackagesLocations = (pkg) => {
49
49
  const isMonorepo = !!pkg.workspaces;
50
50
 
51
51
  if (!isMonorepo) return ['.'];
52
- // eslint-disable-next-line import/no-extraneous-dependencies, global-require
53
- const { getSyncPackageLocations } = require('@ornikar/lerna-config');
54
- const packageLocations = getSyncPackageLocations(pkg.workspaces);
52
+ // eslint-disable-next-line global-require, import/no-extraneous-dependencies
53
+ const { getSyncPackageLocations } = require('@ornikar/monorepo-config');
54
+ const packageLocations = getSyncPackageLocations({ pkg });
55
55
  return ['.', ...packageLocations];
56
56
  };
57
57
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ornikar/repo-config",
3
- "version": "12.0.0",
3
+ "version": "13.0.0",
4
4
  "description": "🔧 repo config",
5
5
  "repository": {
6
6
  "directory": "@ornikar/repo-config",
@@ -32,6 +32,5 @@
32
32
  },
33
33
  "scripts": {
34
34
  "lint:eslint": "yarn ../.. eslint --report-unused-disable-directives --quiet @ornikar/repo-config"
35
- },
36
- "gitHead": "0e2165006c0b479de4acdbfe47a08cf057e03b48"
37
- }
35
+ }
36
+ }