8 Commits

Author SHA1 Message Date
Carlos Cuesta
4dcf12834d
🔧 Run turborepo build in dependencies (#1419)
🐛 Run `build` in dependencies
2023-04-12 00:23:59 +02:00
Carlos Cuesta
3a9f8a1697
🔧 Add persistent flag to dev task (#1283) 2023-01-18 20:31:03 +01:00
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
Carlos Cuesta
f23d0977e6
♻️ Migrate website to TypeScript (#1244)
* 🔧 Add typescript configuration files
*  Install typescript dependencies
* ♻️ Migrate `lint-staged` to .ts(x) files
* ♻️ Migrate `eslint` configuration to TypeScript
* ♻️ Migrate `jest` configuration to TypeScript
* 🔥 Remove `babel` configuration
*  Uninstall flow dependencies
* 🔥 Remove `flow` configuration
* 👷 Run `tsc` in `ci` workflow
* 🔧 Update `pre-push` hook
* ♻️ Migrate `pages/api` to TS
* ♻️ Migrate `pages/_app` to TS
* ♻️ Migrate `pages/_document` to TS
* ♻️ Migrate `pages/about` to TS
* ♻️ Migrate `pages/contributors` to TS
* ♻️ Migrate `pages/index` to TS
* ♻️ Migrate `pages/related-tools` to TS
* ♻️ Migrate `components/Button` to TS
* ♻️ Migrate `components/CarbonAd` to TS
* ♻️ Migrate `components/ContributorsList` to TS
* ♻️ Migrate `components/Icon` to TS
* ♻️ Migrate `components/SEO` to TS
* ♻️ Migrate `components/Layout` to TS
* ♻️ Migrate `components/GitmojiList` to TS
* ♻️ Migrate `__tests__/` pages to TS
* 🏷️ Update `next-env.d.ts`
2022-12-28 16:27:23 +01:00
Carlos Cuesta
2910dcf25b
🐛 Use relative paths in build cache outputs 2022-12-23 13:39:45 +01:00
Carlos Cuesta
6fe4655674
👷 Run lint before publishPackage with turbo (#1237) 2022-12-23 11:46:47 +01:00
Carlos Cuesta
f5ee831dc9
🐛 Fix build static outputs (#1236) 2022-12-22 21:11:07 +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