@jee-r/astro-decap-cms 0.6.0 → 0.6.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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { spawn } from 'node:child_process';
2
2
  import AdminDashboard from './vite-plugin-admin-dashboard.js';
3
- const widgetPath = 'astro-decap-cms/identity-widget';
3
+ const widgetPath = '@jee-r/astro-decap-cms/identity-widget';
4
4
  export default function NetlifyCMS({ disableIdentityWidgetInjection = false, adminPath = '/admin', config: cmsConfig, previewStyles = [], }) {
5
5
  if (!adminPath.startsWith('/')) {
6
6
  throw new Error('`adminPath` option must be a root-relative pathname, starting with "/", got "' +
@@ -37,7 +37,7 @@ export default function NetlifyCMS({ disableIdentityWidgetInjection = false, adm
37
37
  updateConfig(newConfig);
38
38
  injectRoute({
39
39
  pattern: adminPath,
40
- entryPoint: 'astro-decap-cms/admin-dashboard.astro',
40
+ entryPoint: '@jee-r/astro-decap-cms/admin-dashboard.astro',
41
41
  });
42
42
  if (!disableIdentityWidgetInjection) {
43
43
  injectScript('page', identityWidgetScript);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jee-r/astro-decap-cms",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "Add Decap CMS’s admin dashboard to your Astro project",
5
5
  "repository": "jee-r/astro-decap-cms",
6
6
  "homepage": "https://github.com/jee-r/astro-decap-cms",