test-post-build 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/post-install.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "test-post-build",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "test post build",
5
5
  "bin": "post-install.js",
6
6
  "main": "main.js",
package/post-install.js CHANGED
@@ -31,7 +31,7 @@ function produceContent(json) {
31
31
  return [...array, ` ${key.toUpperCase()} = '${value}',`];
32
32
  }, ['export enum DeploymentConfigs {']), '}', '', 'declare const config: DeploymentConfigs;', 'export default config;', ''];
33
33
 
34
- writeFileSync('lib.d.ts', deployment_config_array.join('\n'), { encoding: 'utf-8' });
34
+ writeFileSync('main.d.ts', deployment_config_array.join('\n'), { encoding: 'utf-8' });
35
35
  writeFileSync('deployment.json', JSON.stringify(config, null, 2), { encoding: 'utf-8' });
36
36
  }
37
37