@meistrari/mise-en-place 2.0.0-beta1 → 2.0.0-beta2

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/Makefile CHANGED
@@ -18,5 +18,5 @@ mise-en-place: .editorconfig ## Setup the mise en place to start cooking
18
18
  .PHONY: help
19
19
  help:
20
20
  @echo "Make tasks:"
21
- @grep -hE '^[%a-zA-Z_-]+:.*?## .*$$' Makefile ./node_modules/$(MISE_EN_PLACE_PACKAGE_NAME)/Makefile | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m %-17s\033[0m %s\n", $$1, $$2}'
21
+ @grep -hE '^[%a-zA-Z_-]+:.*?## .*$$' Makefile ./node_modules/$(_MISE_EN_PLACE_PACKAGE_NAME)/Makefile | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m %-17s\033[0m %s\n", $$1, $$2}'
22
22
  @echo ""
package/dist/cli.mjs CHANGED
@@ -4,11 +4,11 @@ import { fileURLToPath } from 'node:url';
4
4
  import { dirname, join } from 'node:path';
5
5
  import { argv } from 'node:process';
6
6
 
7
- const __dirname$1 = dirname(fileURLToPath(import.meta.url));
8
7
  const [command] = argv.slice(2);
8
+ const __dirname$1 = dirname(fileURLToPath(import.meta.url));
9
9
  if (command === "postinstall") {
10
10
  const scriptPath = join(__dirname$1, "..", "scripts", "postinstall.sh");
11
- execSync(`sh "${scriptPath}"`, { stdio: "inherit" });
11
+ execSync(scriptPath, { stdio: "inherit" });
12
12
  process.exit(0);
13
13
  }
14
14
  throw new Error(`Unknown command: ${command}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meistrari/mise-en-place",
3
- "version": "2.0.0-beta1",
3
+ "version": "2.0.0-beta2",
4
4
  "description": "",
5
5
  "repository": {
6
6
  "type": "git",
@@ -31,6 +31,10 @@ log_header () {
31
31
  }
32
32
 
33
33
  if [ -n "$MEISTRARI_LIBS_LIST" ]; then
34
+ MEISTRARI_LIBS_COUNT=$(echo "$MEISTRARI_LIBS_LIST" | wc -l | tr -d ' ')
35
+ echo "Found $MEISTRARI_LIBS_COUNT @meistrari/* libraries to update:"
36
+ echo "$MEISTRARI_LIBS_LIST"
37
+
34
38
  test -f pnpm-lock.yaml && (log_header "pnpm-lock.yaml" && pnpm update $MEISTRARI_LIBS_LIST --ignore-scripts -r)
35
39
  test -f bun.lock && (log_header "bun.lock" && bun update $MEISTRARI_LIBS_LIST --ignore-scripts -r)
36
40
  test -f bun.lockb && (log_header "bun.lockb" && bun update $MEISTRARI_LIBS_LIST --ignore-scripts -r)