docs: function publish(fld, process = pkg => { }, packageManager = 'yarn') {
      return __awaiter(this, void 0, void 0, function* () {
          // Update the package.json
          let newPkg = yield processPackage_1.processPackage((pkg) => {
              // Process the contents
              process(pkg);
              delete pkg.devDependencies;
              // Save package.json
              fs.writeFileSync(fld + '/package.json', JSON.stringify(pkg, null, 4));
          }, true);
          // Delete the tests
          yield clean_1.clean(fld + '/*.spec.*');
          // Run the publish
          yield exec_1.exec(packageManager, [
              'publish',
              '--new-version',
              newPkg.version,
              'dist'
          ]);
          return Promise.resolve();
      });
  }