Code Monkey home page Code Monkey logo

Comments (7)

MAHcodes avatar MAHcodes commented on June 10, 2024

I'm writing the build script...

from catppuccin.

MAHcodes avatar MAHcodes commented on June 10, 2024

I wrote the build script, and used it to generate the library files under the libdirectory

from catppuccin.

sgoudham avatar sgoudham commented on June 10, 2024

Hey 👋

Thanks for porting the palette to Gleam! A few things:

  1. Please update the code generation to use a pinned version of the palette JSON, this can be done either by copying a version of the palette.json locally into the repository or using a pinned commit hash. FYI: catppuccin/palette#81 has been merged which may or may not break your current builds
  2. Update the LICENSE to be Catppuccin
  3. Please update usages of Flavour to Flavor and Colour to Color (i.e. https://github.com/MAHcodes/catppuccin/blob/51e854643f7ef48862c53c8db50a571f66c7bd0c/src/catppuccin.gleam#L7) as we have chosen to standardise that across the organisation. I understand that this is probably a pain since it's a breaking change, sorry!

Happy to approve after these changes are carried out!

Also can you document / let me know how the repository is published to https://hexdocs.pm/catppuccin/? I don't see a publish script/task or any CI/CD workflows. Is it automatically driven by the gleam.toml?

from catppuccin.

MAHcodes avatar MAHcodes commented on June 10, 2024

Hey @sgoudham,

Thanks for the review! I've fixed all the issues. Feel free to suggest any further code improvements.

For now, there's no CI/CD pipeline in place. I'm publishing the library through Gleam CLI.

from catppuccin.

sgoudham avatar sgoudham commented on June 10, 2024

Great, thanks for pushing out those updates (I believe you need to update the Usage section in the README too!)

It'd be great to get a CI/CD pipeline in place for publishing to Gleam, happy to collaborate further on this! We usually try to publish our packages under a shared organisation account, does Gleam support that concept or is it just 1 library -> 1 author for now? Not a blocker but figured I'd ask anyways.

Happy to approve and get it merged into the organisation, thanks for your work again and apologies for the wait!

You should shortly receive an email inviting you to be apart of the Catppuccin GitHub organisation. Please read, "Transferring a repository owned by your personal account", if you are unsure about the process of transferring the repository to Catppuccin.

We'll close this issue once the port has been added to our ports.yml.

from catppuccin.

MAHcodes avatar MAHcodes commented on June 10, 2024

Alright, so it seems possible to publish packages with an organiazation on Hex here: https://hex.pm/docs/faq#can-i-publish-public-packages-with-an-organization, I'll need either the organization name you want to use or the author name if you prefer me to transfer ownership here: https://hex.pm/docs/faq#can-i-transfer-ownership-of-a-package.

For CI/CD, I will create a GitHub workflow that will automatically publish the package to Hex.pm whenever a new release is created on GitHub.

from catppuccin.

MAHcodes avatar MAHcodes commented on June 10, 2024

I updated the README with the links and implemented CI/CD, which successfully published the latest release to Hex.

from catppuccin.

Related Issues (20)

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.