@touk/federated-types 1.3.0-beta.2 → 1.3.0-beta.4

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 +6 -0
  2. package/package.json +5 -2
package/cli.js CHANGED
@@ -162,12 +162,18 @@ try {
162
162
  fs.unlinkSync(outFile);
163
163
  }
164
164
 
165
+ const tsBuildInfoFile = path.resolve(process.cwd(), 'node_modules', '.cache', 'federated-types', `${federationConfig.name}.tsbuildinfo`);
166
+ fs.mkdirSync(path.dirname(tsBuildInfoFile), { recursive: true });
167
+
165
168
  // write the typings file
166
169
  const program = ts.createProgram(compileFiles, {
167
170
  outFile,
168
171
  declaration: true,
169
172
  emitDeclarationOnly: true,
170
173
  skipLibCheck: true,
174
+ noCheck: true,
175
+ incremental: true,
176
+ tsBuildInfoFile,
171
177
  jsx: ts.JsxEmit.React,
172
178
  esModuleInterop: true,
173
179
  });
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.3.0-beta.2",
4
+ "version": "1.3.0-beta.4",
5
5
  "author": "Julian Wielga <j@touk.pl>",
6
6
  "bin": {
7
7
  "make-federated-types": "./cli.js"
@@ -38,7 +38,10 @@
38
38
  "peerDependencies": {
39
39
  "typescript": ">4.0.0"
40
40
  },
41
- "repository": "touk/federated-types.git",
41
+ "repository": {
42
+ "type": "git",
43
+ "url": "git+https://github.com/TouK/federated-types.git"
44
+ },
42
45
  "scripts": {
43
46
  "semantic-release": "semantic-release",
44
47
  "test": "npm run make-types -workspaces --if-present"