Skip to content

Commit

Permalink
Merge pull request #394 from vscheuber/main
Browse files Browse the repository at this point in the history
update to frodo-lib 2.0.0-86
  • Loading branch information
vscheuber authored Jun 19, 2024
2 parents e5d781f + 850e404 commit ad3fbcf
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 9 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- Update to frodo-lib 2.0.0-86
- rockcarver/frodo-lib#402: Library scripts are now treated as dependencies during script and journey exports and imports.

## [2.0.0-61] - 2024-06-12

### Fixed
Expand Down
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"lint": "eslint --ext .ts --ignore-path .gitignore .",
"lint:fix": "eslint --fix --ext .ts --ignore-path .gitignore .",
"build": "npm run build:binary",
"build:only": "npx tsup",
"build:only": "npx tsup && npx tsc",
"build:binary": "npm run build:only && npm run dist-pkg",
"dist-pkg": "pkg -C Gzip -t node18 --config package.json -o frodo dist/app.cjs",
"link": "npm link ../frodo-lib",
Expand Down Expand Up @@ -110,7 +110,7 @@
]
},
"devDependencies": {
"@rockcarver/frodo-lib": "2.0.0-85",
"@rockcarver/frodo-lib": "2.0.0-86",
"@types/colors": "^1.2.1",
"@types/fs-extra": "^11.0.1",
"@types/jest": "^29.2.3",
Expand Down
6 changes: 5 additions & 1 deletion src/ops/ScriptOps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,11 @@ export async function exportScriptsToFile(
if (file) {
fileName = file;
}
const scriptExport = await exportScripts(includeDefault);
const scriptExport = await exportScripts({
includeLibraries: true,
includeDefault,
useStringArrays: true,
});
saveJsonToFile(scriptExport, getFilePath(fileName, true), includeMeta);
debugMessage(`Cli.ScriptOps.exportScriptsToFile: end`);
return true;
Expand Down

0 comments on commit ad3fbcf

Please sign in to comment.