tokka 0.2.3 → 0.2.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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -15,7 +15,7 @@ var __dirname = path.dirname(__filename);
15
15
  async function initCommand(options) {
16
16
  console.log(kleur.bold().cyan("\n\u2728 Welcome to tokka\n"));
17
17
  const cwd = process.cwd();
18
- const systemsDir = path.join(__dirname, "../../systems");
18
+ const systemsDir = path.join(__dirname, "../systems");
19
19
  const systems = await loadSystems(systemsDir);
20
20
  let systemId = options.system;
21
21
  if (!systemId) {
@@ -196,7 +196,7 @@ async function addCommand(components) {
196
196
  spinner.start(`Adding ${component}...`);
197
197
  const sourceFile = path2.join(
198
198
  __dirname2,
199
- "../../ui/src",
199
+ "../components",
200
200
  COMPONENT_REGISTRY[component]
201
201
  );
202
202
  const targetFile = path2.join(componentsDir, COMPONENT_REGISTRY[component]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tokka",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "type": "module",
5
5
  "description": "A shadcn-compatible UI foundation with a real token system and optional Figma exports",
6
6
  "bin": "./dist/index.js",