@rip-lang/stamp 0.1.2 → 0.1.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/package.json +2 -2
- package/src/helpers.rip +1 -1
- package/src/parser.rip +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rip-lang/stamp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "Declarative host provisioning — no state file, no agent, no YAML",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/cli.rip",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"author": "Steve Shreeve <steve.shreeve@gmail.com>",
|
|
35
35
|
"license": "MIT",
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"rip-lang": ">=3.13.
|
|
37
|
+
"rip-lang": ">=3.13.105"
|
|
38
38
|
},
|
|
39
39
|
"files": [
|
|
40
40
|
"bin/",
|
package/src/helpers.rip
CHANGED
|
@@ -40,7 +40,7 @@ toArgv = (args) ->
|
|
|
40
40
|
|
|
41
41
|
export run = (...args) ->
|
|
42
42
|
try
|
|
43
|
-
out = Bun.spawnSync toArgv(args), { stdout: 'pipe', stderr: 'pipe' }
|
|
43
|
+
out = Bun.spawnSync toArgv(args), { stdout: 'pipe', stderr: 'pipe', env: process.env }
|
|
44
44
|
{
|
|
45
45
|
ok: out.exitCode == 0
|
|
46
46
|
stdout: out.stdout.toString().trim()
|
package/src/parser.rip
CHANGED
|
@@ -145,7 +145,7 @@ export parse = (source, env = {}) ->
|
|
|
145
145
|
for dir in directives
|
|
146
146
|
dtype = dir.type
|
|
147
147
|
|
|
148
|
-
if dtype in ['packages', 'firewall', 'ssh', 'incus'] or PLURALS[dtype]
|
|
148
|
+
if dtype in ['brew', 'packages', 'firewall', 'ssh', 'incus'] or PLURALS[dtype]
|
|
149
149
|
dir.name = null
|
|
150
150
|
else if dir.args.length > 0
|
|
151
151
|
dir.name = dir.args[0]
|