content-grade 1.0.42 → 1.0.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/content-grade.js +3 -2
- package/package.json +1 -1
package/bin/content-grade.js
CHANGED
|
@@ -1074,6 +1074,7 @@ async function cmdActivate() {
|
|
|
1074
1074
|
const productKeyToTier = {
|
|
1075
1075
|
contentgrade_starter: 'starter',
|
|
1076
1076
|
contentgrade_pro: 'pro',
|
|
1077
|
+
contentgrade_business: 'business',
|
|
1077
1078
|
contentgrade_team: 'team',
|
|
1078
1079
|
};
|
|
1079
1080
|
activatedTier = productKeyToTier[data.productKey] || 'pro';
|
|
@@ -1090,6 +1091,7 @@ async function cmdActivate() {
|
|
|
1090
1091
|
blank();
|
|
1091
1092
|
process.exit(1);
|
|
1092
1093
|
}
|
|
1094
|
+
process.stdout.write(' done\n');
|
|
1093
1095
|
} catch {
|
|
1094
1096
|
// Server unreachable — allow offline activation with a warning
|
|
1095
1097
|
process.stdout.write('\n');
|
|
@@ -1098,8 +1100,6 @@ async function cmdActivate() {
|
|
|
1098
1100
|
validated = true;
|
|
1099
1101
|
}
|
|
1100
1102
|
|
|
1101
|
-
process.stdout.write(' done\n');
|
|
1102
|
-
|
|
1103
1103
|
const config = loadConfig();
|
|
1104
1104
|
config.licenseKey = key;
|
|
1105
1105
|
config.tier = activatedTier;
|
|
@@ -2199,6 +2199,7 @@ ping(cmd || 'none');
|
|
|
2199
2199
|
const productKeyToTier = {
|
|
2200
2200
|
contentgrade_starter: 'starter',
|
|
2201
2201
|
contentgrade_pro: 'pro',
|
|
2202
|
+
contentgrade_business: 'business',
|
|
2202
2203
|
contentgrade_team: 'team',
|
|
2203
2204
|
};
|
|
2204
2205
|
updated.tier = productKeyToTier[data.productKey] || 'pro';
|
package/package.json
CHANGED