@takaro/modules 0.0.9 → 0.0.10
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.
package/package.json
CHANGED
|
@@ -9,10 +9,10 @@ const __dirname = path.dirname(new URL(import.meta.url).pathname);
|
|
|
9
9
|
async function main() {
|
|
10
10
|
// Built in modules
|
|
11
11
|
// TODO: we should probably 'export' them in CI and save it as JSON so it's consistent with the community modules
|
|
12
|
-
const modules =
|
|
12
|
+
const modules = getModules();
|
|
13
13
|
const modulesJson = JSON.stringify(modules, null, 2);
|
|
14
14
|
await writeFile('dist/modules.json', modulesJson);
|
|
15
|
-
await writeFile('../web-docs/
|
|
15
|
+
await writeFile('../web-docs/docs/modules.json', modulesJson);
|
|
16
16
|
await writeFile('../e2e/src/web-main/fixtures/modules.json', modulesJson);
|
|
17
17
|
|
|
18
18
|
// Community modules
|
|
@@ -26,7 +26,7 @@ async function main() {
|
|
|
26
26
|
|
|
27
27
|
const communityModulesJson = JSON.stringify(communityModules, null, 2);
|
|
28
28
|
await writeFile('dist/community-modules.json', communityModulesJson);
|
|
29
|
-
await writeFile('../web-docs/
|
|
29
|
+
await writeFile('../web-docs/docs/community-modules.json', communityModulesJson);
|
|
30
30
|
await writeFile('../e2e/src/web-main/fixtures/community-modules.json', communityModulesJson);
|
|
31
31
|
}
|
|
32
32
|
|