From 22676a936c80f5b610d068b833824625bcc49468 Mon Sep 17 00:00:00 2001 From: Ilya Semenov Date: Fri, 21 Jun 2024 11:20:21 +0700 Subject: [PATCH] simplify directory naming under packages --- packages/{graphql-orm => base}/CHANGELOG.md | 0 packages/{graphql-orm => base}/package.json | 0 packages/{graphql-orm => base}/src/filters/filters.ts | 0 packages/{graphql-orm => base}/src/index.ts | 0 packages/{graphql-orm => base}/src/orm/orm.ts | 0 packages/{graphql-orm => base}/src/paginators/base.ts | 0 packages/{graphql-orm => base}/src/paginators/cursor.ts | 0 packages/{graphql-orm => base}/src/resolvers/field.ts | 0 packages/{graphql-orm => base}/src/resolvers/graph.ts | 0 packages/{graphql-orm => base}/src/resolvers/page.ts | 0 packages/{graphql-orm => base}/src/resolvers/relation.ts | 0 packages/{graphql-orm => base}/src/resolvers/table.ts | 0 packages/{graphql-orm => base}/src/utils/is-plain-object.ts | 0 packages/{graphql-orm => base}/src/utils/run-after.ts | 0 packages/{graphql-orm => base}/tsconfig.json | 0 packages/{objection-graphql-resolver => objection}/.gitignore | 0 .../{objection-graphql-resolver => objection}/CHANGELOG.md | 0 packages/{objection-graphql-resolver => objection}/README.md | 0 .../{objection-graphql-resolver => objection}/docs/filters.md | 0 .../docs/pagination.md | 0 .../docs/relations.md | 0 .../docs/virtual-attributes.md | 0 .../{objection-graphql-resolver => objection}/package.json | 0 .../playground/readme.sample.ts | 0 .../playground/vite-env.d.ts | 0 .../{objection-graphql-resolver => objection}/src/index.ts | 0 .../{objection-graphql-resolver => objection}/src/orm/orm.ts | 0 .../src/resolvers/graph.ts | 0 .../src/resolvers/model.ts | 0 .../tests/main/async-modifier.test.ts | 0 .../tests/main/auto-select-pagination-keys.test.ts | 0 .../tests/main/field-transform.test.ts | 0 .../tests/main/fields.test.ts | 0 .../tests/main/filters.test.ts | 0 .../tests/main/m2m.test.ts | 0 .../tests/main/nested-args.test.ts | 0 .../tests/main/nested-pagination.test.ts | 0 .../tests/main/query.test.ts | 0 .../tests/main/raw-sql.test.ts | 0 .../tests/main/readme-sample.test.ts | 0 .../tests/main/relations.test.ts | 0 .../tests/main/root-pagination.test.ts | 0 .../tests/main/root-subfield.test.ts | 0 .../tests/main/virtual-fields.test.ts | 0 .../tests/regressions/issue-1-no-relation-mappings.test.ts | 0 .../tests/regressions/issue-33-relation-alias.test.ts | 0 .../tests/regressions/issue-7-ambiguous-column-name.test.ts | 0 .../tests/regressions/issue-9-deep-nested-filter.test.ts | 0 .../tests/setup/apollo.ts | 0 .../tests/setup/client.ts | 0 .../tests/setup/db.ts | 0 .../tests/setup/index.ts | 0 .../tests/setup/setup.ts | 0 .../{objection-graphql-resolver => objection}/tsconfig.json | 4 ++-- .../{objection-graphql-resolver => objection}/tsup.config.ts | 0 .../{objection-graphql-resolver => objection}/vite.config.ts | 0 packages/{orchid-graphql => orchid}/.gitignore | 0 packages/{orchid-graphql => orchid}/CHANGELOG.md | 0 packages/{orchid-graphql => orchid}/README.md | 0 packages/{orchid-graphql => orchid}/docs/filters.md | 0 packages/{orchid-graphql => orchid}/docs/pagination.md | 0 packages/{orchid-graphql => orchid}/docs/relations.md | 0 packages/{orchid-graphql => orchid}/package.json | 0 .../{orchid-graphql => orchid}/playground/readme.sample.ts | 0 packages/{orchid-graphql => orchid}/playground/vite-env.d.ts | 0 packages/{orchid-graphql => orchid}/src/index.ts | 0 packages/{orchid-graphql => orchid}/src/orm/orm.ts | 0 packages/{orchid-graphql => orchid}/src/resolvers/graph.ts | 0 packages/{orchid-graphql => orchid}/src/resolvers/table.ts | 0 .../tests/main/async-field-modifier.test.ts | 0 .../tests/main/field-transform.test.ts | 0 packages/{orchid-graphql => orchid}/tests/main/fields.test.ts | 0 .../{orchid-graphql => orchid}/tests/main/filters.test.ts | 0 packages/{orchid-graphql => orchid}/tests/main/m2m.test.ts | 0 .../{orchid-graphql => orchid}/tests/main/nested-args.test.ts | 0 packages/{orchid-graphql => orchid}/tests/main/query.test.ts | 0 .../{orchid-graphql => orchid}/tests/main/raw-sql.test.ts | 0 .../tests/main/readme-sample.test.ts | 0 .../tests/main/relation-pagination.test.ts | 0 .../{orchid-graphql => orchid}/tests/main/relations.test.ts | 0 .../tests/main/root-pagination.test.ts | 0 .../tests/main/root-subfield.test.ts | 0 .../tests/main/table-modify.test.ts | 0 packages/{orchid-graphql => orchid}/tests/setup/apollo.ts | 0 packages/{orchid-graphql => orchid}/tests/setup/client.ts | 0 packages/{orchid-graphql => orchid}/tests/setup/db.ts | 0 packages/{orchid-graphql => orchid}/tests/setup/index.ts | 0 packages/{orchid-graphql => orchid}/tsconfig.json | 2 +- packages/{orchid-graphql => orchid}/tsup.config.ts | 0 packages/{orchid-graphql => orchid}/vite.config.ts | 0 90 files changed, 3 insertions(+), 3 deletions(-) rename packages/{graphql-orm => base}/CHANGELOG.md (100%) rename packages/{graphql-orm => base}/package.json (100%) rename packages/{graphql-orm => base}/src/filters/filters.ts (100%) rename packages/{graphql-orm => base}/src/index.ts (100%) rename packages/{graphql-orm => base}/src/orm/orm.ts (100%) rename packages/{graphql-orm => base}/src/paginators/base.ts (100%) rename packages/{graphql-orm => base}/src/paginators/cursor.ts (100%) rename packages/{graphql-orm => base}/src/resolvers/field.ts (100%) rename packages/{graphql-orm => base}/src/resolvers/graph.ts (100%) rename packages/{graphql-orm => base}/src/resolvers/page.ts (100%) rename packages/{graphql-orm => base}/src/resolvers/relation.ts (100%) rename packages/{graphql-orm => base}/src/resolvers/table.ts (100%) rename packages/{graphql-orm => base}/src/utils/is-plain-object.ts (100%) rename packages/{graphql-orm => base}/src/utils/run-after.ts (100%) rename packages/{graphql-orm => base}/tsconfig.json (100%) rename packages/{objection-graphql-resolver => objection}/.gitignore (100%) rename packages/{objection-graphql-resolver => objection}/CHANGELOG.md (100%) rename packages/{objection-graphql-resolver => objection}/README.md (100%) rename packages/{objection-graphql-resolver => objection}/docs/filters.md (100%) rename packages/{objection-graphql-resolver => objection}/docs/pagination.md (100%) rename packages/{objection-graphql-resolver => objection}/docs/relations.md (100%) rename packages/{objection-graphql-resolver => objection}/docs/virtual-attributes.md (100%) rename packages/{objection-graphql-resolver => objection}/package.json (100%) rename packages/{objection-graphql-resolver => objection}/playground/readme.sample.ts (100%) rename packages/{objection-graphql-resolver => objection}/playground/vite-env.d.ts (100%) rename packages/{objection-graphql-resolver => objection}/src/index.ts (100%) rename packages/{objection-graphql-resolver => objection}/src/orm/orm.ts (100%) rename packages/{objection-graphql-resolver => objection}/src/resolvers/graph.ts (100%) rename packages/{objection-graphql-resolver => objection}/src/resolvers/model.ts (100%) rename packages/{objection-graphql-resolver => objection}/tests/main/async-modifier.test.ts (100%) rename packages/{objection-graphql-resolver => objection}/tests/main/auto-select-pagination-keys.test.ts (100%) rename packages/{objection-graphql-resolver => objection}/tests/main/field-transform.test.ts (100%) rename packages/{objection-graphql-resolver => objection}/tests/main/fields.test.ts (100%) rename packages/{objection-graphql-resolver => objection}/tests/main/filters.test.ts (100%) rename packages/{objection-graphql-resolver => objection}/tests/main/m2m.test.ts (100%) rename packages/{objection-graphql-resolver => objection}/tests/main/nested-args.test.ts (100%) rename packages/{objection-graphql-resolver => objection}/tests/main/nested-pagination.test.ts (100%) rename packages/{objection-graphql-resolver => objection}/tests/main/query.test.ts (100%) rename packages/{objection-graphql-resolver => objection}/tests/main/raw-sql.test.ts (100%) rename packages/{objection-graphql-resolver => objection}/tests/main/readme-sample.test.ts (100%) rename packages/{objection-graphql-resolver => objection}/tests/main/relations.test.ts (100%) rename packages/{objection-graphql-resolver => objection}/tests/main/root-pagination.test.ts (100%) rename packages/{objection-graphql-resolver => objection}/tests/main/root-subfield.test.ts (100%) rename packages/{objection-graphql-resolver => objection}/tests/main/virtual-fields.test.ts (100%) rename packages/{objection-graphql-resolver => objection}/tests/regressions/issue-1-no-relation-mappings.test.ts (100%) rename packages/{objection-graphql-resolver => objection}/tests/regressions/issue-33-relation-alias.test.ts (100%) rename packages/{objection-graphql-resolver => objection}/tests/regressions/issue-7-ambiguous-column-name.test.ts (100%) rename packages/{objection-graphql-resolver => objection}/tests/regressions/issue-9-deep-nested-filter.test.ts (100%) rename packages/{objection-graphql-resolver => objection}/tests/setup/apollo.ts (100%) rename packages/{objection-graphql-resolver => objection}/tests/setup/client.ts (100%) rename packages/{objection-graphql-resolver => objection}/tests/setup/db.ts (100%) rename packages/{objection-graphql-resolver => objection}/tests/setup/index.ts (100%) rename packages/{objection-graphql-resolver => objection}/tests/setup/setup.ts (100%) rename packages/{objection-graphql-resolver => objection}/tsconfig.json (76%) rename packages/{objection-graphql-resolver => objection}/tsup.config.ts (100%) rename packages/{objection-graphql-resolver => objection}/vite.config.ts (100%) rename packages/{orchid-graphql => orchid}/.gitignore (100%) rename packages/{orchid-graphql => orchid}/CHANGELOG.md (100%) rename packages/{orchid-graphql => orchid}/README.md (100%) rename packages/{orchid-graphql => orchid}/docs/filters.md (100%) rename packages/{orchid-graphql => orchid}/docs/pagination.md (100%) rename packages/{orchid-graphql => orchid}/docs/relations.md (100%) rename packages/{orchid-graphql => orchid}/package.json (100%) rename packages/{orchid-graphql => orchid}/playground/readme.sample.ts (100%) rename packages/{orchid-graphql => orchid}/playground/vite-env.d.ts (100%) rename packages/{orchid-graphql => orchid}/src/index.ts (100%) rename packages/{orchid-graphql => orchid}/src/orm/orm.ts (100%) rename packages/{orchid-graphql => orchid}/src/resolvers/graph.ts (100%) rename packages/{orchid-graphql => orchid}/src/resolvers/table.ts (100%) rename packages/{orchid-graphql => orchid}/tests/main/async-field-modifier.test.ts (100%) rename packages/{orchid-graphql => orchid}/tests/main/field-transform.test.ts (100%) rename packages/{orchid-graphql => orchid}/tests/main/fields.test.ts (100%) rename packages/{orchid-graphql => orchid}/tests/main/filters.test.ts (100%) rename packages/{orchid-graphql => orchid}/tests/main/m2m.test.ts (100%) rename packages/{orchid-graphql => orchid}/tests/main/nested-args.test.ts (100%) rename packages/{orchid-graphql => orchid}/tests/main/query.test.ts (100%) rename packages/{orchid-graphql => orchid}/tests/main/raw-sql.test.ts (100%) rename packages/{orchid-graphql => orchid}/tests/main/readme-sample.test.ts (100%) rename packages/{orchid-graphql => orchid}/tests/main/relation-pagination.test.ts (100%) rename packages/{orchid-graphql => orchid}/tests/main/relations.test.ts (100%) rename packages/{orchid-graphql => orchid}/tests/main/root-pagination.test.ts (100%) rename packages/{orchid-graphql => orchid}/tests/main/root-subfield.test.ts (100%) rename packages/{orchid-graphql => orchid}/tests/main/table-modify.test.ts (100%) rename packages/{orchid-graphql => orchid}/tests/setup/apollo.ts (100%) rename packages/{orchid-graphql => orchid}/tests/setup/client.ts (100%) rename packages/{orchid-graphql => orchid}/tests/setup/db.ts (100%) rename packages/{orchid-graphql => orchid}/tests/setup/index.ts (100%) rename packages/{orchid-graphql => orchid}/tsconfig.json (75%) rename packages/{orchid-graphql => orchid}/tsup.config.ts (100%) rename packages/{orchid-graphql => orchid}/vite.config.ts (100%) diff --git a/packages/graphql-orm/CHANGELOG.md b/packages/base/CHANGELOG.md similarity index 100% rename from packages/graphql-orm/CHANGELOG.md rename to packages/base/CHANGELOG.md diff --git a/packages/graphql-orm/package.json b/packages/base/package.json similarity index 100% rename from packages/graphql-orm/package.json rename to packages/base/package.json diff --git a/packages/graphql-orm/src/filters/filters.ts b/packages/base/src/filters/filters.ts similarity index 100% rename from packages/graphql-orm/src/filters/filters.ts rename to packages/base/src/filters/filters.ts diff --git a/packages/graphql-orm/src/index.ts b/packages/base/src/index.ts similarity index 100% rename from packages/graphql-orm/src/index.ts rename to packages/base/src/index.ts diff --git a/packages/graphql-orm/src/orm/orm.ts b/packages/base/src/orm/orm.ts similarity index 100% rename from packages/graphql-orm/src/orm/orm.ts rename to packages/base/src/orm/orm.ts diff --git a/packages/graphql-orm/src/paginators/base.ts b/packages/base/src/paginators/base.ts similarity index 100% rename from packages/graphql-orm/src/paginators/base.ts rename to packages/base/src/paginators/base.ts diff --git a/packages/graphql-orm/src/paginators/cursor.ts b/packages/base/src/paginators/cursor.ts similarity index 100% rename from packages/graphql-orm/src/paginators/cursor.ts rename to packages/base/src/paginators/cursor.ts diff --git a/packages/graphql-orm/src/resolvers/field.ts b/packages/base/src/resolvers/field.ts similarity index 100% rename from packages/graphql-orm/src/resolvers/field.ts rename to packages/base/src/resolvers/field.ts diff --git a/packages/graphql-orm/src/resolvers/graph.ts b/packages/base/src/resolvers/graph.ts similarity index 100% rename from packages/graphql-orm/src/resolvers/graph.ts rename to packages/base/src/resolvers/graph.ts diff --git a/packages/graphql-orm/src/resolvers/page.ts b/packages/base/src/resolvers/page.ts similarity index 100% rename from packages/graphql-orm/src/resolvers/page.ts rename to packages/base/src/resolvers/page.ts diff --git a/packages/graphql-orm/src/resolvers/relation.ts b/packages/base/src/resolvers/relation.ts similarity index 100% rename from packages/graphql-orm/src/resolvers/relation.ts rename to packages/base/src/resolvers/relation.ts diff --git a/packages/graphql-orm/src/resolvers/table.ts b/packages/base/src/resolvers/table.ts similarity index 100% rename from packages/graphql-orm/src/resolvers/table.ts rename to packages/base/src/resolvers/table.ts diff --git a/packages/graphql-orm/src/utils/is-plain-object.ts b/packages/base/src/utils/is-plain-object.ts similarity index 100% rename from packages/graphql-orm/src/utils/is-plain-object.ts rename to packages/base/src/utils/is-plain-object.ts diff --git a/packages/graphql-orm/src/utils/run-after.ts b/packages/base/src/utils/run-after.ts similarity index 100% rename from packages/graphql-orm/src/utils/run-after.ts rename to packages/base/src/utils/run-after.ts diff --git a/packages/graphql-orm/tsconfig.json b/packages/base/tsconfig.json similarity index 100% rename from packages/graphql-orm/tsconfig.json rename to packages/base/tsconfig.json diff --git a/packages/objection-graphql-resolver/.gitignore b/packages/objection/.gitignore similarity index 100% rename from packages/objection-graphql-resolver/.gitignore rename to packages/objection/.gitignore diff --git a/packages/objection-graphql-resolver/CHANGELOG.md b/packages/objection/CHANGELOG.md similarity index 100% rename from packages/objection-graphql-resolver/CHANGELOG.md rename to packages/objection/CHANGELOG.md diff --git a/packages/objection-graphql-resolver/README.md b/packages/objection/README.md similarity index 100% rename from packages/objection-graphql-resolver/README.md rename to packages/objection/README.md diff --git a/packages/objection-graphql-resolver/docs/filters.md b/packages/objection/docs/filters.md similarity index 100% rename from packages/objection-graphql-resolver/docs/filters.md rename to packages/objection/docs/filters.md diff --git a/packages/objection-graphql-resolver/docs/pagination.md b/packages/objection/docs/pagination.md similarity index 100% rename from packages/objection-graphql-resolver/docs/pagination.md rename to packages/objection/docs/pagination.md diff --git a/packages/objection-graphql-resolver/docs/relations.md b/packages/objection/docs/relations.md similarity index 100% rename from packages/objection-graphql-resolver/docs/relations.md rename to packages/objection/docs/relations.md diff --git a/packages/objection-graphql-resolver/docs/virtual-attributes.md b/packages/objection/docs/virtual-attributes.md similarity index 100% rename from packages/objection-graphql-resolver/docs/virtual-attributes.md rename to packages/objection/docs/virtual-attributes.md diff --git a/packages/objection-graphql-resolver/package.json b/packages/objection/package.json similarity index 100% rename from packages/objection-graphql-resolver/package.json rename to packages/objection/package.json diff --git a/packages/objection-graphql-resolver/playground/readme.sample.ts b/packages/objection/playground/readme.sample.ts similarity index 100% rename from packages/objection-graphql-resolver/playground/readme.sample.ts rename to packages/objection/playground/readme.sample.ts diff --git a/packages/objection-graphql-resolver/playground/vite-env.d.ts b/packages/objection/playground/vite-env.d.ts similarity index 100% rename from packages/objection-graphql-resolver/playground/vite-env.d.ts rename to packages/objection/playground/vite-env.d.ts diff --git a/packages/objection-graphql-resolver/src/index.ts b/packages/objection/src/index.ts similarity index 100% rename from packages/objection-graphql-resolver/src/index.ts rename to packages/objection/src/index.ts diff --git a/packages/objection-graphql-resolver/src/orm/orm.ts b/packages/objection/src/orm/orm.ts similarity index 100% rename from packages/objection-graphql-resolver/src/orm/orm.ts rename to packages/objection/src/orm/orm.ts diff --git a/packages/objection-graphql-resolver/src/resolvers/graph.ts b/packages/objection/src/resolvers/graph.ts similarity index 100% rename from packages/objection-graphql-resolver/src/resolvers/graph.ts rename to packages/objection/src/resolvers/graph.ts diff --git a/packages/objection-graphql-resolver/src/resolvers/model.ts b/packages/objection/src/resolvers/model.ts similarity index 100% rename from packages/objection-graphql-resolver/src/resolvers/model.ts rename to packages/objection/src/resolvers/model.ts diff --git a/packages/objection-graphql-resolver/tests/main/async-modifier.test.ts b/packages/objection/tests/main/async-modifier.test.ts similarity index 100% rename from packages/objection-graphql-resolver/tests/main/async-modifier.test.ts rename to packages/objection/tests/main/async-modifier.test.ts diff --git a/packages/objection-graphql-resolver/tests/main/auto-select-pagination-keys.test.ts b/packages/objection/tests/main/auto-select-pagination-keys.test.ts similarity index 100% rename from packages/objection-graphql-resolver/tests/main/auto-select-pagination-keys.test.ts rename to packages/objection/tests/main/auto-select-pagination-keys.test.ts diff --git a/packages/objection-graphql-resolver/tests/main/field-transform.test.ts b/packages/objection/tests/main/field-transform.test.ts similarity index 100% rename from packages/objection-graphql-resolver/tests/main/field-transform.test.ts rename to packages/objection/tests/main/field-transform.test.ts diff --git a/packages/objection-graphql-resolver/tests/main/fields.test.ts b/packages/objection/tests/main/fields.test.ts similarity index 100% rename from packages/objection-graphql-resolver/tests/main/fields.test.ts rename to packages/objection/tests/main/fields.test.ts diff --git a/packages/objection-graphql-resolver/tests/main/filters.test.ts b/packages/objection/tests/main/filters.test.ts similarity index 100% rename from packages/objection-graphql-resolver/tests/main/filters.test.ts rename to packages/objection/tests/main/filters.test.ts diff --git a/packages/objection-graphql-resolver/tests/main/m2m.test.ts b/packages/objection/tests/main/m2m.test.ts similarity index 100% rename from packages/objection-graphql-resolver/tests/main/m2m.test.ts rename to packages/objection/tests/main/m2m.test.ts diff --git a/packages/objection-graphql-resolver/tests/main/nested-args.test.ts b/packages/objection/tests/main/nested-args.test.ts similarity index 100% rename from packages/objection-graphql-resolver/tests/main/nested-args.test.ts rename to packages/objection/tests/main/nested-args.test.ts diff --git a/packages/objection-graphql-resolver/tests/main/nested-pagination.test.ts b/packages/objection/tests/main/nested-pagination.test.ts similarity index 100% rename from packages/objection-graphql-resolver/tests/main/nested-pagination.test.ts rename to packages/objection/tests/main/nested-pagination.test.ts diff --git a/packages/objection-graphql-resolver/tests/main/query.test.ts b/packages/objection/tests/main/query.test.ts similarity index 100% rename from packages/objection-graphql-resolver/tests/main/query.test.ts rename to packages/objection/tests/main/query.test.ts diff --git a/packages/objection-graphql-resolver/tests/main/raw-sql.test.ts b/packages/objection/tests/main/raw-sql.test.ts similarity index 100% rename from packages/objection-graphql-resolver/tests/main/raw-sql.test.ts rename to packages/objection/tests/main/raw-sql.test.ts diff --git a/packages/objection-graphql-resolver/tests/main/readme-sample.test.ts b/packages/objection/tests/main/readme-sample.test.ts similarity index 100% rename from packages/objection-graphql-resolver/tests/main/readme-sample.test.ts rename to packages/objection/tests/main/readme-sample.test.ts diff --git a/packages/objection-graphql-resolver/tests/main/relations.test.ts b/packages/objection/tests/main/relations.test.ts similarity index 100% rename from packages/objection-graphql-resolver/tests/main/relations.test.ts rename to packages/objection/tests/main/relations.test.ts diff --git a/packages/objection-graphql-resolver/tests/main/root-pagination.test.ts b/packages/objection/tests/main/root-pagination.test.ts similarity index 100% rename from packages/objection-graphql-resolver/tests/main/root-pagination.test.ts rename to packages/objection/tests/main/root-pagination.test.ts diff --git a/packages/objection-graphql-resolver/tests/main/root-subfield.test.ts b/packages/objection/tests/main/root-subfield.test.ts similarity index 100% rename from packages/objection-graphql-resolver/tests/main/root-subfield.test.ts rename to packages/objection/tests/main/root-subfield.test.ts diff --git a/packages/objection-graphql-resolver/tests/main/virtual-fields.test.ts b/packages/objection/tests/main/virtual-fields.test.ts similarity index 100% rename from packages/objection-graphql-resolver/tests/main/virtual-fields.test.ts rename to packages/objection/tests/main/virtual-fields.test.ts diff --git a/packages/objection-graphql-resolver/tests/regressions/issue-1-no-relation-mappings.test.ts b/packages/objection/tests/regressions/issue-1-no-relation-mappings.test.ts similarity index 100% rename from packages/objection-graphql-resolver/tests/regressions/issue-1-no-relation-mappings.test.ts rename to packages/objection/tests/regressions/issue-1-no-relation-mappings.test.ts diff --git a/packages/objection-graphql-resolver/tests/regressions/issue-33-relation-alias.test.ts b/packages/objection/tests/regressions/issue-33-relation-alias.test.ts similarity index 100% rename from packages/objection-graphql-resolver/tests/regressions/issue-33-relation-alias.test.ts rename to packages/objection/tests/regressions/issue-33-relation-alias.test.ts diff --git a/packages/objection-graphql-resolver/tests/regressions/issue-7-ambiguous-column-name.test.ts b/packages/objection/tests/regressions/issue-7-ambiguous-column-name.test.ts similarity index 100% rename from packages/objection-graphql-resolver/tests/regressions/issue-7-ambiguous-column-name.test.ts rename to packages/objection/tests/regressions/issue-7-ambiguous-column-name.test.ts diff --git a/packages/objection-graphql-resolver/tests/regressions/issue-9-deep-nested-filter.test.ts b/packages/objection/tests/regressions/issue-9-deep-nested-filter.test.ts similarity index 100% rename from packages/objection-graphql-resolver/tests/regressions/issue-9-deep-nested-filter.test.ts rename to packages/objection/tests/regressions/issue-9-deep-nested-filter.test.ts diff --git a/packages/objection-graphql-resolver/tests/setup/apollo.ts b/packages/objection/tests/setup/apollo.ts similarity index 100% rename from packages/objection-graphql-resolver/tests/setup/apollo.ts rename to packages/objection/tests/setup/apollo.ts diff --git a/packages/objection-graphql-resolver/tests/setup/client.ts b/packages/objection/tests/setup/client.ts similarity index 100% rename from packages/objection-graphql-resolver/tests/setup/client.ts rename to packages/objection/tests/setup/client.ts diff --git a/packages/objection-graphql-resolver/tests/setup/db.ts b/packages/objection/tests/setup/db.ts similarity index 100% rename from packages/objection-graphql-resolver/tests/setup/db.ts rename to packages/objection/tests/setup/db.ts diff --git a/packages/objection-graphql-resolver/tests/setup/index.ts b/packages/objection/tests/setup/index.ts similarity index 100% rename from packages/objection-graphql-resolver/tests/setup/index.ts rename to packages/objection/tests/setup/index.ts diff --git a/packages/objection-graphql-resolver/tests/setup/setup.ts b/packages/objection/tests/setup/setup.ts similarity index 100% rename from packages/objection-graphql-resolver/tests/setup/setup.ts rename to packages/objection/tests/setup/setup.ts diff --git a/packages/objection-graphql-resolver/tsconfig.json b/packages/objection/tsconfig.json similarity index 76% rename from packages/objection-graphql-resolver/tsconfig.json rename to packages/objection/tsconfig.json index 6a83fc2..078b74b 100644 --- a/packages/objection-graphql-resolver/tsconfig.json +++ b/packages/objection/tsconfig.json @@ -5,8 +5,8 @@ // tests/main/m2m.test.ts: SQLITE_CONSTRAINT: NOT NULL constraint failed "target": "ES2021", "paths": { - "graphql-orm": ["../graphql-orm/src"], - "objection-graphql-resolver": ["./src"] + "objection-graphql-resolver": ["./src"], + "graphql-orm": ["../base/src"] } } } diff --git a/packages/objection-graphql-resolver/tsup.config.ts b/packages/objection/tsup.config.ts similarity index 100% rename from packages/objection-graphql-resolver/tsup.config.ts rename to packages/objection/tsup.config.ts diff --git a/packages/objection-graphql-resolver/vite.config.ts b/packages/objection/vite.config.ts similarity index 100% rename from packages/objection-graphql-resolver/vite.config.ts rename to packages/objection/vite.config.ts diff --git a/packages/orchid-graphql/.gitignore b/packages/orchid/.gitignore similarity index 100% rename from packages/orchid-graphql/.gitignore rename to packages/orchid/.gitignore diff --git a/packages/orchid-graphql/CHANGELOG.md b/packages/orchid/CHANGELOG.md similarity index 100% rename from packages/orchid-graphql/CHANGELOG.md rename to packages/orchid/CHANGELOG.md diff --git a/packages/orchid-graphql/README.md b/packages/orchid/README.md similarity index 100% rename from packages/orchid-graphql/README.md rename to packages/orchid/README.md diff --git a/packages/orchid-graphql/docs/filters.md b/packages/orchid/docs/filters.md similarity index 100% rename from packages/orchid-graphql/docs/filters.md rename to packages/orchid/docs/filters.md diff --git a/packages/orchid-graphql/docs/pagination.md b/packages/orchid/docs/pagination.md similarity index 100% rename from packages/orchid-graphql/docs/pagination.md rename to packages/orchid/docs/pagination.md diff --git a/packages/orchid-graphql/docs/relations.md b/packages/orchid/docs/relations.md similarity index 100% rename from packages/orchid-graphql/docs/relations.md rename to packages/orchid/docs/relations.md diff --git a/packages/orchid-graphql/package.json b/packages/orchid/package.json similarity index 100% rename from packages/orchid-graphql/package.json rename to packages/orchid/package.json diff --git a/packages/orchid-graphql/playground/readme.sample.ts b/packages/orchid/playground/readme.sample.ts similarity index 100% rename from packages/orchid-graphql/playground/readme.sample.ts rename to packages/orchid/playground/readme.sample.ts diff --git a/packages/orchid-graphql/playground/vite-env.d.ts b/packages/orchid/playground/vite-env.d.ts similarity index 100% rename from packages/orchid-graphql/playground/vite-env.d.ts rename to packages/orchid/playground/vite-env.d.ts diff --git a/packages/orchid-graphql/src/index.ts b/packages/orchid/src/index.ts similarity index 100% rename from packages/orchid-graphql/src/index.ts rename to packages/orchid/src/index.ts diff --git a/packages/orchid-graphql/src/orm/orm.ts b/packages/orchid/src/orm/orm.ts similarity index 100% rename from packages/orchid-graphql/src/orm/orm.ts rename to packages/orchid/src/orm/orm.ts diff --git a/packages/orchid-graphql/src/resolvers/graph.ts b/packages/orchid/src/resolvers/graph.ts similarity index 100% rename from packages/orchid-graphql/src/resolvers/graph.ts rename to packages/orchid/src/resolvers/graph.ts diff --git a/packages/orchid-graphql/src/resolvers/table.ts b/packages/orchid/src/resolvers/table.ts similarity index 100% rename from packages/orchid-graphql/src/resolvers/table.ts rename to packages/orchid/src/resolvers/table.ts diff --git a/packages/orchid-graphql/tests/main/async-field-modifier.test.ts b/packages/orchid/tests/main/async-field-modifier.test.ts similarity index 100% rename from packages/orchid-graphql/tests/main/async-field-modifier.test.ts rename to packages/orchid/tests/main/async-field-modifier.test.ts diff --git a/packages/orchid-graphql/tests/main/field-transform.test.ts b/packages/orchid/tests/main/field-transform.test.ts similarity index 100% rename from packages/orchid-graphql/tests/main/field-transform.test.ts rename to packages/orchid/tests/main/field-transform.test.ts diff --git a/packages/orchid-graphql/tests/main/fields.test.ts b/packages/orchid/tests/main/fields.test.ts similarity index 100% rename from packages/orchid-graphql/tests/main/fields.test.ts rename to packages/orchid/tests/main/fields.test.ts diff --git a/packages/orchid-graphql/tests/main/filters.test.ts b/packages/orchid/tests/main/filters.test.ts similarity index 100% rename from packages/orchid-graphql/tests/main/filters.test.ts rename to packages/orchid/tests/main/filters.test.ts diff --git a/packages/orchid-graphql/tests/main/m2m.test.ts b/packages/orchid/tests/main/m2m.test.ts similarity index 100% rename from packages/orchid-graphql/tests/main/m2m.test.ts rename to packages/orchid/tests/main/m2m.test.ts diff --git a/packages/orchid-graphql/tests/main/nested-args.test.ts b/packages/orchid/tests/main/nested-args.test.ts similarity index 100% rename from packages/orchid-graphql/tests/main/nested-args.test.ts rename to packages/orchid/tests/main/nested-args.test.ts diff --git a/packages/orchid-graphql/tests/main/query.test.ts b/packages/orchid/tests/main/query.test.ts similarity index 100% rename from packages/orchid-graphql/tests/main/query.test.ts rename to packages/orchid/tests/main/query.test.ts diff --git a/packages/orchid-graphql/tests/main/raw-sql.test.ts b/packages/orchid/tests/main/raw-sql.test.ts similarity index 100% rename from packages/orchid-graphql/tests/main/raw-sql.test.ts rename to packages/orchid/tests/main/raw-sql.test.ts diff --git a/packages/orchid-graphql/tests/main/readme-sample.test.ts b/packages/orchid/tests/main/readme-sample.test.ts similarity index 100% rename from packages/orchid-graphql/tests/main/readme-sample.test.ts rename to packages/orchid/tests/main/readme-sample.test.ts diff --git a/packages/orchid-graphql/tests/main/relation-pagination.test.ts b/packages/orchid/tests/main/relation-pagination.test.ts similarity index 100% rename from packages/orchid-graphql/tests/main/relation-pagination.test.ts rename to packages/orchid/tests/main/relation-pagination.test.ts diff --git a/packages/orchid-graphql/tests/main/relations.test.ts b/packages/orchid/tests/main/relations.test.ts similarity index 100% rename from packages/orchid-graphql/tests/main/relations.test.ts rename to packages/orchid/tests/main/relations.test.ts diff --git a/packages/orchid-graphql/tests/main/root-pagination.test.ts b/packages/orchid/tests/main/root-pagination.test.ts similarity index 100% rename from packages/orchid-graphql/tests/main/root-pagination.test.ts rename to packages/orchid/tests/main/root-pagination.test.ts diff --git a/packages/orchid-graphql/tests/main/root-subfield.test.ts b/packages/orchid/tests/main/root-subfield.test.ts similarity index 100% rename from packages/orchid-graphql/tests/main/root-subfield.test.ts rename to packages/orchid/tests/main/root-subfield.test.ts diff --git a/packages/orchid-graphql/tests/main/table-modify.test.ts b/packages/orchid/tests/main/table-modify.test.ts similarity index 100% rename from packages/orchid-graphql/tests/main/table-modify.test.ts rename to packages/orchid/tests/main/table-modify.test.ts diff --git a/packages/orchid-graphql/tests/setup/apollo.ts b/packages/orchid/tests/setup/apollo.ts similarity index 100% rename from packages/orchid-graphql/tests/setup/apollo.ts rename to packages/orchid/tests/setup/apollo.ts diff --git a/packages/orchid-graphql/tests/setup/client.ts b/packages/orchid/tests/setup/client.ts similarity index 100% rename from packages/orchid-graphql/tests/setup/client.ts rename to packages/orchid/tests/setup/client.ts diff --git a/packages/orchid-graphql/tests/setup/db.ts b/packages/orchid/tests/setup/db.ts similarity index 100% rename from packages/orchid-graphql/tests/setup/db.ts rename to packages/orchid/tests/setup/db.ts diff --git a/packages/orchid-graphql/tests/setup/index.ts b/packages/orchid/tests/setup/index.ts similarity index 100% rename from packages/orchid-graphql/tests/setup/index.ts rename to packages/orchid/tests/setup/index.ts diff --git a/packages/orchid-graphql/tsconfig.json b/packages/orchid/tsconfig.json similarity index 75% rename from packages/orchid-graphql/tsconfig.json rename to packages/orchid/tsconfig.json index 7a67f5b..490c781 100644 --- a/packages/orchid-graphql/tsconfig.json +++ b/packages/orchid/tsconfig.json @@ -3,7 +3,7 @@ "compilerOptions": { "paths": { "orchid-graphql": ["./src"], - "graphql-orm": ["../graphql-orm/src"] + "graphql-orm": ["../base/src"] } } } diff --git a/packages/orchid-graphql/tsup.config.ts b/packages/orchid/tsup.config.ts similarity index 100% rename from packages/orchid-graphql/tsup.config.ts rename to packages/orchid/tsup.config.ts diff --git a/packages/orchid-graphql/vite.config.ts b/packages/orchid/vite.config.ts similarity index 100% rename from packages/orchid-graphql/vite.config.ts rename to packages/orchid/vite.config.ts