@touk/federated-types 1.2.0-beta.1 → 1.2.0-beta.2
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/cli.js +2 -1
- package/package.json +11 -8
package/cli.js
CHANGED
|
@@ -140,8 +140,9 @@ try {
|
|
|
140
140
|
|
|
141
141
|
outputDirs.forEach(_outputDir => {
|
|
142
142
|
const _outFile = path.resolve(_outputDir, `${federationConfig.name}.d.ts`);
|
|
143
|
-
console.log('writing typing file:', _outFile);
|
|
144
143
|
|
|
144
|
+
console.log('writing typing file:', _outFile);
|
|
145
|
+
fs.mkdirSync(path.dirname(_outFile), { recursive: true });
|
|
145
146
|
fs.writeFileSync(_outFile, typing);
|
|
146
147
|
|
|
147
148
|
console.debug(`using output dir: ${_outputDir}`);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@touk/federated-types",
|
|
3
3
|
"description": "share typings for your federated typescript packages around your mono-repo",
|
|
4
|
-
"version": "1.2.0-beta.
|
|
4
|
+
"version": "1.2.0-beta.2",
|
|
5
5
|
"author": "Julian Wielga <j@touk.pl>",
|
|
6
6
|
"bin": {
|
|
7
7
|
"make-federated-types": "./cli.js"
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
"find-node-modules": "2.1.3"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
|
-
"@commitlint/cli": "
|
|
16
|
+
"@commitlint/cli": "17.1.2",
|
|
17
17
|
"@commitlint/config-conventional": "13.2.0",
|
|
18
|
-
"@semantic-release/changelog": "
|
|
19
|
-
"@semantic-release/git": "
|
|
20
|
-
"husky": "
|
|
18
|
+
"@semantic-release/changelog": "6.0.1",
|
|
19
|
+
"@semantic-release/git": "10.0.1",
|
|
20
|
+
"husky": "8.0.1",
|
|
21
21
|
"prettier": "2.7.1",
|
|
22
|
-
"semantic-release": "
|
|
22
|
+
"semantic-release": "19.0.5"
|
|
23
23
|
},
|
|
24
24
|
"files": [
|
|
25
25
|
"cli.js",
|
|
@@ -39,6 +39,9 @@
|
|
|
39
39
|
"repository": "touk/federated-types.git",
|
|
40
40
|
"scripts": {
|
|
41
41
|
"semantic-release": "semantic-release",
|
|
42
|
-
"test": "
|
|
43
|
-
}
|
|
42
|
+
"test": "npm run make-types -workspaces --if-present"
|
|
43
|
+
},
|
|
44
|
+
"workspaces": [
|
|
45
|
+
"./packages/*"
|
|
46
|
+
]
|
|
44
47
|
}
|