From 97b8271045aff02b2ab0c7f076cc505c40ee7bf7 Mon Sep 17 00:00:00 2001 From: Robert Jackson Date: Fri, 30 Oct 2020 10:48:38 -0400 Subject: [PATCH] Remove unused files from addon blueprint. --- .ember-cli | 9 ---- .template-lintrc.js | 5 -- .watchmanconfig | 3 -- config/ember-try.js | 0 config/environment.js | 5 -- tests/acceptance/poc-test.js | 13 ----- tests/dummy/app/app.js | 14 ------ tests/dummy/app/components/.gitkeep | 0 tests/dummy/app/controllers/.gitkeep | 0 tests/dummy/app/helpers/.gitkeep | 0 tests/dummy/app/index.html | 25 ---------- tests/dummy/app/models/.gitkeep | 0 tests/dummy/app/resolver.js | 3 -- tests/dummy/app/router.js | 11 ---- tests/dummy/app/routes/.gitkeep | 0 tests/dummy/app/styles/app.css | 0 tests/dummy/app/templates/application.hbs | 3 -- tests/dummy/app/templates/components/.gitkeep | 0 tests/dummy/config/environment.js | 50 ------------------- tests/dummy/config/optional-features.json | 3 -- tests/dummy/config/targets.js | 14 ------ tests/dummy/public/robots.txt | 3 -- tests/helpers/.gitkeep | 0 tests/index.html | 33 ------------ tests/test-helper.js | 8 --- tests/unit/.gitkeep | 0 26 files changed, 202 deletions(-) delete mode 100644 .ember-cli delete mode 100644 .template-lintrc.js delete mode 100644 .watchmanconfig delete mode 100644 config/ember-try.js delete mode 100644 config/environment.js delete mode 100644 tests/acceptance/poc-test.js delete mode 100644 tests/dummy/app/app.js delete mode 100644 tests/dummy/app/components/.gitkeep delete mode 100644 tests/dummy/app/controllers/.gitkeep delete mode 100644 tests/dummy/app/helpers/.gitkeep delete mode 100644 tests/dummy/app/index.html delete mode 100644 tests/dummy/app/models/.gitkeep delete mode 100644 tests/dummy/app/resolver.js delete mode 100644 tests/dummy/app/router.js delete mode 100644 tests/dummy/app/routes/.gitkeep delete mode 100644 tests/dummy/app/styles/app.css delete mode 100644 tests/dummy/app/templates/application.hbs delete mode 100644 tests/dummy/app/templates/components/.gitkeep delete mode 100644 tests/dummy/config/environment.js delete mode 100644 tests/dummy/config/optional-features.json delete mode 100644 tests/dummy/config/targets.js delete mode 100644 tests/dummy/public/robots.txt delete mode 100644 tests/helpers/.gitkeep delete mode 100644 tests/index.html delete mode 100644 tests/test-helper.js delete mode 100644 tests/unit/.gitkeep diff --git a/.ember-cli b/.ember-cli deleted file mode 100644 index ee64cfed..00000000 --- a/.ember-cli +++ /dev/null @@ -1,9 +0,0 @@ -{ - /** - Ember CLI sends analytics information by default. The data is completely - anonymous, but there are times when you might want to disable this behavior. - - Setting `disableAnalytics` to true will prevent any data from being sent. - */ - "disableAnalytics": false -} diff --git a/.template-lintrc.js b/.template-lintrc.js deleted file mode 100644 index f35f61c7..00000000 --- a/.template-lintrc.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -module.exports = { - extends: 'recommended', -}; diff --git a/.watchmanconfig b/.watchmanconfig deleted file mode 100644 index e7834e3e..00000000 --- a/.watchmanconfig +++ /dev/null @@ -1,3 +0,0 @@ -{ - "ignore_dirs": ["tmp", "dist"] -} diff --git a/config/ember-try.js b/config/ember-try.js deleted file mode 100644 index e69de29b..00000000 diff --git a/config/environment.js b/config/environment.js deleted file mode 100644 index 331ab30d..00000000 --- a/config/environment.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -module.exports = function (/* environment, appConfig */) { - return {}; -}; diff --git a/tests/acceptance/poc-test.js b/tests/acceptance/poc-test.js deleted file mode 100644 index f88bdaac..00000000 --- a/tests/acceptance/poc-test.js +++ /dev/null @@ -1,13 +0,0 @@ -import { module, test } from 'qunit'; -import { visit, currentURL } from '@ember/test-helpers'; -import { setupApplicationTest } from 'ember-qunit'; - -module('Acceptance Test - To use to try running included commands', function (hooks) { - setupApplicationTest(hooks); - - test('visiting /', async function (assert) { - await visit('/'); - - assert.equal(currentURL(), '/'); - }); -}); diff --git a/tests/dummy/app/app.js b/tests/dummy/app/app.js deleted file mode 100644 index f08aaaf0..00000000 --- a/tests/dummy/app/app.js +++ /dev/null @@ -1,14 +0,0 @@ -import Application from '@ember/application'; -import Resolver from './resolver'; -import loadInitializers from 'ember-load-initializers'; -import config from './config/environment'; - -const App = Application.extend({ - modulePrefix: config.modulePrefix, - podModulePrefix: config.podModulePrefix, - Resolver, -}); - -loadInitializers(App, config.modulePrefix); - -export default App; diff --git a/tests/dummy/app/components/.gitkeep b/tests/dummy/app/components/.gitkeep deleted file mode 100644 index e69de29b..00000000 diff --git a/tests/dummy/app/controllers/.gitkeep b/tests/dummy/app/controllers/.gitkeep deleted file mode 100644 index e69de29b..00000000 diff --git a/tests/dummy/app/helpers/.gitkeep b/tests/dummy/app/helpers/.gitkeep deleted file mode 100644 index e69de29b..00000000 diff --git a/tests/dummy/app/index.html b/tests/dummy/app/index.html deleted file mode 100644 index 61400b20..00000000 --- a/tests/dummy/app/index.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - Dummy - - - - {{content-for "head"}} - - - - - {{content-for "head-footer"}} - - - {{content-for "body"}} - - - - - {{content-for "body-footer"}} - - diff --git a/tests/dummy/app/models/.gitkeep b/tests/dummy/app/models/.gitkeep deleted file mode 100644 index e69de29b..00000000 diff --git a/tests/dummy/app/resolver.js b/tests/dummy/app/resolver.js deleted file mode 100644 index 2fb563d6..00000000 --- a/tests/dummy/app/resolver.js +++ /dev/null @@ -1,3 +0,0 @@ -import Resolver from 'ember-resolver'; - -export default Resolver; diff --git a/tests/dummy/app/router.js b/tests/dummy/app/router.js deleted file mode 100644 index a44f39d4..00000000 --- a/tests/dummy/app/router.js +++ /dev/null @@ -1,11 +0,0 @@ -import EmberRouter from '@ember/routing/router'; -import config from './config/environment'; - -const Router = EmberRouter.extend({ - location: config.locationType, - rootURL: config.rootURL, -}); - -Router.map(function () {}); - -export default Router; diff --git a/tests/dummy/app/routes/.gitkeep b/tests/dummy/app/routes/.gitkeep deleted file mode 100644 index e69de29b..00000000 diff --git a/tests/dummy/app/styles/app.css b/tests/dummy/app/styles/app.css deleted file mode 100644 index e69de29b..00000000 diff --git a/tests/dummy/app/templates/application.hbs b/tests/dummy/app/templates/application.hbs deleted file mode 100644 index 5230580f..00000000 --- a/tests/dummy/app/templates/application.hbs +++ /dev/null @@ -1,3 +0,0 @@ -

