Releases: donejs/generator-donejs
Use xenial in travis templates
Updates the .travis.yml
in the plugin template to use xenial
in travis.
Ignore trailing slashes when running donejs add component
Handle scoped name of projects
This will keep the name in the package.json if you provide a name like "@bitovi/my-plugin" and will prompt if you are wish the package to be public which is default and will add "--access public" to the npm publish scripts.
Ref - donejs/donejs#1176
Component name with same name as the app
Now the user is able to generate a component that has the same name as the app, for example, given an app named cms
with src
folder for the code:
donejs add component cms
-> generates src/cms/cms.js
It is applicable to the component's folder too:
donejs add component cms/cms
-> generates src/cms/cms/cms.js
3.2.0
3.1.0
This is a minor release. This adds two new features:
- Models are generated with names. This means instead of:
const Restaurant = DefineMap.extend({ ...
Names are given for better devtools integration:
const Restaurant = DefineMap.extend("Restaurant", { ...
Secondly, modlet component demo pages use a simpler method that involves using the constructible can-components.
<script type="steal-module">
import "place-my-order-assets";
import "~/models/fixtures/";
import RestaurantList from "~/pages/restaurant/list/";
const list = new RestaurantList({
viewModel: {}
});
document.body.appendChild(list.element);
</script>