@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.
- package/dist/index.js +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