Closed bartvandenende-wm closed 2 months ago
fix: resolve the stagingDir option relative to the bsconfig.json file
Resolve stagingDir relative to the bsconfig.json file similar to the other paths.
stagingDir
bsconfig.json
⚠️ This is a breaking change in behaviour of the bsconfig.json.
solves https://github.com/rokucommunity/brighterscript/issues/1141
given the below two config files
./node_modules/shared-config/bsconfig.json
"rootDir": "../../src", "stagingDir": "../../build"
./bsconfig.json
{ "extends": "./node_modules/shared-config/bsconfig.json", }
Expected result:
$ rootDir: {cwd-dir}/src $ stagingDir: {cwd-dir}/build
unit test
Summary
fix: resolve the stagingDir option relative to the bsconfig.json file
Details
Resolve
stagingDir
relative to thebsconfig.json
file similar to the other paths.⚠️ This is a breaking change in behaviour of the bsconfig.json.
solves https://github.com/rokucommunity/brighterscript/issues/1141
Repro steps
given the below two config files
./node_modules/shared-config/bsconfig.json
./bsconfig.json
Expected result:
How it was tested
unit test