Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ember-cli-coffeescript

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-cli-coffeescript - npm Package Compare versions

Comparing version 1.14.0 to 1.15.0

blueprints/route-test/qunit-files/tests/unit/__path__/__test__.coffee

5

blueprints/acceptance-test/index.js

@@ -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);
}
};

4

blueprints/adapter-test/index.js

@@ -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"
]
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc