@meistrari/mise-en-place 2.4.4 → 2.4.6
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 +1 -1
- package/scripts/postinstall.sh +4 -4
package/package.json
CHANGED
package/scripts/postinstall.sh
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/bin/sh
|
|
2
2
|
|
|
3
|
-
set -
|
|
3
|
+
set -eu
|
|
4
4
|
|
|
5
5
|
if test -f Makefile; then
|
|
6
|
-
echo 'Makefile already exists. Skipping initial
|
|
6
|
+
echo 'Makefile already exists. Skipping initial setup'
|
|
7
7
|
else
|
|
8
8
|
echo 'No Makefile found. Generating one that includes mise-en-place Makefile.'
|
|
9
9
|
echo 'include ./node_modules/@meistrari/mise-en-place/Makefile' > Makefile
|
|
10
|
-
fi
|
|
11
10
|
|
|
12
|
-
make mise-en-place
|
|
11
|
+
make mise-en-place
|
|
12
|
+
fi
|
|
13
13
|
|
|
14
14
|
WORKSPACE_PATTERNS=$(jq -r '.workspaces[]? // empty' package.json 2>/dev/null)
|
|
15
15
|
JQ_EXPRESSION='(.dependencies // {}, .devDependencies // {}) | keys[] | select(startswith("@meistrari/"))'
|