@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 +21 -1
- package/package.json +1 -1
- package/postinstall.sh +1 -1
package/Makefile
CHANGED
|
@@ -1,2 +1,22 @@
|
|
|
1
|
-
|
|
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