jsonresume / jsonresume.org

The mono repo that builds the homepage, utils, ui components, registry and anything else
https://jsonresume.org
66 stars 17 forks source link

Migrate theme onepage-plus #59

Closed alexanderdavide closed 8 months ago

alexanderdavide commented 8 months ago

Hey,

as said in #36, I'd like to have onepage-plus back and thought I'd give it a shot.

I tried to copy your migration of theme 'flat' and also drew inspiration from the implementation of partials in theme 'full'.

Too, I made sure nobody pushes .pnpm-store.

I hope to soon be able to enjoy onepage-plus again.

Summary by CodeRabbit

changeset-bot[bot] commented 8 months ago

⚠️ No Changeset found

Latest commit: 76f8a00ae7575923d3b9aa4b61afdb47ae14f4eb

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

vercel[bot] commented 8 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
jsonresume-org-homepage ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 14, 2023 6:15am
jsonresume-org-registry ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 14, 2023 6:15am
vercel[bot] commented 8 months ago

@alexanderdavide is attempting to deploy a commit to the JSON Resume Team on Vercel.

A member of the Team first needs to authorize it.

coderabbitai[bot] commented 8 months ago

Walkthrough

The changes involve updating a project to include a new resume theme called onepage-plus. This includes adding new template partials for various resume sections, a helper function for date formatting, and CSS styles. The .gitignore and .npmignore files are updated to exclude unnecessary files from version control and npm packaging, respectively.

Changes

File Path Change Summary
.gitignore Added .pnpm-store directory to ignore list.
apps/registry/pages/api/formatters/template.js Imported onepageplus and updated THEMES object to include 'onepage-plus'.
packages/jsonresume-theme-onepage-plus/.gitignore
packages/jsonresume-theme-onepage-plus/.npmignore
Ignored node_modules/, public/, npm-debug.log, and .DS_Store. Updated to exclude specific files/directories.
packages/jsonresume-theme-onepage-plus/README.md Updated with installation and development instructions.
packages/jsonresume-theme-onepage-plus/index.js Added formatDate helper and updated render function to use css and resume.
packages/jsonresume-theme-onepage-plus/partials/...
packages/jsonresume-theme-onepage-plus/partials/index.js
Added new default exports for various resume section templates. Added module import/export block for resume sections.
packages/jsonresume-theme-onepage-plus/resume.js Added export default statement for HTML resume template.
packages/jsonresume-theme-onepage-plus/style.js Added new CSS style definitions and media queries.

Related issues

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on X ?


Tips ### Chat with CodeRabbit Bot (`@coderabbitai`) - You can reply to a review comment made by CodeRabbit. - You can tag CodeRabbit on specific lines of code or files in the PR by tagging `@coderabbitai` in a comment. - You can tag `@coderabbitai` in a PR comment and ask one-off questions about the PR and the codebase. Use quoted replies to pass the context for follow-up questions. ### CodeRabbit Commands (invoked as PR comments) - `@coderabbitai pause` to pause the reviews on a PR. - `@coderabbitai resume` to resume the paused reviews. - `@coderabbitai review` to trigger a review. This is useful when automatic reviews are disabled for the repository. - `@coderabbitai resolve` resolve all the CodeRabbit review comments. - `@coderabbitai help` to get help. Additionally, you can add `@coderabbitai ignore` anywhere in the PR description to prevent this PR from being reviewed. ### CodeRabbit Configration File (`.coderabbit.yaml`) - You can programmatically configure CodeRabbit by adding a `.coderabbit.yaml` file to the root of your repository. - The JSON schema for the configuration file is available [here](https://coderabbit.ai/integrations/coderabbit-overrides.v2.json). - If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: `# yaml-language-server: $schema=https://coderabbit.ai/integrations/coderabbit-overrides.v2.json`