generator-reshow 0.17.3 → 0.17.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18,7 +18,6 @@ describe("!! docker !!", () => {
18
18
  isReady: true,
19
19
  appNamee: "foo",
20
20
  description: "foo-desc",
21
- keyword: "foo-keyword",
22
21
  },
23
22
  });
24
23
  });
@@ -35,7 +35,7 @@ module.exports = class extends YoGenerator {
35
35
 
36
36
  const prompts = [
37
37
  ...commonPrompt.mainName(this),
38
- ...commonPrompt.desc(this),
38
+ ...commonPrompt.desc(this, {keyword: false}),
39
39
  ...commonPrompt.repository(this, {
40
40
  defaultRepositoryName: "[REPOSITORY_NAME]",
41
41
  defaultRepositoryOrgName: "[REPOSITORY_ORG_NAME]",
@@ -95,5 +95,6 @@ module.exports = class extends YoGenerator {
95
95
  cp("compile.sh", null, this.payload);
96
96
  cp("install-packages.sh", null, this.payload);
97
97
  cp("support", null, this.payload);
98
+ cp("bin", null, this.payload);
98
99
  }
99
100
  };
@@ -0,0 +1,11 @@
1
+ #!/usr/bin/env bash
2
+ DIR="$(
3
+ cd "$(dirname "$0")"
4
+ pwd -P
5
+ )"
6
+ sourceImage=$(${DIR}/../support/sourceImage.sh)
7
+ pid=$$
8
+
9
+ cli='env docker run --rm -it';
10
+ cli+=" --name ${sourceImage}-${pid} ${sourceImage}";
11
+ bash -c "$cli";
@@ -1,5 +1,9 @@
1
1
  #!/bin/bash
2
2
 
3
+ ###
4
+ # Environment ${INSTALL_VERSION} pass from Dockerfile
5
+ ###
6
+
3
7
  INSTALL=""
4
8
 
5
9
  BUILD_DEPS=""
@@ -19,6 +23,8 @@ echo ""
19
23
 
20
24
  apk add --virtual .build-deps $BUILD_DEPS && apk add $INSTALL
21
25
 
26
+ #/* put your install code here */#
27
+
22
28
  apk del -f .build-deps && rm -rf /var/cache/apk/* || exit 1
23
29
 
24
30
  exit 0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "generator-reshow",
3
- "version": "0.17.3",
3
+ "version": "0.17.6",
4
4
  "description": "Yeoman generator for reshow. (app, generator, ...etc)",
5
5
  "author": "Hill <hill@kimo.com>",
6
6
  "repository": {