improvements to `sasjs init`
allanbowe opened this issue ยท 2 comments
allanbowe commented
I noticed a few issues when running sasjs init
in an existing project today:
- The existing
package.json
was destroyed, rather than updated - The
sasjs/sasjsconfig.json
file was very large (should be minimal) - The
.gitignore
contained an unnecessary LF
About the sasjs/sasjsconfig.json file - ideally it would look like the below:
{
"$schema": "https://cli.sasjs.io/sasjsconfig-schema.json",
"macroFolders": [
"sasjs/macros"
],
"defaultTarget": "mytarget",
"targets": [
{
"name": "mytarget",
"serverType": "SASJS",
"serverUrl": " ",
"appLoc": "/Public/apps/myapp"
}
]
}
Since adding the schema, it's not necessary to add example configs as we have them on auto-complete.
sabhas commented
via Hubstaff
User: Sabir Hassan
Project: SASjs cli - https://app.hubstaff.com/projects/2310875
Date Range: 01/05/23 - 01/06/23
Work session total: 4:31:13
Billable: Yes
Grand total: 4:31:13
sasjsbot commented
๐ This issue has been resolved in version 3.26.0 ๐
The release is available on:
Your semantic-release bot ๐ฆ๐