diff --git a/.travis.yml b/.travis.yml index 73acaf5..e29bae0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,7 @@ install: - npm install - npm link - popd - - git clone --branch=develop --depth 1 https://github.com/enactjs/sandstone ../sandstone + - git clone --branch=develop --depth 1 https://github.com/enactjs/limestone ../limestone - npm install script: - echo -e "\x1b\x5b35;1m*** Starting tests...\x1b\x5b0m" @@ -24,5 +24,5 @@ script: - node bin/jsdoc-to-ts -h - echo -e "\x1b\x5b35;1m*** help option complete\x1b\x5b0m" - echo -e "\x1b\x5b35;1m*** Starting JSDoc converting...\x1b\x5b0m" - - node bin/jsdoc-to-ts ../sandstone -o=../sandstone + - node bin/jsdoc-to-ts ../limestone -o=../limestone - echo -e "\x1b\x5b35;1m*** JSDoc converting complete\x1b\x5b0m" diff --git a/CHANGELOG.md b/CHANGELOG.md index cb8bfdb..4ae2df8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## [unreleased] + +* Updated jsdoc-to-ts CLI option to support Limestone. + ## [1.0.7] (January 15, 2025) * Updated `react` dependency to `^19.0.0`. diff --git a/README.md b/README.md index 4bf82a2..1153ba9 100644 --- a/README.md +++ b/README.md @@ -100,7 +100,7 @@ You also have to configure the app to resolve the generated typings by adding th Assuming jsdoc-to-ts is installed and linked globally on the current device, and we want to run the command in one of the installed Enact packages (core, ui, i18n, etc.) folder: ```bash -jsdoc-to-ts --ignore='["node_modules", "ilib", "build", "docs", "tests", "samples"]' --importMap='{"core":"@enact/core","ui":"@enact/ui","spotlight":"@enact/spotlight","i18n":"@enact/i18n","webos":"@enact/webos","moonstone":"@enact/moonstone","agate":"@enact/agate","sandstone":"@enact/sandstone"}' --outputPath='.' +jsdoc-to-ts --ignore='["node_modules", "ilib", "build", "docs", "tests", "samples"]' --importMap='{"core":"@enact/core","ui":"@enact/ui","spotlight":"@enact/spotlight","i18n":"@enact/i18n","webos":"@enact/webos","moonstone":"@enact/moonstone","agate":"@enact/agate","sandstone":"@enact/sandstone","limestone":"@enact/limestone"}' --outputPath='.' ``` ## Assumptions diff --git a/bin/jsdoc-to-ts.js b/bin/jsdoc-to-ts.js index 0e6ba20..e25b0e0 100755 --- a/bin/jsdoc-to-ts.js +++ b/bin/jsdoc-to-ts.js @@ -54,7 +54,8 @@ const opts = minimist(process.argv.slice(2), { moonstone: '@enact/moonstone', 'moonstone-ez': '@enact/moonstone-ez', agate: '@enact/agate', - sandstone: '@enact/sandstone' + sandstone: '@enact/sandstone', + limestone: '@enact/limestone' }, outputPath: '.' },