@bloxbean/yaci-devkit 0.11.0-beta1 → 0.12.0-preview1

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.
Files changed (2) hide show
  1. package/package.json +3 -3
  2. package/start.mjs +3 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bloxbean/yaci-devkit",
3
- "version": "0.11.0-beta1",
3
+ "version": "0.12.0-preview1",
4
4
  "description": "A set of development tools for building on Cardano by creating a local devnet.",
5
5
  "keywords": [
6
6
  "yaci-devkit",
@@ -17,8 +17,8 @@
17
17
  "yaci-devkit": "./start.mjs"
18
18
  },
19
19
  "dependencies": {
20
- "@bloxbean/yaci-devkit-linux-x64": "0.11.0-beta1",
21
- "@bloxbean/yaci-devkit-macos-arm64": "0.11.0-beta1"
20
+ "@bloxbean/yaci-devkit-linux-x64": "0.12.0-preview1",
21
+ "@bloxbean/yaci-devkit-macos-arm64": "0.12.0-preview1"
22
22
  },
23
23
  "devDependencies": {
24
24
  "@types/node": "^22.10.2",
package/start.mjs CHANGED
@@ -84,10 +84,12 @@ const additionalConfig = "optional:file:" + configPath + "/application.propertie
84
84
  + "optional:file:" + configPath + "/node.properties"
85
85
 
86
86
  const additionalConfigArg = "-Dspring.config.import=" + additionalConfig;
87
+ const costModelsPathArg = "-Dyaci.cli.plutus-costmodels-path=" + configPath;
87
88
 
88
- const child = spawn(binPath, [additionalConfigArg, ...process.argv.slice(2)], {
89
+ const child = spawn(binPath, [additionalConfigArg, costModelsPathArg, ...process.argv.slice(2)], {
89
90
  stdio: "inherit",
90
91
  env: {
92
+ ...process.env // Inherit parent environment. Additional env vars below.
91
93
  // YACI_CLI_HOME: yaciCLIHome
92
94
  },
93
95