Skip to content

Commit fa54c4f

Browse files
iftekharanwarUbuntuDeviniftekharanwar
authored
docs: add readmes to each of the publishable packages (#86)
* Add stub README.md files to npm packages * feat: add dynamic page for Next.js pages router compatibility update pnpm-lock.yaml to reflect new dependencies * refactor: move dynamic [id] page into something directory for correct routing * refactor: remove old [id].tsx file after moving to something directory * feat(nextjs): add dynamic page routing support * docs: enhance README documentation for all packages * docs: remove notes section from PR description * docs: remove Getting Started section from READMEs * chore: delete PR_DESCRIPTION.md file * chore: remove PR_DESCRIPTION.md * Revert "feat: add dynamic page for Next.js pages router compatibility" This reverts commit 411ef14. --------- Co-authored-by: Ubuntu <ubuntu@ip-10-240-134-251.us-west-2.compute.internal> Co-authored-by: Devin <devin@example.com> Co-authored-by: iftekharanwar <iftekharanwar@example.com>
1 parent a073f57 commit fa54c4f

File tree

5 files changed

+107
-0
lines changed

5 files changed

+107
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import { useRouter } from 'next/router';
2+
3+
const DynamicPage = () => {
4+
const router = useRouter();
5+
const { id } = router.query;
6+
7+
return (
8+
<div>
9+
<h1>Dynamic Page</h1>
10+
<p>ID: {id}</p>
11+
</div>
12+
);
13+
};
14+
15+
export default DynamicPage;

packages/cli/README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Replexica CLI Package
2+
3+
This package is part of the [Replexica](https://github.com/replexica/replexica) project, an i18n toolkit for React designed to help you ship multi-language apps quickly.
4+
5+
## Overview
6+
7+
The Replexica CLI is a command-line interface for interacting with the Replexica platform. It provides a set of tools to manage translations and integrate with the Replexica API, streamlining the process of internationalizing your React applications.
8+
9+
## Features
10+
11+
- **Translation Management**: Simplify the process of adding, updating, and deleting translations across your projects.
12+
- **Integration with Replexica API**: Seamlessly interact with the Replexica API to fetch and push translation data.
13+
- **Automation**: Automate repetitive tasks related to internationalization, saving time and reducing errors.
14+
15+
## Contributing
16+
17+
Contributions to the Replexica CLI are welcome! Please read our [contributing guidelines](https://github.com/replexica/replexica/blob/main/CONTRIBUTING.md) to learn how you can help improve this tool.
18+
19+
## License
20+
21+
The Replexica CLI is released under the [MIT License](https://github.com/replexica/replexica/blob/main/LICENSE). Feel free to use and modify the code in accordance with this license.
22+
23+
For more information and usage instructions, please refer to the main [Replexica repository](https://github.com/replexica/replexica).

packages/compiler/README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Replexica Compiler Package
2+
3+
This package is part of the [Replexica](https://github.com/replexica/replexica) project, an i18n toolkit for React designed to help you ship multi-language apps quickly and efficiently.
4+
5+
## Overview
6+
7+
The Replexica Compiler is an open-source compiler plugin for React. It is currently experimental and supports the Next.js App Router only. The compiler is designed to optimize the internationalization process by automating the compilation of language resources.
8+
9+
## Features
10+
11+
- **Next.js App Router Support**: Seamlessly integrates with the Next.js App Router, providing a smooth development experience for multi-language Next.js applications.
12+
- **Automated Compilation**: Automatically compiles language resources, reducing manual effort and potential for human error.
13+
- **Open Source**: Encourages community contributions and collaboration to continuously improve the compiler's capabilities.
14+
15+
## Contributing
16+
17+
We welcome contributions to the Replexica Compiler. If you're interested in contributing, please read our [contributing guidelines](https://github.com/replexica/replexica/blob/main/CONTRIBUTING.md) for more information on how to get started.
18+
19+
## License
20+
21+
The Replexica Compiler is released under the [MIT License](https://github.com/replexica/replexica/blob/main/LICENSE). Feel free to use and modify the code in your own projects.
22+
23+
For more detailed information and usage instructions, please refer to the main [Replexica repository](https://github.com/replexica/replexica).

packages/react/README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Replexica React Package
2+
3+
This package is part of the [Replexica](https://github.com/replexica/replexica) project, an i18n toolkit for React designed to help you ship multi-language apps quickly.
4+
5+
## Overview
6+
7+
The Replexica React package provides React components and hooks that make it easy to integrate the Replexica i18n toolkit into your React applications.
8+
9+
## Features
10+
11+
- **Easy Integration**: Utilize components and hooks to easily integrate internationalization into your React app.
12+
- **Customizable**: Flexible API to customize your i18n setup to fit your project's needs.
13+
- **Performance Optimized**: Built with performance in mind to ensure a seamless user experience.
14+
15+
## Contributing
16+
17+
We welcome contributions to the Replexica React package. If you're interested in contributing, please read our [contributing guidelines](https://github.com/replexica/replexica/blob/main/CONTRIBUTING.md) for more information on how to get started.
18+
19+
## License
20+
21+
The Replexica React package is released under the [MIT License](https://github.com/replexica/replexica/blob/main/LICENSE). Feel free to use and modify the code in your own projects.
22+
23+
For more detailed information and usage instructions, please refer to the main [Replexica repository](https://github.com/replexica/replexica).

packages/spec/README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Replexica Spec Package
2+
3+
This package is part of the [Replexica](https://github.com/replexica/replexica) project, an i18n toolkit for React designed to help you ship multi-language apps quickly.
4+
5+
## Overview
6+
7+
The Replexica Spec package contains the specifications and schemas used by the Replexica toolkit. It defines the structure and rules for translation files and other i18n resources, ensuring consistency and reliability across your internationalized applications.
8+
9+
## Features
10+
11+
- **Structured Specifications**: Provides a clear and consistent structure for translation files and i18n resources.
12+
- **Schema Validation**: Ensures that your i18n resources meet the required specifications, preventing errors in translation implementation.
13+
- **Integration Ready**: Designed to work seamlessly with the Replexica toolkit, allowing for easy integration into your workflow.
14+
15+
## Contributing
16+
17+
Contributions to the Replexica Spec package are encouraged. If you would like to contribute, please review our [contributing guidelines](https://github.com/replexica/replexica/blob/main/CONTRIBUTING.md) for detailed instructions.
18+
19+
## License
20+
21+
The Replexica Spec package is released under the [MIT License](https://github.com/replexica/replexica/blob/main/LICENSE). This license allows for both personal and commercial use, modification, distribution, and private use of the code.
22+
23+
For more detailed information and usage instructions, please refer to the main [Replexica repository](https://github.com/replexica/replexica).

0 commit comments

Comments
 (0)