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

Commit 27eb7a0

Browse files
committed
Remove oclif
1 parent 4444600 commit 27eb7a0

File tree

3 files changed

+15
-1304
lines changed

3 files changed

+15
-1304
lines changed

README.md

Lines changed: 1 addition & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ fluent-vue-cli
33

44
fluent-vue CLI to manage translation resources
55

6-
[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)
76
[![Version](https://img.shields.io/npm/v/fluent-vue-cli.svg)](https://npmjs.org/package/fluent-vue-cli)
87
[![Downloads/week](https://img.shields.io/npm/dw/fluent-vue-cli.svg)](https://npmjs.org/package/fluent-vue-cli)
98
[![License](https://img.shields.io/npm/l/fluent-vue-cli.svg)](https://github.com/Demivan/fluent-vue-cli/blob/master/package.json)
@@ -13,60 +12,5 @@ fluent-vue CLI to manage translation resources
1312
* [Commands](#commands)
1413
<!-- tocstop -->
1514
# Usage
16-
<!-- usage -->
17-
```sh-session
18-
$ npm install -g fluent-vue-cli
19-
$ fluent-vue-cli COMMAND
20-
running command...
21-
$ fluent-vue-cli (-v|--version|version)
22-
fluent-vue-cli/0.0.0 linux-x64 node-v16.8.0
23-
$ fluent-vue-cli --help [COMMAND]
24-
USAGE
25-
$ fluent-vue-cli COMMAND
26-
...
27-
```
28-
<!-- usagestop -->
29-
# Commands
30-
<!-- commands -->
31-
* [`fluent-vue-cli export FILES`](#fluent-vue-cli-export-files)
32-
* [`fluent-vue-cli help [COMMAND]`](#fluent-vue-cli-help-command)
33-
34-
## `fluent-vue-cli export FILES`
35-
36-
Exports translation from Vue.js SFC files into ftl files.
37-
38-
```
39-
USAGE
40-
$ fluent-vue-cli export FILES
41-
42-
ARGUMENTS
43-
FILES list of Vue.js files
44-
45-
OPTIONS
46-
-c, --clean clean output directory
47-
-d, --outDir=outDir [default: translations] output directory
48-
-h, --help show CLI help
49-
50-
EXAMPLE
51-
$ fluent-vue-cli export **/*.src --outDir translations/
52-
```
5315

54-
_See code: [src/commands/export.ts](https://github.com/Demivan/fluent-vue-cli/blob/v0.0.0/src/commands/export.ts)_
55-
56-
## `fluent-vue-cli help [COMMAND]`
57-
58-
display help for fluent-vue-cli
59-
60-
```
61-
USAGE
62-
$ fluent-vue-cli help [COMMAND]
63-
64-
ARGUMENTS
65-
COMMAND command to show help for
66-
67-
OPTIONS
68-
--all see all commands in CLI
69-
```
70-
71-
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v3.2.3/src/commands/help.ts)_
72-
<!-- commandsstop -->
16+
# Commands

package.json

Lines changed: 3 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -8,54 +8,31 @@
88
},
99
"bugs": "https://github.com/Demivan/fluent-vue-cli/issues",
1010
"dependencies": {
11-
"@oclif/command": "^1",
12-
"@oclif/config": "^1",
13-
"@oclif/errors": "^1.3.5",
14-
"@oclif/plugin-help": "^3",
1511
"fast-glob": "^3.2.7",
1612
"tslib": "^1"
1713
},
1814
"files": [
1915
"/bin",
20-
"/lib",
21-
"/npm-shrinkwrap.json",
22-
"/oclif.manifest.json"
16+
"/lib"
2317
],
2418
"homepage": "https://github.com/Demivan/fluent-vue-cli",
25-
"keywords": [
26-
"oclif"
27-
],
2819
"license": "MIT",
2920
"main": "lib/index.js",
30-
"oclif": {
31-
"commands": "./lib/commands",
32-
"bin": "fluent-vue-cli",
33-
"plugins": [
34-
"@oclif/plugin-help"
35-
]
36-
},
3721
"repository": "Demivan/fluent-vue-cli",
3822
"scripts": {
39-
"postpack": "rm -f oclif.manifest.json",
40-
"posttest": "eslint . --ext .ts --config .eslintrc",
41-
"prepack": "rm -rf lib && tsc -b && oclif-dev manifest && oclif-dev readme",
23+
"lint": "eslint . --ext .ts --config .eslintrc",
4224
"test": "vitest run",
43-
"test:dev": "vitest",
44-
"version": "oclif-dev readme && git add README.md"
25+
"test:dev": "vitest"
4526
},
4627
"types": "lib/index.d.ts",
4728
"devDependencies": {
4829
"@fluent/syntax": "^0.17.0",
49-
"@oclif/dev-cli": "^1",
50-
"@oclif/test": "^1",
5130
"@types/node": "^10.17.60",
5231
"@typescript-eslint/eslint-plugin": "^4.30.0",
5332
"@typescript-eslint/parser": "^4.30.0",
5433
"@vue/compiler-dom": "^3.2.6",
5534
"@vue/compiler-sfc": "^3.2.6",
5635
"eslint": "^5.13",
57-
"eslint-config-oclif": "^3.1",
58-
"eslint-config-oclif-typescript": "^0.1",
5936
"eslint-config-standard-with-typescript": "^21.0.1",
6037
"eslint-plugin-import": "^2.24.2",
6138
"eslint-plugin-node": "^11.1.0",

0 commit comments

Comments
 (0)