MCPcopy
hub / github.com/formatjs/formatjs / registerFormatjsPlugin

Function registerFormatjsPlugin

tools/release-please/run.ts:80–95  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

78}
79
80function registerFormatjsPlugin() {
81 registerPlugin('formatjs-bazel-workspace', options => {
82 const typeOptions =
83 options.type && typeof options.type === 'object' ? options.type : {}
84 return new BazelNpmWorkspace(
85 options.github,
86 options.targetBranch,
87 options.repositoryConfig,
88 {
89 ...options,
90 ...typeOptions,
91 merge: typeOptions.merge ?? !options.separatePullRequests,
92 }
93 )
94 })
95}
96
97async function loadManifest(github, targetBranch: string) {
98 return Manifest.fromManifest(

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected