diff --git a/.changeset/v1-final-patch.md b/.changeset/v1-final-patch.md new file mode 100644 index 0000000..02937f5 --- /dev/null +++ b/.changeset/v1-final-patch.md @@ -0,0 +1,17 @@ +--- +'@dynamix-layout/core': patch +'@dynamix-layout/react': patch +'@dynamix-layout/solid': patch +--- + +Packaging fixes for 1.x, and deprecation notes ahead of 2.0. + +- **React 18 works.** The React bundle no longer inlines React 19's `react/jsx-runtime`, and the peer dependencies are `react` and `react-dom` `^18.0.0 || ^19.0.0` (the `react` peer was `^0.0.1`). The React package's unused IIFE/UMD builds are gone; they weren't reachable through `exports`. +- **Types resolve.** The published declarations of the React and Solid packages imported `../../../core/src`, a path that doesn't exist in the package, so core types were `any`. Each package now ships one self-contained declaration file, plus `index.d.cts` for CommonJS. +- **`require()` works.** The CommonJS builds were named `*.cjs.js` in `"type": "module"` packages, so Node loaded them as ESM. They're now `*.cjs`. Core's `browser` field, which pointed at an IIFE without exports, is removed. +- **Installs on Node 18 and later** (it required Node 22). +- **Solid:** `solid-js` is a peer dependency, so apps don't end up with two copies. +- **Docs:** + - The README now gives the correct stylesheet path, `@dynamix-layout/react/style.css` (`styles.css` also works). + - Repository links point to `xcode-studio/dynamix-layout`. +- **Deprecations:** the props and exports that 2.0 renames or removes are marked `@deprecated`, each naming its replacement and linking the migration guide. Behaviour is unchanged. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 6bfa430..1c80565 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -6,11 +6,11 @@ First off, thank you for considering contributing to Dynamix Layout! It's people ### Reporting Bugs -If you find a bug, please open an issue on our [GitHub Issues page](https://github.com/akash-aman/dynamix-layout/issues). Please include a clear title and description, as much relevant information as possible, and a code sample or an executable test case demonstrating the expected behavior that is not occurring. +If you find a bug, please open an issue on our [GitHub Issues page](https://github.com/xcode-studio/dynamix-layout/issues). Please include a clear title and description, as much relevant information as possible, and a code sample or an executable test case demonstrating the expected behavior that is not occurring. ### Suggesting Enhancements -If you have an idea for an enhancement, please open an issue on our [GitHub Issues page](https://github.com/akash-aman/dynamix-layout/issues). Please provide a clear title and a detailed description of your suggestion. +If you have an idea for an enhancement, please open an issue on our [GitHub Issues page](https://github.com/xcode-studio/dynamix-layout/issues). Please provide a clear title and a detailed description of your suggestion. ### Pull Requests diff --git a/README.md b/README.md index 38ec780..9062275 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ NPM -License +License

@@ -49,7 +49,7 @@ Dynamix Layout is a powerful JavaScript library designed to help you build compl --- -![Demo](https://raw.githubusercontent.com/akash-aman/dynamix-layout/main/assets/demo1.gif) +![Demo](https://raw.githubusercontent.com/xcode-studio/dynamix-layout/main/assets/demo1.gif) --- @@ -167,7 +167,7 @@ export default App ## 🤝 Contributing -Contributions, issues, and feature requests are welcome\! Feel free to check the [issues page](https://github.com/akash-aman/dynamix-layout/issues). +Contributions, issues, and feature requests are welcome\! Feel free to check the [issues page](https://github.com/xcode-studio/dynamix-layout/issues). ## 📝 License diff --git a/SECURITY.md b/SECURITY.md index ac75864..863b5c1 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -6,7 +6,7 @@ The team takes the security of our project seriously. We appreciate your efforts If you discover a security vulnerability, please report it to us privately. **Do not create a public GitHub issue.** -We encourage you to report vulnerabilities through **[GitHub's Private Vulnerability Reporting](https://github.com/akash-aman/dynamix-layout/security)** feature. You can do this by going to the "Security" tab of our repository and clicking on "Report a vulnerability". +We encourage you to report vulnerabilities through **[GitHub's Private Vulnerability Reporting](https://github.com/xcode-studio/dynamix-layout/security)** feature. You can do this by going to the "Security" tab of our repository and clicking on "Report a vulnerability". Alternatively, you can email us at **[sir.akashaman@gmail.com]**. diff --git a/apps/site/src/components/Footer.tsx b/apps/site/src/components/Footer.tsx index 96d5a91..0c13bce 100644 --- a/apps/site/src/components/Footer.tsx +++ b/apps/site/src/components/Footer.tsx @@ -60,7 +60,7 @@ const Footer = () => {