rafters 0.0.73 → 0.0.75
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 +5 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -28854,7 +28854,7 @@ function getInstalledNames(config2) {
|
|
|
28854
28854
|
function getComponentTarget(config2) {
|
|
28855
28855
|
return resolveComponentTarget(config2);
|
|
28856
28856
|
}
|
|
28857
|
-
var SHARED_EXTENSIONS = /* @__PURE__ */ new Set([".
|
|
28857
|
+
var SHARED_EXTENSIONS = /* @__PURE__ */ new Set([".behavior.ts", ".classes.ts"]);
|
|
28858
28858
|
function isSharedFile(path) {
|
|
28859
28859
|
for (const ext of SHARED_EXTENSIONS) {
|
|
28860
28860
|
if (path.endsWith(ext)) return true;
|
|
@@ -28987,6 +28987,10 @@ function transformFileContent(content, config2, fileType = "component", cwd = pr
|
|
|
28987
28987
|
"from '@/$1/$2'"
|
|
28988
28988
|
);
|
|
28989
28989
|
}
|
|
28990
|
+
transformed = transformed.replace(
|
|
28991
|
+
/from\s+['"]\.\.\/([^/'"]+)\/\1([^'"]*)['"]/g,
|
|
28992
|
+
`from '@/${aliasComponents}/$1$2'`
|
|
28993
|
+
);
|
|
28990
28994
|
transformed = transformed.replace(
|
|
28991
28995
|
/from\s+['"]\.\.\/([^'"]+)['"]/g,
|
|
28992
28996
|
`from '@/${aliasComponents}/$1'`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rafters",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.75",
|
|
4
4
|
"description": "Design Intelligence CLI. Scaffold tokens, import existing shadcn/Tailwind v4 sources, add components, and serve an MCP server so AI agents read decisions instead of guessing.",
|
|
5
5
|
"homepage": "https://rafters.studio",
|
|
6
6
|
"license": "MIT",
|