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

Frontity Update command #853

Draft
wants to merge 3 commits into
base: dev
Choose a base branch
from
Draft

Frontity Update command #853

wants to merge 3 commits into from

Conversation

luisherranz
Copy link
Member

What:

I have been working with @SantosGuillamot on a new npx frontity update command.

Why:

Because now users need to follow several steps to update their Frontity project. It'd be nice if they could do it just by running a single command.

https://docs.frontity.org/guides/keep-frontity-updated

How:

By adding a new npx frontity update command that basically runs npx npm-check-updates -u -t minor on the root and all the local packages.

Tasks:

  • Code
  • End to end tests
  • Add a changeset (with link to its Feature Discussion if it exists)

Unrelated Tasks

  • TSDocs
  • TypeScript
  • Unit tests
  • TypeScript tests
  • Update starter themes
  • Update other packages
  • Update community discussions

Additional Comments

This is still a work in progress.

luisherranz and others added 3 commits June 23, 2021 12:00
Co-authored-by: Mario Santos <SantosGuillamot@users.noreply.github.com>
@changeset-bot
Copy link

changeset-bot bot commented Jun 23, 2021

⚠️ No Changeset found

Latest commit: 8566dea

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@luisherranz
Copy link
Member Author

At first, we thought it'd be better to run npm-check-updates programmatically, but then we thought that for the first version it will be simpler to run it directly using exec.

@luisherranz luisherranz self-assigned this Jun 23, 2021
@github-actions
Copy link
Contributor

ESLint Summary View Full Report

Annotations are provided inline on the Files Changed tab. You can also see all annotations that were generated on the annotations page.

Type Occurrences Fixable
Errors 1 0
Warnings 0 0
Ignored 0 N/A
  • Result: ❌ failure

  • Annotations: 1 total


[failure] @typescript-eslint/no-unused-vars

Disallow unused variables


Report generated by eslint-plus-action

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.

None yet

1 participant