Giter Site home page Giter Site logo

jsonresume-theme-8-bit-sheep's Introduction

jsonresume-theme-8-bit-sheep

The 8-bit-sheep JSON Resume theme.

This theme follows the JSON Resume schema found at https://raw.githubusercontent.com/jsonresume/resume-schema/master/schema.json.

Installation

You can add the theme to your resume by installing it with some of the following commands

npm i jsonresume-theme-8-bit-sheep
yarn add jsonresume-theme-8-bit-sheep
pnpm i jsonresume-theme-8-bit-sheep

Usage

resume export resume.html --theme 8-bit-sheep
resume export resume.pdf --theme 8-bit-sheep

Local development of the theme

The theme uses React, styled-components, and Vite. The builds are run with tsup and the bundle can be found from ./dist/index.js

Requirements

  • node.js
  • npm

Steps

  • Run npm install
  • Start dev server with npm run dev. This starts a dev server on one of you localhost ports with help of Vite. The site is using resume.json as the source of information for the CV.

Local build

  • Run npm run build which will generate the JS build into ./dist
  • Run npm run create-example-html to generate the HTML build to ./build/html/example.html
  • Run npm run create-example-pdf to generate the PDF build to ./build/pdf/example.pdf

Tests

Unit tests can be run with npm run test. Tests are written with vitest.

Linting

The code style follows some basic recommendations in conjunction with prettier. To perform linting run npm run lint.

CI

./.github/workflows/ci.yaml defines a CI pipeline that runs the build, linting, tests, and CV builds to assert that everything is working.

Publish new version

  • Make sure you are in the main-branch and that the new changes that you want to publish have been merged there
  • Run npm version <major|minor|patch> depending on what kind of changes have been made.
  • Run npm publish. This will run the build and publish the contents of ./dist.
  • Push the new commit directly to main with git push
  • Push the new tag created by npm publish by running git push origin <new_version>
  • Go to https://github.com/8-bit-sheep/jsonresume-theme-8-bit-sheep/releases and click "Draft a new release".
    • Select the new tag that you just pushed and click "Generate release notes".
    • Publish the release

jsonresume-theme-8-bit-sheep's People

Contributors

andersnylund avatar

Stargazers

 avatar

Watchers

Jaakko Ojalehto avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.