5 Commits

Author SHA1 Message Date
Carlos Cuesta
8fd367f259
Export gitmojis as CJS and ESM (#1280)
*  Install `unbuild` dependency
* 🚚 Rename `gitmojis.d.ts` to `index.d.ts`
*  Export `cjs` and `esm` with `unbuild`
* 👷 Add `build` step to publish action
* 🔧 Add `gitmojis` build output to turborepo config
* 🔧 Add `build` as a dependency for `lint`, `tscheck` and `build`
*  Add `assert { type: json }` for JSON imports
* 🧑‍💻 Watch changes on `gitmojis` to rebuild deps for website (#1282)

Co-authored-by: Vinícius Hoyer <contact@vhoyer.dev>
2023-01-18 19:33:43 +01:00
Vinícius Hoyer
d2b5d6a798
Add schema to gitmojis (#1263) 2023-01-13 19:26:48 +01:00
Carlos Cuesta
6233229fe1
♻️ Replace jsonlint with ajv-cli (#1253)
* ♻️ Update schema to `draft2020`
* ♻️ Replace `jsonlint` with `ajv-cli`
* 🚚 Rename `api` endpoint from `.tsx` to `.ts`
* 🔧 Use prettier on .ts files in gitmojis
2023-01-05 11:43:01 +01:00
Carlos Cuesta
615ced3dda
🏷️ Add TypeScript type declarations to gitmojis package (#1247)
* 🏷️ Add `gitmojis.d.ts` TypeScript module declaration
* 🔧 Add `types` field to `package.json`
2023-01-02 12:38:12 +01:00
Carlos Cuesta
1ccef5a5c3
🏗️ Transform project into a monorepo (#1235)
* 🏗️ Define monorepo architecture
* 🚚 Extract `gitmojis` as an isolated package
* 🚚 Extract `website` as an isolated package
* 🚚 Clean-up root package.json
*  Install `turbo`
* 🔧 Setup turborepo
* 👷 Use `turbo` in `ci` workflow
* 👷 Update `npm-publish` workflow with `turbo`
* ♻️ Migrate yarn from `classic` to `berry`
* 📝 Update contributing guide
* 🎨 Update readme
* 📝 Add readme file for `gitmojis` package
* 🚚 Move `public` folder to `website` package
2022-12-22 20:51:15 +01:00