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
feat: various changes to get us plugin-ready (#1216)
## 🧰 Changes
this PR handles a lot of housekeeping to lay the groundwork for the
upcoming internal plugins project.
the biggest change is that we're now building declaration files and
shipping types for consumption by other plugins. type imports will look
something like this:
```ts
import type { PageMetadata, PluginHooks } from 'rdme/types';
```
beyond that, it's mostly little bug fixes, formatting tweaks, and test
coverage enhancements. i also removed `@oclif/plugin-not-found` since
the plugin makes it brutally slow if you typo something — figured we can
add it back if folks complain but i'd be surprised if that was the case.
## 🧬 QA & Testing
do tests/etc. pass?
✔ 🔍 Looking for Markdown files in the \`__tests__/__fixtures__/docs/existing-docs\` directory... 2 file(s) found!
129
129
- 🔬 Validating frontmatter data...
130
130
✔ 🔬 Validating frontmatter data... no issues found!
131
131
- 🚀 Uploading files to ReadMe...
@@ -143,8 +143,8 @@ exports[`rdme docs upload > given that the file path is a directory > should err
143
143
"error": [Error: Thedirectoryyouprovided (__tests__/__fixtures__/ref-oas) doesn't contain any of the following file extensions: .markdown, .md, .mdx.],
144
144
"stderr": " › Warning: This command is in an experimental alpha and is likely to change.
- link (__tests__/__fixtures__/docs/complex-frontmatter/link.md)
242
+
",
243
+
}
244
+
`;
245
+
209
246
exports[`rdme docs upload > given that the file path is a directory > should update existing guides pages in ReadMe for each file in the directory and its subdirectories 1`] =`
210
247
{
211
248
"result": {
@@ -229,8 +266,8 @@ exports[`rdme docs upload > given that the file path is a directory > should upd
229
266
},
230
267
"stderr": " › Warning: This command is in an experimental alpha and is likely to change.
0 commit comments