blok0 0.1.3 → 0.1.4

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 CHANGED
@@ -143,7 +143,7 @@ async function main() {
143
143
  case 'add':
144
144
  const [addSubcommand, ...addRestArgs] = restArgs;
145
145
  if (addSubcommand === 'block') {
146
- const blockUrl = `https://www.blok0.com/api/cli/sections/${addRestArgs[0]}`;
146
+ const blockUrl = `https://www.blok0.xyz/api/cli/sections/${addRestArgs[0]}`;
147
147
  if (!blockUrl) {
148
148
  console.error('Error: Block Slug is required. Use: blok0 add block <slug>');
149
149
  process.exit(1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "blok0",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "CLI tool for Payload CMS scaffolding",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
package/src/index.ts CHANGED
@@ -123,7 +123,7 @@ async function main() {
123
123
  case 'add':
124
124
  const [addSubcommand, ...addRestArgs] = restArgs;
125
125
  if (addSubcommand === 'block') {
126
- const blockUrl = `https://www.blok0.com/api/cli/sections/${addRestArgs[0]}`;
126
+ const blockUrl = `https://www.blok0.xyz/api/cli/sections/${addRestArgs[0]}`;
127
127
  if (!blockUrl) {
128
128
  console.error('Error: Block Slug is required. Use: blok0 add block <slug>');
129
129
  process.exit(1);