@tama-create/sf-tools 1.4.0-dev.2 → 1.4.0-dev.4

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 (47) hide show
  1. package/config/changeset-types.txt +350 -0
  2. package/config/install/gitmessage +6 -0
  3. package/config/install/release/README.md +26 -0
  4. package/config/install/release/deploy-target.txt +368 -0
  5. package/config/install/release/remove-target.txt +279 -0
  6. package/config/metadata-capability.txt +118 -0
  7. package/config/metadata-dirs.txt +79 -0
  8. package/config/metasync-detect.txt +52 -0
  9. package/config/metasync-extra.txt +30 -0
  10. package/config/metasync-fingerprint.txt +90 -0
  11. package/dist/commands/project.js +1 -1
  12. package/dist/core/create-setup.js +10 -0
  13. package/dist/io/create-deps.js +1 -0
  14. package/lib/apexlog.js +819 -0
  15. package/lib/metasync.js +1364 -0
  16. package/lib/package.json +4 -0
  17. package/lib/typecheck.js +547 -0
  18. package/package.json +9 -2
  19. package/templates/.forceignore +12 -0
  20. package/templates/.gitattributes +58 -0
  21. package/templates/.github/workflows/wf-metasync.yml +177 -0
  22. package/templates/.github/workflows/wf-release.yml +454 -0
  23. package/templates/.github/workflows/wf-sequence.yml +292 -0
  24. package/templates/.github/workflows/wf-validate.yml +389 -0
  25. package/templates/.prettierignore +11 -0
  26. package/templates/.prettierrc +17 -0
  27. package/templates/.vscode/extensions.json +9 -0
  28. package/templates/.vscode/launch.json +16 -0
  29. package/templates/.vscode/settings.json +39 -0
  30. package/templates/AGENTS.md +3 -0
  31. package/templates/CLAUDE.md +4 -0
  32. package/templates/README.md +11 -0
  33. package/templates/config/project-scratch-def.json +13 -0
  34. package/templates/eslint.config.js +55 -0
  35. package/templates/force-app/main/default/.gitkeep +0 -0
  36. package/templates/gitignore.template +61 -0
  37. package/templates/jest.config.js +6 -0
  38. package/templates/package.json +29 -0
  39. package/templates/scripts/apex/hello.apex +10 -0
  40. package/templates/scripts/soql/account.soql +6 -0
  41. package/templates/sf-tools/config/branches.txt +24 -0
  42. package/templates/sf-tools/config/metadata.txt +576 -0
  43. package/templates/sfdx-project.json +12 -0
  44. package/templates-ts/.github/workflows/wf-metasync.yml +109 -0
  45. package/templates-ts/.github/workflows/wf-release.yml +263 -0
  46. package/templates-ts/.github/workflows/wf-sequence.yml +150 -0
  47. package/templates-ts/.github/workflows/wf-validate.yml +184 -0
