You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.
As of a week ago, ASK CLI v2.0.0 is now available (and v2.0.1 shortly thereafter). As a result, the new "hello world" template is based on a new project structure that requires some manual editing of testing.json after bst init. It would be great to have an option with bst init to produce a testing.json file that is geared toward the new project structure.
Recognizing that not all projects will be based on ASK CLI v2.0.x right away, and in the interest of not breaking backward compatibility, perhaps bst init could have an option flag that produces a testing.json to match the needs of the new template. Specifically:
Skill fulfillment code is now in /lambda relative to the project root (formerly at /lambda/custom. Relative to the test/unit directory, the "handler" property should be set to "../../lambda/index.js".
Interaction model JSON is now in /skill-package/interactionModels/custom/ relative to the project root (formerly at /models). Relative to the test/unit directory, the "interactionModel" property should be set to "../../skill-package/interactionModels/custom/en-US.json" (I think...is there not a way to not specify a specific locale's interaction model and just specify the location?)
The text was updated successfully, but these errors were encountered:
hi @habuma, thanks for reaching out and letting us know of these changes, we really appreciate it. Our efforts are currently more on the e2e side of things so we cannot provide a timeline for this. That said, we'd gladly review a PR if you want to send us one.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
As of a week ago, ASK CLI v2.0.0 is now available (and v2.0.1 shortly thereafter). As a result, the new "hello world" template is based on a new project structure that requires some manual editing of testing.json after
bst init
. It would be great to have an option withbst init
to produce a testing.json file that is geared toward the new project structure.Recognizing that not all projects will be based on ASK CLI v2.0.x right away, and in the interest of not breaking backward compatibility, perhaps
bst init
could have an option flag that produces a testing.json to match the needs of the new template. Specifically:/lambda
relative to the project root (formerly at/lambda/custom
. Relative to thetest/unit
directory, the "handler" property should be set to "../../lambda/index.js"./skill-package/interactionModels/custom/
relative to the project root (formerly at/models
). Relative to thetest/unit
directory, the "interactionModel" property should be set to "../../skill-package/interactionModels/custom/en-US.json" (I think...is there not a way to not specify a specific locale's interaction model and just specify the location?)The text was updated successfully, but these errors were encountered: