@qodalis/cli-string 0.0.3 → 2.0.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,33 +1,29 @@
1
1
  {
2
2
  "name": "@qodalis/cli-string",
3
- "version": "0.0.3",
4
- "description": "An Angular CLI extension that provides speed test utilities",
3
+ "version": "2.0.0-beta.2",
4
+ "description": "@qodalis/cli extension for string manipulation and transformation utilities.",
5
5
  "author": "Nicolae Lupei, Qodalis Solutions",
6
6
  "license": "MIT",
7
7
  "repository": {
8
8
  "type": "git",
9
- "url": "https://github.com/qodalis-solutions/angular-web-cli"
9
+ "url": "https://github.com/qodalis-solutions/web-cli"
10
10
  },
11
11
  "homepage": "https://qodalis.com",
12
12
  "keywords": [
13
- "angular",
14
13
  "cli",
15
14
  "qodalis",
16
15
  "terminal",
17
- "string"
16
+ "string",
17
+ "text",
18
+ "transformation",
19
+ "lodash"
18
20
  ],
19
- "umd": "./umd/index.js",
20
- "unpkg": "./umd/index.js",
21
- "peerDependencies": {
22
- "@angular/common": "^16.2.0",
23
- "@angular/core": "^16.2.0"
24
- },
21
+ "umd": "./umd/index.global.js",
22
+ "unpkg": "./umd/index.global.js",
25
23
  "dependencies": {
26
- "@qodalis/angular-cli": "^1.0.37",
27
- "@qodalis/cli-core": "^0.0.16",
24
+ "@qodalis/cli-core": "2.0.0-beta.2",
28
25
  "lodash": "^4.17.21",
29
- "@types/lodash": "^4.17.14",
30
- "tslib": "^2.3.0"
26
+ "@types/lodash": "^4.17.14"
31
27
  },
32
28
  "sideEffects": false,
33
29
  "cliDependencies": [
@@ -38,17 +34,15 @@
38
34
  "url": "https://unpkg.com/lodash@4.17.21/lodash.js"
39
35
  }
40
36
  ],
41
- "module": "fesm2022/qodalis-cli-string.mjs",
42
- "typings": "index.d.ts",
37
+ "devDependencies": {},
38
+ "main": "./public-api.js",
39
+ "module": "./public-api.mjs",
40
+ "types": "./public-api.d.ts",
43
41
  "exports": {
44
- "./package.json": {
45
- "default": "./package.json"
46
- },
47
42
  ".": {
48
- "types": "./index.d.ts",
49
- "esm2022": "./esm2022/qodalis-cli-string.mjs",
50
- "esm": "./esm2022/qodalis-cli-string.mjs",
51
- "default": "./fesm2022/qodalis-cli-string.mjs"
43
+ "types": "./public-api.d.ts",
44
+ "import": "./public-api.mjs",
45
+ "require": "./public-api.js"
52
46
  }
53
47
  }
54
- }
48
+ }
@@ -0,0 +1,19 @@
1
+ import * as _qodalis_cli_core from '@qodalis/cli-core';
2
+ import { ICliCommandProcessor, CliProcessorMetadata, CliProcessCommand, ICliExecutionContext, ICliModule } from '@qodalis/cli-core';
3
+
4
+ declare class CliStringCommandProcessor implements ICliCommandProcessor {
5
+ command: string;
6
+ aliases: string[];
7
+ description: string;
8
+ author: _qodalis_cli_core.ICliCommandAuthor;
9
+ version: string;
10
+ processors?: ICliCommandProcessor[];
11
+ metadata?: CliProcessorMetadata;
12
+ constructor();
13
+ processCommand(command: CliProcessCommand, context: ICliExecutionContext): Promise<void>;
14
+ writeDescription(context: ICliExecutionContext): void;
15
+ }
16
+
17
+ declare const stringModule: ICliModule;
18
+
19
+ export { CliStringCommandProcessor, stringModule };
package/public-api.d.ts CHANGED
@@ -1,2 +1,19 @@
1
- export * from './lib/cli-string.module';
2
- export * from './lib/processors/cli-string-command-processor';
1
+ import * as _qodalis_cli_core from '@qodalis/cli-core';
2
+ import { ICliCommandProcessor, CliProcessorMetadata, CliProcessCommand, ICliExecutionContext, ICliModule } from '@qodalis/cli-core';
3
+
4
+ declare class CliStringCommandProcessor implements ICliCommandProcessor {
5
+ command: string;
6
+ aliases: string[];
7
+ description: string;
8
+ author: _qodalis_cli_core.ICliCommandAuthor;
9
+ version: string;
10
+ processors?: ICliCommandProcessor[];
11
+ metadata?: CliProcessorMetadata;
12
+ constructor();
13
+ processCommand(command: CliProcessCommand, context: ICliExecutionContext): Promise<void>;
14
+ writeDescription(context: ICliExecutionContext): void;
15
+ }
16
+
17
+ declare const stringModule: ICliModule;
18
+
19
+ export { CliStringCommandProcessor, stringModule };