@elliemae/ds-codemods 2.3.1 → 3.0.0-alpha.3

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.
Files changed (31) hide show
  1. package/package.json +23 -19
  2. package/.eslintrc-backup.js +0 -70
  3. package/CHANGELOG.md +0 -500
  4. package/src/cli/code-mods/cli.js +0 -32
  5. package/src/cli/code-mods/command-arguments/promptCheckEmPackagesInconsistencies.js +0 -22
  6. package/src/cli/code-mods/command-arguments/promptFixLegacyImports.js +0 -21
  7. package/src/cli/code-mods/command-arguments/promptMissingPackages.js +0 -29
  8. package/src/cli/code-mods/command-logics/check-missing-packages/index.js +0 -82
  9. package/src/cli/code-mods/command-logics/check-packages-inconsistencies/getPackageJsonEmDsVersions.js +0 -43
  10. package/src/cli/code-mods/command-logics/check-packages-inconsistencies/index.js +0 -59
  11. package/src/cli/code-mods/command-logics/execute-commands-map.js +0 -23
  12. package/src/cli/code-mods/command-logics/fix-legacy-imports/index.js +0 -29
  13. package/src/cli/code-mods/command-logics/fix-legacy-imports/legacyImportMap.js +0 -109
  14. package/src/cli/code-mods/commands.js +0 -9
  15. package/src/cli/code-mods/inquirer-questions-prompter.js +0 -52
  16. package/src/cli/utils/generatePathFromCurrentFolder.js +0 -5
  17. package/src/cli/utils/getLatestDimsumVersion.js +0 -15
  18. package/src/cli/utils/globArray.js +0 -11
  19. package/src/cli/utils/index.js +0 -5
  20. package/src/cli/utils/matchHelpers.js +0 -38
  21. package/src/cli/utils/replaceFromMap.js +0 -15
  22. package/test-ables/check-packages-inconsistencies/package.json.test +0 -54
  23. package/test-ables/fix-legacy-imports/legacy-react-ts.tsx.mock +0 -62
  24. package/test-ables/fix-legacy-imports/legacy-react-ts2.tsx.mock +0 -62
  25. package/test-ables/fix-legacy-imports/legacy-react.jsx.mock +0 -62
  26. package/test-ables/fix-legacy-imports/legacy-react2.jsx.mock +0 -62
  27. package/test-ables/fix-legacy-imports/legacy-ts.ts.mock +0 -62
  28. package/test-ables/fix-legacy-imports/legacy-ts2.ts.mock +0 -62
  29. package/test-ables/fix-legacy-imports/legacy1.js.mock +0 -61
  30. package/test-ables/fix-legacy-imports/legacy2.js.mock +0 -61
  31. package/tsconfig.json +0 -10
