Skip to content

Commit 6c5731e

Browse files
committed
moving the utils folder to the root
1 parent 859363b commit 6c5731e

37 files changed

+6
-1070
lines changed

packages/angular/src/utils/index.ts

Lines changed: 0 additions & 7 deletions
This file was deleted.

packages/angular/src/utils/prompt.ts

Lines changed: 0 additions & 65 deletions
This file was deleted.

packages/astro/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pbuilder/astro",
3-
"version": "1.1.4",
3+
"version": "1.1.5",
44
"description": "A set schematics for astro",
55
"scripts": {
66
"build": "rollup -c --bundleConfigAsCjs",

packages/astro/src/builder-add/builder-add.factory.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Rule, noop } from '@angular-devkit/schematics';
2-
import { logger, spawnAsync } from '../utils';
2+
import { logger, spawnAsync } from '../../../../utils';
33

44
export function addFactory({
55
installCli,

packages/astro/src/builder-generate/component/component.factory.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { parseName } from '../../../../../utils';
12
import {
23
Rule,
34
apply,
@@ -11,7 +12,6 @@ import {
1112
MergeStrategy,
1213
Tree,
1314
} from '@angular-devkit/schematics';
14-
import { parseName } from '../../utils';
1515

1616
export function componentFactory({ name, addSlot }: { name: string; addSlot: boolean }): Rule {
1717
return (tree: Tree) => {

packages/astro/src/builder-generate/layout/layout.factory.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import {
1111
MergeStrategy,
1212
Tree,
1313
} from '@angular-devkit/schematics';
14-
import { parseName } from '../../utils';
14+
import { parseName } from '../../../../../utils';
1515

1616
// name, addSlot
1717
export function layoutFactory({ name }: { name: string }): Rule {

packages/astro/src/builder-generate/page/page.factory.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {
1010
renameTemplateFiles,
1111
url,
1212
} from '@angular-devkit/schematics';
13-
import { logger, parseName } from '../../utils';
13+
import { logger, parseName } from '../../../../../utils';
1414
import { askLayout } from './page.questions';
1515
import { strings } from '@angular-devkit/schematics';
1616

packages/astro/src/builder-generate/page/page.questions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { askQuestion } from '../../utils';
1+
import { askQuestion } from '../../../../../utils';
22

33
export async function askLayout(layouts: string[]): Promise<string> {
44
const message = 'Do you want to use any layout?';

packages/astro/src/utils/color.ts

Lines changed: 0 additions & 49 deletions
This file was deleted.

packages/astro/src/utils/commands.ts

Lines changed: 0 additions & 43 deletions
This file was deleted.

packages/astro/src/utils/dependencies.ts

Lines changed: 0 additions & 86 deletions
This file was deleted.

packages/astro/src/utils/eol.ts

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)