ember-cli-coffeescript
Advanced tools
Comparing version 1.14.0 to 1.15.0
@@ -0,7 +1,10 @@ | ||
var ancestralBlueprint = require('../../lib/utilities/ancestral-blueprint'); | ||
module.exports = { | ||
description: 'Generates an acceptance test for a feature.', | ||
locals: function() { | ||
var blueprint = this.lookupBlueprint('acceptance-test'); | ||
var blueprint = ancestralBlueprint('acceptance-test', this.project); | ||
blueprint.project = this.project; | ||
return blueprint.locals.apply(blueprint, arguments); | ||
} | ||
}; |
@@ -0,1 +1,3 @@ | ||
var ancestralBlueprint = require('../../lib/utilities/ancestral-blueprint'); | ||
module.exports = { | ||
@@ -5,5 +7,5 @@ description: 'Generates an ember-data adapter unit test.', | ||
locals: function() { | ||
var blueprint = this.lookupBlueprint('adapter-test'); | ||
var blueprint = ancestralBlueprint('adapter-test', this.project); | ||
return blueprint.locals.apply(blueprint, arguments); | ||
} | ||
}; |
@@ -0,1 +1,3 @@ | ||
var ancestralBlueprint = require('../../lib/utilities/ancestral-blueprint'); | ||
module.exports = { | ||
@@ -8,3 +10,3 @@ description: 'Generates an ember-data adapter.', | ||
locals: function() { | ||
var blueprint = this.lookupBlueprint('adapter'); | ||
var blueprint = ancestralBlueprint('adapter', this.project); | ||
var locals = blueprint.locals.apply(blueprint, arguments); | ||
@@ -11,0 +13,0 @@ locals.importStatement = locals.importStatement.replace(/;$/, ''); |
@@ -0,1 +1,3 @@ | ||
var ancestralBlueprint = require('../../lib/utilities/ancestral-blueprint'); | ||
module.exports = { | ||
@@ -5,3 +7,3 @@ description: 'Generates an import wrapper', | ||
fileMapTokens: function() { | ||
var blueprint = this.lookupBlueprint('addon-import'); | ||
var blueprint = ancestralBlueprint('addon-import', this.project); | ||
return blueprint.fileMapTokens.apply(blueprint, arguments); | ||
@@ -11,5 +13,5 @@ }, | ||
locals: function() { | ||
var blueprint = this.lookupBlueprint('addon-import'); | ||
var blueprint = ancestralBlueprint('addon-import', this.project); | ||
return blueprint.locals.apply(blueprint, arguments); | ||
} | ||
}; |
@@ -0,1 +1,3 @@ | ||
var ancestralBlueprint = require('../../lib/utilities/ancestral-blueprint'); | ||
module.exports = { | ||
@@ -5,3 +7,3 @@ description: 'Generates a component. Name must contain a hyphen.', | ||
fileMapTokens: function() { | ||
var blueprint = this.lookupBlueprint('component-addon'); | ||
var blueprint = ancestralBlueprint('component-addon', this.project); | ||
return blueprint.fileMapTokens.apply(blueprint, arguments); | ||
@@ -11,3 +13,3 @@ }, | ||
normalizeEntityName: function() { | ||
var blueprint = this.lookupBlueprint('component-addon'); | ||
var blueprint = ancestralBlueprint('component-addon', this.project); | ||
return blueprint.normalizeEntityName.apply(blueprint, arguments); | ||
@@ -17,5 +19,5 @@ }, | ||
locals: function() { | ||
var blueprint = this.lookupBlueprint('component-addon'); | ||
var blueprint = ancestralBlueprint('component-addon', this.project); | ||
return blueprint.locals.apply(blueprint, arguments); | ||
} | ||
}; |
@@ -0,1 +1,3 @@ | ||
var ancestralBlueprint = require('../../lib/utilities/ancestral-blueprint'); | ||
var stringUtils = require('../../lib/utilities/string'); | ||
@@ -22,3 +24,3 @@ var EOL = require('os').EOL; | ||
fileMapTokens: function() { | ||
var blueprint = this.lookupBlueprint('component-test'); | ||
var blueprint = ancestralBlueprint('component-test', this.project); | ||
return blueprint.fileMapTokens.apply(blueprint, arguments); | ||
@@ -28,3 +30,3 @@ }, | ||
locals: function(options) { | ||
var blueprint = this.lookupBlueprint('component-test'); | ||
var blueprint = ancestralBlueprint('component-test', this.project); | ||
var locals = blueprint.locals.apply(blueprint, arguments); | ||
@@ -31,0 +33,0 @@ |
@@ -0,1 +1,3 @@ | ||
var ancestralBlueprint = require('../../lib/utilities/ancestral-blueprint'); | ||
module.exports = { | ||
@@ -16,3 +18,3 @@ description: 'Generates a component. Name must contain a hyphen.', | ||
fileMapTokens: function() { | ||
var blueprint = this.lookupBlueprint('component'); | ||
var blueprint = ancestralBlueprint('component', this.project); | ||
return blueprint.fileMapTokens.apply(blueprint, arguments); | ||
@@ -22,3 +24,3 @@ }, | ||
normalizeEntityName: function() { | ||
var blueprint = this.lookupBlueprint('component'); | ||
var blueprint = ancestralBlueprint('component', this.project); | ||
return blueprint.normalizeEntityName.apply(blueprint, arguments); | ||
@@ -28,3 +30,3 @@ }, | ||
locals: function() { | ||
var blueprint = this.lookupBlueprint('component'); | ||
var blueprint = ancestralBlueprint('component', this.project); | ||
var locals = blueprint.locals.apply(blueprint, arguments); | ||
@@ -31,0 +33,0 @@ |
@@ -0,1 +1,3 @@ | ||
var ancestralBlueprint = require('../../lib/utilities/ancestral-blueprint'); | ||
module.exports = { | ||
@@ -5,5 +7,5 @@ description: 'Generates a helper unit test.', | ||
locals: function() { | ||
var blueprint = this.lookupBlueprint('helper-test'); | ||
var blueprint = ancestralBlueprint('helper-test', this.project); | ||
return blueprint.locals.apply(blueprint, arguments); | ||
} | ||
}; |
@@ -0,1 +1,3 @@ | ||
var ancestralBlueprint = require('../../lib/utilities/ancestral-blueprint'); | ||
module.exports = { | ||
@@ -5,5 +7,5 @@ description: 'Generates a helper function.', | ||
normalizeEntityName: function() { | ||
var blueprint = this.lookupBlueprint('helper'); | ||
var blueprint = ancestralBlueprint('helper', this.project); | ||
return blueprint.normalizeEntityName.apply(blueprint, arguments); | ||
} | ||
}; |
@@ -0,1 +1,3 @@ | ||
var ancestralBlueprint = require('../../lib/utilities/ancestral-blueprint'); | ||
module.exports = { | ||
@@ -5,5 +7,5 @@ description: 'Generates an initializer unit test.', | ||
locals: function() { | ||
var blueprint = this.lookupBlueprint('initializer-test'); | ||
var blueprint = ancestralBlueprint('initializer-test', this.project); | ||
return blueprint.locals.apply(blueprint, arguments); | ||
} | ||
}; |
@@ -0,1 +1,3 @@ | ||
var ancestralBlueprint = require('../../lib/utilities/ancestral-blueprint'); | ||
module.exports = { | ||
@@ -5,5 +7,5 @@ description: 'Generates a mixin unit test.', | ||
locals: function() { | ||
var blueprint = this.lookupBlueprint('mixin-test'); | ||
var blueprint = ancestralBlueprint('mixin-test', this.project); | ||
return blueprint.locals.apply(blueprint, arguments); | ||
} | ||
}; |
@@ -0,1 +1,3 @@ | ||
var ancestralBlueprint = require('../../lib/utilities/ancestral-blueprint'); | ||
module.exports = { | ||
@@ -5,5 +7,5 @@ description: 'Generates a model unit test.', | ||
locals: function() { | ||
var blueprint = this.lookupBlueprint('model-test'); | ||
var blueprint = ancestralBlueprint('model-test', this.project); | ||
return blueprint.locals.apply(blueprint, arguments); | ||
} | ||
}; |
@@ -1,1 +0,1 @@ | ||
module.exports = require('ember-cli/blueprints/route-addon'); | ||
module.exports = require('ember-cli-legacy-blueprints/blueprints/route-addon'); |
@@ -1,1 +0,1 @@ | ||
module.exports = require('ember-cli/blueprints/route-test'); | ||
module.exports = require('ember-cli-legacy-blueprints/blueprints/route-test'); |
@@ -0,1 +1,3 @@ | ||
var ancestralBlueprint = require('../../lib/utilities/ancestral-blueprint'); | ||
var fs = require('fs-extra'); | ||
@@ -23,3 +25,3 @@ var path = require('path'); | ||
fileMapTokens: function() { | ||
var blueprint = this.lookupBlueprint('route') | ||
var blueprint = ancestralBlueprint('route', this.project) | ||
return blueprint.fileMapTokens.apply(blueprint, arguments); | ||
@@ -29,3 +31,3 @@ }, | ||
shouldTouchRouter: function(name, options) { | ||
return this.lookupBlueprint('route').shouldTouchRouter(name, options); | ||
return ancestralBlueprint('route', this.project).shouldTouchRouter(name, options); | ||
}, | ||
@@ -32,0 +34,0 @@ |
@@ -1,1 +0,1 @@ | ||
module.exports = require('ember-cli/blueprints/serializer-test'); | ||
module.exports = require('ember-cli-legacy-blueprints/blueprints/serializer-test'); |
@@ -1,1 +0,1 @@ | ||
module.exports = require('ember-cli/blueprints/service-test'); | ||
module.exports = require('ember-cli-legacy-blueprints/blueprints/service-test'); |
@@ -1,1 +0,1 @@ | ||
module.exports = require('ember-cli/blueprints/service'); | ||
module.exports = require('ember-cli-legacy-blueprints/blueprints/service'); |
@@ -1,1 +0,1 @@ | ||
module.exports = require('ember-cli/blueprints/template'); | ||
module.exports = require('ember-cli-legacy-blueprints/blueprints/template'); |
@@ -1,1 +0,1 @@ | ||
module.exports = require('ember-cli/blueprints/test-helper'); | ||
module.exports = require('ember-cli-legacy-blueprints/blueprints/test-helper'); |
@@ -1,1 +0,1 @@ | ||
module.exports = require('ember-cli/blueprints/transform-test'); | ||
module.exports = require('ember-cli-legacy-blueprints/blueprints/transform-test'); |
@@ -1,1 +0,1 @@ | ||
module.exports = require('ember-cli/blueprints/transform'); | ||
module.exports = require('ember-cli-legacy-blueprints/blueprints/transform'); |
@@ -1,1 +0,1 @@ | ||
module.exports = require('ember-cli/blueprints/util-test'); | ||
module.exports = require('ember-cli-legacy-blueprints/blueprints/util-test'); |
@@ -1,1 +0,1 @@ | ||
module.exports = require('ember-cli/blueprints/util'); | ||
module.exports = require('ember-cli-legacy-blueprints/blueprints/util'); |
@@ -1,1 +0,1 @@ | ||
module.exports = require('ember-cli/blueprints/view-test'); | ||
module.exports = require('ember-cli-legacy-blueprints/blueprints/view-test'); |
@@ -1,1 +0,1 @@ | ||
module.exports = require('ember-cli/blueprints/view'); | ||
module.exports = require('ember-cli-legacy-blueprints/blueprints/view'); |
@@ -0,1 +1,7 @@ | ||
## master | ||
## 1.15.0 | ||
+ Fix a bunch of issues with blueprints in `ember-cli` versions 2.6.0 and above. [#114](https://github.com/kimroen/ember-cli-coffeescript/pull/114), [#118](https://github.com/kimroen/ember-cli-coffeescript/pull/118), and [#119](https://github.com/kimroen/ember-cli-coffeescript/pull/119) | ||
+ Handle unexpected blueprint behavior when running in a path containing the string `ember-cli-coffeescript` at any point. [#120](https://github.com/kimroen/ember-cli-coffeescript/pull/120) | ||
## 1.14.0 | ||
@@ -2,0 +8,0 @@ + Upgrade `broccoli-coffee` to 0.6, which now uses `broccoli-persistent-filter` [#104](https://github.com/kimroen/ember-cli-coffeescript/pull/104) |
{ | ||
"name": "ember-cli-coffeescript", | ||
"version": "1.14.0", | ||
"version": "1.15.0", | ||
"description": "Adds precompilation of CoffeeScript files and all the basic generation types to the `ember generate` command.", | ||
@@ -30,3 +30,3 @@ "directories": { | ||
"ember-ajax": "0.7.1", | ||
"ember-cli": "2.4.1", | ||
"ember-cli": "2.6.2", | ||
"ember-cli-app-version": "^1.0.0", | ||
@@ -59,2 +59,3 @@ "ember-cli-babel": "^5.1.5", | ||
"coffeelint": "^1.6.1", | ||
"ember-cli-legacy-blueprints": "^0.1.1", | ||
"ember-cli-version-checker": "^1.0.1", | ||
@@ -71,4 +72,8 @@ "fs-extra": "^0.11.1", | ||
"ember-cli-babel" | ||
], | ||
"after": [ | ||
"ember", | ||
"ember-data" | ||
] | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
51058
83
752
0
11
+ Addedast-types@0.9.6(transitive)
+ Addedember-cli-get-component-path-option@1.0.0(transitive)
+ Addedember-cli-get-dependency-depth@1.0.0(transitive)
+ Addedember-cli-is-package-missing@1.0.0(transitive)
+ Addedember-cli-legacy-blueprints@0.1.5(transitive)
+ Addedember-cli-lodash-subset@1.0.12(transitive)
+ Addedember-cli-normalize-entity-name@1.0.0(transitive)
+ Addedember-cli-path-utils@1.0.0(transitive)
+ Addedember-cli-string-utils@1.1.0(transitive)
+ Addedember-cli-test-info@1.0.0(transitive)
+ Addedember-cli-valid-component-name@1.0.0(transitive)
+ Addedember-router-generator@1.2.3(transitive)
+ Addedesprima@3.1.3(transitive)
+ Addedexists-sync@0.0.3(transitive)
+ Addedfs-extra@0.24.0(transitive)
+ Addedprivate@0.1.8(transitive)
+ Addedrecast@0.11.23(transitive)
+ Addedsilent-error@1.1.1(transitive)
+ Addedsource-map@0.5.7(transitive)