Build package in Yeoman - build

I'm new to Yeoman and am trying to build the final package once the project is done.
I couldn't find any article or tutorial related to this. Ideas on how to do that?

After doing some more researches I found out that we just need to use a simple command: grunt build and that's it. Package done.

Related

How to deal with dependencies with golem

I'm kind of new to the shiny application as a package (using golem) so my struggle is maybe a silly one..
I've just done a test to using the provided template with golem to see if I could generate and install the package. It seems that I cannot do it..I've do all relevant steps in dev1, 2 and 3 and the package is generated with no error. However when I try to install it it always says that I'm missing the dependencies that are listed in the DESCRIPTION file (under the import section).
Shouldn't it be all installed as I install my package from source?
Any guidance here is much appreciated..
I've tried the golem example within the package...just that. I'm getting this error ERROR: dependencies ‘golem’, ‘shiny’, ‘config’ are not available for package ‘golemtes3’

Why Meson couldn't create symlink to Gstreamer1.0 plugins?

I need to build Gstreamer1.0(1.14.2) from its source files using meson & ninja. First, I cloned the repository, added a custom plugin to support OpenMAX. Then, in the gst-build executed the,
meson build --buildtype=debug -Dcustom_subprojects=gst-omx -Ddisable_gst_libav=true .
This doesn't generate any error messages and ninja works like a charm as well. However, for all plugins I get
Message: Could not create symlink to <plugin_name>
message, which is not good because I cannot reach them using terminal. My host device is ARM64 and linaro-aarch, and running a custom operating system. I appreciate any kind of comment & help to solve. Thanks in advance.

Node module based on C++

I just wrote my own node module in C++ with the help of node-gyp. Now I have the following question.
If I want to publish my project now, what has to be in the package.json and can a user install my npm package if he has no Visual Studio (msbuild.exe) installed. Has he recompile it? And if yes, that doesn't really make sense. He should use the binaries only. But how can I achieve this?
Yeah, that are a lot of questions =)
FYI, here is my project: https://github.com/frankred/node-mouzy
Here is my package.json: https://github.com/frankred/node-mouzy/blob/master/package.json
Via the GIT-Repo I only can install the npm package with the following command:
npm install -S "git+https://github.com/frankred/node-mouzy.git"

How to obtain an MRUnit 1.0.0-SNAPSHOT jar built using the hadoop1 classifier?

The latest release of MRUnit is 0.9. This release does not support DistributedCache.
This https://issues.apache.org/jira/browse/MRUNIT-98 shows that 1.0.0 supports DistributedCache. I want to get ahold of an MRUnit 1.0.0 jar that is built for hadoop1, but I cannot find one. So I tried to build it myself, but the required jars are missing from the maven repo.
Here is the command I'm using:
mvn package -DenvClassifier=hadoop1 -DspecificHadoopVersion=1.0.3
It fails with dependency errors. I can get ahold of the required jars manually, but I don't know how to get the build to use them.
How can I get ahold of the jar I want (either build it myself, or download it)?
I figured this out after I posted the question.
The answer is simple. Checkout the hadoop1 branch, and build that:
$ git checkout -b local/trunk-hadoop1 remotes/origin/trunk-hadoop1
$ mvn package

How do I use a newer version of r.js with Yeoman build?

I'm trying to run yeoman build on a project that uses requireJS and the require-handlebars-plugin. I'm am getting this error when running the rjs task:
<WARN> Error: ENOENT, no such file or directory '/Users/tkrell/Sites/pathrabbit-marionette-require/temp/scripts/template/schedules/day-jobs -past.js'
In module tree:
main
schedules/schedule-layouts
schedules/schedule-jobs-view
hbs
at Object.fs.openSync (fs.js:338:18)
Use --force to continue. </WARN>
I believe this is the same as this issue which appears to simply need the latest version of r.js to be resolved. When I use a newer version of r.js manually, I don't get the error and everything works fine. How can I force the yeoman build task to use the latest version r.js?
The advice given on the issue I created on Yeoman's github page worked for me:
Yeoman uses 2.0.2 (see it's package.json).
You could go into the directory yeoman is installed and run npm install -f requirejs to force install a newer version. No promises it won't break though.
However, in yeoman 1.0 (which is imminent), we'll be using grunt-requirejs instead.