@meistrari/mise-en-place 2.14.2 → 2.14.4
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 +4 -5
- package/mise/tasks/import-global-envs.sh +12 -0
- package/package.json +3 -2
package/Makefile
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
.PHONY: default
|
|
2
2
|
default: help
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
INFISICAL_PROJECT_ID_GLOBALS = fc449ba7-ca78-46fd-a826-7548115fdd44
|
|
5
5
|
_MISE_EN_PLACE_PACKAGE_NAME = @meistrari/mise-en-place
|
|
6
6
|
MISE_EN_PLACE_INSTALL_DIR ?= .
|
|
7
7
|
|
|
8
8
|
# region Public commands
|
|
9
|
-
|
|
10
9
|
.PHONY: update-meistrari-libs
|
|
11
10
|
update-meistrari-libs: ## Update @meistrari/* packages recursively in the workspace
|
|
12
11
|
@npx exec mise-en-place update-meistrari-libraries
|
|
@@ -16,9 +15,9 @@ mise-en-place: .editorconfig ## Setup the mise en place to start cooking
|
|
|
16
15
|
@npx mise-en-place postinstall
|
|
17
16
|
@echo "Mise en place is ready! 🍳"
|
|
18
17
|
|
|
19
|
-
.PHONY:
|
|
20
|
-
|
|
21
|
-
@infisical export --env development --projectId $(
|
|
18
|
+
.PHONY: global-envs
|
|
19
|
+
global-envs:
|
|
20
|
+
@infisical export --env development --projectId $(INFISICAL_PROJECT_ID_GLOBALS)
|
|
22
21
|
# endregion
|
|
23
22
|
|
|
24
23
|
# region Hidden
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
#MISE description="Import globals environment variables from Infisical"
|
|
3
|
+
|
|
4
|
+
set -euo pipefail
|
|
5
|
+
|
|
6
|
+
INFISICAL_PROJECT_ID=fc449ba7-ca78-46fd-a826-7548115fdd44
|
|
7
|
+
|
|
8
|
+
ENV=$1
|
|
9
|
+
|
|
10
|
+
FILE_NAME=".env.$ENV"
|
|
11
|
+
|
|
12
|
+
infisical export --projectId "$INFISICAL_PROJECT_ID" --env "$ENV" --format dotenv > "$FILE_NAME"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meistrari/mise-en-place",
|
|
3
|
-
"version": "2.14.
|
|
3
|
+
"version": "2.14.4",
|
|
4
4
|
"description": "",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -23,7 +23,8 @@
|
|
|
23
23
|
"Makefile",
|
|
24
24
|
"dist",
|
|
25
25
|
"scripts",
|
|
26
|
-
"tsconfig.base.json"
|
|
26
|
+
"tsconfig.base.json",
|
|
27
|
+
"mise"
|
|
27
28
|
],
|
|
28
29
|
"keywords": [],
|
|
29
30
|
"author": "",
|