@param {Workspace} workspace
(workspace)
| 195 | |
| 196 | /** @param {Workspace} workspace */ |
| 197 | function isPublishing(workspace) { |
| 198 | let name = workspace.ident; |
| 199 | // should allowlist instead? workspace.manifest.private? |
| 200 | return ( |
| 201 | !name.includes('@react-types') && |
| 202 | !name.includes('@spectrum-icons') && |
| 203 | !name.includes('@react-aria/example-theme') && |
| 204 | !name.includes('@react-spectrum/style-macro-s1') && |
| 205 | !name.includes('@react-spectrum/docs') && |
| 206 | !name.includes('@react-spectrum/s2-docs') && |
| 207 | !name.includes('parcel') && |
| 208 | !name.includes('@adobe/spectrum-css-temp') && |
| 209 | !name.includes('css-module-types') && |
| 210 | !name.includes('eslint') && |
| 211 | !name.includes('optimize-locales-plugin') && |
| 212 | name !== 'react-spectrum-monorepo' |
| 213 | ); |
| 214 | } |
| 215 | |
| 216 | /** @param {Context} context */ |
| 217 | function enforcePublishing({Yarn}) { |
no outgoing calls
no test coverage detected