UNPKG
ember-codemod-pod-to-octane
Version:
latest (5.1.2)
5.1.2
5.1.1
5.1.0
5.0.5
5.0.4
5.0.3
5.0.2
5.0.1
5.0.0
4.1.3
4.1.2
4.1.1
4.1.0
4.0.6
4.0.5
4.0.4
4.0.3
4.0.2
4.0.1
4.0.0
3.1.4
3.1.3
3.1.2
3.1.1
3.1.0
3.0.0
2.0.8
2.0.7
2.0.6
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
1.2.11
1.2.10
1.2.9
1.2.8
1.2.7
1.2.6
1.2.5
1.2.4
1.2.3
1.2.2
1.2.2-alpha.2
1.2.2-alpha.1
1.2.1
1.2.0
1.1.5
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.1
1.0.0
0.3.2
0.3.1
0.3.0
0.2.0
0.1.0
Codemod to un-pod Ember apps, addons, and engines
ijlee2/ember-codemod-pod-to-octane
ember-codemod-pod-to-octane
/
dist
/
src
/
migration
/
v1-addon
/
steps
/
create-file-path-maps
/
app
/
index.js
11 lines
(10 loc)
•
317 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
import
{ mapComponents }
from
'./map-components.js'
;
import
{ mapRoutes }
from
'./map-routes.js'
;
import
{ mapServices }
from
'./map-services.js'
;
export
function
mapAppFolder
(
options
) {
return
new
Map
([ ...
mapComponents
(options), ...
mapRoutes
(options), ...
mapServices
(options), ]); }