Comments (9)
This should also install the plugins' CLI libs. I would assume that they would be placed in the lib file along side the others, but how can we add the commands without modifying the cli source so it can still be updated? Any thoughts @joelcoxokc @ahmedshuhel @zewa666 @EisenbergEffect ?
from cli.
I think I have some ideas. I say we have them install the plugins locally. and we can just require them from their local dir. Let me play around with it.
from cli.
@joelcoxokc I think you have a lot of issues already, I'm taking this one back for now since I've been working on it. In the future please let me know before you reassign.
from cli.
I apologize. I think I did this by mistake.
On Wed, May 20, 2015 at 6:03 PM Patrick Walters [email protected]
wrote:
@joelcoxokc https://github.com/joelcoxokc I think you have a lot of
issues already, I'm taking this one back for now since I've been working on
it. In the future please let me know before you reassign.—
Reply to this email directly or view it on GitHub
#49 (comment).
from cli.
I'm unassigning myself from this now as I don't have time to salvage the work I've done right now. In a nutshell, if you pick this one up, this is what I would suggest -
User input
$ aurelia -a i18next
- Check the registry for a matching named entry named 'i18next'
- Use the endpoint and location to construct the
jspm install
message (ex.jspm install github:zewa666/i18next
) - Add aurelia section to package.json if it doesn't exist.
- Add key/value entry for the plugin under the
aurelia: { plugins: [] }
section
For this to still work the way I planned it would mean that we need a helper function added to the main.js to dynamically add the plugins listed there. The alternative is to manually edit the main.js but that feels fragile.
from cli.
I'll take it off your hands !
from cli.
The feature is in and released already
from cli.
@ahmedshuhel wow that's awesome! Is there some documentation we can read on how to install a plugin through the CLI?
from cli.
@PWKad credit goes to @zewa666. https://github.com/aurelia/cli#plugin
from cli.
Related Issues (20)
- Updating CopyWebpackPlugin (> 6.0.0) breaking changes
- updating css-loader causing errors HOT 4
- Importing the 'aurelia-router' into an ApiInterceptor Breaks Application HOT 5
- au new --here fails to scaffold project HOT 19
- Todo: fall back gracefully for missing main file in npm package HOT 1
- Dependencies for array.prototype.filter and available-typed-arrays need updating HOT 5
- Error on execution 'au twx-run' from aurelia proj HOT 3
- Bundling FontAwesome with requireJS causes a Maximum call stack size exceeded error HOT 6
- npm start fails with TypeError: Cannot read properties of undefined (reading 'loader') HOT 4
- bundles are not loaded for pushState HOT 1
- Cannot perform production build on Windows HOT 1
- Freshly created app (TypeScript or ESNext) fails to start HOT 12
- The export keyword can only be used with the module goal HOT 4
- PackageAnalyzer and Bundler incorrectly identifying plugin/ts references as npm packages HOT 4
- Why is crypto-browserify dependency of aurelia cli?
- Property 'configure' does not exist on type 'typeof import("C:/Users/Dilan/Desktop/qwasar/my_yelp/node_modules/aws-amplify/lib-esm/index")'. HOT 3
- How to enable cancellation correctly?
- Latest enquirer release seems to break 'au build' with 'SyntaxError: Unexpected token =' HOT 3
- built-in bundler cannot process .mjs third party files HOT 6
- `au run` fails with latest node.js update for Windows HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cli.