@technicity/data-service-generator 0.7.6 → 0.7.7

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.
@@ -116,7 +116,7 @@ async function generate(input) {
116
116
  const sdkOutputPath = path.join(outdir, "sdk-ts");
117
117
  const nccVersion = "^0.33.0";
118
118
  child_process.execSync("npm i", { cwd: tmpDirPath, stdio: "inherit" });
119
- child_process.execSync(`npx -p @vercel/ncc@${nccVersion} ncc build ./${sdkFilename} -o ${tmpBuildOutputPath} -e ./artifacts`, { cwd: tmpDirPath, stdio: "inherit" });
119
+ child_process.execSync(`npm_config_yes=true npx -p @vercel/ncc@${nccVersion} ncc build ./${sdkFilename} -o ${tmpBuildOutputPath} -e ./artifacts`, { cwd: tmpDirPath, stdio: "inherit" });
120
120
  // TODO: workaround for artifacts.js not being output by ncc
121
121
  fs.writeFileSync(path.join(tmpBuildOutputPath, "artifacts.js"), artifactsSource
122
122
  .replace("export const artifacts: IArtifacts = ", "module.exports.artifacts = ")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@technicity/data-service-generator",
3
- "version": "0.7.6",
3
+ "version": "0.7.7",
4
4
  "main": "./dist/index.js",
5
5
  "files": [
6
6
  "dist"