Skip to content

Commit

Permalink
Complement #1245: keep only package-manager-detector.
Browse files Browse the repository at this point in the history
Due to the previous PR #1245 had changed too much things, I could not follow it up.

Instead, I've accepted its key feature, package manager detecting.
  • Loading branch information
samchon committed Sep 9, 2024
1 parent 2ec0c74 commit 72ffc86
Show file tree
Hide file tree
Showing 27 changed files with 583 additions and 449 deletions.
2 changes: 1 addition & 1 deletion benchmark/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,6 @@
"suppress-warnings": "^1.0.2",
"tstl": "^3.0.0",
"uuid": "^9.0.1",
"typia": "../typia-6.10.0-dev.20240910.tgz"
"typia": "../typia-6.10.0-dev.20240910-2.tgz"
}
}
2 changes: 1 addition & 1 deletion errors/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@
"typescript": "^5.3.2"
},
"dependencies": {
"typia": "../typia-6.10.0-dev.20240910.tgz"
"typia": "../typia-6.10.0-dev.20240910-2.tgz"
}
}
19 changes: 7 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "typia",
"version": "6.10.0-dev.20240910",
"version": "6.10.0-dev.20240910-2",
"description": "Superfast runtime validators with only one line",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"module": "lib/index.mjs",
"bin": {
"typia": "./bin/typia.mjs"
"typia": "./lib/executable/typia.js"
},
"tsp": {
"tscOptions": {
Expand All @@ -18,10 +18,8 @@
"test:bun": "bun run deploy/bun.ts",
"test:template": "npm run --tag test --template",
"-------------------------------------------------": "",
"build": "rimraf lib && tsc && tsc -p ./tsconfig.cli.json && rollup -c",
"cli": "node ./bin/typia.mjs",
"build": "rimraf lib && tsc && rollup -c",
"dev": "rimraf lib && tsc --watch",
"dev:cli": "ts-node ./src/index.ts",
"eslint": "eslint ./**/*.ts",
"eslint:fix": "eslint ./**/*.ts --fix",
"prettier": "prettier src --write",
Expand Down Expand Up @@ -70,13 +68,11 @@
"homepage": "https://typia.io",
"dependencies": {
"@samchon/openapi": "^1.0.0",
"cleye": "^1.3.2",
"commander": "^10.0.0",
"comment-json": "^4.2.3",
"consola": "^3.2.3",
"inquirer": "^8.2.5",
"package-manager-detector": "^0.2.0",
"randexp": "^0.5.3",
"tinyglobby": "^0.2.5"
"randexp": "^0.5.3"
},
"peerDependencies": {
"typescript": ">=4.8.0 <5.6.0"
Expand Down Expand Up @@ -108,8 +104,7 @@
"README.md",
"package.json",
"lib",
"bin",
"src"
],
"private": false
}
"private": true
}
4 changes: 2 additions & 2 deletions packages/typescript-json/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "typescript-json",
"version": "6.10.0-dev.20240910",
"version": "6.10.0-dev.20240910-2",
"description": "Superfast runtime validators with only one line",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
Expand Down Expand Up @@ -63,7 +63,7 @@
},
"homepage": "https://typia.io",
"dependencies": {
"typia": "6.10.0-dev.20240910"
"typia": "6.10.0-dev.20240910-2"
},
"peerDependencies": {
"typescript": ">=4.8.0 <5.6.0"
Expand Down
3 changes: 2 additions & 1 deletion packages/typescript-json/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,5 +101,6 @@
// "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */
"skipLibCheck": true /* Skip type checking all .d.ts files. */
},
"include": ["src"]
"include": ["src"],
"exclude": ["src/cli"]
}
22 changes: 0 additions & 22 deletions src/cli/index.ts

This file was deleted.

42 changes: 0 additions & 42 deletions src/cli/subcommands/generate.ts

This file was deleted.

4 changes: 0 additions & 4 deletions src/cli/subcommands/index.ts

This file was deleted.

47 changes: 0 additions & 47 deletions src/cli/subcommands/patch.ts

This file was deleted.

150 changes: 0 additions & 150 deletions src/cli/subcommands/setup.ts

This file was deleted.

6 changes: 0 additions & 6 deletions src/cli/utils/command.ts

This file was deleted.

Loading

0 comments on commit 72ffc86

Please sign in to comment.