Skip to content

Commit

Permalink
Merge pull request #120 from bluecadet/feat/plugin-api
Browse files Browse the repository at this point in the history
Implement Plugin API for Content package
  • Loading branch information
claytercek authored Oct 29, 2024
2 parents b40efbb + 1a95bc6 commit 28ceb26
Show file tree
Hide file tree
Showing 105 changed files with 8,706 additions and 4,413 deletions.
3 changes: 1 addition & 2 deletions .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,5 @@
"linked": [],
"access": "public",
"baseBranch": "develop",
"updateInternalDependencies": "patch",
"ignore": []
"updateInternalDependencies": "patch"
}
10 changes: 10 additions & 0 deletions .changeset/gold-kings-watch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
"@bluecadet/launchpad-dashboard": major
"@bluecadet/launchpad": major
"@bluecadet/launchpad-scaffold": major
"@bluecadet/launchpad-content": major
"@bluecadet/launchpad-monitor": major
"@bluecadet/launchpad-utils": major
---

Add Plugin API
8 changes: 4 additions & 4 deletions .docs/generate.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import jsdoc2md from 'jsdoc-to-markdown';
import fs from 'fs-extra';
import fse from 'fs-extra/esm';
import path from 'path';
import chalk from 'chalk';
import { loadConfigFromFile, LogManager } from '@bluecadet/launchpad-utils';
Expand All @@ -17,12 +17,12 @@ const logger = LogManager.getInstance(config).getLogger('docs');
*/
const renderDocs = async (options) => {
if (options.templatePath) {
options.template = fs.readFileSync(options.templatePath).toString();
options.template = fse.readFileSync(options.templatePath).toString();
}
logger.info(`Rendering ${chalk.yellow(options.outputPath)}`);
return await jsdoc2md.render(options).then((result) => {
fs.ensureDirSync(path.dirname(options.outputPath));
fs.writeFileSync(options.outputPath, result);
fse.ensureDirSync(path.dirname(options.outputPath));
fse.writeFileSync(options.outputPath, result);
});
}

Expand Down
11 changes: 0 additions & 11 deletions nodemon.json

This file was deleted.

Loading

0 comments on commit 28ceb26

Please sign in to comment.