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.
- package/dist/index.js +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, "
|
|
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
|
-
"
|
|
199
|
+
"../components",
|
|
200
200
|
COMPONENT_REGISTRY[component]
|
|
201
201
|
);
|
|
202
202
|
const targetFile = path2.join(componentsDir, COMPONENT_REGISTRY[component]);
|