@meistrari/mise-en-place 1.2.0-beta3 → 1.2.0-beta4

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
@@ -1,2 +1,22 @@
1
- include ./node_modules/@meistrari/mise-en-place/Makefile
1
+ .PHONY: default
2
+ default: help
2
3
 
4
+ MISE_EN_PLACE_PACKAGE_NAME = @meistrari/mise-en-place
5
+
6
+ ## Public commands
7
+
8
+ .editorconfig: ./node_modules/$(MISE_EN_PLACE_PACKAGE_NAME)/.editorconfig ## Copy/update .editorconfig file from @meistrari/mise-en-place package
9
+ @cp ./node_modules/$(MISE_EN_PLACE_PACKAGE_NAME)/.editorconfig .editorconfig
10
+
11
+ .PHONY: mise-en-place
12
+ mise-en-place: .editorconfig ## Setup the mise en place to start cooking
13
+ @echo "export { default } from '$(MISE_EN_PLACE_PACKAGE_NAME)/eslint'" > eslint.config.mjs
14
+ @echo "Mise en place is ready! 🍳"
15
+
16
+ ## Hidden commands
17
+
18
+ .PHONY: help
19
+ help:
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}'
22
+ @echo ""
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meistrari/mise-en-place",
3
- "version": "1.2.0-beta3",
3
+ "version": "1.2.0-beta4",
4
4
  "description": "",
5
5
  "repository": {
6
6
  "type": "git",
package/postinstall.sh CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/bin/sh
2
2
 
3
- if [ test -f Makefile ]; then
3
+ if test -f Makefile; then
4
4
  echo 'Makefile already exists. Skipping initial Makefile generation'
5
5
  else
6
6
  echo 'No Makefile found. Generating one that includes mise-en-place Makefile.'