ai-elements-vue 1.2.2 → 1.4.0

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/index.js +4 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -3,6 +3,9 @@
3
3
  const { spawnSync } = require('node:child_process')
4
4
  const process = require('node:process')
5
5
 
6
+ const ELEMENTS_REGISTRY_URL
7
+ = process.env.ELEMENTS_REGISTRY_URL ?? 'https://registry.ai-elements-vue.com'
8
+
6
9
  // Function to detect the command used to invoke this script
7
10
  function getCommandPrefix() {
8
11
  // Check for common package manager environment variables
@@ -39,7 +42,7 @@ const targetUrls = components
39
42
  .map(component =>
40
43
  new URL(
41
44
  `${component}.json`,
42
- 'https://registry.ai-elements-vue.com/',
45
+ ELEMENTS_REGISTRY_URL,
43
46
  ).toString(),
44
47
  )
45
48
  .join(' ')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-elements-vue",
3
- "version": "1.2.2",
3
+ "version": "1.4.0",
4
4
  "private": false,
5
5
  "description": "AI Elements Vue is a component library and custom registry built on top of shadcn-vue to help you build AI-native applications faster.",
6
6
  "license": "MIT",