generator-reshow 0.16.4 → 0.17.0
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.
- package/generators/app/__tests__/TestApp.js +1 -2
- package/generators/app/index.js +1 -2
- package/generators/compile-sh/__tests__/Test.js +1 -2
- package/generators/compile-sh/index.js +4 -4
- package/generators/docker/__tests__/Test.js +1 -2
- package/generators/docker/index.js +1 -2
- package/generators/generator/__tests__/TestGenerator.js +1 -2
- package/generators/generator/index.js +1 -2
- package/generators/generator/templates/Test.js +1 -2
- package/generators/generator/templates/index.js +1 -2
- package/generators/library/__tests__/Test.js +1 -2
- package/generators/library/index.js +1 -2
- package/generators/npm/__tests__/Test.js +1 -2
- package/generators/npm/index.js +1 -2
- package/generators/update-esm-export/__tests__/Test.js +1 -2
- package/generators/update-esm-export/index.js +1 -3
- package/package.json +3 -3
|
@@ -6,8 +6,7 @@
|
|
|
6
6
|
* https://github.com/yeoman/yeoman-test/blob/main/lib/run-context.js
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
const
|
|
10
|
-
const { YoTest, assert } = getYoUnit();
|
|
9
|
+
const { YoTest, assert } = require("yo-unit");
|
|
11
10
|
|
|
12
11
|
describe("generator-reshow:app", () => {
|
|
13
12
|
let runResult;
|
package/generators/app/index.js
CHANGED
|
@@ -6,8 +6,7 @@
|
|
|
6
6
|
* https://github.com/yeoman/yeoman-test/blob/main/lib/run-context.js
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
const
|
|
10
|
-
const { YoTest, assert } = getYoUnit();
|
|
9
|
+
const { YoTest, assert } = require("yo-unit");
|
|
11
10
|
|
|
12
11
|
describe("!! compile-sh !!", () => {
|
|
13
12
|
let runResult;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
const
|
|
2
|
-
const { YoGenerator, YoHelper, commonPrompt } = getYo();
|
|
1
|
+
const { YoGenerator, YoHelper, commonPrompt } = require("yo-reshow");
|
|
3
2
|
|
|
4
3
|
/**
|
|
5
4
|
* compile-sh Generator
|
|
6
5
|
*/
|
|
7
6
|
module.exports = class extends YoGenerator {
|
|
8
7
|
writing() {
|
|
9
|
-
const { cp } = YoHelper(this);
|
|
10
|
-
|
|
8
|
+
const { cp, getDotYo } = YoHelper(this);
|
|
9
|
+
const { webpackEnabled } = { ...this.options, ...getDotYo(this.options) };
|
|
10
|
+
cp("compile.sh", null, { webpackEnabled }, true);
|
|
11
11
|
}
|
|
12
12
|
};
|
|
@@ -6,8 +6,7 @@
|
|
|
6
6
|
* https://github.com/yeoman/yeoman-test/blob/main/lib/run-context.js
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
const
|
|
10
|
-
const { YoTest, assert } = getYoUnit();
|
|
9
|
+
const { YoTest, assert } = require("yo-unit");
|
|
11
10
|
|
|
12
11
|
describe("!! docker !!", () => {
|
|
13
12
|
let runResult;
|
|
@@ -6,8 +6,7 @@
|
|
|
6
6
|
* https://github.com/yeoman/yeoman-test/blob/main/lib/run-context.js
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
const
|
|
10
|
-
const { YoTest, assert } = getYoUnit();
|
|
9
|
+
const { YoTest, assert } = require("yo-unit");
|
|
11
10
|
|
|
12
11
|
describe("!! generator !!", () => {
|
|
13
12
|
let runResult;
|
|
@@ -6,8 +6,7 @@
|
|
|
6
6
|
* https://github.com/yeoman/yeoman-test/blob/main/lib/run-context.js
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
const
|
|
10
|
-
const { YoTest, assert } = getYoUnit();
|
|
9
|
+
const { YoTest, assert } = require("yo-unit");
|
|
11
10
|
|
|
12
11
|
describe("!! <%= mainName %> !!", () => {
|
|
13
12
|
let runResult;
|
|
@@ -6,8 +6,7 @@
|
|
|
6
6
|
* https://github.com/yeoman/yeoman-test/blob/main/lib/run-context.js
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
const
|
|
10
|
-
const { YoTest, assert } = getYoUnit();
|
|
9
|
+
const { YoTest, assert } = require("yo-unit");
|
|
11
10
|
|
|
12
11
|
describe("!! library !!", () => {
|
|
13
12
|
let runResult;
|
|
@@ -6,8 +6,7 @@
|
|
|
6
6
|
* https://github.com/yeoman/yeoman-test/blob/main/lib/run-context.js
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
const
|
|
10
|
-
const { YoTest, assert } = getYoUnit();
|
|
9
|
+
const { YoTest, assert } = require("yo-unit");
|
|
11
10
|
|
|
12
11
|
describe("!! npm !!", () => {
|
|
13
12
|
let runResult;
|
package/generators/npm/index.js
CHANGED
|
@@ -6,8 +6,7 @@
|
|
|
6
6
|
* https://github.com/yeoman/yeoman-test/blob/main/lib/run-context.js
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
const
|
|
10
|
-
const { YoTest, assert } = getYoUnit();
|
|
9
|
+
const { YoTest, assert } = require("yo-unit");
|
|
11
10
|
|
|
12
11
|
describe("!! update-esm-export !!", () => {
|
|
13
12
|
let runResult;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "generator-reshow",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.17.0",
|
|
4
4
|
"description": "Yeoman generator for reshow. (app, generator, ...etc)",
|
|
5
5
|
"author": "Hill <hill@kimo.com>",
|
|
6
6
|
"repository": {
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
"license": "ISC",
|
|
15
15
|
"main": "",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"yo-reshow": "
|
|
17
|
+
"yo-reshow": "*"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"yo-unit": "
|
|
20
|
+
"yo-unit": "*"
|
|
21
21
|
},
|
|
22
22
|
"files": [
|
|
23
23
|
"generators"
|