Skip to content

Instantly share code, notes, and snippets.

@josemarluedke
Created August 14, 2018 18:27
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save josemarluedke/d426782e63dd2c8851f1bd614d47e8f5 to your computer and use it in GitHub Desktop.
Save josemarluedke/d426782e63dd2c8851f1bd614d47e8f5 to your computer and use it in GitHub Desktop.
Projections Ember Pods & TS
{
"app/initializers/*.js": {
"type": "initializer",
"alternate": "tests/unit/initializers/{}-test.js"
},
"tests/unit/initializers/*-test.js": {
"type": "initializer-test",
"alternate": "app/initializers/{}.js"
},
"app/instance-initializers/*.js": {
"type": "instance-initializer",
"alternate": "tests/unit/instance-initializers/{}-test.js"
},
"tests/unit/instance-initializers/*-test.js": {
"type": "instance-initializer-test",
"alternate": "app/initializers/{}.js"
},
"app/pods/components/*/component.js": {
"type": "component-js",
"alternate": "app/pods/components/{}/template.hbs"
},
"app/pods/components/*/component.ts": {
"type": "components-ts",
"alternate": "app/pods/components/{}/template.hbs"
},
"app/pods/components/*/template.hbs": {
"type": "component-template",
"alternate": ["app/pods/components/{}/component.ts", "app/pods/components/{}/component.js"]
},
"app/pods/components/*/query.graphql": {
"type": "component-query",
"alternate": ["app/pods/components/{}/component.ts", "app/pods/components/{}/component.js"]
},
"app/pods/*/route.js": {
"type": "route-js",
"alternate": "app/pods/{}/template.hbs"
},
"app/pods/*/route.ts": {
"type": "route-ts",
"alternate": "app/pods/{}/template.hbs"
},
"app/pods/*/template.hbs": {
"type": "route-template",
"alternate": ["app/pods/{}/route.ts", "app/pods/{}/route.js"]
},
"app/pods/*/query.graphql": {
"type": "route-query",
"alternate": ["app/pods/{}/route.ts", "app/pods/{}/route.js"]
},
"app/pods/*/controller.js": {
"type": "controller-js",
"alternate": ["tests/unit/pods/{}/controller-test.js", "tests/unit/pods/{}/controller-test.ts"]
},
"app/pods/*/controller.ts": {
"type": "controller-ts",
"alternate": ["tests/unit/pods/{}/controller-test.js", "tests/unit/pods/{}/controller-test.ts"]
},
"tests/unit/pods/*/controller-test.js": {
"type": "controller-test-js",
"alternate": ["app/pods/{}/controller.js", "app/pods/{}/controller.ts"]
},
"tests/unit/pods/*/controller-test.ts": {
"type": "controller-test-ts",
"alternate": ["app/pods/{}/controller.js", "app/pods/{}/controller.ts"]
},
"app/helpers/*.js": {
"type": "helper-js",
"alternate": ["tests/integration/helpers/{}-test.js", "tests/integration/helpers/{}-test.ts"]
},
"app/helpers/*.ts": {
"type": "helper-ts",
"alternate": ["tests/integration/helpers/{}-test.js", "tests/integration/helpers/{}-test.ts"]
},
"tests/integration/helpers/*-test.js": {
"type": "helper-test-js",
"alternate": ["app/helpers/{}.js", "app/helpers/{}.ts"]
},
"tests/integration/helpers/*-test.ts": {
"type": "helper-test-ts",
"alternate": ["app/helpers/{}.js", "app/helpers/{}.ts"]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment