@form8ion/javascript 13.0.0-alpha.3 → 13.0.0-alpha.5
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/README.md +2 -2
- package/example.js +2 -2
- package/lib/index.js +5 -11
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +5 -11
- package/lib/index.mjs.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -78,9 +78,9 @@ const {
|
|
|
78
78
|
unitTestFrameworks: {},
|
|
79
79
|
applicationTypes: {},
|
|
80
80
|
packageTypes: {},
|
|
81
|
-
packageBundlers: {}
|
|
81
|
+
packageBundlers: {},
|
|
82
|
+
ciServices: {}
|
|
82
83
|
},
|
|
83
|
-
ciServices: {},
|
|
84
84
|
decisions: {
|
|
85
85
|
[questionNames.DIALECT]: dialects.BABEL,
|
|
86
86
|
[questionNames.NODE_VERSION_CATEGORY]: 'LTS',
|
package/example.js
CHANGED
|
@@ -46,9 +46,9 @@ const {
|
|
|
46
46
|
unitTestFrameworks: {},
|
|
47
47
|
applicationTypes: {},
|
|
48
48
|
packageTypes: {},
|
|
49
|
-
packageBundlers: {}
|
|
49
|
+
packageBundlers: {},
|
|
50
|
+
ciServices: {}
|
|
50
51
|
},
|
|
51
|
-
ciServices: {},
|
|
52
52
|
decisions: {
|
|
53
53
|
[questionNames.DIALECT]: dialects.BABEL,
|
|
54
54
|
[questionNames.NODE_VERSION_CATEGORY]: 'LTS',
|
package/lib/index.js
CHANGED
|
@@ -1231,13 +1231,6 @@ function validate(options) {
|
|
|
1231
1231
|
remark: joi__default["default"].string()
|
|
1232
1232
|
}).default({})
|
|
1233
1233
|
})
|
|
1234
|
-
.keys({
|
|
1235
|
-
ciServices: joi__default["default"].object().pattern(/^/, joi__default["default"].object({
|
|
1236
|
-
scaffolder: joi__default["default"].func().arity(1).required(),
|
|
1237
|
-
public: joi__default["default"].boolean(),
|
|
1238
|
-
private: joi__default["default"].boolean()
|
|
1239
|
-
})).default({})
|
|
1240
|
-
})
|
|
1241
1234
|
.keys({
|
|
1242
1235
|
plugins: {
|
|
1243
1236
|
unitTestFrameworks: pluginsSchema,
|
|
@@ -1245,7 +1238,8 @@ function validate(options) {
|
|
|
1245
1238
|
applicationTypes: pluginsSchema,
|
|
1246
1239
|
packageTypes: pluginsSchema,
|
|
1247
1240
|
monorepoTypes: pluginsSchema,
|
|
1248
|
-
hosts: pluginsSchema
|
|
1241
|
+
hosts: pluginsSchema,
|
|
1242
|
+
ciServices: pluginsSchema
|
|
1249
1243
|
}
|
|
1250
1244
|
})
|
|
1251
1245
|
.keys({
|
|
@@ -1414,7 +1408,7 @@ async function prompt(
|
|
|
1414
1408
|
email: npmConf.get('init.author.email'),
|
|
1415
1409
|
url: npmConf.get('init.author.url')
|
|
1416
1410
|
}),
|
|
1417
|
-
...languageScaffolderPrompts.questions(({vcs, ciServices,
|
|
1411
|
+
...languageScaffolderPrompts.questions(({vcs, ciServices, pathWithinParent})),
|
|
1418
1412
|
{
|
|
1419
1413
|
name: questionNames$1.CONFIGURE_LINTING,
|
|
1420
1414
|
message: 'Will there be source code that should be linted?',
|
|
@@ -1680,7 +1674,6 @@ async function scaffolder (options) {
|
|
|
1680
1674
|
vcs,
|
|
1681
1675
|
description,
|
|
1682
1676
|
configs,
|
|
1683
|
-
ciServices,
|
|
1684
1677
|
decisions,
|
|
1685
1678
|
pathWithinParent,
|
|
1686
1679
|
registries,
|
|
@@ -1690,7 +1683,8 @@ async function scaffolder (options) {
|
|
|
1690
1683
|
monorepoTypes,
|
|
1691
1684
|
packageBundlers,
|
|
1692
1685
|
unitTestFrameworks,
|
|
1693
|
-
hosts
|
|
1686
|
+
hosts,
|
|
1687
|
+
ciServices
|
|
1694
1688
|
}
|
|
1695
1689
|
} = validate(options);
|
|
1696
1690
|
|