vite-wp 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -25,7 +25,7 @@ ViteWP is bring-your-own database. It does not start MySQL for you.
25
25
  mkdir my-site
26
26
  cd my-site
27
27
  npm init -y
28
- npm install vitewp astro typescript @astrojs/check
28
+ npm install vite-wp astro typescript @astrojs/check
29
29
  npx vitewp init
30
30
  cp .env.example .env
31
31
  npm run dev
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vite-wp",
3
3
  "private": false,
4
- "version": "0.1.0",
4
+ "version": "0.1.1",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "vitewp": "dist/cli.js"
@@ -1,5 +1,5 @@
1
1
  import { defineConfig } from 'astro/config';
2
- import vitewp from 'vitewp/astro';
2
+ import vitewp from 'vite-wp/astro';
3
3
 
4
4
  export default defineConfig({
5
5
  output: 'server',
@@ -1,5 +1,5 @@
1
1
  import { defineLiveCollection } from 'astro/content/config';
2
- import { wpMenuLoader, wpPostTypeLoader, wpRouteLoader } from 'vitewp/content';
2
+ import { wpMenuLoader, wpPostTypeLoader, wpRouteLoader } from 'vite-wp/content';
3
3
  import { wpContentItemSchema, wpMenuSchema, wpResolvedRouteSchema } from './wordpress/schemas.js';
4
4
 
5
5
  export const collections = {
@@ -1,4 +1,4 @@
1
- import { defineConfig } from 'vitewp';
1
+ import { defineConfig } from 'vite-wp';
2
2
 
3
3
  export default defineConfig({
4
4
  database: {