@shipengine/connect
Version:
The official developer tooling for building ShipEngine connect apps
11 lines • 435 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.updateAppId = void 0;
const fs_1 = require("fs");
const updateAppId = (packagePath = '.', id) => {
const pjson = JSON.parse((0, fs_1.readFileSync)(packagePath, 'utf-8'));
pjson.appId = id;
(0, fs_1.writeFileSync)(packagePath, JSON.stringify(pjson, null, 2));
};
exports.updateAppId = updateAppId;
//# sourceMappingURL=update-app-id.js.map