Welcome to Ember

- -{{outlet}} \ No newline at end of file diff --git a/tests/dummy/app/templates/components/.gitkeep b/tests/dummy/app/templates/components/.gitkeep deleted file mode 100644 index e69de29b..00000000 diff --git a/tests/dummy/config/environment.js b/tests/dummy/config/environment.js deleted file mode 100644 index cae901cc..00000000 --- a/tests/dummy/config/environment.js +++ /dev/null @@ -1,50 +0,0 @@ -'use strict'; - -module.exports = function (environment) { - let ENV = { - modulePrefix: 'dummy', - environment, - rootURL: '/', - locationType: 'auto', - EmberENV: { - FEATURES: { - // Here you can enable experimental features on an ember canary build - // e.g. 'with-controller': true - }, - EXTEND_PROTOTYPES: { - // Prevent Ember Data from overriding Date.parse. - Date: false, - }, - }, - - APP: { - // Here you can pass flags/options to your application instance - // when it is created - }, - }; - - if (environment === 'development') { - // ENV.APP.LOG_RESOLVER = true; - // ENV.APP.LOG_ACTIVE_GENERATION = true; - // ENV.APP.LOG_TRANSITIONS = true; - // ENV.APP.LOG_TRANSITIONS_INTERNAL = true; - // ENV.APP.LOG_VIEW_LOOKUPS = true; - } - - if (environment === 'test') { - // Testem prefers this... - ENV.locationType = 'none'; - - // keep test console output quieter - ENV.APP.LOG_ACTIVE_GENERATION = false; - ENV.APP.LOG_VIEW_LOOKUPS = false; - - ENV.APP.rootElement = '#ember-testing'; - } - - if (environment === 'production') { - // here you can enable a production-specific feature - } - - return ENV; -}; diff --git a/tests/dummy/config/optional-features.json b/tests/dummy/config/optional-features.json deleted file mode 100644 index b1902623..00000000 --- a/tests/dummy/config/optional-features.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "jquery-integration": false -} diff --git a/tests/dummy/config/targets.js b/tests/dummy/config/targets.js deleted file mode 100644 index f1431931..00000000 --- a/tests/dummy/config/targets.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; - -const browsers = ['last 1 Chrome versions', 'last 1 Firefox versions', 'last 1 Safari versions']; - -const isCI = !!process.env.CI; -const isProduction = process.env.EMBER_ENV === 'production'; - -if (isCI || isProduction) { - browsers.push('ie 11'); -} - -module.exports = { - browsers, -}; diff --git a/tests/dummy/public/robots.txt b/tests/dummy/public/robots.txt deleted file mode 100644 index f5916452..00000000 --- a/tests/dummy/public/robots.txt +++ /dev/null @@ -1,3 +0,0 @@ -# http://www.robotstxt.org -User-agent: * -Disallow: diff --git a/tests/helpers/.gitkeep b/tests/helpers/.gitkeep deleted file mode 100644 index e69de29b..00000000 diff --git a/tests/index.html b/tests/index.html deleted file mode 100644 index 5209b852..00000000 --- a/tests/index.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - Dummy Tests - - - - {{content-for "head"}} - {{content-for "test-head"}} - - - - - - {{content-for "head-footer"}} - {{content-for "test-head-footer"}} - - - {{content-for "body"}} - {{content-for "test-body"}} - - - - - - - - {{content-for "body-footer"}} - {{content-for "test-body-footer"}} - - diff --git a/tests/test-helper.js b/tests/test-helper.js deleted file mode 100644 index 0382a848..00000000 --- a/tests/test-helper.js +++ /dev/null @@ -1,8 +0,0 @@ -import Application from '../app'; -import config from '../config/environment'; -import { setApplication } from '@ember/test-helpers'; -import { start } from 'ember-qunit'; - -setApplication(Application.create(config.APP)); - -start(); diff --git a/tests/unit/.gitkeep b/tests/unit/.gitkeep deleted file mode 100644 index e69de29b..00000000