Questions tagged [yeoman]

Yeoman is a command-line tool for frontend web development. As a "web application boilerplate," its main features include project scaffolding, a build process based in part on Grunt.js, and package management for updating project dependencies.

Yeoman Features

  1. Scaffolding: Automates project structure using HTML5 Boilerplate, jQuery, and Modernizr - and optionally Compass, Twitter Bootstrap, RequireJS, and Twitter Bootstrap plugins.
  2. Watch Process: Integrates LiveReload with a native fallback watch process for updating changes in the browser without refreshing.
  3. Linting: Runs JSHint on specified project files during its build process.
  4. Preview Server: Using the grunt server command starts a built-in HTTP server for monitoring project changes auto-compiling CoffeeScript/Compass files.
  5. Image Optimization: Integrates OptiPNG and JPEGTran into the build process.
  6. Build Process: In addition to the features already mentioned, grunt build concatenates, minifies, and generates an application cache manifest. The build process also incorporates the RequireJS r.js optimization script.
  7. Package Management: Update project dependencies such as third-party libraries and extensions from the command line using Bower.
  8. Testing: Supports generating test cases for Mocha or Jasmine and automatically building them as part of the build process via Karma.

Yeoman Resources

  • Main Website - installation, CLI reference, package manager, metrics tool, FAQs
  • GitHub - project repository and additional README documentation
  • GitHub Issues - main support site for early release troubleshooting
  • Google Groups - mostly administrative issues with some support questions
  • Google Plus - promotional updates and links to media coverage
  • Twitter - support discussions and links to media coverage
2349 questions
0
votes
1 answer

Deploy Outlook Add-in -Yeoman-

I need guidance for deploying an outlook add-in created by Yeoman. I am new to this. I already tried uploading the whole project generated by Yeoman to Heroku and according to Heroku, it deployed successfully. But I don't know what else I should…
0
votes
1 answer

Share node_modules between webparts

Here is my scenario: I have 7 different webparts In order to have more control over the projects I have split them in different projects All of the projects were created using the Yeoman installer All was fine until I started to add them to the…
JohnRambo
  • 568
  • 1
  • 10
  • 23
0
votes
1 answer

How can i install yeoman command line tool on ubuntu 20.04.1 LTS?

I tried installing yeoman command line tool in Ubuntu 20.04.1 LTS for ASP.NET Core web application development. After typing npm install -g yo in terminal, i got an error. Description of error is provided below. npm WARN deprecated…
0
votes
1 answer

Any possible ways to add answer for this question "may we anonymously report usage statistics to improve the tool over time?" in .yo-rc.json

Is there any possible ways to add answer for this question "may we anonymously report usage statistics to improve the tool over time?", which is asked as the 1st question when I hit "yo jhipster --force" on cmd, in .yo-rc.json. My .yo-rc.json file…
0
votes
0 answers

Gulp serve takes too long to build

After creating the project using yo teams and upon running the gulp serve command the command takes 1-2 mins to build on every save. I don’t know what is the main reason but I have disabled multiple things and tried other options too make it fast…
Vin
  • 968
  • 2
  • 10
  • 22
0
votes
1 answer

TinyMCE Yeoman cannot be built

I am creating a new plugin for TinyMCE using Yeoman generator as suggested in the official documentation. However, even if I create a completely empty project, using yo tinymce and npm install, the project can be watched (npm start), but when I try…
Gomi
  • 632
  • 1
  • 7
  • 23
0
votes
1 answer

Yeoman - Accessing non-existent property ____ of module exports inside circular dependency

Yo! I am trying yeoman and I'm making a test generator, but as I reported in this issue, there is a small problem. Here is my code: const Generator = require('yeoman-generator'); module.exports = class extends Generator { // The name…
koro
  • 111
  • 1
  • 13
0
votes
1 answer

Windows Yeoman Generator Blank Directory

I am currently working on a project that will require a add-in to MS Outlook. I am reading the documentation that shows the use of yeoman to do this but keep hitting the issue where yeoman is only creating a blank directory rather that a scaffolded…
Neil Clayton
  • 146
  • 7
0
votes
1 answer

Can't install yeoman because "Couldn't find the 'yo' binary. Make sure it's installed and in your $PATH"

So I am trying to install yeoman but it gives me this: npm install -g yo generator-code npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated npm WARN deprecated resolve-url@0.2.1:…
0
votes
1 answer

how to pass a array of values to the template in the yeoman generator

I am using yeoman-generator, which I need to pass a array of value to the template file. for example I want to pass a array of text values to the template. install() { async app() { let array = ['abc','cde','efg']; …
user824624
  • 7,077
  • 27
  • 106
  • 183
0
votes
1 answer

parsing the string into the json in the method of yeoman generator

I am using yeoman generator to create a code with the template, where the data for the template is passed in the option as a string showed as below, yo express-no-stress myapp --data {"title":"Type"} this string data can be parsed as JSON later in…
user824624
  • 7,077
  • 27
  • 106
  • 183
0
votes
1 answer

yeoman-generator paused after prompt

I'm trying to write a generator. It paused after printing app name in terminal. How to let it executing the copyFile action ? var Generator = require('yeoman-generator'); module.exports = class extends Generator { // The name `constructor` is…
duXing
  • 1,377
  • 1
  • 10
  • 24
0
votes
0 answers

How to install Yoeman on Ubuntu18.04

I am installing Yeoman on my machine and ran this npm install -g yo This is giving me permission error: npm ERR! code EACCES npm ERR! syscall access npm ERR! path /usr/local/nvm/versions/node/v12.16.1/lib/node_modules/yo npm ERR! errno -13 npm ERR!…
SIDDHARTH VARSHNEY
  • 521
  • 1
  • 6
  • 17
0
votes
1 answer

Integrating angular 8 and liferay 7.2

I'm searching for a good guide to integrate angular 8 and liferay 7.2, but I see Resources are kinda scarce. I found this Angular tutorial But I didn´t understand if it is mandatory to execute yo liferay-bundle and create the Shared Bundle.…
LP0
  • 41
  • 2
  • 13
0
votes
1 answer

How to crete a new .net core project in the Yeoman generator

I'm writing a Yeoman generator. How can I call dotnet new inside my generator? Is there a better way to create a new .net core project in yeoman generator?
user2809176
  • 1,042
  • 12
  • 29