diff --git a/lib/actions/config.coffee b/lib/actions/config.coffee index 8626af20..0932ae9c 100644 --- a/lib/actions/config.coffee +++ b/lib/actions/config.coffee @@ -285,7 +285,6 @@ exports.generate = writeFileAsync = Promise.promisify(require('fs').writeFile) balena = require('balena-sdk').fromSharedOptions() form = require('resin-cli-form') - deviceConfig = require('resin-device-config') prettyjson = require('prettyjson') { generateDeviceConfig, generateApplicationConfig } = require('../utils/config') @@ -319,7 +318,6 @@ exports.generate = else generateApplicationConfig(resource, answers) .then (config) -> - deviceConfig.validate(config) if options.output? return writeFileAsync(options.output, JSON.stringify(config)) diff --git a/lib/utils/config.ts b/lib/utils/config.ts index 2f1aac05..a24eea61 100644 --- a/lib/utils/config.ts +++ b/lib/utils/config.ts @@ -32,8 +32,6 @@ type ImgConfig = { vpnEndpoint: string; registryEndpoint: string; deltaEndpoint: string; - pubnubSubscribeKey: string; - pubnubPublishKey: string; mixpanelToken: string; wifiSsid?: string; wifiKey?: string; diff --git a/package.json b/package.json index 8bf7202b..e6aa864a 100644 --- a/package.json +++ b/package.json @@ -155,7 +155,6 @@ "resin-cli-form": "^2.0.0", "resin-cli-visuals": "^1.4.0", "resin-compose-parse": "^2.0.0", - "resin-device-config": "^5.0.0", "resin-device-init": "^4.0.0", "resin-doodles": "0.0.1", "resin-image-fs": "^5.0.2", diff --git a/typings/resin-device-config.d.ts b/typings/resin-device-config.d.ts deleted file mode 100644 index ea7a11cb..00000000 --- a/typings/resin-device-config.d.ts +++ /dev/null @@ -1 +0,0 @@ -declare module 'resin-device-config';