Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(cli): use root Readme as CLI Readme #22

Merged
merged 1 commit into from
Aug 9, 2024

Conversation

asdolo
Copy link
Collaborator

@asdolo asdolo commented Aug 2, 2024

What does this do?

  • Remove and untrack cli/README.md file from repository. It had almost the same content as root's README.md file.
  • We still need a README.md file in the cli directory for it to be shown in the NPM Registry website, so this PR also adds prepack & postpack scripts to the CLI package to copy README.md from root to cli/README.md before publishing and removing it after publishing.
  • Fix URLs and some typos in root's README.md file.
  • Update CLI version to 1.0.1 and manually publish it to npm registry.

Why did you do this?

To avoid having a duplicated README file.

Who/what does this impact?

N/A

How did you test this?

I manually published a new version of the CLI with pnpm publish and I verified that the prepack script was run because npm registry now shows root's README file (with the URLs and typos fixed) instead of the old one from the CLI directory.

@asdolo asdolo self-assigned this Aug 2, 2024
@asdolo asdolo requested a review from a team as a code owner August 2, 2024 23:34
@asdolo asdolo force-pushed the feat/cli_use_our_repository_as_template branch from ff09887 to a58b597 Compare August 5, 2024 16:34
Base automatically changed from feat/cli_use_our_repository_as_template to master August 5, 2024 16:37
@asdolo asdolo force-pushed the docs/cli_use_root_readme_as_cli_readme branch from 53c8e12 to b96d1bb Compare August 5, 2024 16:38
Copy link

github-actions bot commented Aug 5, 2024

💯 Test Coverage

Lines Statements Branches Functions
Coverage: 42%
41.33% (210/508) 36.72% (83/226) 27.83% (54/194)

😎 Tests Results

Tests Skipped Failures Errors Time
47 0 💤 0 ❌ 0 🔥 28.018s ⏱️
👀 Tests Details • (42%)
File% Stmts% Branch% Funcs% LinesUncovered Line #s
All files41.3336.7227.8342.44 
report-only-changed-files is enabled. No files were changed in this commit :)

@asdolo asdolo merged commit 3aefbac into master Aug 9, 2024
7 checks passed
@asdolo asdolo deleted the docs/cli_use_root_readme_as_cli_readme branch August 9, 2024 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants