@private @method _generateFileMapVariables @param {String} moduleName @param locals @param {Object} options @return {Object}
(moduleName, locals, options)
| 1002 | @return {Object} |
| 1003 | */ |
| 1004 | _generateFileMapVariables(moduleName, locals, options) { |
| 1005 | let originBlueprintName = options.originBlueprintName || this.name; |
| 1006 | let podModulePrefix = this.project.config().podModulePrefix || ''; |
| 1007 | let podPath = podModulePrefix.substr(podModulePrefix.lastIndexOf('/') + 1); |
| 1008 | let inAddon = this.project.isEmberCLIAddon() || !!options.inRepoAddon; |
| 1009 | let inDummy = this.project.isEmberCLIAddon() ? options.dummy : false; |
| 1010 | |
| 1011 | return { |
| 1012 | pod: this.pod, |
| 1013 | podPath, |
| 1014 | hasPathToken: this.hasPathToken, |
| 1015 | inAddon, |
| 1016 | inRepoAddon: options.inRepoAddon, |
| 1017 | in: options.in, |
| 1018 | inDummy, |
| 1019 | blueprintName: this.name, |
| 1020 | originBlueprintName, |
| 1021 | dasherizedModuleName: stringUtils.dasherize(moduleName), |
| 1022 | locals, |
| 1023 | }; |
| 1024 | }, |
| 1025 | |
| 1026 | /** |
| 1027 | @private |
nothing calls this directly
no test coverage detected
searching dependent graphs…