@@ -0,0 +1,368 @@
1
+ # ==============================================================================
2
+ # デプロイ対象リスト (deploy-target.txt)
3
+ # ==============================================================================
4
+ #
5
+ # 【記述方法】
6
+ # [files] セクション: ファイルパスで指定するコンポーネント(通常はこちら)
7
+ # [members] セクション: メンバー名で指定するコンポーネント(特殊ケース)
8
+ #
9
+ # - 行頭が # の行はコメントとして無視されます
10
+ # - 空行は無視されます
11
+ # - [files] は プロジェクトのルートからの相対パスで記述します(force-app/main/default/ から始まる形)
12
+ # (VS Code で右クリック →「相対パスのコピー」が便利です)
13
+ # - [members] は「メタデータ種別名:メンバー名」の形式で記述します
14
+ # ※ 1ファイルに複数メンバーが集約されているコンポーネントを部分指定する場合に使用
15
+ #
16
+ # ==============================================================================
17
+
18
+ [files]
19
+
20
+ # ------------------------------------------------------------------------------
21
+ # Apex クラス
22
+ # ------------------------------------------------------------------------------
23
+ # .cls ファイルを指定します。-meta.xml は自動的に含まれるため指定不要です。
24
+ #
25
+ # force-app/main/default/classes/MyClass.cls
26
+
27
+ # ------------------------------------------------------------------------------
28
+ # Apex トリガー
29
+ # ------------------------------------------------------------------------------
30
+ # force-app/main/default/triggers/MyTrigger.trigger
31
+
32
+ # ------------------------------------------------------------------------------
33
+ # Visualforce ページ
34
+ # ------------------------------------------------------------------------------
35
+ # force-app/main/default/pages/MyPage.page
36
+
37
+ # ------------------------------------------------------------------------------
38
+ # Visualforce コンポーネント
39
+ # ------------------------------------------------------------------------------
40
+ # force-app/main/default/components/MyComponent.component
41
+
42
+ # ------------------------------------------------------------------------------
43
+ # LWC(Lightning Web Component)
44
+ # ------------------------------------------------------------------------------
45
+ # コンポーネントのディレクトリを指定します(ファイルではなくフォルダ)。
46
+ # フォルダ内の .html / .js / .css / .js-meta.xml がすべて含まれます。
47
+ #
48
+ # force-app/main/default/lwc/myComponent
49
+
50
+ # ------------------------------------------------------------------------------
51
+ # Aura コンポーネント
52
+ # ------------------------------------------------------------------------------
53
+ # コンポーネントのディレクトリを指定します(ファイルではなくフォルダ)。
54
+ #
55
+ # force-app/main/default/aura/myAuraComponent
56
+
57
+ # ------------------------------------------------------------------------------
58
+ # Lightning メッセージチャネル
59
+ # ------------------------------------------------------------------------------
60
+ # force-app/main/default/messageChannels/MyChannel.messageChannel-meta.xml
61
+
62
+ # ------------------------------------------------------------------------------
63
+ # カスタムオブジェクト(オブジェクト全体)
64
+ # ------------------------------------------------------------------------------
65
+ # オブジェクトのディレクトリを指定します。
66
+ # 項目・リレーション・検証ルール・レコードタイプ等すべてが含まれます。
67
+ # ※ 標準オブジェクトへの拡張(カスタム項目追加など)も同様です。
68
+ #
69
+ # force-app/main/default/objects/MyObject__c
70
+ # force-app/main/default/objects/Account
71
+
72
+ # ------------------------------------------------------------------------------
73
+ # カスタム項目(フィールド単位)
74
+ # ------------------------------------------------------------------------------
75
+ # force-app/main/default/objects/MyObject__c/fields/MyField__c.field-meta.xml
76
+ # force-app/main/default/objects/Account/fields/MyField__c.field-meta.xml
77
+
78
+ # ------------------------------------------------------------------------------
79
+ # 入力規則(Validation Rule)
80
+ # ------------------------------------------------------------------------------
81
+ # force-app/main/default/objects/MyObject__c/validationRules/MyRule.validationRule-meta.xml
82
+
83
+ # ------------------------------------------------------------------------------
84
+ # レコードタイプ(Record Type)
85
+ # ------------------------------------------------------------------------------
86
+ # force-app/main/default/objects/MyObject__c/recordTypes/MyRecordType.recordType-meta.xml
87
+
88
+ # ------------------------------------------------------------------------------
89
+ # ビジネスプロセス(Business Process)
90
+ # ------------------------------------------------------------------------------
91
+ # force-app/main/default/objects/MyObject__c/businessProcesses/MyProcess.businessProcess-meta.xml
92
+
93
+ # ------------------------------------------------------------------------------
94
+ # コンパクトレイアウト(Compact Layout)
95
+ # ------------------------------------------------------------------------------
96
+ # force-app/main/default/objects/MyObject__c/compactLayouts/MyLayout.compactLayout-meta.xml
97
+
98
+ # ------------------------------------------------------------------------------
99
+ # 項目セット(Field Set)
100
+ # ------------------------------------------------------------------------------
101
+ # force-app/main/default/objects/MyObject__c/fieldSets/MyFieldSet.fieldSet-meta.xml
102
+
103
+ # ------------------------------------------------------------------------------
104
+ # リストビュー(List View)
105
+ # ------------------------------------------------------------------------------
106
+ # force-app/main/default/objects/MyObject__c/listViews/MyView.listView-meta.xml
107
+
108
+ # ------------------------------------------------------------------------------
109
+ # ボタン・リンク(Web Link)
110
+ # ------------------------------------------------------------------------------
111
+ # force-app/main/default/objects/MyObject__c/webLinks/MyButton.webLink-meta.xml
112
+
113
+ # ------------------------------------------------------------------------------
114
+ # ページレイアウト(Layout)
115
+ # ------------------------------------------------------------------------------
116
+ # ファイル名の形式: オブジェクト名-レイアウト名.layout-meta.xml
117
+ #
118
+ # force-app/main/default/layouts/Account-My_Layout.layout-meta.xml
119
+ # force-app/main/default/layouts/MyObject__c-My_Layout.layout-meta.xml
120
+
121
+ # ------------------------------------------------------------------------------
122
+ # Lightning ページ(FlexiPage)
123
+ # ------------------------------------------------------------------------------
124
+ # アプリページ・レコードページ・ホームページ・ユーティリティバーが対象です。
125
+ #
126
+ # force-app/main/default/flexipages/MyPage.flexipage-meta.xml
127
+
128
+ # ------------------------------------------------------------------------------
129
+ # 権限セット(Permission Set)
130
+ # ------------------------------------------------------------------------------
131
+ # force-app/main/default/permissionsets/MyPermissionSet.permissionset-meta.xml
132
+
133
+ # ------------------------------------------------------------------------------
134
+ # 権限セットグループ(Permission Set Group)
135
+ # ------------------------------------------------------------------------------
136
+ # force-app/main/default/permissionsetgroups/MyGroup.permissionsetgroup-meta.xml
137
+
138
+ # ------------------------------------------------------------------------------
139
+ # ロール(Role)
140
+ # ------------------------------------------------------------------------------
141
+ # force-app/main/default/roles/MyRole.role-meta.xml
142
+
143
+ # ------------------------------------------------------------------------------
144
+ # 公開グループ・キュー(Group / Queue)
145
+ # ------------------------------------------------------------------------------
146
+ # force-app/main/default/groups/MyGroup.group-meta.xml
147
+
148
+ # ------------------------------------------------------------------------------
149
+ # 共有ルール(Sharing Rules)
150
+ # ------------------------------------------------------------------------------
151
+ # ※ オブジェクト単位で1ファイルに全ルールが集約されます。
152
+ # ファイル指定では対象オブジェクトの全共有ルールがデプロイされます。
153
+ #
154
+ # force-app/main/default/sharingRules/MyObject__c.sharingRules-meta.xml
155
+
156
+ # ------------------------------------------------------------------------------
157
+ # フロー(Flow)
158
+ # ------------------------------------------------------------------------------
159
+ # force-app/main/default/flows/MyFlow.flow-meta.xml
160
+
161
+ # ------------------------------------------------------------------------------
162
+ # 承認プロセス(Approval Process)
163
+ # ------------------------------------------------------------------------------
164
+ # force-app/main/default/approvalProcesses/MyObject__c.MyProcess.approvalProcess-meta.xml
165
+
166
+ # ------------------------------------------------------------------------------
167
+ # ワークフロールール(Workflow Rule)※ 旧機能、フローへの移行推奨
168
+ # ------------------------------------------------------------------------------
169
+ # ※ オブジェクト単位で1ファイルに全ルールが集約されます。
170
+ #
171
+ # force-app/main/default/workflows/MyObject__c.workflow-meta.xml
172
+
173
+ # ------------------------------------------------------------------------------
174
+ # 割り当てルール(Assignment Rule)
175
+ # ------------------------------------------------------------------------------
176
+ # force-app/main/default/assignmentRules/Case.assignmentRules-meta.xml
177
+ # force-app/main/default/assignmentRules/Lead.assignmentRules-meta.xml
178
+
179
+ # ------------------------------------------------------------------------------
180
+ # エスカレーションルール(Escalation Rule)
181
+ # ------------------------------------------------------------------------------
182
+ # force-app/main/default/escalationRules/Case.escalationRules-meta.xml
183
+
184
+ # ------------------------------------------------------------------------------
185
+ # 自動返信ルール(Auto Response Rule)
186
+ # ------------------------------------------------------------------------------
187
+ # force-app/main/default/autoResponseRules/Case.autoResponseRules-meta.xml
188
+ # force-app/main/default/autoResponseRules/Lead.autoResponseRules-meta.xml
189
+
190
+ # ------------------------------------------------------------------------------
191
+ # メールテンプレート(Email Template)
192
+ # ------------------------------------------------------------------------------
193
+ # force-app/main/default/email/MyFolder/MyTemplate.email-meta.xml
194
+
195
+ # ------------------------------------------------------------------------------
196
+ # メールサービス(Email Service)
197
+ # ------------------------------------------------------------------------------
198
+ # force-app/main/default/emailServices/MyEmailService.emailServices-meta.xml
199
+
200
+ # ------------------------------------------------------------------------------
201
+ # レポート(Report)
202
+ # ------------------------------------------------------------------------------
203
+ # force-app/main/default/reports/MyFolder/MyReport.report-meta.xml
204
+
205
+ # ------------------------------------------------------------------------------
206
+ # ダッシュボード(Dashboard)
207
+ # ------------------------------------------------------------------------------
208
+ # force-app/main/default/dashboards/MyFolder/MyDashboard.dashboard-meta.xml
209
+
210
+ # ------------------------------------------------------------------------------
211
+ # カスタムレポートタイプ(Report Type)
212
+ # ------------------------------------------------------------------------------
213
+ # force-app/main/default/reportTypes/MyReportType.reportType-meta.xml
214
+
215
+ # ------------------------------------------------------------------------------
216
+ # カスタムメタデータ型(Custom Metadata Type)
217
+ # ------------------------------------------------------------------------------
218
+ # 型定義とレコードを別々に指定できます。
219
+ #
220
+ # force-app/main/default/objects/MyMetadata__mdt # 型定義
221
+ # force-app/main/default/customMetadata/MyMetadata__mdt.MyRecord.md-meta.xml # レコード
222
+
223
+ # ------------------------------------------------------------------------------
224
+ # カスタム設定(Custom Setting)
225
+ # ------------------------------------------------------------------------------
226
+ # force-app/main/default/objects/MySetting__c
227
+
228
+ # ------------------------------------------------------------------------------
229
+ # カスタム権限(Custom Permission)
230
+ # ------------------------------------------------------------------------------
231
+ # force-app/main/default/customPermissions/MyPermission.customPermission-meta.xml
232
+
233
+ # ------------------------------------------------------------------------------
234
+ # カスタム通知タイプ(Custom Notification Type)
235
+ # ------------------------------------------------------------------------------
236
+ # force-app/main/default/notificationTypes/MyNotification.notiftype-meta.xml
237
+
238
+ # ------------------------------------------------------------------------------
239
+ # 静的リソース(Static Resource)
240
+ # ------------------------------------------------------------------------------
241
+ # ファイル本体と -meta.xml の両方を指定します。
242
+ #
243
+ # force-app/main/default/staticresources/myResource.js
244
+ # force-app/main/default/staticresources/myResource.resource-meta.xml
245
+
246
+ # ------------------------------------------------------------------------------
247
+ # ドキュメント(Document)
248
+ # ------------------------------------------------------------------------------
249
+ # force-app/main/default/documents/MyFolder/MyDocument.document-meta.xml
250
+
251
+ # ------------------------------------------------------------------------------
252
+ # Lightning アプリ(Custom Application)
253
+ # ------------------------------------------------------------------------------
254
+ # force-app/main/default/applications/MyApp.app-meta.xml
255
+
256
+ # ------------------------------------------------------------------------------
257
+ # カスタムタブ(Custom Tab)
258
+ # ------------------------------------------------------------------------------
259
+ # force-app/main/default/tabs/MyTab.tab-meta.xml
260
+
261
+ # ------------------------------------------------------------------------------
262
+ # アプリメニュー(App Menu)
263
+ # ------------------------------------------------------------------------------
264
+ # force-app/main/default/appMenus/AppSwitcher.appMenu-meta.xml
265
+
266
+ # ------------------------------------------------------------------------------
267
+ # グローバル値セット(Global Value Set / 共有選択リスト)
268
+ # ------------------------------------------------------------------------------
269
+ # force-app/main/default/globalValueSets/MyPicklist.globalValueSet-meta.xml
270
+
271
+ # ------------------------------------------------------------------------------
272
+ # 標準値セット(Standard Value Set)
273
+ # ------------------------------------------------------------------------------
274
+ # force-app/main/default/standardValueSets/LeadSource.standardValueSet-meta.xml
275
+
276
+ # ------------------------------------------------------------------------------
277
+ # 接続アプリ(Connected App)
278
+ # ------------------------------------------------------------------------------
279
+ # force-app/main/default/connectedApps/MyApp.connectedApp-meta.xml
280
+
281
+ # ------------------------------------------------------------------------------
282
+ # 名前付き認証情報(Named Credential)
283
+ # ------------------------------------------------------------------------------
284
+ # force-app/main/default/namedCredentials/MyCredential.namedCredential-meta.xml
285
+
286
+ # ------------------------------------------------------------------------------
287
+ # 外部データソース(External Data Source)
288
+ # ------------------------------------------------------------------------------
289
+ # force-app/main/default/dataSources/MyDataSource.dataSource-meta.xml
290
+
291
+ # ------------------------------------------------------------------------------
292
+ # リモートサイト設定(Remote Site Setting)
293
+ # ------------------------------------------------------------------------------
294
+ # force-app/main/default/remoteSiteSettings/MySite.remoteSite-meta.xml
295
+
296
+ # ------------------------------------------------------------------------------
297
+ # CSP 信頼済みサイト(CSP Trusted Site)
298
+ # ------------------------------------------------------------------------------
299
+ # force-app/main/default/cspTrustedSites/MySite.cspTrustedSite-meta.xml
300
+
301
+ # ------------------------------------------------------------------------------
302
+ # 証明書(Certificate)
303
+ # ------------------------------------------------------------------------------
304
+ # force-app/main/default/certs/MyCert.crt-meta.xml
305
+
306
+ # ------------------------------------------------------------------------------
307
+ # ビジネス時間(Business Hours)
308
+ # ------------------------------------------------------------------------------
309
+ # force-app/main/default/businessHoursSettings/BusinessHours.businessHoursSettings-meta.xml
310
+
311
+ # ------------------------------------------------------------------------------
312
+ # 休日(Holiday)
313
+ # ------------------------------------------------------------------------------
314
+ # force-app/main/default/holidays/MyHoliday.holiday-meta.xml
315
+
316
+ # ------------------------------------------------------------------------------
317
+ # マイルストンタイプ(Milestone Type)
318
+ # ------------------------------------------------------------------------------
319
+ # force-app/main/default/milestoneTypes/MyMilestone.milestoneType-meta.xml
320
+
321
+ # ------------------------------------------------------------------------------
322
+ # Experience Cloud サイト(ExperienceBundle)
323
+ # ------------------------------------------------------------------------------
324
+ # force-app/main/default/experiences/MySite.site-meta.xml
325
+
326
+ # ------------------------------------------------------------------------------
327
+ # ナビゲーションメニュー(Navigation Menu)
328
+ # ------------------------------------------------------------------------------
329
+ # force-app/main/default/navigationMenus/MyMenu.navigationMenu-meta.xml
330
+
331
+
332
+ [members]
333
+
334
+ # ==============================================================================
335
+ # 1ファイルに複数メンバーが集約されているコンポーネントを部分的にデプロイする場合に
336
+ # 使用します。書き方: メタデータ種別名:メンバー名
337
+ # ==============================================================================
338
+
339
+ # ------------------------------------------------------------------------------
340
+ # カスタムラベル(特定ラベルだけデプロイ)
341
+ # ------------------------------------------------------------------------------
342
+ # ※ 全ラベルが1ファイルに集約されています。
343
+ # ファイル全体をデプロイする場合は [files] セクションに記述してください。
344
+ #
345
+ # CustomLabel:MyLabel
346
+ # CustomLabel:ErrorMessage_Required
347
+
348
+ # ------------------------------------------------------------------------------
349
+ # プロファイル(特定プロファイルだけデプロイ)
350
+ # ------------------------------------------------------------------------------
351
+ # ※ 全権限が1ファイルに集約されています。
352
+ #
353
+ # Profile:Admin
354
+ # Profile:Standard
355
+
356
+ # ------------------------------------------------------------------------------
357
+ # 翻訳(Translations)
358
+ # ------------------------------------------------------------------------------
359
+ # ※ 全翻訳が言語単位で1ファイルに集約されています。
360
+ #
361
+ # Translations:ja
362
+
363
+ # ------------------------------------------------------------------------------
364
+ # 共有ルール(部分指定)
365
+ # ------------------------------------------------------------------------------
366
+ # SharingCriteriaRule:MyObject__c.MyRule
367
+ # SharingOwnerRule:MyObject__c.MyRule
368
+
@@ -0,0 +1,279 @@
1
+ # ==============================================================================
2
+ # 削除対象リスト (remove-target.txt)
3
+ # ==============================================================================
4
+ #
5
+ # 【記述方法】
6
+ # [files] セクション: ファイルパスで指定するコンポーネント(通常はこちら)
7
+ # [members] セクション: メンバー名で指定するコンポーネント(特殊ケース)
8
+ #
9
+ # - 行頭が # の行はコメントとして無視されます
10
+ # - 空行は無視されます
11
+ # - [files] は プロジェクトのルートからの相対パスで記述します(force-app/main/default/ から始まる形)
12
+ # - [members] は「メタデータ種別名:メンバー名」の形式で記述します
13
+ #
14
+ # 【重要な注意事項】
15
+ # - 削除は元に戻せません。実行前に必ず内容を確認してください。
16
+ # - データが紐づいているコンポーネントの削除は既存データの消失につながります。
17
+ # - 標準オブジェクト・標準項目・標準プロファイルは削除できません。
18
+ # - 削除後は Git リポジトリからもファイルを手動で削除してください。
19
+ # - deploy-target.txt で指定可能でも、削除 API が非対応のため
20
+ # このファイルに記述できないコンポーネントがあります(後述)。
21
+ #
22
+ # ==============================================================================
23
+
24
+ [files]
25
+
26
+ # ------------------------------------------------------------------------------
27
+ # Apex クラス
28
+ # ------------------------------------------------------------------------------
29
+ # force-app/main/default/classes/OldClass.cls
30
+
31
+ # ------------------------------------------------------------------------------
32
+ # Apex トリガー
33
+ # ------------------------------------------------------------------------------
34
+ # force-app/main/default/triggers/OldTrigger.trigger
35
+
36
+ # ------------------------------------------------------------------------------
37
+ # Visualforce ページ
38
+ # ------------------------------------------------------------------------------
39
+ # force-app/main/default/pages/OldPage.page
40
+
41
+ # ------------------------------------------------------------------------------
42
+ # Visualforce コンポーネント
43
+ # ------------------------------------------------------------------------------
44
+ # force-app/main/default/components/OldComponent.component
45
+
46
+ # ------------------------------------------------------------------------------
47
+ # LWC(Lightning Web Component)
48
+ # ------------------------------------------------------------------------------
49
+ # コンポーネントのディレクトリを指定します(ファイルではなくフォルダ)。
50
+ #
51
+ # force-app/main/default/lwc/oldComponent
52
+
53
+ # ------------------------------------------------------------------------------
54
+ # Aura コンポーネント
55
+ # ------------------------------------------------------------------------------
56
+ # force-app/main/default/aura/oldAuraComponent
57
+
58
+ # ------------------------------------------------------------------------------
59
+ # Lightning メッセージチャネル
60
+ # ------------------------------------------------------------------------------
61
+ # force-app/main/default/messageChannels/OldChannel.messageChannel-meta.xml
62
+
63
+ # ------------------------------------------------------------------------------
64
+ # カスタム項目(フィールド単位)
65
+ # ------------------------------------------------------------------------------
66
+ # ※ データが存在する場合、そのデータも消失します。
67
+ #
68
+ # force-app/main/default/objects/MyObject__c/fields/OldField__c.field-meta.xml
69
+ # force-app/main/default/objects/Account/fields/OldField__c.field-meta.xml
70
+
71
+ # ------------------------------------------------------------------------------
72
+ # カスタムオブジェクト
73
+ # ------------------------------------------------------------------------------
74
+ # ※ オブジェクト内の全データが消失します。削除前に必ずデータを確認してください。
75
+ # ※ 標準オブジェクト(Account / Contact 等)は削除できません。
76
+ #
77
+ # force-app/main/default/objects/OldObject__c
78
+
79
+ # ------------------------------------------------------------------------------
80
+ # 入力規則(Validation Rule)
81
+ # ------------------------------------------------------------------------------
82
+ # force-app/main/default/objects/MyObject__c/validationRules/OldRule.validationRule-meta.xml
83
+
84
+ # ------------------------------------------------------------------------------
85
+ # レコードタイプ(Record Type)
86
+ # ------------------------------------------------------------------------------
87
+ # ※ 該当レコードタイプが紐づくレコードが存在する場合は削除できません。
88
+ # ※ Master レコードタイプは削除できません。
89
+ #
90
+ # force-app/main/default/objects/MyObject__c/recordTypes/OldRecordType.recordType-meta.xml
91
+
92
+ # ------------------------------------------------------------------------------
93
+ # コンパクトレイアウト(Compact Layout)
94
+ # ------------------------------------------------------------------------------
95
+ # force-app/main/default/objects/MyObject__c/compactLayouts/OldLayout.compactLayout-meta.xml
96
+
97
+ # ------------------------------------------------------------------------------
98
+ # 項目セット(Field Set)
99
+ # ------------------------------------------------------------------------------
100
+ # force-app/main/default/objects/MyObject__c/fieldSets/OldFieldSet.fieldSet-meta.xml
101
+
102
+ # ------------------------------------------------------------------------------
103
+ # リストビュー(List View)
104
+ # ------------------------------------------------------------------------------
105
+ # force-app/main/default/objects/MyObject__c/listViews/OldView.listView-meta.xml
106
+
107
+ # ------------------------------------------------------------------------------
108
+ # ボタン・リンク(Web Link)
109
+ # ------------------------------------------------------------------------------
110
+ # force-app/main/default/objects/MyObject__c/webLinks/OldButton.webLink-meta.xml
111
+
112
+ # ------------------------------------------------------------------------------
113
+ # ページレイアウト(Layout)
114
+ # ------------------------------------------------------------------------------
115
+ # ※ プロファイルに割り当てられているレイアウトは削除できません。
116
+ #
117
+ # force-app/main/default/layouts/MyObject__c-Old_Layout.layout-meta.xml
118
+
119
+ # ------------------------------------------------------------------------------
120
+ # Lightning ページ(FlexiPage)
121
+ # ------------------------------------------------------------------------------
122
+ # force-app/main/default/flexipages/OldPage.flexipage-meta.xml
123
+
124
+ # ------------------------------------------------------------------------------
125
+ # 権限セット(Permission Set)
126
+ # ------------------------------------------------------------------------------
127
+ # ※ ユーザーに割り当て済みの場合は削除できません。先に割り当てを解除してください。
128
+ #
129
+ # force-app/main/default/permissionsets/OldPermissionSet.permissionset-meta.xml
130
+
131
+ # ------------------------------------------------------------------------------
132
+ # 権限セットグループ(Permission Set Group)
133
+ # ------------------------------------------------------------------------------
134
+ # force-app/main/default/permissionsetgroups/OldGroup.permissionsetgroup-meta.xml
135
+
136
+ # ------------------------------------------------------------------------------
137
+ # ロール(Role)
138
+ # ------------------------------------------------------------------------------
139
+ # ※ ユーザーが割り当てられている場合は削除できません。
140
+ #
141
+ # force-app/main/default/roles/OldRole.role-meta.xml
142
+
143
+ # ------------------------------------------------------------------------------
144
+ # フロー(Flow)
145
+ # ------------------------------------------------------------------------------
146
+ # ※ 有効化されているフローは削除できません。先に無効化してください。
147
+ #
148
+ # force-app/main/default/flows/OldFlow.flow-meta.xml
149
+
150
+ # ------------------------------------------------------------------------------
151
+ # 承認プロセス(Approval Process)
152
+ # ------------------------------------------------------------------------------
153
+ # ※ 進行中の承認レコードが存在する場合は削除できません。
154
+ #
155
+ # force-app/main/default/approvalProcesses/MyObject__c.OldProcess.approvalProcess-meta.xml
156
+
157
+ # ------------------------------------------------------------------------------
158
+ # メールテンプレート(Email Template)
159
+ # ------------------------------------------------------------------------------
160
+ # force-app/main/default/email/MyFolder/OldTemplate.email-meta.xml
161
+
162
+ # ------------------------------------------------------------------------------
163
+ # レポート(Report)
164
+ # ------------------------------------------------------------------------------
165
+ # force-app/main/default/reports/MyFolder/OldReport.report-meta.xml
166
+
167
+ # ------------------------------------------------------------------------------
168
+ # ダッシュボード(Dashboard)
169
+ # ------------------------------------------------------------------------------
170
+ # force-app/main/default/dashboards/MyFolder/OldDashboard.dashboard-meta.xml
171
+
172
+ # ------------------------------------------------------------------------------
173
+ # カスタムメタデータ型レコード(Custom Metadata Record)
174
+ # ------------------------------------------------------------------------------
175
+ # ※ 型定義自体は削除できません。レコード単位での削除のみ可能です。
176
+ #
177
+ # force-app/main/default/customMetadata/MyMetadata__mdt.OldRecord.md-meta.xml
178
+
179
+ # ------------------------------------------------------------------------------
180
+ # カスタム権限(Custom Permission)
181
+ # ------------------------------------------------------------------------------
182
+ # force-app/main/default/customPermissions/OldPermission.customPermission-meta.xml
183
+
184
+ # ------------------------------------------------------------------------------
185
+ # 静的リソース(Static Resource)
186
+ # ------------------------------------------------------------------------------
187
+ # ファイル本体と -meta.xml の両方を指定します。
188
+ #
189
+ # force-app/main/default/staticresources/oldResource.js
190
+ # force-app/main/default/staticresources/oldResource.resource-meta.xml
191
+
192
+ # ------------------------------------------------------------------------------
193
+ # ドキュメント(Document)
194
+ # ------------------------------------------------------------------------------
195
+ # force-app/main/default/documents/MyFolder/OldDocument.document-meta.xml
196
+
197
+ # ------------------------------------------------------------------------------
198
+ # カスタムタブ(Custom Tab)
199
+ # ------------------------------------------------------------------------------
200
+ # force-app/main/default/tabs/OldTab.tab-meta.xml
201
+
202
+ # ------------------------------------------------------------------------------
203
+ # Lightning アプリ(Custom Application)
204
+ # ------------------------------------------------------------------------------
205
+ # ※ プロファイルに割り当てられているアプリは削除できません。
206
+ #
207
+ # force-app/main/default/applications/OldApp.app-meta.xml
208
+
209
+ # ------------------------------------------------------------------------------
210
+ # グローバル値セット(Global Value Set / 共有選択リスト)
211
+ # ------------------------------------------------------------------------------
212
+ # ※ 項目から参照されている場合は削除できません。
213
+ #
214
+ # force-app/main/default/globalValueSets/OldPicklist.globalValueSet-meta.xml
215
+
216
+ # ------------------------------------------------------------------------------
217
+ # 接続アプリ(Connected App)
218
+ # ------------------------------------------------------------------------------
219
+ # force-app/main/default/connectedApps/OldApp.connectedApp-meta.xml
220
+
221
+ # ------------------------------------------------------------------------------
222
+ # 名前付き認証情報(Named Credential)
223
+ # ------------------------------------------------------------------------------
224
+ # force-app/main/default/namedCredentials/OldCredential.namedCredential-meta.xml
225
+
226
+ # ------------------------------------------------------------------------------
227
+ # リモートサイト設定(Remote Site Setting)
228
+ # ------------------------------------------------------------------------------
229
+ # force-app/main/default/remoteSiteSettings/OldSite.remoteSite-meta.xml
230
+
231
+ # ------------------------------------------------------------------------------
232
+ # CSP 信頼済みサイト(CSP Trusted Site)
233
+ # ------------------------------------------------------------------------------
234
+ # force-app/main/default/cspTrustedSites/OldSite.cspTrustedSite-meta.xml
235
+
236
+ # ------------------------------------------------------------------------------
237
+ # 公開グループ・キュー(Group / Queue)
238
+ # ------------------------------------------------------------------------------
239
+ # ※ ルールや権限セットから参照されている場合は削除できません。
240
+ #
241
+ # force-app/main/default/groups/OldGroup.group-meta.xml
242
+
243
+ # ==============================================================================
244
+ # 削除 API 非対応のため remove-target.txt に記述できないコンポーネント
245
+ # (deploy-target.txt には記述可能)
246
+ # ==============================================================================
247
+ # - StandardValueSet : システム管理のため削除不可
248
+ # - BusinessProcess : 削除 API 非対応
249
+ # - BusinessHours : 削除 API 非対応
250
+ # - Holiday : 削除 API 非対応
251
+ # - MilestoneType : 削除 API 非対応
252
+ # - AppMenu : システム管理のため削除不可
253
+ # - EmailService : 削除 API 非対応
254
+ # - ReportType : 削除 API 非対応
255
+ # - Certificate : 削除 API 非対応
256
+ # - ExternalDataSource : 参照中の場合削除不可・制限あり
257
+ # - CustomSetting : データ消失リスクが高いため手動対応推奨
258
+ # - ExperienceBundle : 削除 API 非対応
259
+ # - NavigationMenu : サイトに紐づくため削除不可
260
+ # - CustomMetadata 型定義 : レコードのみ削除可(型定義は削除不可)
261
+
262
+
263
+ [members]
264
+
265
+ # ==============================================================================
266
+ # 1ファイルに複数メンバーが集約されているコンポーネントを部分的に削除する場合に
267
+ # 使用します。書き方: メタデータ種別名:メンバー名
268
+ # ==============================================================================
269
+
270
+ # ------------------------------------------------------------------------------
271
+ # カスタムラベル(特定ラベルだけ削除)
272
+ # ------------------------------------------------------------------------------
273
+ # CustomLabel:OldLabel
274
+
275
+ # ------------------------------------------------------------------------------
276
+ # 共有ルール(特定ルールだけ削除)
277
+ # ------------------------------------------------------------------------------
278
+ # SharingCriteriaRule:MyObject__c.OldRule
279
+ # SharingOwnerRule:MyObject__c.OldRule