kintone-migrator 0.18.1 → 0.20.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.
- package/dist/index.mjs +15 -15
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1783,20 +1783,20 @@ function resolveSingleApp(config, appName) {
|
|
|
1783
1783
|
function buildAppFilePaths(appName, baseDir) {
|
|
1784
1784
|
const prefix = (path) => baseDir ? join(baseDir, path) : path;
|
|
1785
1785
|
return {
|
|
1786
|
-
schema: prefix(
|
|
1787
|
-
seed: prefix(
|
|
1788
|
-
customize: prefix(
|
|
1789
|
-
view: prefix(
|
|
1790
|
-
settings: prefix(
|
|
1791
|
-
notification: prefix(
|
|
1792
|
-
report: prefix(
|
|
1793
|
-
action: prefix(
|
|
1794
|
-
process: prefix(
|
|
1795
|
-
fieldAcl: prefix(
|
|
1796
|
-
appAcl: prefix(
|
|
1797
|
-
recordAcl: prefix(
|
|
1798
|
-
adminNotes: prefix(
|
|
1799
|
-
plugin: prefix(
|
|
1786
|
+
schema: prefix(`${appName}/schema.yaml`),
|
|
1787
|
+
seed: prefix(`${appName}/seed.yaml`),
|
|
1788
|
+
customize: prefix(`${appName}/customize.yaml`),
|
|
1789
|
+
view: prefix(`${appName}/view.yaml`),
|
|
1790
|
+
settings: prefix(`${appName}/settings.yaml`),
|
|
1791
|
+
notification: prefix(`${appName}/notification.yaml`),
|
|
1792
|
+
report: prefix(`${appName}/report.yaml`),
|
|
1793
|
+
action: prefix(`${appName}/action.yaml`),
|
|
1794
|
+
process: prefix(`${appName}/process.yaml`),
|
|
1795
|
+
fieldAcl: prefix(`${appName}/field-acl.yaml`),
|
|
1796
|
+
appAcl: prefix(`${appName}/app-acl.yaml`),
|
|
1797
|
+
recordAcl: prefix(`${appName}/record-acl.yaml`),
|
|
1798
|
+
adminNotes: prefix(`${appName}/admin-notes.yaml`),
|
|
1799
|
+
plugin: prefix(`${appName}/plugin.yaml`)
|
|
1800
1800
|
};
|
|
1801
1801
|
}
|
|
1802
1802
|
|
|
@@ -6205,7 +6205,7 @@ function sanitizeForFileSystem(name) {
|
|
|
6205
6205
|
return sanitized === "" ? "_" : sanitized;
|
|
6206
6206
|
}
|
|
6207
6207
|
function resolveAppName(app) {
|
|
6208
|
-
const raw = app.code !== "" ? app.code : `app-${app.appId}`;
|
|
6208
|
+
const raw = app.code !== "" ? app.code : app.name !== "" ? app.name : `app-${app.appId}`;
|
|
6209
6209
|
return AppName.create(sanitizeForFileSystem(raw));
|
|
6210
6210
|
}
|
|
6211
6211
|
|