@jsenv/monorepo 0.0.8 → 0.1.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/package.json CHANGED
@@ -1,20 +1,15 @@
1
1
  {
2
2
  "name": "@jsenv/monorepo",
3
- "version": "0.0.8",
3
+ "version": "0.1.0",
4
4
  "description": "Helpers to manage packages in a monorepo",
5
5
  "license": "MIT",
6
- "author": {
7
- "name": "dmail",
8
- "email": "dmaillard06@gmail.com",
9
- "url": "https://twitter.com/damienmaillard"
10
- },
11
6
  "repository": {
12
7
  "type": "git",
13
- "url": "https://github.com/jsenv/workflow",
14
- "directory": "packages/monorepo"
8
+ "url": "https://github.com/jsenv/core",
9
+ "directory": "packages/independent/workflow/monorepo"
15
10
  },
16
11
  "engines": {
17
- "node": ">=16.13.0"
12
+ "node": ">=20.0.0"
18
13
  },
19
14
  "publishConfig": {
20
15
  "access": "public"
@@ -36,7 +31,7 @@
36
31
  "dependencies": {
37
32
  "@jsenv/urls": "2.5.2",
38
33
  "@jsenv/filesystem": "4.10.2",
39
- "@jsenv/package-publish": "1.10.7",
34
+ "@jsenv/package-publish": "1.11.0",
40
35
  "@jsenv/humanize": "1.2.8",
41
36
  "semver": "7.6.3"
42
37
  }
@@ -1,5 +1,5 @@
1
1
  import { createTaskLog } from "@jsenv/humanize";
2
- import { fetchLatestInRegistry } from "@jsenv/package-publish/src/internal/fetchLatestInRegistry.js";
2
+ import { fetchLatestInRegistry } from "@jsenv/package-publish/src/internal/fetch_latest_in_registry.js";
3
3
 
4
4
  export const fetchWorkspaceLatests = async (workspacePackages) => {
5
5
  const packageNames = Object.keys(workspacePackages);
@@ -1,14 +1,14 @@
1
1
  import { UNICODE } from "@jsenv/humanize";
2
2
  import { collectWorkspacePackages } from "./internal/collect_workspace_packages.js";
3
+ import {
4
+ compareTwoPackageVersions,
5
+ VERSION_COMPARE_RESULTS,
6
+ } from "./internal/compare_two_package_versions.js";
3
7
  import {
4
8
  buildDependencyGraph,
5
9
  orderByDependencies,
6
10
  } from "./internal/dependency_graph.js";
7
11
  import { fetchWorkspaceLatests } from "./internal/fetch_workspace_latests.js";
8
- import {
9
- compareTwoPackageVersions,
10
- VERSION_COMPARE_RESULTS,
11
- } from "./internal/compare_two_package_versions.js";
12
12
  import { increaseVersion } from "./internal/increase_version.js";
13
13
 
14
14
  export const syncPackagesVersions = async ({
@@ -92,7 +92,8 @@ Use a tool like "git diff" to see the new versions and ensure this is what you w
92
92
  if (
93
93
  version.startsWith("./") ||
94
94
  version.startsWith("../") ||
95
- version.startsWith("file:")
95
+ version.startsWith("file:") ||
96
+ version.startsWith("workspace:")
96
97
  ) {
97
98
  return;
98
99
  }
@@ -9,8 +9,8 @@
9
9
  * Be sure to check ../readme.md#upgrade-dependencies
10
10
  */
11
11
 
12
- import { UNICODE, createTaskLog } from "@jsenv/humanize";
13
- import { fetchLatestInRegistry } from "@jsenv/package-publish/src/internal/fetchLatestInRegistry.js";
12
+ import { createTaskLog, UNICODE } from "@jsenv/humanize";
13
+ import { fetchLatestInRegistry } from "@jsenv/package-publish/src/internal/fetch_latest_in_registry.js";
14
14
  import { collectWorkspacePackages } from "./internal/collect_workspace_packages.js";
15
15
  import {
16
16
  compareTwoPackageVersions,