Skip to content

Commit

Permalink
feat: Generate README.md usage from dependencies (#52)
Browse files Browse the repository at this point in the history
* feat: generate README.md from dependencies

* ci: Generate code

* ci: Generate code

* ci: Generate code

* ci: Generate code

* ci: Generate code

* ci: Generate code

* revert README.md

* update to replace once

* ci: Generate code

* ci: Generate code

* ci: Generate code

* revert README.md

* check generate loop

* fix whitespace

* ci: Generate code

* move src/scripts -> scripts

* move generate:readme -> above format

* move generate-readme out of scripts

* revert README.md

* refactor to promises & specifying submodules

* grab missing sections

* replace types

* skip type replacement

* add back type replace

* revert README.md

* ci: Generate code

* ci: Format code

* ci: Generate code

* ci: Format code

* revert README.md

* run generate

* revert README.md

* ignore whietspace

* ci: Generate code

* ci: Format code

* remove current usage

* Update generate-readme.ts

Co-authored-by: Evan Sosenko <[email protected]>

* Update tsconfig.json

Co-authored-by: Evan Sosenko <[email protected]>

* ignore genrate-readme in build

* Update generate-readme.ts

Co-authored-by: Evan Sosenko <[email protected]>

* use trim instead of regex

* use trim instead of regex

* revert readme

* update ### Usage -> ## Usage

* update ### Usage -> ## Usage

* ci: Format code

* ci: Generate code

* ci: Format code

* ci: Generate code

* ci: Format code

---------

Co-authored-by: Seam Bot <[email protected]>
Co-authored-by: Evan Sosenko <[email protected]>
  • Loading branch information
3 people authored Mar 29, 2024
1 parent 781ea6b commit 2e383d2
Show file tree
Hide file tree
Showing 6 changed files with 457 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ jobs:
install_dependencies: 'false'
- name: Normalize package-lock.json
run: npm install
- name: Generate README.md usage
run: npm run generate:readme
- name: Commit
uses: stefanzweifel/git-auto-commit-action@v5
with:
Expand Down
Loading

0 comments on commit 2e383d2

Please sign in to comment.