Skip to content

Commit dc9036a

Browse files
committed
feat: folder restructured
1 parent 9f82356 commit dc9036a

22 files changed

+11
-11
lines changed

packages/gluestack-cli/src/commands/add.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ import { Command } from 'commander';
22
import { z } from 'zod';
33
import { handleError } from '../util/handle-error';
44
import { log } from '@clack/prompts';
5-
import { componentAdder } from '../util/add-components';
5+
import { componentAdder } from '../util/add';
66
import { config } from '../config';
77
import { checkWritablePath, isValidPath, projectRootPath } from '../util';
8-
import { checkIfInitialized, getComponentsPath } from '../util/config-generate';
8+
import { checkIfInitialized, getComponentsPath } from '../util/config';
99

1010
const addOptionsSchema = z.object({
1111
components: z.string().optional(),

packages/gluestack-cli/src/commands/init.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { Command } from 'commander';
22
import { z } from 'zod';
33
import { handleError } from '../util/handle-error';
44
import { log } from '@clack/prompts';
5-
import { InitializeGlueStack } from '../util/init-gluestack';
5+
import { InitializeGlueStack } from '../util/init';
66
import { config } from '../config';
77
import {
88
checkWritablePath,

packages/gluestack-cli/src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const config = {
1818
nativewindUtilPattern: '@gluestack-ui/nativewind-utils/',
1919
gluestackUIPattern: '@gluestack-ui/',
2020
templatesDir: '../../../template',
21-
codeModesDir: '../../../template/template-codemods',
21+
codeModesDir: '../../../template/codemods',
2222
};
2323

2424
export { config };

packages/gluestack-cli/src/util/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import os from 'os';
2-
import { join, dirname, extname, resolve } from 'path';
2+
import { join, dirname, extname } from 'path';
33
import fs, { stat } from 'fs-extra';
44
import {
55
log,

0 commit comments

Comments
 (0)