@touk/federated-types 1.2.0 → 1.2.1-beta.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.
Files changed (2) hide show
  1. package/cli.js +2 -1
  2. package/package.json +1 -1
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",
4
+ "version": "1.2.1-beta.1",
5
5
  "author": "Julian Wielga <j@touk.pl>",
6
6
  "bin": {
7
7
  "make-federated-types": "./cli.js"