Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed sync command #143

Merged
merged 4 commits into from
Oct 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 7 additions & 26 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,12 @@
"prepare": "husky && bun run build",
"format": "biome format --write"
},
"files": [
"dist"
],
"files": ["dist"],
"repository": "ronin-co/client",
"homepage": "https://ronin.co/docs/typescript-client",
"keywords": [
"ronin",
"client",
"database",
"orm",
"edge",
"serverless"
],
"keywords": ["ronin", "client", "database", "orm", "edge", "serverless"],
"lint-staged": {
"**/*": [
"biome check"
]
"**/*": ["biome check"]
},
"exports": {
".": {
Expand All @@ -56,18 +45,10 @@
},
"typesVersions": {
"*": {
"*": [
"dist/index.d.ts"
],
"types": [
"dist/types/index.d.ts"
],
"schema": [
"dist/schema/index.d.ts"
],
"utils": [
"dist/utils/index.d.ts"
]
"*": ["dist/index.d.ts"],
"types": ["dist/types/index.d.ts"],
"schema": ["dist/schema/index.d.ts"],
"utils": ["dist/utils/index.d.ts"]
}
},
"engines": {
Expand Down
162 changes: 0 additions & 162 deletions src/bin/commands/sync.ts

This file was deleted.

13 changes: 0 additions & 13 deletions src/bin/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { parseArgs } from 'node:util';

import initializeProject from '@/src/bin/commands/init';
import logIn from '@/src/bin/commands/login';
import sync from '@/src/bin/commands/sync';
import { printHelp, printVersion } from '@/src/bin/utils/info';
import { getSession } from '@/src/bin/utils/session';

Expand Down Expand Up @@ -86,18 +85,6 @@ const run = async () => {
// `init` sub command
if (normalizedPositionals.includes('init')) return initializeProject(positionals);

// `sync` sub command
if (normalizedPositionals.includes('sync')) {
const reset = values.reset as boolean; // Explicitly cast reset to boolean

return sync(
positionals.slice(positionals.indexOf('sync') + 1),
appToken,
session?.token,
reset,
);
}

// If no matching flags or commands were found, render the help, since we
// don't want to use the main `ronin` command for anything yet.
return printHelp();
Expand Down
58 changes: 0 additions & 58 deletions src/bin/parser/errors.ts

This file was deleted.

Loading
Loading