@platformatic/metaconfig
Advanced tools
Comparing version 0.20.0 to 0.20.1
{ | ||
"name": "@platformatic/metaconfig", | ||
"version": "0.20.0", | ||
"version": "0.20.1", | ||
"main": "metaconfig.js", | ||
@@ -5,0 +5,0 @@ "description": "Manage mulitple configuration versions at the same time", |
'use strict' | ||
const rfdc = require('rfdc')() | ||
class ZeroNineteen { | ||
@@ -16,4 +18,14 @@ constructor ({ config, path, format, version }) { | ||
} | ||
up () { | ||
const original = this.config | ||
const config = rfdc(original) | ||
config.$schema = `https://platformatic.dev/schemas/v0.20.0/${this.kind}` | ||
const NewClass = require('./0.20.x.js') | ||
return new NewClass({ config, path: this.path, format: this.format }) | ||
} | ||
} | ||
module.exports = ZeroNineteen |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
61994
33
1701
9