mvdwg / ember-addons-inspector Goto Github PK
View Code? Open in Web Editor NEWInspect the addons included in your Ember project (application or addon)
License: MIT License
Inspect the addons included in your Ember project (application or addon)
License: MIT License
Add the list of blueprints that are included in an addon
Example
* ember-cli-page-object
Blueprints:
- page-object <name> - Generates a page object for acceptance tests
- page-object-component <name> - Generates a component object to be used on a page object
See https://github.com/ember-cli/ember-cli/blob/master/lib/commands/generate.js#L75-L113 and https://ember-cli.com/api/classes/Addon.html#method_blueprintsPath
Would be great to have an indicator on the description of an addon when it's outdated
Example
* ember-cli-page-object v1.3.0 (latest is v1.5.0)
...
Right now some metadata is being printed incorrectly
Example
...
description: An Ember Object Proxy with change buffering
version: 0.5.1
homepage: https://github.com/yapplabs/ember-buffered-proxy#readme
bugs: [object Object]
repository: [object Object]
author: [object Object]
Bugs, repository and author are complex objects in the package json and need to be extracted out before printing them on screen.
Add the list of commands that are included by an addon
Example
* ember-addons-inspector
Commands:
- inspect <addon-name> - Returns the list of all installed addons (works insideProject)
See https://ember-cli.com/api/classes/Addon.html#method_includedCommands
When inspecting an addon it would be great to see which other addons pulls in
* foo-addon
Includes: bar-addon, baz-addon
Add colored output to make it nicer!
See chalk
Would be nice to group engines in the list of all addons
engines
foo-bar
bar-baz
addons
qux-quxx
...
When inspecting a single addon, it would be great to see a list of NPM packages (and devDependencies packages? ) used by the addon.
Example
* foo-addon
deps: chalk, mkdirp, etc.
Add node tests for inspect
command and integrate with travis-ci
It would be great to have a command to list all outdated addons:
Synopsis:
* ember inspect:outdated
Inspecting app...
Found 4 outdated addon(s).
ember-cli-page-object v1.3.0 (latest is v1.5.0)
...
Thoughts?
Github offers to generate website from /docs folder, can we read and show this documentation from the addon? Like showing an TOC and a way to navigate it?
We could use markdown-it
https://github.com/markdown-it/markdown-it
Related to the issue #16. It would be great to not only list outdated addons, but give the possibility of knowing to which version of the addon I have to upgrade, taking into account the version of Ember I have.
So for instance, if I'm still in Ember 1.13, list the latest version of addon that works with that version of Ember. This could be very useful for upgrades.
When inspecting an addon that was included by another addon it would be great to show a note indicating this.
* foo-addon
included by: bar-addon
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.