ember-cli-simple-auth
Advanced tools
Comparing version 0.6.3 to 0.6.4
{ | ||
"name": "ember-cli-simple-auth", | ||
"dependencies": { | ||
"ember-simple-auth": "0.6.3" | ||
"ember-simple-auth": "0.6.4" | ||
} | ||
} |
34
index.js
@@ -27,17 +27,23 @@ var path = require('path'); | ||
var exports = { | ||
'simple-auth/authenticators/base': ['default'], | ||
'simple-auth/authorizers/base': ['default'], | ||
'simple-auth/mixins/application-route-mixin': ['default'], | ||
'simple-auth/mixins/authenticated-route-mixin': ['default'], | ||
'simple-auth/mixins/authentication-controller-mixin': ['default'], | ||
'simple-auth/mixins/login-controller-mixin': ['default'], | ||
'simple-auth/stores/base': ['default'], | ||
'simple-auth/stores/ephemeral': ['default'], | ||
'simple-auth/stores/local-storage': ['default'], | ||
'simple-auth/session': ['default'], | ||
'simple-auth/configuration': ['default'], | ||
'simple-auth/initializer': ['default'], | ||
}; | ||
if (this.app.env !== 'production') { | ||
exports['simple-auth/test-helpers/authenticate-session'] = ['default']; | ||
exports['simple-auth/test-helpers/invalidate-session'] = ['default']; | ||
} | ||
this.app.import('vendor/ember-simple-auth/simple-auth.amd.js', { | ||
exports: { | ||
'simple-auth/authenticators/base': ['default'], | ||
'simple-auth/authorizers/base': ['default'], | ||
'simple-auth/mixins/application-route-mixin': ['default'], | ||
'simple-auth/mixins/authenticated-route-mixin': ['default'], | ||
'simple-auth/mixins/authentication-controller-mixin': ['default'], | ||
'simple-auth/mixins/login-controller-mixin': ['default'], | ||
'simple-auth/stores/base': ['default'], | ||
'simple-auth/stores/ephemeral': ['default'], | ||
'simple-auth/stores/local-storage': ['default'], | ||
'simple-auth/session': ['default'], | ||
'simple-auth/configuration': ['default'], | ||
'simple-auth/initializer': ['default'] | ||
} | ||
exports: exports | ||
}); | ||
@@ -44,0 +50,0 @@ }; |
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "0.6.3", | ||
"version": "0.6.4", | ||
"description": "Include the Ember Simple Auth base library into an Ember CLI application.", | ||
@@ -14,3 +14,8 @@ "main": "index.js", | ||
"ember-addon" | ||
] | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/simplabs/ember-cli-simple-auth" | ||
}, | ||
"homepage": "https://github.com/simplabs/ember-cli-simple-auth" | ||
} |
@@ -16,3 +16,14 @@ # Ember Simple Auth | ||
**Ember CLI now uses `window.[AppName]ENV` for environment configuration | ||
variables. Ember Simple Auth relies on `window.ENV` to read its configuration | ||
from though, so you'll also need to add this line to your `app/index.html` | ||
file:** | ||
```diff | ||
window.MyAppENV = {{ENV}}; | ||
+ window.ENV = window.MyAppENV; | ||
window.EmberENV = window.MyAppENV.EmberENV; | ||
``` | ||
For the actual Ember Simple Auth repository see | ||
https://github.com/simplabs/ember-simple-auth |
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
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
2
29
1
4371
8
51
1