You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/manual.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -293,3 +293,17 @@ The example above shows a project with a `package.json` file in the root folder
293
293
!!! note
294
294
295
295
Let's remember `somesy` will create a `CITATION.CFF` and `codemeta.json` file in the root folder if it is set otherwise either by cli or by config.
296
+
297
+
#### Packages (sub-modules) with their own somesy file
298
+
299
+
A project with multiple packages inside can have completely different metadata such version and authors. Therefore, each package should have a separate metadata, in other words, separate `somesy` config and project metadata.
300
+
301
+
```toml
302
+
[project]
303
+
...
304
+
305
+
[config]
306
+
packages = ['package1', 'package2', 'package3']
307
+
```
308
+
309
+
Each of these packages (sub-folders) are assumed to have separate somesy metadata in the folder. These packages could be a `somesy` supported language/framework or it could be any other language. `somesy` will create at least `CITATION.CFF` and `codemeta.json` regardless if not instructed otherwise.
0 commit comments