New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@astrojs/solid-js

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@astrojs/solid-js - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

# @astrojs/solid-js
## 0.0.3
### Patch Changes
- [#2889](https://github.com/withastro/astro/pull/2889) [`71c12b90`](https://github.com/withastro/astro/commit/71c12b9047c12158c6e4e67ce0494b8d30ac6387) Thanks [@zadeviggers](https://github.com/zadeviggers)! - Correct package name in README. Package is `@astrojs/solid-js`, not `@astrojs/solid`.
## 0.0.2

@@ -4,0 +10,0 @@

{
"name": "@astrojs/solid-js",
"version": "0.0.2",
"version": "0.0.3",
"description": "Use Solid components within Astro",

@@ -32,3 +32,3 @@ "type": "module",

"devDependencies": {
"astro": "0.25.0",
"astro": "0.25.1",
"astro-scripts": "0.0.2",

@@ -48,3 +48,3 @@ "solid-js": "^1.3.13"

},
"readme": "# @astrojs/solid 💙\n\nThis **[Astro integration][astro-integration]** enables server-side rendering and client-side hydration for your [SolidJS](https://www.solidjs.com/) components.\n\n## Installation\n\nThere are two ways to add integrations to your project. Let's try the most convenient option first!\n\n### (experimental) `astro add` command\n\nAstro includes a CLI tool for adding first party integrations: `astro add`. This command will:\n1. (Optionally) Install all necessary dependencies and peer dependencies\n2. (Also optionally) Update your `astro.config.*` file to apply this integration\n\nTo install `@astrojs/solid`, run the following from your project directory and follow the prompts:\n\n```sh\n# Using NPM\nnpx astro add solid\n# Using Yarn\nyarn astro add solid\n# Using PNPM\npnpx astro add solid\n```\n\nIf you run into any hiccups, [feel free to log an issue on our GitHub](https://github.com/withastro/astro/issues) and try the manual installation steps below.\n\n### Install dependencies manually\n\nFirst, install the `@astrojs/solid` integration like so:\n\n```\nnpm install @astrojs/solid\n```\n\nMost package managers will install associated peer dependencies as well. Still, if you see a \"Cannot find package 'solid-js'\" (or similar) warning when you start up Astro, you'll need to install SolidJS:\n\n```sh\nnpm install solid-js\n```\n\nNow, apply this integration to your `astro.config.*` file using the `integrations` property:\n\n__astro.config.mjs__\n\n```js\nimport solid from '@astrojs/solid';\n\nexport default {\n // ...\n integrations: [solid()],\n}\n```\n\n## Getting started\n\nTo use your first SolidJS component in Astro, head to our [UI framework documentation][astro-ui-frameworks]. You'll explore:\n- 📦 how framework components are loaded,\n- 💧 client-side hydration options, and\n- 🪆 opportunities to mix and nest frameworks together\n\nAlso check our [Astro Integration Documentation][astro-integration] for more on integrations.\n\n[astro-integration]: https://docs.astro.build/en/guides/integrations-guide/\n[astro-ui-frameworks]: https://docs.astro.build/en/core-concepts/framework-components/#using-framework-components"
"readme": "# @astrojs/solid-js 💙\n\nThis **[Astro integration][astro-integration]** enables server-side rendering and client-side hydration for your [SolidJS](https://www.solidjs.com/) components.\n\n## Installation\n\nThere are two ways to add integrations to your project. Let's try the most convenient option first!\n\n### (experimental) `astro add` command\n\nAstro includes a CLI tool for adding first party integrations: `astro add`. This command will:\n1. (Optionally) Install all necessary dependencies and peer dependencies\n2. (Also optionally) Update your `astro.config.*` file to apply this integration\n\nTo install `@astrojs/solid-js`, run the following from your project directory and follow the prompts:\n\n```sh\n# Using NPM\nnpx astro add solid\n# Using Yarn\nyarn astro add solid\n# Using PNPM\npnpx astro add solid\n```\n\nIf you run into any hiccups, [feel free to log an issue on our GitHub](https://github.com/withastro/astro/issues) and try the manual installation steps below.\n\n### Install dependencies manually\n\nFirst, install the `@astrojs/solid-js` integration like so:\n\n```\nnpm install @astrojs/solid-js\n```\n\nMost package managers will install associated peer dependencies as well. Still, if you see a \"Cannot find package 'solid-js'\" (or similar) warning when you start up Astro, you'll need to install SolidJS:\n\n```sh\nnpm install solid-js\n```\n\nNow, apply this integration to your `astro.config.*` file using the `integrations` property:\n\n__astro.config.mjs__\n\n```js\nimport solid from '@astrojs/solid-js';\n\nexport default {\n // ...\n integrations: [solid()],\n}\n```\n\n## Getting started\n\nTo use your first SolidJS component in Astro, head to our [UI framework documentation][astro-ui-frameworks]. You'll explore:\n- 📦 how framework components are loaded,\n- 💧 client-side hydration options, and\n- 🪆 opportunities to mix and nest frameworks together\n\nAlso check our [Astro Integration Documentation][astro-integration] for more on integrations.\n\n[astro-integration]: https://docs.astro.build/en/guides/integrations-guide/\n[astro-ui-frameworks]: https://docs.astro.build/en/core-concepts/framework-components/#using-framework-components\n"
}

@@ -1,2 +0,2 @@

# @astrojs/solid 💙
# @astrojs/solid-js 💙

@@ -15,3 +15,3 @@ This **[Astro integration][astro-integration]** enables server-side rendering and client-side hydration for your [SolidJS](https://www.solidjs.com/) components.

To install `@astrojs/solid`, run the following from your project directory and follow the prompts:
To install `@astrojs/solid-js`, run the following from your project directory and follow the prompts:

@@ -31,6 +31,6 @@ ```sh

First, install the `@astrojs/solid` integration like so:
First, install the `@astrojs/solid-js` integration like so:
```
npm install @astrojs/solid
npm install @astrojs/solid-js
```

@@ -49,3 +49,3 @@

```js
import solid from '@astrojs/solid';
import solid from '@astrojs/solid-js';

@@ -68,2 +68,2 @@ export default {

[astro-integration]: https://docs.astro.build/en/guides/integrations-guide/
[astro-ui-frameworks]: https://docs.astro.build/en/core-concepts/framework-components/#using-framework-components
[astro-ui-frameworks]: https://docs.astro.build/en/core-concepts/framework-components/#using-framework-components