Skip to content

Commit

Permalink
rename packages
Browse files Browse the repository at this point in the history
  • Loading branch information
jrmdayn committed Dec 13, 2024
1 parent a0f76da commit e19f0e7
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 20 deletions.
6 changes: 3 additions & 3 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@template/cli",
"name": "@inato-form/react-hook-form",
"version": "0.0.0",
"type": "module",
"license": "MIT",
Expand Down Expand Up @@ -27,14 +27,14 @@
"@effect/cli": "latest",
"@effect/platform": "latest",
"@effect/platform-node": "latest",
"@template/domain": "workspace:^",
"@inato-form/fields": "workspace:^",
"effect": "latest"
},
"devDependencies": {
"@effect/cli": "latest",
"@effect/platform": "latest",
"@effect/platform-node": "latest",
"@template/domain": "workspace:^",
"@inato-form/fields": "workspace:^",
"effect": "latest"
},
"effect": {
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/TodosClient.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { HttpApiClient } from "@effect/platform"
import { TodosApi } from "@template/domain/TodosApi"
import { TodosApi } from "@inato-form/fields/TodosApi"
import { Effect } from "effect"

export class TodosClient extends Effect.Service<TodosClient>()("cli/TodosClient", {
Expand Down
2 changes: 1 addition & 1 deletion packages/domain/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@template/domain",
"name": "@inato-form/fields",
"version": "0.0.0",
"type": "module",
"license": "MIT",
Expand Down
4 changes: 2 additions & 2 deletions packages/server/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@template/server",
"name": "@inato-form/core",
"version": "0.0.0",
"type": "module",
"license": "MIT",
Expand All @@ -22,7 +22,7 @@
"dependencies": {
"@effect/platform": "latest",
"@effect/platform-node": "latest",
"@template/domain": "workspace:^",
"@inato-form/fields": "workspace:^",
"effect": "latest"
},
"effect": {
Expand Down
2 changes: 1 addition & 1 deletion packages/server/src/Api.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { HttpApiBuilder } from "@effect/platform"
import { TodosApi } from "@template/domain/TodosApi"
import { TodosApi } from "@inato-form/fields/TodosApi"
import { Effect, Layer } from "effect"
import { TodosRepository } from "./TodosRepository.js"

Expand Down
2 changes: 1 addition & 1 deletion packages/server/src/TodosRepository.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Todo, TodoId, TodoNotFound } from "@template/domain/TodosApi"
import { Todo, TodoId, TodoNotFound } from "@inato-form/fields/TodosApi"
import { Effect, HashMap, Ref } from "effect"

export class TodosRepository extends Effect.Service<TodosRepository>()("api/TodosRepository", {
Expand Down
4 changes: 2 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 9 additions & 9 deletions tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@
"removeComments": false,
"plugins": [{ "name": "@effect/language-service" }],
"paths": {
"@template/cli": ["./packages/cli/src/index.js"],
"@template/cli/*": ["./packages/cli/src/*.js"],
"@template/cli/test/*": ["./packages/cli/test/*.js"],
"@template/domain": ["./packages/domain/src/index.js"],
"@template/domain/*": ["./packages/domain/src/*.js"],
"@template/domain/test/*": ["./packages/domain/test/*.js"],
"@template/server": ["./packages/server/src/index.js"],
"@template/server/*": ["./packages/server/src/*.js"],
"@template/server/test/*": ["./packages/server/test/*.js"]
"@inato-form/react-hook-form": ["./packages/cli/src/index.js"],
"@inato-form/react-hook-form/*": ["./packages/cli/src/*.js"],
"@inato-form/react-hook-form/test/*": ["./packages/cli/test/*.js"],
"@inato-form/fields": ["./packages/domain/src/index.js"],
"@inato-form/fields/*": ["./packages/domain/src/*.js"],
"@inato-form/fields/test/*": ["./packages/domain/test/*.js"],
"@inato-form/core": ["./packages/server/src/index.js"],
"@inato-form/core/*": ["./packages/server/src/*.js"],
"@inato-form/core/test/*": ["./packages/server/test/*.js"]
}
}
}

0 comments on commit e19f0e7

Please sign in to comment.