Giter Club home page Giter Club logo

catalysis-framework's Introduction

Hola 👋!

I'm Pedro Piñera, a Berlin-based software crafter.

For the past ten years, I have been a hands-on and adaptable problem solver, collaborating with start-ups and e-commerce platforms and building open-source solutions like Tuist. My work is trusted by Shopify, American Express, SoundCloud, Bloomberg, Stripe, Google, Monday, Just Eat, Etsy, and Adidas.

I'm specialized in empowering developers by designing and building tools, libraries, and platforms that are fun to work with. I am also skilled in leading software projects and can manage, mentor, and hire software engineers.

Social

catalysis-framework's People

Contributors

allcontributors[bot] avatar android10 avatar github-actions[bot] avatar josemasar avatar lascenify avatar pepicrft avatar rbarbadillo avatar renovate-bot avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

andresgutgon

catalysis-framework's Issues

Add an linting rule to force writing the interface of public modules in `.d.ts` files

Why?

Letting Typescript generate .d.ts files for public modules at build time might lead to breaking changes happen more frequently because we rely on humans to detect them.

What

We started writing the interface of public modules in .d.ts inspired by Swift's protocol-oriented programming. With that change we still rely on humans to detect breaking changes, but at least they can see the changes in the interface in PR reviews.
The goal of this task is to implement an ESLint rule to make sure that everyone sticks to this convention.

Implement a utility in @gestalt/cli-support to run system processes

The goal of this task is to provide an API for contributors to run system processes. It's important that this API works across OSs (macOS, Windows, and Linux). We can build upon ShellJS that already ensures there's cross-OS compatibility. As part of this task we should also:

  • Update the contributors' documentation to mention they should be using that API instead of NodeJS APIs.
  • Implement an ESLint rule that runs in the project and ensures the above doesn't happen.

If we end up building upon ShellJS, I recommend taking the opportunity to build a Promise-based interface that can be used with the async/await keywords built into the language. Also, I recommend abstracting away ShellJS from the rest of the codebase in case we need to replace the library in the future for anything else.

Integrate with Stackblitz

Stackblitz is a tool that enables web development right in your browser by using web cointainers. The goal of this task is to have a domain, for example, new.gestatljs.com, that creates a Stackblitz environment with an example project to play with the framework.

Move project dev dependencies to a subdirectory

What?

Defining the dev dependencies of the project at the root might lead to things accidentally working in development but failing in production due to the Node module system works (i.e. traversing the directory hierarchy up to lookup dependencies). To eliminate the changes of shipping new versions of Gestalt that don't work after installing them, we should move the dev dependencies to a subdirectory:

gestalt/
  dev/
     package.json
  packages/
     ...

Because the package.json's scripts approach for automation can turn limiting in the future, the dev directory can be a place for a new CLI that contributors can use to contribute to the project.

Pino throws an error in the production Gestalt

What?

When running Gestalt after installing it from the NPM registry, it throws an error:

/Users/pepicrft/Downloads/node_modules/.pnpm/[email protected]/node_modules/pino/lib/tools.js:413
        throw Error('option.transport.targets do not allow custom level formatters')
              ^

