@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,350 @@
1
+ # ==============================================================================
2
+ # config/changeset-types.txt - 変更セットで扱えるメタデータの種類(sf-tools が、リリースの対象にする種類の目標)
3
+ # ==============================================================================
4
+ # 出典: Salesforce 公式の Metadata Coverage Report(API v64.0)の「ChangeSets」列が ✔ の種類
5
+ # https://developer.salesforce.com/docs/success/metadata-coverage-report/references/coverage-report/v64.0
6
+ # 取得日: 2026-10-16(全 683 種類のうち、337 種類)
7
+ #
8
+ # 1 行 1 種類。# で始まる行と空行は、無視される。
9
+ # bin/sf-test-types.sh --coverage が、この一覧と config/metadata-capability.txt(実機で確認した結果)を突き合わせて、
10
+ # 「確認済み / 条件つき / 判定できない / 未確認」を表示する。
11
+ #
12
+ # 更新: 新しい API バージョンが出たら、上の URL(v の番号を変える)から、ChangeSets 列が ✔ の種類を取り直す。
13
+ # ==============================================================================
14
+ AccountingFieldMapping
15
+ AccountingModelConfig
16
+ AccountPlanObjMeasCalcDef
17
+ AccountRelationshipShareRule
18
+ ActionableEventOrchDef
19
+ ActionableEventTypeDef
20
+ ActionableListDefinition
21
+ ActionLauncherItemDef
22
+ ActionLinkGroupTemplate
23
+ ActionPlanTemplate
24
+ ActivationPlatform
25
+ ActnblListKeyPrfmIndDef
26
+ AdvAccountForecastSet
27
+ AdvAcctForecastDimSource
28
+ AdvAcctForecastPeriodGroup
29
+ AffinityScoreDefinition
30
+ AIApplication
31
+ AIApplicationConfig
32
+ AIUsecaseDefinition
33
+ AnalyticsDashboard
34
+ AnalyticSnapshot
35
+ AnalyticsVisualization
36
+ AnalyticsWorkspace
37
+ ApexClass
38
+ ApexComponent
39
+ ApexPage
40
+ ApexTrigger
41
+ AppFrameworkTemplateBundle
42
+ ApplicationSubtypeDefinition
43
+ ApprovalProcess
44
+ AssessmentConfiguration
45
+ AssessmentQuestion
46
+ AssessmentQuestionSet
47
+ AssignmentRules
48
+ AuraDefinitionBundle
49
+ AuthProvider
50
+ AutoResponseRules
51
+ BatchCalcJobDefinition
52
+ BatchProcessJobDefinition
53
+ BenefitAction
54
+ BldgEnrgyIntensityCnfg
55
+ Bot
56
+ BotBlock
57
+ BotTemplate
58
+ BriefcaseDefinition
59
+ BusinessProcessGroup
60
+ BusinessProcessTypeDefinition
61
+ CallCenter
62
+ CampaignInfluenceModel
63
+ CareBenefitVerifySettings
64
+ CareLimitType
65
+ CareRequestConfiguration
66
+ CareSystemFieldMapping
67
+ ChannelLayout
68
+ ChannelObjectLinkingRule
69
+ ChatterExtension
70
+ ClaimFinancialSettings
71
+ ClauseCatgConfiguration
72
+ CleanDataService
73
+ CmsnStmtLineItemConfig
74
+ CmsnStmtLineItemTypConfig
75
+ CommandAction
76
+ CommissionStatementConfig
77
+ CommunicationChannelType
78
+ Community
79
+ CommunityTemplateDefinition
80
+ CommunityThemeDefinition
81
+ CompactLayout
82
+ ContentAsset
83
+ ContentTypeBundle
84
+ ContextDefinition
85
+ ContextUseCaseMapping
86
+ ContractType
87
+ ConversationChannelDefinition
88
+ ConversationMessageDefinition
89
+ ConversationVendorInfo
90
+ CorsWhitelistOrigin
91
+ CspTrustedSite
92
+ CustomApplication
93
+ CustomApplicationComponent
94
+ CustomFeedFilter
95
+ CustomField
96
+ CustomHelpMenuSection
97
+ CustomIndex
98
+ CustomLabels
99
+ CustomMetadata
100
+ CustomNotificationType
101
+ CustomObject
102
+ CustomPageWebLink
103
+ CustomPermission
104
+ CustomSite
105
+ CustomTab
106
+ Dashboard
107
+ DashboardFolder
108
+ DataCalcInsightTemplate
109
+ DataConnector
110
+ DataKitObjectDependency
111
+ DataKitObjectTemplate
112
+ DataObjectBuildOrgTemplate
113
+ DataObjectSearchIndexConf
114
+ DataPackageKitDefinition
115
+ DataStreamDefinition
116
+ DataWeaveResource
117
+ DecisionMatrixDefinition
118
+ DecisionMatrixDefinitionVersion
119
+ DecisionTable
120
+ DigitalExperience
121
+ DigitalExperienceBundle
122
+ DigitalExperienceConfig
123
+ DisclosureDefinition
124
+ DisclosureDefinitionVersion
125
+ DisclosureType
126
+ DiscoveryAIModel
127
+ DiscoveryGoal
128
+ DiscoveryStory
129
+ Document
130
+ DocumentCategory
131
+ DocumentCategoryDocumentType
132
+ DocumentFolder
133
+ DocumentGenerationSetting
134
+ DocumentTemplate
135
+ DuplicateRule
136
+ EclairGeoData
137
+ EmailFolder
138
+ EmailServicesFunction
139
+ EmailTemplate
140
+ EmailTemplateFolder
141
+ EmbeddedServiceConfig
142
+ EmbeddedServiceMenuSettings
143
+ EnablementMeasureDefinition
144
+ EnablementProgramDefinition
145
+ EnblProgramTaskSubCategory
146
+ EntitlementProcess
147
+ EntitlementTemplate
148
+ EscalationRules
149
+ ESignatureConfig
150
+ ESignatureEnvelopeConfig
151
+ EventRelayConfig
152
+ ExperienceBundle
153
+ ExperiencePropertyTypeBundle
154
+ ExplainabilityActionDefinition
155
+ ExplainabilityActionVersion
156
+ ExplainabilityMsgTemplate
157
+ ExpressionSetDefinition
158
+ ExpressionSetDefinitionVersion
159
+ ExpressionSetMessageToken
160
+ ExpressionSetObjectAlias
161
+ ExternalAuthIdentityProvider
162
+ ExternalClientApplication
163
+ ExternalCredential
164
+ ExternalDataSource
165
+ ExternalDocStorageConfig
166
+ ExternalServiceRegistration
167
+ ExternalStoragePrvdConfig
168
+ ExtlClntAppMobileSettings
169
+ ExtlClntAppNotificationSettings
170
+ ExtlClntAppOauthSettings
171
+ ExtlClntAppPushSettings
172
+ FeatureParameterBoolean
173
+ FeatureParameterDate
174
+ FeatureParameterInteger
175
+ FieldMappingConfig
176
+ FieldRestrictionRule
177
+ FieldSet
178
+ FieldSrcTrgtRelationship
179
+ FlexiPage
180
+ FlowDefinition
181
+ FlowTest
182
+ FuelType
183
+ FuelTypeSustnUom
184
+ FunctionReference
185
+ FundraisingConfig
186
+ GatewayProviderPaymentMethodType
187
+ GenAiFunction
188
+ GenAiPlannerBundle
189
+ GenAiPlugin
190
+ GenAiPromptTemplate
191
+ GenAiPromptTemplateActv
192
+ GlobalValueSet
193
+ Group
194
+ HomePageComponent
195
+ HomePageLayout
196
+ IdentityVerificationProcDef
197
+ InboundNetworkConnection
198
+ InsPlcyCoverageSpecConfig
199
+ InsPlcyLineOfBusConfig
200
+ InsPolicyLifecycleConfig
201
+ InsPolicyManagementConfig
202
+ InsRatePlanCmsnConfig
203
+ InsRatePlanTypeConfig
204
+ IntegrationProviderDef
205
+ InvocableActionExtension
206
+ Layout
207
+ LearningAchievementConfig
208
+ LearningItemType
209
+ Letterhead
210
+ LifeSciConfigCategory
211
+ LifeSciConfigRecord
212
+ LightningBolt
213
+ LightningComponentBundle
214
+ LightningExperienceTheme
215
+ LightningMessageChannel
216
+ LightningTypeBundle
217
+ ListView
218
+ LiveChatAgentConfig
219
+ LiveChatButton
220
+ LiveChatDeployment
221
+ LiveChatSensitiveDataRule
222
+ LoyaltyProgramSetup
223
+ ManagedContentType
224
+ ManagedEventSubscription
225
+ MarketingAppExtension
226
+ MarketSegmentDefinition
227
+ MatchingRules
228
+ MilestoneType
229
+ MktCalcInsightObjectDef
230
+ MktDataConnection
231
+ MlDomain
232
+ MobileSecurityAssignment
233
+ MobileSecurityPolicy
234
+ MobSecurityCertPinConfig
235
+ NamedCredential
236
+ Network
237
+ OauthCustomScope
238
+ OauthTokenExchangeHandler
239
+ ObjIntegProviderDefMapping
240
+ OcrSampleDocument
241
+ OcrTemplate
242
+ OmniDataTransform
243
+ OmniInteractionAccessConfig
244
+ OmniInteractionConfig
245
+ OmniSupervisorConfig
246
+ OutboundNetworkConnection
247
+ ParticipantRole
248
+ PathAssistant
249
+ PaymentGatewayProvider
250
+ PermissionSet
251
+ PermissionSetGroup
252
+ PermissionSetLicenseDefinition
253
+ PlatformCachePartition
254
+ PlatformEventChannel
255
+ PlatformEventChannelMember
256
+ PlatformEventSubscriberConfig
257
+ PostTemplate
258
+ PresenceUserConfig
259
+ PricingActionParameters
260
+ PricingRecipe
261
+ ProcedureOutputResolution
262
+ ProcessFlowMigration
263
+ ProductAttrDisplayConfig
264
+ ProductSpecificationRecType
265
+ ProductSpecificationType
266
+ Prompt
267
+ PublicKeyCertificate
268
+ PublicKeyCertificateSet
269
+ Queue
270
+ QueueRoutingConfig
271
+ QuickAction
272
+ RecAlrtDataSrcExpSetDef
273
+ RecommendationStrategy
274
+ RecordActionDeployment
275
+ RecordAggregationDefinition
276
+ RecordAlertCategory
277
+ RecordAlertDataSource
278
+ RecordAlertTemplate
279
+ RecordType
280
+ RedirectWhitelistUrl
281
+ ReferencedDashboard
282
+ RegisteredExternalService
283
+ RelatedRecordAccessDef
284
+ RelatedRecordAssocCriteria
285
+ RelationshipGraphDefinition
286
+ RemoteSiteSetting
287
+ Report
288
+ ReportFolder
289
+ ReportType
290
+ RestrictionRule
291
+ RetrievalSummaryDefinition
292
+ Role
293
+ SchedulingObjective
294
+ SchedulingRule
295
+ ScoreCategory
296
+ SearchCustomization
297
+ SearchOrgWideObjectConfig
298
+ ServicePresenceStatus
299
+ ServiceProcess
300
+ SharingReason
301
+ SharingSet
302
+ SharingTerritoryRule
303
+ SiteDotCom
304
+ Skill
305
+ SkillType
306
+ SlackApp
307
+ StageAssignment
308
+ StageDefinition
309
+ StaticResource
310
+ StnryAssetEnvSrcCnfg
311
+ SustainabilityUom
312
+ SustnUomConversion
313
+ SvcCatalogCategory
314
+ SvcCatalogFilterCriteria
315
+ SvcCatalogFulfillmentFlow
316
+ SvcCatalogItemDef
317
+ Territory
318
+ TimelineObjectDefinition
319
+ TimeSheetTemplate
320
+ TransactionProcessingType
321
+ TransactionSecurityPolicy
322
+ Translations
323
+ UiFormatSpecificationSet
324
+ UIObjectRelationConfig
325
+ UiPreviewMessageTabDef
326
+ UserAccessPolicy
327
+ UserProvisioningConfig
328
+ ValidationRule
329
+ VehicleAssetEmssnSrcCnfg
330
+ ViewDefinition
331
+ WaveAnalyticAssetCollection
332
+ WaveApplication
333
+ WaveComponent
334
+ WaveDashboard
335
+ WaveDataflow
336
+ WaveDataset
337
+ WaveLens
338
+ WaveRecipe
339
+ WaveTemplateBundle
340
+ WaveXmd
341
+ WebLink
342
+ WebStoreBundle
343
+ WebStoreTemplate
344
+ WorkflowAlert
345
+ WorkflowFieldUpdate
346
+ WorkflowKnowledgePublish
347
+ WorkflowOutboundMessage
348
+ WorkflowRule
349
+ WorkflowSend
350
+ WorkflowTask
@@ -0,0 +1,6 @@
1
+ # feat: 新機能追加
2
+ # fix: バグ修正
3
+ # docs: ドキュメント変更
4
+ # chore: 設定・依存関係の変更
5
+ # refactor: リファクタリング
6
+ # test: テスト追加・修正
@@ -0,0 +1,26 @@
1
+ # このブランチの作業
2
+
3
+ > このファイルは、このブランチ(作業用のブランチ)の作業の資料の入口です。sf-tools が、ブランチを始めるときに置きます(すでにあれば、上書きしません)。
4
+ > このブランチだけの資料(目的・作業の概要・詳細な仕様・確かめ方・テストデータ・手元で動かす台本など、組織に出さないもの)は、このフォルダ(`sf-tools/release/<ブランチ>/`)に置きます。
5
+ > どの開発者にも共通のもの(プロジェクトの説明など)は、プロジェクトの直下に置きます。ほかのブランチのフォルダは、書き換えません。
6
+ > Apex のテストクラスなど、組織に出す部品は、今までどおり `force-app/` に置きます。
7
+
8
+ ## 1. 目的
9
+
10
+ <!-- このブランチで何をするか・なぜするか -->
11
+
12
+ ## 2. 作業の概要
13
+
14
+ <!-- やることの一覧(何を作る・変える・消すか) -->
15
+
16
+ ## 3. 詳細な仕様
17
+
18
+ <!-- 名前・決まり・画面・処理の流れなど。長くなるときは、このフォルダに別のファイルを足して、ここからリンクする -->
19
+
20
+ ## 4. 確かめ方
21
+
22
+ <!-- テストの手順・使うテストデータ・期待する結果 -->
23
+
24
+ ## 5. 結果・メモ
25
+
26
+ <!-- 確かめた結果・分かったこと・残っていること -->