We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21fa774 commit 7afea1bCopy full SHA for 7afea1b
scripts/teamcity.js
@@ -1,6 +1,6 @@
1
// Extra tasks when building on TeamCity.
2
const zipFolder = require("zip-folder");
3
-const fs = require("fs");
+const fs = require("fs-extra");
4
const request = require("request");
5
const pkg = require('../package.json');
6
@@ -64,6 +64,11 @@ if (!fs.existsSync("npm-dist")){
64
}
65
66
// TODO: copy the stuff we want in the npm package into npm-dist
67
+// src and .npmignore and package.json
68
+fs.copySync("src", "npm-dist/src");
69
+fs.copySync(".npmignore", "npm-dist/.npmignore");
70
+fs.copySync("package.json", "npm-dist/package.json");
71
+
72
73
// Zip up the dist folder
74
const npmPkgFilename = "RedGate.HoneycombWebToolkit.Npm." + packageVersion + ".zip";
0 commit comments