package/package.json CHANGED
@@ -1,12 +1,15 @@
1
1
  {
2
2
  "name": "@elliemae/ds-codemods",
3
- "version": "2.3.1",
3
+ "version": "3.0.0-alpha.3",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Code Mods",
6
- "module": "./esm/index.js",
6
+ "files": [
7
+ "dist"
8
+ ],
9
+ "module": "./dist/esm/index.js",
7
10
  "main": "./src/index.js",
8
11
  "bin": {
9
- "@elliemae/ds-codemods": "bin/ds-codemods",
12
+ "@elliemae/ds-codemods": "2.3.0-alpha.4",
10
13
  "ds-codemods": "bin/ds-codemods"
11
14
  },
12
15
  "sideEffects": [
@@ -18,32 +21,28 @@
18
21
  "url": "https://git.elliemae.io/platform-ui/dimsum.git"
19
22
  },
20
23
  "engines": {
21
- "npm": ">=7",
22
- "node": ">=14"
24
+ "pnpm": ">=6",
25
+ "node": ">=16"
23
26
  },
24
27
  "author": "ICE MT",
25
- "scripts": {
26
- "dev": "exit 0",
27
- "prebuild": "exit 0",
28
- "predev": "exit 0",
29
- "build": "exit 0",
30
- "test": "echo \"Error: no test specified\" && exit 1"
28
+ "jestSonar": {
29
+ "sonar56x": true,
30
+ "reportPath": "reports",
31
+ "reportFile": "tests.xml",
32
+ "indent": 4
31
33
  },
32
34
  "dependencies": {
33
35
  "arg": "^5.0.1",
34
- "chalk": "5.0.0",
35
- "depcheck": "1.4.3",
36
+ "chalk": "4.1.2",
37
+ "depcheck": "1.4.2",
36
38
  "esm": "^3.2.25",
37
39
  "fs": "0.0.1-security",
38
40
  "fs-extra": "^10.0.0",
39
41
  "glob": "^7.2.0",
40
42
  "inquirer": "^8.2.0",
41
- "pacote": "12.0.3",
43
+ "pacote": "12.0.2",
42
44
  "path": "^0.12.7"
43
45
  },
44
- "resolutions": {
45
- "depcheck/@babel/parser": "7.16.4"
46
- },
47
46
  "publishConfig": {
48
47
  "access": "public"
49
48
  },
@@ -51,5 +50,10 @@
51
50
  "cli",
52
51
  "dimsum",
53
52
  "codemods"
54
- ]
55
- }
53
+ ],
54
+ "scripts": {
55
+ "dev": "exit 0",
56
+ "test": "exit 0",
57
+ "build": "exit 0"
58
+ }
59
+ }
@@ -1,70 +0,0 @@
1
- module.exports = {
2
- root: true,
3
- parser: 'babel-eslint',
4
- extends: ['airbnb', 'prettier'],
5
- plugins: ['prettier'],
6
- env: {
7
- jest: false,
8
- browser: false,
9
- node: true,
10
- es6: true,
11
- },
12
- parserOptions: {
13
- ecmaVersion: 6,
14
- sourceType: 'module',
15
- ecmaFeatures: {
16
- jsx: false,
17
- },
18
- },
19
- rules: {
20
- 'prettier/prettier': [
21
- 'error',
22
- {
23
- printWidth: 120,
24
- tabWidth: 2,
25
- useTabs: false,
26
- semi: true,
27
- singleQuote: true,
28
- trailingComma: 'all',
29
- parser: 'babel',
30
- },
31
- ],
32
- 'arrow-body-style': [2, 'as-needed'],
33
- 'class-methods-use-this': 0,
34
- // 'import/imports-first': 0,
35
- 'import/newline-after-import': 0,
36
- 'import/no-dynamic-require': 0,
37
- 'import/no-extraneous-dependencies': 0,
38
- 'import/no-named-as-default': 0,
39
- 'import/no-unresolved': 2,
40
- 'import/no-webpack-loader-syntax': 0,
41
- 'import/prefer-default-export': 0,
42
- 'jest/valid-title': 0,
43
- 'jest/valid-describe': 0,
44
- indent: [
45
- 2,
46
- 2,
47
- {
48
- SwitchCase: 1,
49
- },
50
- ],
51
- 'max-lines': ['error', { max: 120, skipComments: true }],
52
- complexity: ['error', { max: 10 }],
53
- 'max-depth': ['error', { max: 4 }],
54
- 'max-lines-per-function': 0,
55
- 'max-nested-callbacks': ['error', { max: 3 }],
56
- 'max-params': ['error', { max: 3 }],
57
- 'max-statements': ['error', { max: 20 }],
58
- 'max-len': 0,
59
- 'newline-per-chained-call': 0,
60
- 'no-confusing-arrow': 0,
61
- 'no-console': 0,
62
- 'no-param-reassign': ['error', { props: false }],
63
- 'no-unused-vars': 2,
64
- 'no-use-before-define': 0,
65
- 'prefer-template': 2,
66
- 'require-yield': 0,
67
- },
68
- overrides: [],
69
- settings: {},
70
- };
package/CHANGELOG.md DELETED
@@ -1,500 +0,0 @@
1
- # Change Log
2
-
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
-
6
- ### [2.3.1](https://git.elliemae.io/platform-ui/dimsum/compare/v2.3.0...v2.3.1) (2022-01-28)
7
-
8
-
9
- ### Bug Fixes
10
-
11
- * dimsum:: fixed unused/missing dependencies ([#4150](https://git.elliemae.io/platform-ui/dimsum/issues/4150)) ([51dddfb](https://git.elliemae.io/platform-ui/dimsum/commit/51dddfb51e76ba4a7407a28ac1c34b81f8f4d095))
12
-
13
-
14
-
15
- ## [2.3.0](https://git.elliemae.io/platform-ui/dimsum/compare/v2.2.6...v2.3.0) (2022-01-25)
16
-
17
- **Note:** Version bump only for package @elliemae/ds-codemods
18
-
19
-
20
-
21
-
22
-
23
- ### [2.2.6](https://git.elliemae.io/platform-ui/dimsum/compare/v2.2.5...v2.2.6) (2022-01-20)
24
-
25
- **Note:** Version bump only for package @elliemae/ds-codemods
26
-
27
-
28
-
29
-
30
-
31
- ### [2.2.5](https://git.elliemae.io/platform-ui/dimsum/compare/v2.2.4...v2.2.5) (2022-01-20)
32
-
33
- **Note:** Version bump only for package @elliemae/ds-codemods
34
-
35
-
36
-
37
-
38
-
39
- ### [2.2.4](https://git.elliemae.io/platform-ui/dimsum/compare/v2.2.3...v2.2.4) (2022-01-20)
40
-
41
- **Note:** Version bump only for package @elliemae/ds-codemods
42
-
43
-
44
-
45
-
46
-
47
- ### [2.2.3](https://git.elliemae.io/platform-ui/dimsum/compare/v2.2.2...v2.2.3) (2022-01-18)
48
-
49
- **Note:** Version bump only for package @elliemae/ds-codemods
50
-
51
-
52
-
53
-
54
-
55
- ### [2.2.2](https://git.elliemae.io/platform-ui/dimsum/compare/v2.2.1...v2.2.2) (2022-01-05)
56
-
57
- **Note:** Version bump only for package @elliemae/ds-codemods
58
-
59
-
60
-
61
-
62
-
63
- ### [2.2.1](https://git.elliemae.io/platform-ui/dimsum/compare/v2.2.0...v2.2.1) (2022-01-04)
64
-
65
- **Note:** Version bump only for package @elliemae/ds-codemods
66
-
67
-
68
-
69
-
70
-
71
- ## [2.2.0](https://git.elliemae.io/platform-ui/dimsum/compare/v2.1.0...v2.2.0) (2022-01-04)
72
-
73
- **Note:** Version bump only for package @elliemae/ds-codemods
74
-
75
-
76
-
77
-
78
-
79
- ## [2.1.0](https://git.elliemae.io/platform-ui/dimsum/compare/v2.0.0...v2.1.0) (2021-12-22)
80
-
81
- **Note:** Version bump only for package @elliemae/ds-codemods
82
-
83
-
84
-
85
-
86
-
87
- ## [2.0.0](https://git.elliemae.io/platform-ui/dimsum/compare/v1.59.0...v2.0.0) (2021-12-10)
88
-
89
-
90
- ### ⚠ BREAKING CHANGES
91
-
92
- * - discontinue IE11 support
93
- - minimum supported NodeJS version is 14.x and higher
94
-
95
- * fix: tsconfig correction
96
-
97
- * fix: build error
98
-
99
- * fix: upgrade open source libraries to their latest patch
100
-
101
- * fix: dev dependencies
102
-
103
- * fix: asynchornous execution of rollup and tsc
104
-
105
- * chore: test
106
-
107
- * chore: test
108
-
109
- * chore: test
110
-
111
- ### Features
112
-
113
- * dependencies upgrade ([#3418](https://git.elliemae.io/platform-ui/dimsum/issues/3418)) ([88ff69d](https://git.elliemae.io/platform-ui/dimsum/commit/88ff69d7d9413ece6b202b2d6d489565ed566fc2))
114
- * typescript integration ([#3398](https://git.elliemae.io/platform-ui/dimsum/issues/3398)) ([dc3a870](https://git.elliemae.io/platform-ui/dimsum/commit/dc3a87046af29e91162fb64207ce340ff28386c6))
115
-
116
-
117
- ### Bug Fixes
118
-
119
- * beyond trust issue ([06bbdac](https://git.elliemae.io/platform-ui/dimsum/commit/06bbdac70b1218268d09a84246c8de03dfefd71b))
120
- * codemode fails to publish ([#3414](https://git.elliemae.io/platform-ui/dimsum/issues/3414)) ([12b833e](https://git.elliemae.io/platform-ui/dimsum/commit/12b833e7267ae72e3c559d8a8abff1f8019ba973))
121
- * dimsum:: fixed all the package.json missing/unused dependencies up to now ([#3758](https://git.elliemae.io/platform-ui/dimsum/issues/3758)) ([c5bd0d5](https://git.elliemae.io/platform-ui/dimsum/commit/c5bd0d5675be1680af6f12678b50421bac85cb1b))
122
- * e2e tests failing with timeout ([#3438](https://git.elliemae.io/platform-ui/dimsum/issues/3438)) ([bbd9d62](https://git.elliemae.io/platform-ui/dimsum/commit/bbd9d6254838782da013a98ca14ca3d947b64653)), closes [#3413](https://git.elliemae.io/platform-ui/dimsum/issues/3413) [#3417](https://git.elliemae.io/platform-ui/dimsum/issues/3417) [#3408](https://git.elliemae.io/platform-ui/dimsum/issues/3408) [#3379](https://git.elliemae.io/platform-ui/dimsum/issues/3379) [#3412](https://git.elliemae.io/platform-ui/dimsum/issues/3412) [#3427](https://git.elliemae.io/platform-ui/dimsum/issues/3427) [#3425](https://git.elliemae.io/platform-ui/dimsum/issues/3425) [#3424](https://git.elliemae.io/platform-ui/dimsum/issues/3424) [#3422](https://git.elliemae.io/platform-ui/dimsum/issues/3422) [#3393](https://git.elliemae.io/platform-ui/dimsum/issues/3393) [#3397](https://git.elliemae.io/platform-ui/dimsum/issues/3397) [#3431](https://git.elliemae.io/platform-ui/dimsum/issues/3431) [#3430](https://git.elliemae.io/platform-ui/dimsum/issues/3430) [#3432](https://git.elliemae.io/platform-ui/dimsum/issues/3432)
123
- * eslint and tsc commit issues ([#3781](https://git.elliemae.io/platform-ui/dimsum/issues/3781)) ([abb0f09](https://git.elliemae.io/platform-ui/dimsum/commit/abb0f0973e57a406ce444497d11a41933623fa51))
124
-
125
-
126
-
127
- ## [1.59.0](https://git.elliemae.io/platform-ui/dimsum/compare/v1.58.1...v1.59.0) (2021-11-05)
128
-
129
- **Note:** Version bump only for package @elliemae/ds-codemods
130
-
131
-
132
-
133
-
134
-
135
- ### [1.58.1](https://git.elliemae.io/platform-ui/dimsum/compare/v1.58.0...v1.58.1) (2021-11-02)
136
-
137
- **Note:** Version bump only for package @elliemae/ds-codemods
138
-
139
-
140
-
141
-
142
-
143
- ## [1.58.0](https://git.elliemae.io/platform-ui/dimsum/compare/v1.57.2...v1.58.0) (2021-11-01)
144
-
145
- **Note:** Version bump only for package @elliemae/ds-codemods
146
-
147
-
148
-
149
-
150
-
151
- ### [1.57.2](https://git.elliemae.io/platform-ui/dimsum/compare/v1.57.1...v1.57.2) (2021-10-25)
152
-
153
- **Note:** Version bump only for package @elliemae/ds-codemods
154
-
155
-
156
-
157
-
158
-
159
- ### [1.57.1](https://git.elliemae.io/platform-ui/dimsum/compare/v1.57.0...v1.57.1) (2021-10-22)
160
-
161
- **Note:** Version bump only for package @elliemae/ds-codemods
162
-
163
-
164
-
165
-
166
-
167
- ## [1.57.0](https://git.elliemae.io/platform-ui/dimsum/compare/v1.56.1...v1.57.0) (2021-10-22)
168
-
169
- **Note:** Version bump only for package @elliemae/ds-codemods
170
-
171
-
172
-
173
-
174
-
175
- ### [1.56.1](https://git.elliemae.io/platform-ui/dimsum/compare/v1.56.0...v1.56.1) (2021-10-11)
176
-
177
- **Note:** Version bump only for package @elliemae/ds-codemods
178
-
179
-
180
-
181
-
182
-
183
- ## [1.56.0](https://git.elliemae.io/platform-ui/dimsum/compare/v1.55.0...v1.56.0) (2021-10-11)
184
-
185
- **Note:** Version bump only for package @elliemae/ds-codemods
186
-
187
-
188
-
189
-
190
-
191
- ## [1.55.0](https://git.elliemae.io/platform-ui/dimsum/compare/v1.53.4...v1.55.0) (2021-10-05)
192
-
193
- **Note:** Version bump only for package @elliemae/ds-codemods
194
-
195
-
196
-
197
-
198
-
199
- ### [1.53.4](https://git.elliemae.io/platform-ui/dimsum/compare/v1.53.3...v1.53.4) (2021-09-16)
200
-
201
-
202
- ### Features
203
-
204
- * dimsum:: added script to validate unused or missing dependencies [PUI-6946](https://jira.elliemae.io/browse/PUI-6946) ([#3379](https://git.elliemae.io/platform-ui/dimsum/issues/3379)) ([395b328](https://git.elliemae.io/platform-ui/dimsum/commit/395b328dfd0b8b75c02bd46e578af3ec990a64da))
205
-
206
-
207
- ### Bug Fixes
208
-
209
- * package codemods ([3e5a5d0](https://git.elliemae.io/platform-ui/dimsum/commit/3e5a5d03ff5f852bb2454333b535894e41d43009))
210
-
211
-
212
-
213
- ### [1.53.3](https://git.elliemae.io/platform-ui/dimsum/compare/v1.53.2...v1.53.3) (2021-09-07)
214
-
215
- **Note:** Version bump only for package @elliemae/ds-codemods
216
-
217
-
218
-
219
-
220
-
221
- ### [1.53.2](https://git.elliemae.io/platform-ui/dimsum/compare/v1.53.1...v1.53.2) (2021-09-01)
222
-
223
- **Note:** Version bump only for package @elliemae/ds-codemods
224
-
225
-
226
-
227
-
228
-
229
- ### [1.53.1](https://git.elliemae.io/platform-ui/dimsum/compare/v1.53.0...v1.53.1) (2021-09-01)
230
-
231
- **Note:** Version bump only for package @elliemae/ds-codemods
232
-
233
-
234
-
235
-
236
-
237
- ## [1.53.0](https://git.elliemae.io/platform-ui/dimsum/compare/v1.52.0...v1.53.0) (2021-08-31)
238
-
239
- **Note:** Version bump only for package @elliemae/ds-codemods
240
-
241
-
242
-
243
-
244
-
245
- ## [1.52.0](https://git.elliemae.io/platform-ui/dimsum/compare/v1.51.1...v1.52.0) (2021-08-30)
246
-
247
- **Note:** Version bump only for package @elliemae/ds-codemods
248
-
249
-
250
-
251
-
252
-
253
- ### [1.51.1](https://git.elliemae.io/platform-ui/dimsum/compare/v1.51.0...v1.51.1) (2021-08-26)
254
-
255
- **Note:** Version bump only for package @elliemae/ds-codemods
256
-
257
-
258
-
259
-
260
-
261
- ## [1.51.0](https://git.elliemae.io/platform-ui/dimsum/compare/v1.50.2...v1.51.0) (2021-08-23)
262
-
263
- **Note:** Version bump only for package @elliemae/ds-codemods
264
-
265
-
266
-
267
-
268
-
269
- ### [1.50.2](https://git.elliemae.io/platform-ui/dimsum/compare/v1.50.1...v1.50.2) (2021-08-19)
270
-
271
- **Note:** Version bump only for package @elliemae/ds-codemods
272
-
273
-
274
-
275
-
276
-
277
- ### [1.50.1](https://git.elliemae.io/platform-ui/dimsum/compare/v1.47.14...v1.50.1) (2021-08-18)
278
-
279
- ## [1.50.0](https://git.elliemae.io/platform-ui/dimsum/compare/v1.49.0...v1.50.0) (2021-08-16)
280
-
281
- ## [1.49.0](https://git.elliemae.io/platform-ui/dimsum/compare/v1.47.13...v1.49.0) (2021-08-11)
282
-
283
-
284
- ### Features
285
-
286
- * controlled-date-time-picker:: disabled time prop + unit-test [PUI-6721](https://jira.elliemae.io/browse/PUI-6721) [PUI-6408](https://jira.elliemae.io/browse/PUI-6408) ([#3167](https://git.elliemae.io/platform-ui/dimsum/issues/3167)) ([dcafda9](https://git.elliemae.io/platform-ui/dimsum/commit/dcafda952dae70f4755520dc2e2e18d0480a4377))
287
- * ds-codemods:: script to ensure correct npm versions [PUI-6808](https://jira.elliemae.io/browse/PUI-6808) ([#3195](https://git.elliemae.io/platform-ui/dimsum/issues/3195)) ([b6459e7](https://git.elliemae.io/platform-ui/dimsum/commit/b6459e757125c02df108b0eaaaa116284e385d51))
288
-
289
- ## [1.48.0](https://git.elliemae.io/platform-ui/dimsum/compare/v1.47.6...v1.48.0) (2021-07-27)
290
-
291
-
292
-
293
- ## [1.50.0](https://git.elliemae.io/platform-ui/dimsum/compare/v1.49.0...v1.50.0) (2021-08-16)
294
-
295
-
296
- ### Features
297
-
298
- * ds-codemods:: script to ensure correct npm versions [PUI-6808](https://jira.elliemae.io/browse/PUI-6808) ([#3195](https://git.elliemae.io/platform-ui/dimsum/issues/3195)) ([b6459e7](https://git.elliemae.io/platform-ui/dimsum/commit/b6459e757125c02df108b0eaaaa116284e385d51))
299
-
300
-
301
-
302
- ## [1.49.0](https://git.elliemae.io/platform-ui/dimsum/compare/v1.47.10...v1.49.0) (2021-08-11)
303
-
304
-
305
- ### Features
306
-
307
- * controlled-date-time-picker:: disabled time prop + unit-test [PUI-6721](https://jira.elliemae.io/browse/PUI-6721) [PUI-6408](https://jira.elliemae.io/browse/PUI-6408) ([#3167](https://git.elliemae.io/platform-ui/dimsum/issues/3167)) ([dcafda9](https://git.elliemae.io/platform-ui/dimsum/commit/dcafda952dae70f4755520dc2e2e18d0480a4377))
308
-
309
- ## [1.48.0](https://git.elliemae.io/platform-ui/dimsum/compare/v1.47.6...v1.48.0) (2021-07-27)
310
-
311
-
312
-
313
- ## [1.48.0](https://git.elliemae.io/platform-ui/dimsum/compare/v1.47.4...v1.48.0) (2021-07-27)
314
-
315
- **Note:** Version bump only for package @elliemae/ds-codemods
316
-
317
-
318
-
319
-
320
-
321
- ## [1.47.0](https://git.elliemae.io/platform-ui/dimsum/compare/v1.46.3...v1.47.0) (2021-07-15)
322
-
323
- **Note:** Version bump only for package @elliemae/ds-codemods
324
-
325
-
326
-
327
-
328
-
329
- ### [1.46.3](https://git.elliemae.io/platform-ui/dimsum/compare/v1.46.2...v1.46.3) (2021-07-14)
330
-
331
- **Note:** Version bump only for package @elliemae/ds-codemods
332
-
333
-
334
-
335
-
336
-
337
- ### [1.46.2](https://git.elliemae.io/platform-ui/dimsum/compare/v1.46.1...v1.46.2) (2021-07-14)
338
-
339
- **Note:** Version bump only for package @elliemae/ds-codemods
340
-
341
-
342
-
343
-
344
-
345
- ### [1.46.1](https://git.elliemae.io/platform-ui/dimsum/compare/v1.46.0...v1.46.1) (2021-07-13)
346
-
347
- **Note:** Version bump only for package @elliemae/ds-codemods
348
-
349
-
350
-
351
-
352
-
353
- ## [1.46.0](https://git.elliemae.io/platform-ui/dimsum/compare/v1.45.4...v1.46.0) (2021-07-08)
354
-
355
- **Note:** Version bump only for package @elliemae/ds-codemods
356
-
357
-
358
-
359
-
360
-
361
- ### [1.45.4](https://git.elliemae.io/platform-ui/dimsum/compare/v1.45.3...v1.45.4) (2021-07-06)
362
-
363
- **Note:** Version bump only for package @elliemae/ds-codemods
364
-
365
-
366
-
367
-
368
-
369
- ### [1.45.3](https://git.elliemae.io/platform-ui/dimsum/compare/v1.45.2...v1.45.3) (2021-06-29)
370
-
371
- **Note:** Version bump only for package @elliemae/ds-codemods
372
-
373
-
374
-
375
-
376
-
377
- ### [1.45.2](https://git.elliemae.io/platform-ui/dimsum/compare/v1.45.1...v1.45.2) (2021-06-25)
378
-
379
- **Note:** Version bump only for package @elliemae/ds-codemods
380
-
381
-
382
-
383
-
384
-
385
- ### [1.45.1](https://git.elliemae.io/platform-ui/dimsum/compare/v1.45.0...v1.45.1) (2021-06-25)
386
-
387
- **Note:** Version bump only for package @elliemae/ds-codemods
388
-
389
-
390
-
391
-
392
-
393
- ## [1.45.0](https://git.elliemae.io/platform-ui/dimsum/compare/v1.44.2...v1.45.0) (2021-06-23)
394
-
395
- **Note:** Version bump only for package @elliemae/ds-codemods
396
-
397
-
398
-
399
-
400
-
401
- ### [1.44.2](https://git.elliemae.io/platform-ui/dimsum/compare/v1.44.1...v1.44.2) (2021-06-18)
402
-
403
- **Note:** Version bump only for package @elliemae/ds-codemods
404
-
405
-
406
-
407
-
408
-
409
- ### [1.44.1](https://git.elliemae.io/platform-ui/dimsum/compare/v1.44.0...v1.44.1) (2021-06-16)
410
-
411
- **Note:** Version bump only for package @elliemae/ds-codemods
412
-
413
-
414
-
415
-
416
-
417
- ## [1.44.0](https://git.elliemae.io/platform-ui/dimsum/compare/v1.43.1...v1.44.0) (2021-06-08)
418
-
419
- **Note:** Version bump only for package @elliemae/ds-codemods
420
-
421
-
422
-
423
-
424
-
425
- ### [1.43.1](https://git.elliemae.io/platform-ui/dimsum/compare/v1.43.0...v1.43.1) (2021-06-07)
426
-
427
- **Note:** Version bump only for package @elliemae/ds-codemods
428
-
429
-
430
-
431
-
432
-
433
- ## [1.43.0](https://git.elliemae.io/platform-ui/dimsum/compare/v1.42.3...v1.43.0) (2021-05-28)
434
-
435
- **Note:** Version bump only for package @elliemae/ds-codemods
436
-
437
-
438
-
439
-
440
-
441
- ### [1.42.3](https://git.elliemae.io/platform-ui/dimsum/compare/v1.42.2...v1.42.3) (2021-05-25)
442
-
443
- **Note:** Version bump only for package @elliemae/ds-codemods
444
-
445
-
446
-
447
-
448
-
449
- ### [1.42.2](https://git.elliemae.io/platform-ui/dimsum/compare/v1.42.1...v1.42.2) (2021-05-25)
450
-
451
- **Note:** Version bump only for package @elliemae/ds-codemods
452
-
453
-
454
-
455
-
456
-
457
- ### [1.42.1](https://git.elliemae.io/platform-ui/dimsum/compare/v1.42.0...v1.42.1) (2021-05-25)
458
-
459
- **Note:** Version bump only for package @elliemae/ds-codemods
460
-
461
-
462
-
463
-
464
-
465
- ## [1.42.0](https://git.elliemae.io/platform-ui/dimsum/compare/v1.40.3...v1.42.0) (2021-05-14)
466
-
467
- **Note:** Version bump only for package @elliemae/ds-codemods
468
-
469
-
470
-
471
-
472
-
473
- ### [1.40.3](https://git.elliemae.io/platform-ui/dimsum/compare/v1.40.2...v1.40.3) (2021-05-11)
474
-
475
-
476
- ### Bug Fixes
477
-
478
- * datetimepicker:: missing onChange cta ([#2794](https://git.elliemae.io/platform-ui/dimsum/issues/2794)) ([1b813af](https://git.elliemae.io/platform-ui/dimsum/commit/1b813af311311877b501ba38be62bcfe16a20adf))
479
-
480
-
481
-
482
- ### [1.40.2](https://git.elliemae.io/platform-ui/dimsum/compare/v1.40.1...v1.40.2) (2021-05-06)
483
-
484
- **Note:** Version bump only for package @elliemae/ds-codemods
485
-
486
-
487
-
488
-
489
-
490
- ### [1.40.1](https://git.elliemae.io/platform-ui/dimsum/compare/v1.38.5...v1.40.1) (2021-04-27)
491
-
492
- **Note:** Version bump only for package @elliemae/ds-codemods
493
-
494
-
495
-
496
-
497
-
498
- ### [1.38.4](https://git.elliemae.io/platform-ui/dimsum/compare/v1.38.3...v1.38.4) (2021-04-13)
499
-
500
- **Note:** Version bump only for package @elliemae/ds-codemods
@@ -1,32 +0,0 @@
1
- import arg from 'arg';
2
- import { promptForMissingOptions } from './inquirer-questions-prompter';
3
- import { executeCommandsMap } from './command-logics/execute-commands-map';
4
-
5
- function parseArgumentsIntoOptions(rawArgs) {
6
- const args = arg(
7
- {
8
- '--globPattern': String,
9
- '--globPatternIgnore': String,
10
- '--projectFolderPath': String,
11
- '--ignorePackagesGlobPattern': String,
12
- '--ignoreFilesGlobPattern': String,
13
- },
14
- {
15
- argv: rawArgs.slice(2),
16
- },
17
- );
18
- return {
19
- globPattern: args['--globPattern'],
20
- globPatternIgnore: args['--globPatternIgnore'],
21
- projectFolderPath: args['--projectFolderPath'],
22
- ignorePackagesGlobPattern: args['--ignorePackagesGlobPattern'],
23
- ignoreFilesGlobPattern: args['--ignoreFilesGlobPattern'],
24
- script: args._[0],
25
- };
26
- }
27
-
28
- export async function cli(args) {
29
- let options = parseArgumentsIntoOptions(args);
30
- options = await promptForMissingOptions(options);
31
- executeCommandsMap(args, options);
32
- }
@@ -1,22 +0,0 @@
1
- export const getPackagesInconsistenciesQuestions = (originalOptions) => {
2
- const extraOptions = [];
3
- const { globPattern, globPatternIgnore } = originalOptions;
4
- if (!globPattern && globPattern !== '') {
5
- extraOptions.push({
6
- type: 'input',
7
- name: 'globPattern',
8
- message:
9
- 'Please provide a comma separated list of globPatterns catching the file in which to check for inconsistencies',
10
- default: './package.json', // './packages/ds-codemods/test-ables/check-packages-inconsistencies/package.json.test',
11
- });
12
- }
13
- if (!globPatternIgnore && globPatternIgnore !== '') {
14
- extraOptions.push({
15
- type: 'input',
16
- name: 'globPatternIgnore',
17
- message: 'Please provide a comma separated list of ignored files for your globPattern',
18
- default: '**/node_modules/**/*',
19
- });
20
- }
21
- return extraOptions;
22
- };