aberlaas-init 2.13.0 → 2.14.1
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/lib/helper.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import path from 'path';
|
|
1
|
+
import path from 'node:path';
|
|
2
2
|
import Gilmore from 'gilmore';
|
|
3
3
|
import {
|
|
4
4
|
absolute,
|
|
5
5
|
copy,
|
|
6
6
|
env,
|
|
7
|
-
|
|
7
|
+
firostError,
|
|
8
8
|
glob,
|
|
9
9
|
isFile,
|
|
10
10
|
move,
|
|
@@ -128,7 +128,7 @@ export default {
|
|
|
128
128
|
const templateFolder = absolute('../templates/scripts/', layoutPrefixPath);
|
|
129
129
|
const templateScripts = await glob('**/*', {
|
|
130
130
|
directories: false,
|
|
131
|
-
|
|
131
|
+
cwd: templateFolder,
|
|
132
132
|
absolutePaths: false,
|
|
133
133
|
});
|
|
134
134
|
|
package/lib/layouts/libdocs.js
CHANGED
|
@@ -17,15 +17,18 @@ export default {
|
|
|
17
17
|
async createRootWorkspace() {
|
|
18
18
|
const aberlaasVersion = this.__getAberlaasVersion();
|
|
19
19
|
const sharedProjectData = await this.getSharedProjectData();
|
|
20
|
+
const engines = {
|
|
21
|
+
node: `>=${nodeVersion}`,
|
|
22
|
+
};
|
|
20
23
|
|
|
21
24
|
const packageContent = {
|
|
25
|
+
// Name and version
|
|
26
|
+
name: `${sharedProjectData.name}-root`,
|
|
27
|
+
|
|
22
28
|
// Visibility
|
|
23
29
|
private: true,
|
|
24
30
|
workspaces: ['docs', 'lib'],
|
|
25
31
|
|
|
26
|
-
// Name and version
|
|
27
|
-
name: `${sharedProjectData.name}-root`,
|
|
28
|
-
|
|
29
32
|
// Metadata
|
|
30
33
|
author: sharedProjectData.author,
|
|
31
34
|
description: `${sharedProjectData.name} root workspace`,
|
|
@@ -35,6 +38,7 @@ export default {
|
|
|
35
38
|
// Compatibility
|
|
36
39
|
type: 'module',
|
|
37
40
|
license: sharedProjectData.license,
|
|
41
|
+
engines,
|
|
38
42
|
packageManager: `yarn@${yarnVersion}`,
|
|
39
43
|
|
|
40
44
|
// Dependencies
|
|
@@ -76,13 +80,13 @@ export default {
|
|
|
76
80
|
const sharedProjectData = await this.getSharedProjectData();
|
|
77
81
|
|
|
78
82
|
const packageContent = {
|
|
79
|
-
// Visibility
|
|
80
|
-
private: true,
|
|
81
|
-
|
|
82
83
|
// Name & Version
|
|
83
84
|
name: `${sharedProjectData.name}-docs`,
|
|
84
85
|
version: '0.0.1',
|
|
85
86
|
|
|
87
|
+
// Visibility
|
|
88
|
+
private: true,
|
|
89
|
+
|
|
86
90
|
// Metadata
|
|
87
91
|
author: sharedProjectData.author,
|
|
88
92
|
description: `${sharedProjectData.name} docs`,
|
|
@@ -116,13 +120,13 @@ export default {
|
|
|
116
120
|
};
|
|
117
121
|
|
|
118
122
|
const packageContent = {
|
|
119
|
-
// Visibility
|
|
120
|
-
private: false,
|
|
121
|
-
|
|
122
123
|
// Name and version
|
|
123
124
|
name: sharedProjectData.name,
|
|
124
125
|
version: '0.0.1',
|
|
125
126
|
|
|
127
|
+
// Visibility
|
|
128
|
+
private: false,
|
|
129
|
+
|
|
126
130
|
// Metadata
|
|
127
131
|
author: sharedProjectData.author,
|
|
128
132
|
description: '',
|
package/lib/layouts/monorepo.js
CHANGED
|
@@ -19,15 +19,18 @@ export default {
|
|
|
19
19
|
async createRootWorkspace() {
|
|
20
20
|
const aberlaasVersion = this.__getAberlaasVersion();
|
|
21
21
|
const sharedProjectData = await this.getSharedProjectData();
|
|
22
|
+
const engines = {
|
|
23
|
+
node: `>=${nodeVersion}`,
|
|
24
|
+
};
|
|
22
25
|
|
|
23
26
|
const packageContent = {
|
|
27
|
+
// Name and version
|
|
28
|
+
name: `${sharedProjectData.name}-monorepo`,
|
|
29
|
+
|
|
24
30
|
// Visibility
|
|
25
31
|
private: true,
|
|
26
32
|
workspaces: ['modules/*'],
|
|
27
33
|
|
|
28
|
-
// Name and version
|
|
29
|
-
name: `${sharedProjectData.name}-monorepo`,
|
|
30
|
-
|
|
31
34
|
// Metadata
|
|
32
35
|
author: sharedProjectData.author,
|
|
33
36
|
description: `${sharedProjectData.name} monorepo`,
|
|
@@ -37,6 +40,7 @@ export default {
|
|
|
37
40
|
// Compatibility
|
|
38
41
|
type: 'module',
|
|
39
42
|
license: sharedProjectData.license,
|
|
43
|
+
engines,
|
|
40
44
|
packageManager: `yarn@${yarnVersion}`,
|
|
41
45
|
|
|
42
46
|
// Dependencies
|
|
@@ -78,13 +82,13 @@ export default {
|
|
|
78
82
|
const sharedProjectData = await this.getSharedProjectData();
|
|
79
83
|
|
|
80
84
|
const packageContent = {
|
|
81
|
-
// Visibility
|
|
82
|
-
private: true,
|
|
83
|
-
|
|
84
85
|
// Name & Version
|
|
85
86
|
name: `${sharedProjectData.name}-docs`,
|
|
86
87
|
version: '0.0.1',
|
|
87
88
|
|
|
89
|
+
// Visibility
|
|
90
|
+
private: true,
|
|
91
|
+
|
|
88
92
|
// Metadata
|
|
89
93
|
author: sharedProjectData.author,
|
|
90
94
|
description: `${sharedProjectData.name} docs`,
|
|
@@ -123,13 +127,13 @@ export default {
|
|
|
123
127
|
};
|
|
124
128
|
|
|
125
129
|
const packageContent = {
|
|
126
|
-
// Visibility
|
|
127
|
-
private: false,
|
|
128
|
-
|
|
129
130
|
// Name and version
|
|
130
131
|
name: sharedProjectData.name,
|
|
131
132
|
version: '0.0.1',
|
|
132
133
|
|
|
134
|
+
// Visibility
|
|
135
|
+
private: false,
|
|
136
|
+
|
|
133
137
|
// Metadata
|
|
134
138
|
author: sharedProjectData.author,
|
|
135
139
|
description: '',
|
package/lib/main.js
CHANGED
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "aberlaas-init",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"description": "aberlaas init command: Setup the repository with all needed config",
|
|
5
|
-
"version": "2.
|
|
5
|
+
"version": "2.14.1",
|
|
6
6
|
"repository": "pixelastic/aberlaas",
|
|
7
7
|
"homepage": "https://projects.pixelastic.com/aberlaas/",
|
|
8
8
|
"author": "Tim Carry (@pixelastic)",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"serve": "../../scripts/local/serve",
|
|
27
27
|
"ci": "../../scripts/local/ci",
|
|
28
28
|
"release": "../../scripts/local/release",
|
|
29
|
-
"update": "node ../../scripts/meta/update.js",
|
|
29
|
+
"update-dependencies": "node ../../scripts/meta/update-dependencies.js",
|
|
30
30
|
"test:meta": "../../scripts/local/test-meta",
|
|
31
31
|
"test": "../../scripts/local/test",
|
|
32
32
|
"test:watch": "../../scripts/local/test-watch",
|
|
@@ -35,10 +35,11 @@
|
|
|
35
35
|
"lint:fix": "../../scripts/local/lint-fix"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"aberlaas-helper": "^2.
|
|
39
|
-
"aberlaas-versions": "^2.
|
|
40
|
-
"firost": "
|
|
41
|
-
"gilmore": "1.0.0"
|
|
38
|
+
"aberlaas-helper": "^2.14.1",
|
|
39
|
+
"aberlaas-versions": "^2.14.0",
|
|
40
|
+
"firost": "5.1.0",
|
|
41
|
+
"gilmore": "1.0.0",
|
|
42
|
+
"golgoth": "3.0.0"
|
|
42
43
|
},
|
|
43
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "9d3129416837258f78a26173327ec33c3b3d2b8f"
|
|
44
45
|
}
|