Skip to content

Commit

Permalink
feat: update yoeman dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mbystedt committed Feb 1, 2024
1 parent c0193cf commit b63945e
Show file tree
Hide file tree
Showing 4 changed files with 5,798 additions and 5,029 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ARG HOME=/home/node
ENV NPM_CONFIG_PREFIX=$HOME/.npm-global
ENV PATH=$PATH:$HOME/.npm-global/bin

RUN npm install -g yo@4.3.1
RUN npm install -g yo

COPY --chown=node:node ./generator-nr-maven-build $HOME/$APP/
RUN cd $HOME/$APP/ && npm ci && npm link
Expand Down
9 changes: 4 additions & 5 deletions generator-nr-maven-build/generators/app/index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
'use strict';
const Generator = require('yeoman-generator');
const chalk = require('chalk');
const yosay = require('yosay');
import Generator from "yeoman-generator";
import yosay from "yosay";

module.exports = class extends Generator {
export default class extends Generator {
prompting() {
this.log(
yosay(
Expand Down Expand Up @@ -84,4 +83,4 @@ module.exports = class extends Generator {
);
}
}
};
}
Loading

0 comments on commit b63945e

Please sign in to comment.