Skip to content

Commit

Permalink
Merge pull request #118 from BBVAEngineering/bugfix-remove-public-tree
Browse files Browse the repository at this point in the history
Remove public tree
  • Loading branch information
adrigzr committed Feb 3, 2022
2 parents 5cc1dad + 59c207d commit b6200e3
Show file tree
Hide file tree
Showing 4 changed files with 433 additions and 529 deletions.
11 changes: 1 addition & 10 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* eslint-disable no-sync */
'use strict';
const Funnel = require('broccoli-funnel');

const mergeTrees = require('broccoli-merge-trees');
const BroccoliWorkbox = require('./lib/broccoli-workbox');

Expand Down Expand Up @@ -73,12 +72,4 @@ module.exports = {
overwrite: true,
});
},

treeForPublic(tree) {
const assetsTree = new Funnel('public');

return mergeTrees([tree, assetsTree], {
overwrite: true,
});
},
};
21 changes: 10 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,14 @@
"validate-coverage": "test \"$(cat coverage/ember/coverage-summary.json | json total.lines.total)\" -gt 0"
},
"dependencies": {
"broccoli-funnel": "^3.0.1",
"broccoli-merge-trees": "^4.1.0",
"broccoli-plugin": "^4.0.1",
"broccoli-plugin": "^4.0.7",
"chalk": "^4.1.0",
"debug": "^4.1.1",
"debug": "^4.3.3",
"ember-cli-babel": "^7.26.11",
"ember-cli-htmlbars": "^6.0.1",
"glob": "^7.1.6",
"pretty-bytes": "^5.3.0",
"glob": "^7.2.0",
"pretty-bytes": "^5.6.0",
"rimraf": "^3.0.1",
"workbox-build": "^5.0.0"
},
Expand All @@ -75,7 +74,7 @@
"@semantic-release/git": "^10.0.1",
"babel-eslint": "^10.1.0",
"broccoli-test-helpers": "0.0.9",
"chai": "^4.2.0",
"chai": "^4.3.6",
"commitizen": "^4.2.4",
"cz-conventional-changelog": "^3.3.0",
"ember-auto-import": "^2.2.4",
Expand All @@ -85,15 +84,15 @@
"ember-cli-inject-live-reload": "^2.1.0",
"ember-cli-terser": "^4.0.2",
"ember-disable-prototype-extensions": "^1.1.3",
"ember-engines": "^0.8.5",
"ember-engines": "^0.8.20",
"ember-export-application-global": "^2.0.1",
"ember-page-title": "^7.0.0",
"ember-qunit": "^5.1.5",
"ember-resolver": "^8.0.3",
"ember-sinon": "^5.0.0",
"ember-source": "^4.1.0",
"ember-source-channel-url": "^3.0.0",
"ember-template-lint": "^3.15.0",
"ember-template-lint": "^4.0.0",
"ember-try": "~2.0.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
Expand All @@ -104,16 +103,16 @@
"husky": "^7.0.4",
"istanbul": "^0.4.5",
"json": "^11.0.0",
"lint-staged": "^12.3.2",
"lint-staged": "^12.3.3",
"loader.js": "^4.7.0",
"mocha": "^8.1.3",
"mocha": "^9.2.0",
"npm-run-all": "^4.1.5",
"nyc": "^15.0.0",
"prettier": "^2.5.1",
"qunit": "^2.17.2",
"qunit-dom": "^2.0.0",
"semantic-release": "^19.0.2",
"webpack": "^5.65.0"
"webpack": "^5.68.0"
},
"engines": {
"node": "12.* || 14.* || >= 16"
Expand Down
Empty file removed public/.gitkeep
Empty file.
Loading

0 comments on commit b6200e3

Please sign in to comment.