Skip to content

Commit

Permalink
v1.4.4 close #12
Browse files Browse the repository at this point in the history
  • Loading branch information
balupton committed May 12, 2017
1 parent e8a55e6 commit b365f3a
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
8 changes: 6 additions & 2 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# History

## v1.4.4 2017 May 12
- Convert edition v1.0 standard to edition v1.1+
- Closes [issue #12](https://github.com/bevry/based/issues/12)

## v1.4.3 2017 April 16
- delete old `nakeConfiguration` property
- closes https://github.com/bevry/based/issues/8
- Delete old `nakeConfiguration` property
- Closes [issue #8](https://github.com/bevry/based/issues/8)

## v1.4.2 2017 April 16
- Fixed busted `docs` npm script due to typo
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bevry-base",
"version": "1.4.3",
"version": "1.4.4",
"description": "Automatic application of the Bevry base files /bevry/base",
"homepage": "https://github.com/bevry/based",
"license": "MIT",
Expand Down
10 changes: 9 additions & 1 deletion source/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,15 @@ async function init () {

// customise editions
console.log('customising editions')
if (!packageData.editions) {
if ( packageData.editions ) {
// trim edition directory of edition entry if it is there (converts editions v1.0 to v1.1+)
packageData.editions.forEach(function (edition) {
if ( edition.entry && edition.directory && edition.entry.indexOf(edition.directory) === 0 ) {
edition.entry = edition.entry.substr(edition.directory.length + 1)
}
})
}
else {
const editions = []
if (answers.language === 'esnext') {
editions.push({
Expand Down

0 comments on commit b365f3a

Please sign in to comment.