Skip to content
This repository was archived by the owner on Jan 6, 2024. It is now read-only.

Commit a92d459

Browse files
committed
Stop using oclif
1 parent 27eb7a0 commit a92d459

File tree

11 files changed

+895
-666
lines changed

11 files changed

+895
-666
lines changed

.eslintrc

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
{
2-
"plugins": ["@typescript-eslint"],
32
"extends": [
4-
"oclif",
5-
"oclif-typescript",
6-
"eslint:recommended",
7-
"plugin:@typescript-eslint/eslint-recommended",
8-
"plugin:@typescript-eslint/recommended",
9-
"standard-with-typescript"
3+
"@antfu/eslint-config-basic"
104
]
115
}

bin/run

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
#!/usr/bin/env node
22

3-
require('@oclif/command').run()
4-
.then(require('@oclif/command/flush'))
5-
.catch(require('@oclif/errors/handle'))
3+
require('../dist/cli/index.js')

oclif.manifest.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

package.json

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,42 +4,38 @@
44
"version": "0.0.0",
55
"author": "Ivan Demchuk @Demivan",
66
"bin": {
7-
"fluent-vue-cli": "./bin/run"
7+
"fluent-vue": "./bin/run"
88
},
99
"bugs": "https://github.com/Demivan/fluent-vue-cli/issues",
1010
"dependencies": {
11-
"fast-glob": "^3.2.7",
12-
"tslib": "^1"
11+
"@fluent/syntax": "^0.17.0",
12+
"@vue/compiler-dom": "^3.2.6",
13+
"@vue/compiler-sfc": "^3.2.6",
14+
"cac": "^6.7.12",
15+
"fast-glob": "^3.2.11"
1316
},
1417
"files": [
1518
"/bin",
16-
"/lib"
19+
"/dist"
1720
],
1821
"homepage": "https://github.com/Demivan/fluent-vue-cli",
1922
"license": "MIT",
20-
"main": "lib/index.js",
23+
"main": "dist/index.js",
2124
"repository": "Demivan/fluent-vue-cli",
2225
"scripts": {
26+
"build": "tsup",
27+
"dev": "tsup --watch",
2328
"lint": "eslint . --ext .ts --config .eslintrc",
2429
"test": "vitest run",
2530
"test:dev": "vitest"
2631
},
2732
"types": "lib/index.d.ts",
2833
"devDependencies": {
29-
"@fluent/syntax": "^0.17.0",
34+
"@antfu/eslint-config-basic": "^0.16.1",
3035
"@types/node": "^10.17.60",
31-
"@typescript-eslint/eslint-plugin": "^4.30.0",
32-
"@typescript-eslint/parser": "^4.30.0",
33-
"@vue/compiler-dom": "^3.2.6",
34-
"@vue/compiler-sfc": "^3.2.6",
35-
"eslint": "^5.13",
36-
"eslint-config-standard-with-typescript": "^21.0.1",
37-
"eslint-plugin-import": "^2.24.2",
38-
"eslint-plugin-node": "^11.1.0",
39-
"eslint-plugin-promise": "^5.1.0",
40-
"globby": "^10",
41-
"ts-node": "^8",
42-
"typescript": "^3.3",
36+
"eslint": "^8.9.0",
37+
"tsup": "^5.11.13",
38+
"typescript": "^4.5.5",
4339
"vitest": "^0.3.6"
4440
},
4541
"engines": {

0 commit comments

Comments
 (0)