@rockcarver/frodo-cli 4.0.0-4 → 4.0.0-41
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/CHANGELOG.md +112 -1
- package/dist/app.cjs +41747 -22677
- package/dist/app.cjs.map +1 -1
- package/eslint.config.mjs +50 -0
- package/package.json +14 -14
- package/tsup.config.ts +0 -1
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { FlatCompat } from '@eslint/eslintrc';
|
|
2
|
+
import js from '@eslint/js';
|
|
3
|
+
|
|
4
|
+
const compat = new FlatCompat({
|
|
5
|
+
baseDirectory: import.meta.dirname,
|
|
6
|
+
recommendedConfig: js.configs.recommended,
|
|
7
|
+
allConfig: js.configs.all,
|
|
8
|
+
});
|
|
9
|
+
|
|
10
|
+
const tsConfigs = compat
|
|
11
|
+
.config({
|
|
12
|
+
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'prettier'],
|
|
13
|
+
parser: '@typescript-eslint/parser',
|
|
14
|
+
parserOptions: {
|
|
15
|
+
requireConfigFile: false,
|
|
16
|
+
project: './tsconfig.json',
|
|
17
|
+
},
|
|
18
|
+
plugins: ['@typescript-eslint', 'prettier', 'jest', 'simple-import-sort', 'import'],
|
|
19
|
+
rules: {
|
|
20
|
+
'@typescript-eslint/no-explicit-any': 'off',
|
|
21
|
+
'@typescript-eslint/no-deprecated': 'warn',
|
|
22
|
+
'prettier/prettier': ['warn'],
|
|
23
|
+
'dot-notation': 'off',
|
|
24
|
+
'no-console': 'warn',
|
|
25
|
+
'no-underscore-dangle': 'off',
|
|
26
|
+
'no-restricted-syntax': ['error', 'LabeledStatement', 'WithStatement'],
|
|
27
|
+
'no-multi-str': 'off',
|
|
28
|
+
'simple-import-sort/imports': 'error',
|
|
29
|
+
'simple-import-sort/exports': 'error',
|
|
30
|
+
'import/first': 'error',
|
|
31
|
+
'import/newline-after-import': 'error',
|
|
32
|
+
'import/no-duplicates': 'error',
|
|
33
|
+
},
|
|
34
|
+
env: {
|
|
35
|
+
jest: true,
|
|
36
|
+
'jest/globals': true,
|
|
37
|
+
node: true,
|
|
38
|
+
},
|
|
39
|
+
})
|
|
40
|
+
.map((config) => ({
|
|
41
|
+
...config,
|
|
42
|
+
files: ['src/**/*.ts'],
|
|
43
|
+
}));
|
|
44
|
+
|
|
45
|
+
export default [
|
|
46
|
+
{
|
|
47
|
+
ignores: ['src/**/*.test.ts', 'src/**/*.test_.ts', 'test/**/*.test.ts', 'test/**/*.test_.ts', 'tsup.config.ts'],
|
|
48
|
+
},
|
|
49
|
+
...tsConfigs,
|
|
50
|
+
];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rockcarver/frodo-cli",
|
|
3
|
-
"version": "4.0.0-
|
|
3
|
+
"version": "4.0.0-41",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A command line interface to manage ForgeRock Identity Cloud tenants, ForgeOps deployments, and classic deployments.",
|
|
6
6
|
"keywords": [
|
|
@@ -33,12 +33,12 @@
|
|
|
33
33
|
"main": "dist/launch.cjs",
|
|
34
34
|
"scripts": {
|
|
35
35
|
"test": "npm run test:only",
|
|
36
|
-
"test:only": "NODE_OPTIONS='--no-warnings --experimental-vm-modules' npx jest --silent",
|
|
37
|
-
"test:serial": "NODE_OPTIONS='--no-warnings --experimental-vm-modules' npx jest --silent --runInBand",
|
|
38
|
-
"test:debug": "NODE_OPTIONS='--no-warnings --experimental-vm-modules' npx jest --silent=false --json --outputFile=./testResults.json",
|
|
39
|
-
"test:update": "NODE_OPTIONS='--no-warnings --experimental-vm-modules' npx jest --silent=false --updateSnapshot",
|
|
40
|
-
"lint": "eslint --
|
|
41
|
-
"lint:fix": "eslint --
|
|
36
|
+
"test:only": "FRODO_TEST=1 NODE_OPTIONS='--no-warnings --experimental-vm-modules' npx jest --silent",
|
|
37
|
+
"test:serial": "FRODO_TEST=1 NODE_OPTIONS='--no-warnings --experimental-vm-modules' npx jest --silent --runInBand",
|
|
38
|
+
"test:debug": "FRODO_TEST=1 NODE_OPTIONS='--no-warnings --experimental-vm-modules' npx jest --silent=false --json --outputFile=./testResults.json",
|
|
39
|
+
"test:update": "FRODO_TEST=1 NODE_OPTIONS='--no-warnings --experimental-vm-modules' npx jest --silent=false --updateSnapshot",
|
|
40
|
+
"lint": "eslint --cache --cache-location .eslintcache \"src/**/*.ts\"",
|
|
41
|
+
"lint:fix": "eslint --cache --cache-location .eslintcache --fix \"src/**/*.ts\"",
|
|
42
42
|
"build": "npm run build:binary",
|
|
43
43
|
"build:only": "npx tsup && npx tsc",
|
|
44
44
|
"build:binary": "npm run build:only && npm run dist-pkg",
|
|
@@ -95,26 +95,25 @@
|
|
|
95
95
|
]
|
|
96
96
|
},
|
|
97
97
|
"devDependencies": {
|
|
98
|
-
"@rockcarver/frodo-lib": "4.0.0-
|
|
98
|
+
"@rockcarver/frodo-lib": "4.0.0-35",
|
|
99
99
|
"@types/colors": "^1.2.1",
|
|
100
100
|
"@types/fs-extra": "^11.0.1",
|
|
101
101
|
"@types/jest": "^29.2.3",
|
|
102
|
-
"@types/node": "^
|
|
103
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
104
|
-
"@typescript-eslint/parser": "^
|
|
102
|
+
"@types/node": "^25.3.0",
|
|
103
|
+
"@typescript-eslint/eslint-plugin": "^8.56.0",
|
|
104
|
+
"@typescript-eslint/parser": "^8.56.0",
|
|
105
105
|
"@yao-pkg/pkg": "^6.12.0",
|
|
106
106
|
"chokidar": "^4.0.3",
|
|
107
107
|
"cli-progress": "^3.11.2",
|
|
108
108
|
"cli-table3": "^0.6.3",
|
|
109
109
|
"colors": "^1.4.0",
|
|
110
|
-
"commander": "^
|
|
110
|
+
"commander": "^14.0.3",
|
|
111
111
|
"compare-versions": "^6.1.0",
|
|
112
112
|
"copyfiles": "^2.4.1",
|
|
113
113
|
"deep-diff": "^1.0.2",
|
|
114
114
|
"del": "^8.0.0",
|
|
115
115
|
"eslint": "^8.28.0",
|
|
116
116
|
"eslint-config-prettier": "^10.1.1",
|
|
117
|
-
"eslint-plugin-deprecation": "^3.0.0",
|
|
118
117
|
"eslint-plugin-import": "^2.28.0",
|
|
119
118
|
"eslint-plugin-jest": "^28.11.0",
|
|
120
119
|
"eslint-plugin-jsx-a11y": "^6.6.1",
|
|
@@ -122,9 +121,9 @@
|
|
|
122
121
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
123
122
|
"fs-extra": "^11.1.1",
|
|
124
123
|
"jest": "^29.3.1",
|
|
124
|
+
"log-update": "^4.0.0",
|
|
125
125
|
"loglevel": "^1.9.1",
|
|
126
126
|
"map-stream": "^0.0.7",
|
|
127
|
-
"nanospinner": "^1.1.0",
|
|
128
127
|
"prettier": "^3.0.3",
|
|
129
128
|
"properties-reader": "^2.2.0",
|
|
130
129
|
"readline-sync": "^1.4.10",
|
|
@@ -133,6 +132,7 @@
|
|
|
133
132
|
"rimraf": "^6.0.1",
|
|
134
133
|
"sanitize-filename": "^1.6.3",
|
|
135
134
|
"slugify": "^1.6.5",
|
|
135
|
+
"tinyrainbow": "^3.0.3",
|
|
136
136
|
"tmp": "^0.2.3",
|
|
137
137
|
"ts-jest": "^29.1.4",
|
|
138
138
|
"tsup": "^8.1.0",
|