Skip to content

Commit

Permalink
squash!
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaRHristov committed Mar 29, 2024
1 parent e463c47 commit 46ee67c
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# [astro-convert] 🫶
# [convert-astro] 🫶

This **[Astro integration][astro-integration]** converts all your files into
different formats.
Expand All @@ -16,33 +16,33 @@ command will:
1. (Optionally) Install all necessary dependencies and peer dependencies
2. (Also optionally) Update your `astro.config.*` file to apply this integration

To install `astro-convert`, run the following from your project directory and
To install `convert-astro`, run the following from your project directory and
follow the prompts:

Using NPM:

```sh
npx astro add astro-convert
npx astro add convert-astro
```

Using Yarn:

```sh
yarn astro add astro-convert
yarn astro add convert-astro
```

Using PNPM:

```sh
pnpx astro add astro-convert
pnpx astro add convert-astro
```

### Install dependencies manually

First, install the `astro-convert` integration like so:
First, install the `convert-astro` integration like so:

```sh
npm install -D -E astro-convert
npm install -D -E convert-astro
```

Then, apply this integration to your `astro.config.*` file using the
Expand All @@ -51,7 +51,7 @@ Then, apply this integration to your `astro.config.*` file using the
**`astro.config.ts`**

```ts
import Convert from "astro-convert";
import Convert from "convert-astro";

export default {
integrations: [Convert()],
Expand All @@ -67,7 +67,7 @@ You can override any of the default options from the configurations of:
or disable them entirely:

```ts
import Convert from "astro-convert";
import Convert from "convert-astro";

export default {
integrations: [
Expand All @@ -81,7 +81,7 @@ export default {
Set `Logger` to `0` if you do not want to see debug messages. Default is `2`.

```ts
import Convert from "astro-convert";
import Convert from "convert-astro";

export default {
integrations: [
Expand All @@ -92,7 +92,7 @@ export default {
};
```

[astro-convert]: https://npmjs.org/astro-convert
[convert-astro]: https://npmjs.org/convert-astro
[astro-integration]: https://docs.astro.build/en/guides/integrations-guide/

## Changelog
Expand Down
2 changes: 1 addition & 1 deletion Source/Function/Integration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default ((...[_Option = {}]: Parameters<Type>) => {
}

return {
name: "astro-convert",
name: "convert-astro",
hooks: {
"astro:build:done": async ({ dir }) => {
if (!Paths.size) {
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "astro-convert",
"name": "convert-astro",
"version": "0.0.1",
"private": false,
"description": "🫶 AstroJS conversion utilities. Convert your files automatically.",
Expand All @@ -11,13 +11,13 @@
"javascript",
"performance"
],
"homepage": "https://github.com/Playform/AstroConvert#readme",
"homepage": "https://github.com/Playform/ConvertAstro#readme",
"bugs": {
"url": "https://github.com/Playform/AstroConvert/issues"
"url": "https://github.com/Playform/ConvertAstro/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Playform/AstroConvert.git"
"url": "git+https://github.com/Playform/ConvertAstro.git"
},
"license": "SEE LICENSE IN LICENSE",
"author": {
Expand Down

0 comments on commit 46ee67c

Please sign in to comment.