Skip to content

Commit

Permalink
upgrade dependencies and added ember-intl
Browse files Browse the repository at this point in the history
  • Loading branch information
roncodes committed Aug 17, 2023
1 parent 43c57f0 commit 5211d9a
Show file tree
Hide file tree
Showing 6 changed files with 2,448 additions and 422 deletions.
6 changes: 6 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ module.exports = {
rules: {
'ember/no-array-prototype-extensions': 'off',
'ember/no-computed-properties-in-native-classes': 'off',
'node/no-unpublished-require': [
'error',
{
allowModules: ['resolve', 'broccoli-funnel'],
},
],
},
overrides: [
// node files
Expand Down
2 changes: 1 addition & 1 deletion addon/engine.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default class DevEngine extends Engine {
setupExtension = function (app, engine, universe) {
// register menu item in header
universe.registerHeaderMenuItem('Developers', 'console.developers', { icon: 'code', priority: 2 });
}
};
}

loadInitializers(DevEngine, modulePrefix);
11 changes: 10 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
'use strict';
const { buildEngine } = require('ember-engines/lib/engine-addon');
const { name } = require('./package');
const Funnel = require('broccoli-funnel');

module.exports = buildEngine({
name,

_concatStyles: function () {},
postprocessTree(type, tree) {
if (type === 'css') {
tree = new Funnel(tree, {
exclude: ['**/@fleetbase/ember-ui/**/*.css'],
});
}

return tree;
},

lazyLoading: {
enabled: true,
Expand Down
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fleetbase/dev-engine",
"version": "0.1.5",
"version": "0.1.6",
"description": "Fleetbase Developers extension provides a module for managing developer resources such as API keys, webhooks, sockets, events and logs.",
"fleetbase": {
"route": "developers"
Expand Down Expand Up @@ -38,13 +38,14 @@
"publish:github": "npm config set '@fleetbase:registry' https://npm.pkg.github.com/ && npm publish"
},
"dependencies": {
"@fleetbase/ember-core": "link:../ember-core",
"@fleetbase/ember-ui": "link:../ember-ui",
"@fleetbase/ember-core": "^0.1.1",
"@fleetbase/ember-ui": "^0.1.4",
"@fortawesome/ember-fontawesome": "^0.4.1",
"@fortawesome/fontawesome-svg-core": "^6.4.0",
"@fortawesome/free-solid-svg-icons": "^6.4.0",
"ember-cli-babel": "^7.26.11",
"ember-cli-htmlbars": "^6.1.0",
"ember-intl": "^6.0.0-beta.6",
"ember-prism": "^0.13.0",
"ember-tag-input": "^3.1.0",
"ember-wormhole": "^0.6.0"
Expand All @@ -57,6 +58,7 @@
"@glimmer/tracking": "^1.1.2",
"babel-eslint": "^10.1.0",
"broccoli-asset-rev": "^3.0.0",
"broccoli-funnel": "^3.0.8",
"ember-auto-import": "^2.4.2",
"ember-cli": "~4.6.0",
"ember-cli-dependency-checker": "^3.3.1",
Expand Down
Loading

0 comments on commit 5211d9a

Please sign in to comment.