Skip to content

Commit

Permalink
v1.3.0-canary.3
Browse files Browse the repository at this point in the history
  • Loading branch information
blefnk committed Aug 11, 2024
1 parent ba326f2 commit 4b352bb
Show file tree
Hide file tree
Showing 14 changed files with 271 additions and 295 deletions.
4 changes: 2 additions & 2 deletions .github/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ For those who are viewing the current markdown file using:

### 1.2.6 - August 4, 2024 – The Resurrection Update

Below you can see a copy of [the article from Bleverse Docs](https://docs.bleverse.com/en/blog/relivator/v126), which may be a bit outdated below. Please refer to [this blog post](https://docs.bleverse.com/en/blog/relivator/v126) to read the most recent version. Bleverse Docs also has translations of the article into other languages; and will contain even more information about Relivator than this README.md, including notes from all past and future releases.
Below you can see a copy of [the article from Reliverse Docs](https://docs.reliverse.com/en/relivator/v126), which may be a bit outdated below. Please refer to [this blog post](https://docs.reliverse.com/en/relivator/v126) to read the most recent version. Reliverse Docs also has translations of the article into other languages; and will contain even more information about Relivator than this README.md, including notes from all past and future releases.

**Relivator is Back with Version 1.2.6!** 🥳

Expand Down Expand Up @@ -167,7 +167,7 @@ How to Install and Get Started? Please visit [the project's README](../README.md

</details>

Please visit the CHANGELOG.md or [Bleverse Docs](https://docs.bleverse.com/en/blog/relivator/changelog) to read the older versions release notes.
Please visit the CHANGELOG.md or [Reliverse Docs](https://docs.reliverse.com/en/relivator) to read the older versions release notes.

### Everyone! Thank You 🙏

Expand Down
2 changes: 1 addition & 1 deletion .github/TRANSLATIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ For those who are viewing the current markdown file using:
– GitHub: Does this .md file appear different from what you are used to seeing on GitHub? Ensure the URL does not end with "?plain=1".
-->

[📖 Docs](https://docs.bleverse.com)
[📖 Docs](https://docs.reliverse.com/en)

Are you fluent in a language other than English? the expertise is invaluable to us!

Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ Our goal is to create the world's most feature-rich and globally accessible Next

## The Huge Relivator 1.2.6 is Finally Available

[**👉 Read the Detailed Blog Post About This Update 👈**](https://docs.bleverse.com/en/blog/relivator/v126)
[**👉 Read the Detailed Blog Post About This Update 👈**](https://docs.reliverse.com/en/relivator/v126)

Relivator 1.2.6 was released on August 4, 2024! We are now actively working on the next major update, Relivator 1.3.0, with the goal of making the project production-ready, clean, and high-quality. Please join us in actively searching for issues, contributing freely, and earning cool rewards. A canary branch will be launched soon, and the dev branch is already available for a limited time to all sponsors at any paid pledge level.

Expand Down Expand Up @@ -252,7 +252,7 @@ Below are some scripts configured in the `scripts` section of the `package.json`
```bash
# pnpm tsx reliverse.config.ts --details
ℹ ▲ Framework: Relivator v1.2.6 ▲ Engine: Reliverse v0.4.0 ▲ Hotline: https://discord.gg/Pb8uKbwpsJ
ℹ Relivator v1.2.6 Release Blog Post 👉 https://docs.bleverse.com/en/blog/relivator/v126
ℹ Relivator v1.2.6 Release Blog Post 👉 https://docs.reliverse.com/en/relivator/v126
ℹ Help Relivator become even better! Please star the repo – https://github.com/blefnk/relivator
ℹ For experienced users: run 'pnpm reli:prepare' to update all dependencies to the latest versions and check if the code requires any adjustments.
ℹ Meet quality standards: run 'pnpm appts' and 'pnpm fix:putout-unstable' to get linting, formatting, and more.
Expand Down Expand Up @@ -854,7 +854,7 @@ Alternatively, check the GitHub docs on [how to create a pull request](https://h
- [ ] 49. Implement Relivator's/Reliverse's own version of [Saas UI](https://saas-ui.dev) to be fully compatible with our project with only needed functionality, with using Tailwind and Shadcn instead of Chakra.
- [ ] 50. Implement our own fork of [Radix Themes](https://radix-ui.com) library with set up `<main>` as wrapper instead of its current `<section>`; OR implement our very own solution which generates Tailwind instead of Radix's classes.
- [ ] 51. Implement full [Million.js](https://million.dev) support (read [Million 3.0 Announcement](https://million.dev/blog/million-3) to learn more).
- [ ] 52. Implement file uploads using [UploadThing](https://uploadthing.com) and [Cloudinary](https://cloudinary.com).
- [ ] 52. Implement file uploads using [UploadThing](https://uploadthing.com) and [Cloudinary](https://cloudinary.com) (NOTE: "res.cloudinary.com" and "utfs.io" should be added to `nextConfig.images.remotePatterns`).
- [ ] 53. Implement dynamic switching between app features, like database provider, by making corresponding checks for environment variables.
- [ ] 54. Implement docs to the project and move each explanation from the code into that docs.
- [ ] 55. Implement deep feature-parity and easy-migration compatibility with Reliverse.
Expand Down Expand Up @@ -924,7 +924,7 @@ This project is licensed under [the MIT License](https://choosealicense.com/lice
### 1.2.6 - August 4, 2024 – The Resurrection Update
Below you can see a small copy of [the article from Bleverse Docs](https://docs.bleverse.com/en/blog/relivator/v126), which is possibly outdated. Please refer to [1.2.6 Release Notes Page on GitHub](https://github.com/blefnk/relivator-nextjs-template/releases/tag/1.2.6) or to [this blog post](https://docs.bleverse.com/en/blog/relivator/v126) to read the most recent version. Bleverse Docs also has translations of the article into other languages; and will contain even more information about Relivator than this README.md, including notes from all past and future releases.
Below you can see a small copy of [the article from Reliverse Docs](https://docs.reliverse.com/en/relivator/v126), which is possibly outdated. Please refer to [1.2.6 Release Notes Page on GitHub](https://github.com/blefnk/relivator-nextjs-template/releases/tag/1.2.6) or to [this blog post](https://docs.reliverse.com/en/relivator/v126) to read the most recent version. Reliverse Docs also has translations of the article into other languages; and will contain even more information about Relivator than this README.md, including notes from all past and future releases.
**Relivator is Back with Version 1.2.6!** 🥳
Expand Down Expand Up @@ -1083,7 +1083,7 @@ How to Install and Get Started? Please refer to the [🏗️ Installation](#inst
</details>
Please visit the [CHANGELOG.md](.github/CHANGELOG.md) or [Bleverse Docs](https://docs.bleverse.com/en/blog/relivator/changelog) to read the release notes for older versions.
Please visit the [CHANGELOG.md](.github/CHANGELOG.md) or [Reliverse Docs](https://docs.reliverse.com/en/relivator) to read the release notes for older versions.
## The Final Words
Expand Down
2 changes: 1 addition & 1 deletion addons/scripts/reliverse/quotes/lines.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export function getWebDevelopmentAdvice(level: TLevel): string {

// Personalized quotes and reviews
export const personalQuotes = [
"[Relivator v1.2.6 Release Blog Post] 👉 https://docs.bleverse.com/en/blog/relivator/v126",
"[Relivator v1.2.6 Release Blog Post] 👉 https://docs.reliverse.com/en/relivator/v126",
"Isn't coding so much better with some good music? Try working with Relivator while you listen to the beautiful songs on the MF Piano YouTube channel (https://youtube.com/@mfpiano). My brother runs the channel and would really appreciate your support. Subscribing, watching, liking, and commenting would help his channel grow. Thanks a bunch! © blefnk",
"For experienced users: run 'pnpm reli:prepare' to update all dependencies to the latest versions and check if the code requires any adjustments.",
"I learned a lot from using the Relivator project! I see the hard work that was put into it. It's truly an amazing open-source starter; I have built my startup using it. @blefnk, your hard work is impressive; it's astonishing how you manage it all alone. © demiroo (Özkan Demir)",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,6 @@
"addons/scripts/reliverse/relicon/setup/configs/eslint.config.minimal.ts",
"addons/scripts/reliverse/relicon/setup/configs/eslint.config.rules-disabled.ts",
"addons/scripts/reliverse/relicon/setup/configs/eslint.config.ultimate.ts",
"addons/scripts/reliverse/relicon/setup/configs/next.config.clean.ts",
"addons/scripts/reliverse/relicon/setup/configs/next.config.minimal.ts",
"addons/scripts/reliverse/relicon/setup/configs/next.config.recommended.ts",
"addons/scripts/reliverse/relicon/setup/prompt/env.ts",
Expand Down Expand Up @@ -248,6 +247,8 @@
],
"ignoreBinaries": ["codemod", "eslint_d", "py", "ruff", "stripe", "vercel"],
"ignoreDependencies": [
"@million/lint",
"@next/bundle-analyzer",
"@putout/.+",
"@radix-ui/react-alert-dialog",
"@radix-ui/react-hover-card",
Expand All @@ -268,6 +269,7 @@
"eslint-plugin-putout",
"input-otp",
"jsonc-eslint-parser",
"million",
"montag",
"next-superjson-plugin",
"node-fetch-native",
Expand Down

This file was deleted.

125 changes: 50 additions & 75 deletions addons/scripts/reliverse/relicon/setup/configs/next.config.minimal.ts
Original file line number Diff line number Diff line change
@@ -1,98 +1,73 @@
// Everything starts here. This is the main Next.js configuration file.
// The Reliverse Next Config comes with minimal and recommended configurations.
// Run `pnpm reli:setup` to easily switch between them and set up other
// tools. If you want to try all new Next.js features and
// Million.js, choose the recommended configuration.
// P.S. The *.mjs extension is not needed anymore
// because the package.json type module is used.

import createMDX from "@next/mdx";
import createNextIntlPlugin from "next-intl/plugin";
import remarkGfm from "remark-gfm";

// The Reliverse Next Config comes with minimal and recommended configurations.
// Run `pnpm reli:setup` to easily switch between them and set up other tools.
// If you want to try all new Next.js features and Million.js, choose the recommended configuration.
// P.S. The *.mjs extension is no longer necessary because the package.json type module is used.
await import("~/env.js");

// Uncomment the following lines to enable the Vercel Toolbar (and <Reliverse /> component in RootLocaleLayout)
// import withVercelToolbar from "@vercel/toolbar/plugins/next";
//
// The whitelist list of domains that are allowed to show media content

const hostnames = [
"*.githubusercontent.com",
"*.googleusercontent.com",
"api.dicebear.com",
"cdn.discordapp.com",
"discordapp.com",
"githubusercontent.com",
"googleusercontent.com",
"i.imgur.com",
"images.unsplash.com",
"img.youtube.com",
"pbs.twimg.com",
"res.cloudinary.com",
"utfs.io",
"www.gravatar.com",
"img.clerk.com",
"images.clerk.com",
];

// @see https://nextjs.org/docs/app/building-the-application/configuring
/** @type {import('next').NextConfig} */
const nextConfig = {
experimental: {
// React Compiler currently uses Webpack/Babel only, so it may slightly slow down the build
// reactCompiler: false,
mdxRs: true,
optimizePackageImports: ["lucide-react", "@radix-ui/react-icons"],
ppr: false, // true - supported by next@canary only
// uncomment if you use superjson in 'browser' context
// swcPlugins: [
// [
// "next-superjson-plugin",
// {
// excluded: [],
// },
// ],
// ],
},
images: {
formats: ["image/avif", "image/webp"],
remotePatterns: hostnames.map((hostname) => ({
hostname,
protocol: "https",
})),
remotePatterns: [
{
port: "",
protocol: "https",
hostname: "utfs.io",
},
{
port: "",
protocol: "https",
hostname: "img.clerk.com",
},
{
port: "",
protocol: "https",
hostname: "api.dicebear.com",
},
{
port: "",
protocol: "https",
hostname: "cdn.discordapp.com",
},
{
port: "",
protocol: "https",
hostname: "lh3.googleusercontent.com",
},
{
port: "",
protocol: "https",
hostname: "avatars.githubusercontent.com",
},
],
},
pageExtensions: ["js", "jsx", "mdx", "ts", "tsx"],

// Adobe React Spectrum (next dev --turbo is not supported)
// transpilePackages: [
// "@adobe/react-spectrum",
// "@react-spectrum/*",
// "@spectrum-icons/*",
// ].flatMap((spec) => glob.sync(spec, { cwd: "node_modules/" })),
experimental: {
mdxRs: true,
optimizePackageImports: [
"recharts",
"lucide-react",
"@radix-ui/react-icons",
"@radix-ui/react-avatar",
"@radix-ui/react-select",
],
},
pageExtensions: ["js", "jsx", "mdx", "ts", "tsx"],
};

// Create a config wrapper required to integrate a modern Next.js MDX support
// @see https://nextjs.org/docs/app/building-the-application/configuring/mdx
const withMDX = createMDX({
// extension: /\.mdx?$/,
options: {
rehypePlugins: [],
remarkPlugins: [remarkGfm],
},
});

// Create a configuration wrapper required to change the default next-intl config location
// @see https://next-intl-docs.vercel.app/docs/getting-started/app-router/with-i18n-routing
const withIntl = createNextIntlPlugin("./src/i18n.ts");

// Uncomment the following lines to enable the Vercel Toolbar (and <Reliverse /> component in RootLocaleLayout)
//
// const reliverseConfig = withIntl(withMDX(nextConfig));
// const reliverseConfigWithVercelToolbar = withVercelToolbar()(reliverseConfig);
// Export the chained config
// export default process.env.ENABLE_VERCEL_TOOLBAR
// ? reliverseConfigWithVercelToolbar
// : reliverseConfig;
// @ts-expect-error TODO: fix
export default withIntl(withMDX(nextConfig));
const chainedNextConfig = withIntl(withMDX(nextConfig));

export default chainedNextConfig;
Loading

0 comments on commit 4b352bb

Please sign in to comment.