Error: option.transport.targets do not allow custom level formatters
    at normalizeArgs (/Users/pepicrft/Downloads/node_modules/.pnpm/[email protected]/node_modules/pino/lib/tools.js:413:15)
    at pino (/Users/pepicrft/Downloads/node_modules/.pnpm/[email protected]/node_modules/pino/pino.js:85:28)
    at Object.setupGestaltLogger (file:///Users/pepicrft/Downloads/node_modules/.pnpm/@[email protected]/node_modules/@gestaltjs/core/dist/cli/index.js:1207:25)
    at setup (file:///Users/pepicrft/Downloads/node_modules/.pnpm/[email protected]/node_modules/gestaltjs/dist/index.js:6:10)
    at file:///Users/pepicrft/Downloads/node_modules/.pnpm/[email protected]/node_modules/gestaltjs/dist/index.js:15:1
    at ModuleJob.run (node:internal/modules/esm/module_job:185:25)
    at async Promise.all (index 0)

Steps to reproduce

  1. Run pnpm install gestaltjs.
  2. Run node_modules/.bin/gestalt
  3. It fails.

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • Update dependency @types/tmp to v0.2.4
  • Update dependency case-anything to v2.1.13
  • Update dependency handlebars to v4.7.8
  • Update dependency magic-string to v0.30.4
  • Update dependency pathe to v1.1.1
  • Update dependency prettier to v2.8.8
  • Update dependency safe-stable-stringify to v2.4.3
  • Update dependency yargs to v17.7.2 (yargs, @types/yargs)
  • Update docusaurus monorepo to v2.4.3 (@docusaurus/core, @docusaurus/module-type-aliases, @docusaurus/preset-classic)
  • Update nrwl monorepo (@nrwl/cli, @nrwl/tao, @nrwl/workspace, nx)
  • Update dependency @algolia/client-search to v4.20.0
  • Update dependency @remix-run/web-fetch to v4.4.1
  • Update dependency @types/node to v18.18.4
  • Update dependency @types/node to v18.18.4
  • Update dependency acorn to v8.10.0
  • Update dependency deno to v1.37.1
  • Update dependency esbuild to v0.19.4
  • Update dependency eslint to v8.51.0
  • Update dependency eslint-config-prettier to v8.10.0
  • Update dependency eslint-plugin-import to v2.28.1
  • Update dependency eslint-plugin-jest to v27.4.2
  • Update dependency eslint-plugin-react to v7.33.2
  • Update dependency fast-glob to v3.3.1
  • Update dependency h3 to v1.8.2
  • Update dependency inquirer to v9.2.11 (inquirer, @types/inquirer)
  • Update dependency listhen to v1.5.5
  • Update dependency node to v19.9.0
  • Update dependency pnpm to v7.33.6
  • Update dependency radix3 to v1.1.0
  • Update dependency strip-ansi to v7.1.0
  • Update dependency tempy to v3.1.0
  • Update dependency unplugin to v1.5.0
  • Update dependency vite to v4.4.11
  • Update dependency vitest to v0.34.6
  • Update dependency zod to v3.22.4
  • Update pnpm/action-setup action to v2.4.0
  • Update typescript-eslint monorepo to v5.62.0 (@typescript-eslint/eslint-plugin, @typescript-eslint/parser)
  • Update actions/checkout action to v4
  • Update dependency @cucumber/cucumber to v10
  • Update dependency @oclif/core to v3
  • Update dependency @shopify/eslint-plugin to v43
  • Update dependency clsx to v2
  • Update dependency eslint-config-prettier to v9
  • Update dependency eslint-plugin-prettier to v5
  • Update dependency execa to v8
  • Update dependency listr2 to v7
  • Update dependency prettier to v3
  • Update dependency prism-react-renderer to v2
  • Update nrwl monorepo (major) (@nrwl/tao, @nrwl/workspace, nrwl/nx-set-shas, nx)
  • Update typescript-eslint monorepo to v6 (major) (@typescript-eslint/eslint-plugin, @typescript-eslint/parser)
  • 🔐 Create all rate-limited PRs at once 🔐

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Ignored or Blocked

These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.

Detected dependencies

asdf
.tool-versions
  • pnpm 7.32.2
  • node 19.1.0
  • deno 1.33.1
github-actions
.github/workflows/catalysis.yml
  • actions/checkout v3
  • nrwl/nx-set-shas v3
  • pnpm/action-setup v2.2.4
  • actions/checkout v3
  • nrwl/nx-set-shas v3
  • pnpm/action-setup v2.2.4
npm
e2e/package.json
  • @cucumber/cucumber 8.11.1
  • @cucumber/messages 21.0.1
  • @cucumber/pretty-formatter 1.0.0
  • execa 6.1.0
  • picocolors 1.0.0
  • ts-node 10.9.1
  • @types/node *
  • typescript 4.9.5
package.json
  • recursive-copy-cli ^1.0.20
  • @babel/core 7.21.5
  • @changesets/cli 2.26.1
  • @shopify/eslint-plugin 42.1.0
  • @nrwl/cli 15.9.2
  • @nrwl/tao 15.9.2
  • @nrwl/workspace 15.9.2
  • @shopify/prettier-config 1.1.2
  • @types/fs-extra 11.0.1
  • @types/node 18.15.11
  • @types/rimraf 3.0.2
  • @types/tmp 0.2.3
  • @typescript-eslint/eslint-plugin 5.58.0
  • @typescript-eslint/parser 5.58.0
  • cross-env 7.0.3
  • eslint 8.38.0
  • eslint-config-airbnb 19.0.4
  • eslint-config-prettier 8.8.0
  • eslint-plugin-import 2.27.5
  • eslint-plugin-jest 27.2.1
  • eslint-plugin-jsx-a11y 6.7.1
  • eslint-plugin-prettier 4.2.1
  • eslint-plugin-react 7.32.2
  • eslint-plugin-react-hooks 4.6.0
  • eslint-plugin-rulesdir 0.2.2
  • fast-glob 3.2.12
  • fs-extra 11.1.1
  • install 0.13.0
  • nx 15.9.2
  • pathe 1.1.0
  • rimraf 4.4.1
  • prettier 2.8.7
  • shx 0.3.4
  • tempy 3.0.0
  • tmp 0.2.1
  • vite 4.2.1
  • typescript 4.9.5
  • vitest 0.30.1
  • ts-node 10.9.1
packages/build/package.json
  • @catalysisdev/core 0.8.0
  • node >= 18.0.0
packages/catalysisdev/package.json
  • @catalysisdev/build 0.8.0
  • @catalysisdev/check 0.8.0
  • @catalysisdev/db 0.8.0
  • @catalysisdev/generate 0.8.0
  • @catalysisdev/dev 0.8.0
  • @catalysisdev/test 0.8.0
  • @catalysisdev/info 0.8.0
  • @catalysisdev/routes 0.8.0
  • @catalysisdev/core 0.8.0
  • @oclif/plugin-help 5.2.9
  • node >= 18.0.0
packages/check/package.json
  • @catalysisdev/core 0.8.0
  • node >= 18.0.0
packages/core/package.json
  • @oclif/core 1.26.2
  • @remix-run/web-fetch ^4.2.0
  • acorn 8.8.2
  • case-anything 2.1.10
  • commondir 1.0.1
  • esbuild 0.17.18
  • execa 6.1.0
  • fast-glob 3.2.12
  • find-up 6.3.0
  • fs-extra 11.1.1
  • handlebars 4.7.7
  • inquirer 9.1.5
  • listr2 5.0.8
  • magic-string 0.30.0
  • noop-stream 1.0.0
  • ohmyfetch 0.4.21
  • parse-json 6.0.2
  • path-equal 1.2.5
  • pathe 1.1.0
  • picocolors 1.0.0
  • plur 5.1.0
  • radix3 1.0.1
  • safe-stable-stringify ^2.4.2
  • source-map-support 0.5.21
  • stacktracey 2.1.8
  • strip-ansi 7.0.1
  • tempy 3.0.0
  • terminal-link 3.0.0
  • typed-file-system-path 0.12.0
  • unplugin 1.3.1
  • username 6.0.0
  • vite 4.2.1
  • yargs 17.7.1
  • zod 3.21.4
  • @types/inquirer 9.0.3
  • @types/yargs 17.0.24
  • rimraf 4.4.1
  • node >= 18.0.0
packages/create-project/package.json
  • @catalysisdev/core 0.8.0
  • node >= 18.0.0
packages/db/package.json
  • @catalysisdev/core 0.8.0
  • node >= 18.0.0
packages/dev/package.json
  • h3 1.6.4
  • listhen 1.0.4
  • @catalysisdev/core 0.8.0
  • node >= 18.0.0
packages/eslint-plugin/package.json
  • eslint ^6.0.0 || ^7.0.0 || ^8.0.0
  • @typescript-eslint/eslint-plugin 5.58.0
  • @typescript-eslint/parser 5.58.0
  • typescript 4.9.5
  • node >= 18.0.0
packages/generate/package.json
  • @catalysisdev/core 0.8.0
  • node >= 18.0.0
packages/info/package.json
  • @catalysisdev/core 0.8.0
  • node >= 18.0.0
packages/kit/package.json
  • node >= 18.0.0
packages/routes/package.json
  • @catalysisdev/core 0.8.0
  • node >= 18.0.0
ship/package.json
website/package.json
  • @algolia/client-search 4.17.0
  • @docusaurus/core 2.4.0
  • @docusaurus/preset-classic 2.4.0
  • @mdx-js/react 1.6.22
  • clsx 1.2.1
  • prism-react-renderer 1.3.5
  • react 17.0.2
  • react-dom 17.0.2
  • @docusaurus/module-type-aliases 2.4.0
  • @types/react 17.0.58
  • typescript 4.9.5
nvm
.nvmrc
  • node 19.1.0

  • Check this box to trigger a request for Renovate to run again on this repository

Ideas from other frameworks

I created this issue to jot down ideas from other frameworks that we could take inspiration from for Gestalt.

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.