kintone-migrator 0.7.0 → 0.8.0

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.
Files changed (2) hide show
  1. package/dist/index.mjs +1 -3
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -202,8 +202,7 @@ const ProjectConfigErrorCode = {
202
202
  UnknownDependency: "UNKNOWN_DEPENDENCY",
203
203
  EmptyApps: "EMPTY_APPS",
204
204
  EmptyAppId: "EMPTY_APP_ID",
205
- EmptyAppName: "EMPTY_APP_NAME",
206
- MissingAuth: "MISSING_AUTH"
205
+ EmptyAppName: "EMPTY_APP_NAME"
207
206
  };
208
207
 
209
208
  //#endregion
@@ -1175,7 +1174,6 @@ function parseProjectConfig(raw) {
1175
1174
  if (!appId || appId.trim().length === 0) throw new BusinessRuleError(ProjectConfigErrorCode.EmptyAppId, `App "${name}" must have a non-empty appId`);
1176
1175
  const appAuth = parseAuth(isRecord(rawAppValue.auth) ? rawAppValue.auth : void 0);
1177
1176
  const appDomain = asOptionalString(rawAppValue.domain);
1178
- if (!(appAuth ?? topLevelAuth)) throw new BusinessRuleError(ProjectConfigErrorCode.MissingAuth, `App "${name}" has no auth configured (set at top-level or per-app)`);
1179
1177
  const appName = AppName.create(name);
1180
1178
  const dependsOn = (asOptionalStringArray(rawAppValue.dependsOn) ?? []).map(AppName.create);
1181
1179
  apps.set(appName, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kintone-migrator",
3
- "version": "0.7.0",
3
+ "version": "0.8.0",
4
4
  "description": "kintone form schema migration tool",
5
5
  "license": "MIT",
6
6
  "author": "Hikaru Otabe",