@rockcarver/frodo-cli 4.0.0-3 → 4.0.0-30
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 +101 -1
- package/dist/app.cjs +38957 -22399
- package/dist/app.cjs.map +1 -1
- package/dist/{chunk-HEKQUNOB.cjs → chunk-I43EENNM.cjs} +2 -2
- package/dist/{chunk-HEKQUNOB.cjs.map → chunk-I43EENNM.cjs.map} +1 -1
- package/dist/launch.cjs +4 -4
- package/dist/loader.cjs +41 -36
- package/dist/loader.cjs.map +1 -1
- package/eslint.config.mjs +50 -0
- package/package.json +19 -20
- 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-30",
|
|
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,16 +33,16 @@
|
|
|
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",
|
|
45
|
-
"dist-pkg": "pkg -C Gzip -t
|
|
45
|
+
"dist-pkg": "pkg -C Gzip -t node24 --config package.json -o frodo dist/app.cjs",
|
|
46
46
|
"link": "npm link ../frodo-lib",
|
|
47
47
|
"dev": "npx tsup --watch src"
|
|
48
48
|
},
|
|
@@ -95,14 +95,14 @@
|
|
|
95
95
|
]
|
|
96
96
|
},
|
|
97
97
|
"devDependencies": {
|
|
98
|
-
"@rockcarver/frodo-lib": "4.0.0-
|
|
98
|
+
"@rockcarver/frodo-lib": "4.0.0-32",
|
|
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": "^
|
|
105
|
-
"@yao-pkg/pkg": "^
|
|
102
|
+
"@types/node": "^25.3.0",
|
|
103
|
+
"@typescript-eslint/eslint-plugin": "^8.56.0",
|
|
104
|
+
"@typescript-eslint/parser": "^8.56.0",
|
|
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",
|
|
@@ -110,10 +110,10 @@
|
|
|
110
110
|
"commander": "^11.0.0",
|
|
111
111
|
"compare-versions": "^6.1.0",
|
|
112
112
|
"copyfiles": "^2.4.1",
|
|
113
|
+
"deep-diff": "^1.0.2",
|
|
113
114
|
"del": "^8.0.0",
|
|
114
115
|
"eslint": "^8.28.0",
|
|
115
116
|
"eslint-config-prettier": "^10.1.1",
|
|
116
|
-
"eslint-plugin-deprecation": "^3.0.0",
|
|
117
117
|
"eslint-plugin-import": "^2.28.0",
|
|
118
118
|
"eslint-plugin-jest": "^28.11.0",
|
|
119
119
|
"eslint-plugin-jsx-a11y": "^6.6.1",
|
|
@@ -122,8 +122,8 @@
|
|
|
122
122
|
"fs-extra": "^11.1.1",
|
|
123
123
|
"jest": "^29.3.1",
|
|
124
124
|
"loglevel": "^1.9.1",
|
|
125
|
+
"log-update": "^4.0.0",
|
|
125
126
|
"map-stream": "^0.0.7",
|
|
126
|
-
"nanospinner": "^1.1.0",
|
|
127
127
|
"prettier": "^3.0.3",
|
|
128
128
|
"properties-reader": "^2.2.0",
|
|
129
129
|
"readline-sync": "^1.4.10",
|
|
@@ -132,13 +132,12 @@
|
|
|
132
132
|
"rimraf": "^6.0.1",
|
|
133
133
|
"sanitize-filename": "^1.6.3",
|
|
134
134
|
"slugify": "^1.6.5",
|
|
135
|
+
"tinyrainbow": "^3.0.3",
|
|
136
|
+
"tmp": "^0.2.3",
|
|
135
137
|
"ts-jest": "^29.1.4",
|
|
136
138
|
"tsup": "^8.1.0",
|
|
137
139
|
"typescript": "^5.2.2",
|
|
138
140
|
"uuid": "^11.1.0",
|
|
139
|
-
"yesno": "^0.4.0"
|
|
140
|
-
|
|
141
|
-
"tmp": "^0.2.3"
|
|
142
|
-
},
|
|
143
|
-
"dependencies": {}
|
|
141
|
+
"yesno": "^0.4.0"
|
|
142
|
+
}
|
|
144
143
|
}
|