@meistrari/mise-en-place 2.5.0 → 2.5.1

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.
Files changed (2) hide show
  1. package/dist/cli/cli.mjs +12 -6
  2. package/package.json +2 -1
package/dist/cli/cli.mjs CHANGED
@@ -1,7 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
  import { argv } from 'node:process';
3
- import { existsSync, globSync, readFileSync, writeFileSync } from 'node:fs';
3
+ import { existsSync, readFileSync, writeFileSync } from 'node:fs';
4
4
  import { execSync } from 'node:child_process';
5
+ import { globSync } from 'glob';
5
6
  import { dirname } from 'node:path';
6
7
  import { parse } from 'yaml';
7
8
 
@@ -33,13 +34,18 @@ function getMeistrariLibs(packageJson) {
33
34
  function addCaretToMeistrariDeps(deps) {
34
35
  if (!deps)
35
36
  return deps;
36
- const result = {};
37
+ const result = { ...deps };
37
38
  for (const [key, value] of Object.entries(deps)) {
38
- if (key.startsWith("@meistrari/") && !value.startsWith("^")) {
39
- result[key] = `^${value}`;
40
- } else {
41
- result[key] = value;
39
+ if (!key.startsWith("@meistrari/")) {
40
+ continue;
41
+ }
42
+ if (value.startsWith("workspace:")) {
43
+ continue;
44
+ }
45
+ if (value.startsWith("^")) {
46
+ continue;
42
47
  }
48
+ result[key] = `^${value}`;
43
49
  }
44
50
  return result;
45
51
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meistrari/mise-en-place",
3
- "version": "2.5.0",
3
+ "version": "2.5.1",
4
4
  "description": "",
5
5
  "repository": {
6
6
  "type": "git",
@@ -38,6 +38,7 @@
38
38
  "eslint": "9.39.1",
39
39
  "eslint-plugin-diff": "2.0.3",
40
40
  "eslint-plugin-drizzle": "0.2.3",
41
+ "glob": "13.0.0",
41
42
  "yaml": "^2.7.0"
42
43
  },
43
44
  "devDependencies": {