virmator 11.5.2 → 12.0.1

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/LICENSE-MIT CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2023 electrovir
3
+ Copyright (c) 2024 electrovir
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -21,67 +21,77 @@ const baseConfig = {
21
21
  version: '0.2',
22
22
  words: [
23
23
  'accum',
24
- 'Adak',
25
- 'Addis_Ababa',
26
- 'Anadyr',
27
- 'APCA',
28
- 'Aqtau',
29
- 'Aqtobe',
30
- 'Araguaina',
24
+ 'adak',
25
+ 'addis_ababa',
26
+ 'anadyr',
27
+ 'apca',
28
+ 'aqtau',
29
+ 'aqtobe',
30
+ 'araguaina',
31
31
  'argb',
32
- 'Atikokan',
33
- 'Atyrau',
32
+ 'atikokan',
33
+ 'atyrau',
34
34
  'autocorrect',
35
35
  'autofix',
36
36
  'autofixable',
37
37
  'autofixing',
38
- 'Bahia_Banderas',
38
+ 'bahia_banderas',
39
39
  'bazel',
40
40
  'bignumber',
41
- 'Blanc-Sablon',
41
+ 'blanc-sablon',
42
+ 'bowser',
42
43
  'browserconfig',
43
44
  'browserlist',
44
45
  'browserslist',
45
- 'Catamarca',
46
+ 'catamarca',
46
47
  'checkmark',
47
- 'Choibalsan',
48
- 'Chuuk',
48
+ 'choibalsan',
49
+ 'chuuk',
50
+ 'codegen',
51
+ 'codeowners',
49
52
  'colorjs',
50
53
  'combinator',
51
54
  'combinators',
52
- 'ComodRivadavia',
53
- 'Costa_Rica',
55
+ 'comodrivadavia',
56
+ 'costa_rica',
54
57
  'cpsell',
55
- 'Creston',
56
- 'Cuiaba',
57
- 'Danmarkshavn',
58
+ 'creston',
59
+ 'cuiaba',
60
+ 'danmarkshavn',
61
+ 'darkgreen',
62
+ 'darkred',
58
63
  'datamodel',
59
64
  'datasource',
65
+ 'datetime',
60
66
  'deduped',
61
67
  'depcruise',
62
68
  'derp',
63
69
  'describedby',
64
70
  'devs',
65
71
  'dexie',
66
- 'Dili',
72
+ 'dili',
73
+ 'dmmf',
67
74
  'docgen',
68
75
  'dodgerblue',
69
- 'DumontDUrville',
70
- 'Efate',
71
- 'Eirunepe',
72
- 'El_Aaiun',
76
+ 'drawio',
77
+ 'dumontdurville',
78
+ 'efate',
79
+ 'eirunepe',
80
+ 'el_aaiun',
73
81
  'electrovir',
74
- 'Enderbury',
75
- 'Ensenada',
82
+ 'enderbury',
83
+ 'ensenada',
76
84
  'entrypoint',
77
85
  'entrypoints',
78
86
  'esbenp',
79
87
  'esbuild',
80
88
  'estree',
81
- 'Eucla',
89
+ 'eucla',
82
90
  'evenodd',
91
+ 'evir',
83
92
  'exitcrash',
84
- 'Fakaofo',
93
+ 'fakaofo',
94
+ 'faunadb',
85
95
  'firestore',
86
96
  'fleek',
87
97
  'fontawesome',
@@ -91,45 +101,51 @@ const baseConfig = {
91
101
  'globby',
92
102
  'globstar',
93
103
  'hardline',
104
+ 'hcaptcha',
94
105
  'heightmaps',
95
- 'Ho_Chi_Minh',
96
- 'Hovd',
97
- 'HTMLIFrameElement',
106
+ 'ho_chi_minh',
107
+ 'hovd',
108
+ 'htmliframeelement',
98
109
  'iframe',
99
110
  'iframes',
100
111
  'inconsolata',
101
- 'Inuvik',
102
- 'Jan_Mayen',
112
+ 'indexeddb',
113
+ 'inuvik',
114
+ 'jan_mayen',
103
115
  'jetpack',
104
116
  'jsonifiable',
105
117
  'jsonify',
106
118
  'jsplugin',
107
- 'Jujuy',
108
- 'Kanton',
109
- 'Khandyga',
110
- 'Kiritimati',
111
- 'Kolkata',
112
- 'Kosrae',
113
- 'Kuala_Lumpur',
114
- 'La_Rioja',
119
+ 'jujuy',
120
+ 'kanton',
121
+ 'khandyga',
122
+ 'kiritimati',
123
+ 'kolkata',
124
+ 'kosrae',
125
+ 'kuala_lumpur',
126
+ 'la_rioja',
115
127
  'labelledby',
116
128
  'lexend',
117
129
  'lfsr',
118
130
  'licensecheck',
119
131
  'limnah',
120
- 'Lindeman',
132
+ 'lindeman',
133
+ 'listbox',
121
134
  'localforage',
122
135
  'localmodule',
136
+ 'localstorage',
123
137
  'locationchange',
138
+ 'longterm',
124
139
  'luxon',
125
- 'Macquarie',
126
- 'Magadan',
127
- 'Mahe',
128
- 'Manaus',
140
+ 'macquarie',
141
+ 'magadan',
142
+ 'mahe',
143
+ 'manaus',
129
144
  'marvinpinto',
130
- 'McMurdo',
145
+ 'mcmurdo',
131
146
  'mdast',
132
- 'Metlakatla',
147
+ 'mergeable',
148
+ 'metlakatla',
133
149
  'millis',
134
150
  'minecraft',
135
151
  'mmultiline',
@@ -139,33 +155,36 @@ const baseConfig = {
139
155
  'msapplication',
140
156
  'mstile',
141
157
  'ncurc',
142
- 'Nipigon',
158
+ 'nipigon',
143
159
  'nodir',
144
160
  'nojekyll',
145
161
  'noopener',
146
162
  'noreferrer',
147
- 'Noronha',
163
+ 'noronha',
148
164
  'npmchecker',
149
165
  'npmignore',
150
- 'Nuuk',
166
+ 'nuuk',
151
167
  'nvmrc',
152
168
  'nycrc',
153
- 'Ojinaga',
169
+ 'observavir',
170
+ 'ojinaga',
154
171
  'openlogin',
155
172
  'opentype',
156
173
  'outfile',
157
174
  'packagejson',
158
- 'Pago_Pago',
175
+ 'pago_pago',
159
176
  'pako',
160
- 'Pangnirtung',
177
+ 'pangnirtung',
161
178
  'parens',
162
179
  'pdfs',
163
180
  'peta',
164
- 'Phnom_Penh',
181
+ 'phnom_penh',
182
+ 'pibling',
165
183
  'pkgid',
166
- 'Pohnpei',
167
- 'Port_Moresby',
168
- 'Porto_Velho',
184
+ 'pohnpei',
185
+ 'port_moresby',
186
+ 'portfinder',
187
+ 'porto_velho',
169
188
  'postpack',
170
189
  'postpublish',
171
190
  'postupgrade',
@@ -179,64 +198,68 @@ const baseConfig = {
179
198
  'prismjs',
180
199
  'promisable',
181
200
  'protobuf',
182
- 'Punta_Arenas',
201
+ 'punta_arenas',
183
202
  'pushstate',
184
- 'Qostanay',
185
- 'Qyzylorda',
203
+ 'qostanay',
204
+ 'qyzylorda',
186
205
  'referrerpolicy',
187
206
  'regen',
188
207
  'rehype',
189
208
  'replacestate',
190
209
  'repos',
210
+ 'revparse',
191
211
  'rgba',
192
- 'Rio_Branco',
212
+ 'rio_branco',
193
213
  'roboto',
194
- 'Rothera',
195
- 'Santarem',
196
- 'Santo_Domingo',
197
- 'Sao_Paulo',
214
+ 'rothera',
215
+ 'santarem',
216
+ 'santo_domingo',
217
+ 'sao_paulo',
198
218
  'scandir',
199
- 'Scoresbysund',
200
- 'SIGINT',
201
- 'SIGTERM',
219
+ 'scoresbysund',
220
+ 'sigint',
221
+ 'sigterm',
222
+ 'skyblue',
202
223
  'sonarjs',
203
- 'Srednekolymsk',
204
- 'St_Kitts',
224
+ 'srednekolymsk',
225
+ 'st_kitts',
205
226
  'stackoverflow',
206
227
  'stylelint',
207
228
  'stylelintrc',
208
229
  'sublicensable',
209
230
  'svgr',
210
231
  'svgs',
211
- 'Syowa',
232
+ 'syowa',
212
233
  'tabbable',
213
234
  'tabindex',
214
- 'Tel_Aviv',
235
+ 'tel_aviv',
215
236
  'thingie',
216
237
  'threejs',
217
238
  'tiktok',
218
- 'Tiraspol',
219
- 'Tongatapu',
239
+ 'tiraspol',
240
+ 'tongatapu',
220
241
  'transpiled',
221
242
  'transpiling',
222
243
  'truetype',
223
244
  'tsbuildinfo',
224
245
  'typeof',
225
- 'Ulaanbaatar',
246
+ 'ulaanbaatar',
247
+ 'uncompiled',
226
248
  'uncomposable',
227
249
  'unist',
228
250
  'unlisten',
229
- 'Ushuaia',
230
- 'Ust-Nera',
231
- 'Uzhgorod',
232
- 'Vevay',
251
+ 'ushuaia',
252
+ 'ust-nera',
253
+ 'uzhgorod',
254
+ 'vevay',
233
255
  'vira',
234
256
  'virmator',
235
257
  'vite',
236
258
  'vitejs',
237
- 'Winamac',
259
+ 'websql',
260
+ 'winamac',
238
261
  'xlink',
239
- 'Yakutat',
262
+ 'yakutat',
240
263
  'yotta',
241
264
  'zetta',
242
265
  "config's",
@@ -6,7 +6,7 @@
6
6
  "exactOptionalPropertyTypes": true,
7
7
  "forceConsistentCasingInFileNames": true,
8
8
  "isolatedModules": true,
9
- "module": "CommonJS",
9
+ "module": "ES2022",
10
10
  "moduleResolution": "Node",
11
11
  "noEmitOnError": false,
12
12
  "noImplicitAny": true,
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2023 electrovir
3
+ Copyright (c) 2024 electrovir
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -12,4 +12,9 @@ export const typeDocConfig: Partial<TypeDocOptions> = {
12
12
  indexTsFile,
13
13
  ],
14
14
  intentionallyNotExported: [],
15
+ defaultCategory: 'Internal',
16
+ categoryOrder: [
17
+ 'Main',
18
+ 'Internal',
19
+ ],
15
20
  };
@@ -20,6 +20,7 @@ dist-docs/
20
20
  generated-config-*
21
21
  index.html
22
22
  test-files/
23
+ todo.md
23
24
  ts.out/
24
25
  tsconfig.tsbuildinfo
25
26
  tsconfig*.json
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.askQuestionUntilConditionMet = exports.askQuestion = void 0;
4
4
  const readline_1 = require("readline");
5
- async function askQuestion(questionToAsk, timeoutMs = 60000) {
5
+ async function askQuestion(questionToAsk, timeoutMs = 60_000) {
6
6
  const cliInterface = (0, readline_1.createInterface)({
7
7
  input: process.stdin,
8
8
  output: process.stdout,
@@ -11,7 +11,7 @@ async function askQuestion(questionToAsk, timeoutMs = 60000) {
11
11
  const timeoutId = timeoutMs
12
12
  ? setTimeout(() => {
13
13
  cliInterface.close();
14
- reject(`Took too long to response (over "${timeoutMs / 1000}" seconds)`);
14
+ reject(`Took too long to response (over "${timeoutMs / 1_000}" seconds)`);
15
15
  }, timeoutMs)
16
16
  : undefined;
17
17
  cliInterface.question(questionToAsk + ' ', (response) => {
@@ -24,7 +24,7 @@ async function askQuestion(questionToAsk, timeoutMs = 60000) {
24
24
  });
25
25
  }
26
26
  exports.askQuestion = askQuestion;
27
- async function askQuestionUntilConditionMet({ questionToAsk, conditionCallback, invalidInputMessage, tryCountMax = 5, timeoutMs = 60000, }) {
27
+ async function askQuestionUntilConditionMet({ questionToAsk, conditionCallback, invalidInputMessage, tryCountMax = 5, timeoutMs = 60_000, }) {
28
28
  let wasConditionMet = false;
29
29
  let retryCount = 0;
30
30
  let response = '';
@@ -77,7 +77,7 @@ function createGitUrls(ref) {
77
77
  ...bugsObject,
78
78
  repository: {
79
79
  type: 'git',
80
- url: repoPath,
80
+ url: `git+${repoPath}.git`,
81
81
  },
82
82
  author: {
83
83
  name: username,
@@ -30,4 +30,7 @@ exports.baseTypedocConfig = {
30
30
  notDocumented: true,
31
31
  },
32
32
  requiredToBeDocumented: exports.defaultDocumentationRequirements,
33
+ navigation: {
34
+ includeCategories: true,
35
+ },
33
36
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "virmator",
3
- "version": "11.5.2",
3
+ "version": "12.0.1",
4
4
  "description": "Handle common package configs, commands, and dependencies.",
5
5
  "keywords": [
6
6
  "automation",
@@ -18,7 +18,7 @@
18
18
  },
19
19
  "repository": {
20
20
  "type": "git",
21
- "url": "https://github.com/electrovir/virmator"
21
+ "url": "git+https://github.com/electrovir/virmator.git"
22
22
  },
23
23
  "license": "MIT",
24
24
  "author": {
@@ -43,57 +43,57 @@
43
43
  "test:types": "tsc --noEmit"
44
44
  },
45
45
  "dependencies": {
46
- "@augment-vir/common": "^26.0.2",
47
- "@augment-vir/node-js": "^26.0.2",
46
+ "@augment-vir/common": "^28.1.1",
47
+ "@augment-vir/node-js": "^28.1.1",
48
48
  "ansi-colors": "^4.1.3",
49
49
  "concurrently": "^8.2.2",
50
+ "fs-extra": "^11.2.0",
50
51
  "glob": "^8.1.0",
51
- "glob-promise": "^6.0.5",
52
- "mono-vir": "^1.0.0",
53
- "semver": "^7.6.0",
54
- "simple-git": "^3.23.0",
55
- "type-fest": "^4.13.1"
52
+ "glob-promise": "^6.0.7",
53
+ "mono-vir": "^1.0.1",
54
+ "semver": "^7.6.2",
55
+ "simple-git": "^3.25.0",
56
+ "type-fest": "^4.20.1"
56
57
  },
57
58
  "devDependencies": {
58
59
  "@electrovir/nyc": "15.1.0-fix0",
59
60
  "@istanbuljs/nyc-config-typescript": "^1.0.2",
60
61
  "@open-wc/testing": "^4.0.0",
61
- "@types/chai": "^4.3.14",
62
+ "@types/chai": "^4.3.16",
62
63
  "@types/fs-extra": "^11.0.4",
63
64
  "@types/glob": "^8.1.0",
64
65
  "@types/mocha": "^10.0.6",
65
- "@types/node": "^20.11.30",
66
+ "@types/node": "^20.14.2",
66
67
  "@types/semver": "^7.5.8",
67
68
  "@web/dev-server-esbuild": "^1.0.2",
68
- "@web/test-runner": "^0.18.1",
69
+ "@web/test-runner": "^0.18.2",
69
70
  "@web/test-runner-commands": "^0.9.0",
70
71
  "@web/test-runner-playwright": "^0.11.0",
71
72
  "@web/test-runner-visual-regression": "^0.9.0",
72
73
  "chai": "^4.3.10",
73
- "cspell": "^8.6.0",
74
- "dependency-cruiser": "^16.2.4",
75
- "element-vir": "^20.0.9",
76
- "esbuild": "^0.20.2",
77
- "fs-extra": "^11.2.0",
74
+ "cspell": "^8.8.4",
75
+ "dependency-cruiser": "^16.3.3",
76
+ "element-vir": "^22.2.2",
77
+ "esbuild": "^0.21.5",
78
78
  "istanbul-smart-text-reporter": "^1.1.4",
79
79
  "markdown-code-example-inserter": "^1.0.0",
80
- "mocha": "^10.3.0",
80
+ "mocha": "^10.4.0",
81
81
  "mocha-spec-reporter-with-file-names": "^0.0.3",
82
82
  "npm-check-updates": "~16.12.3",
83
- "prettier": "^3.2.5",
83
+ "prettier": "^3.3.2",
84
84
  "prettier-plugin-interpolated-html-tags": "^1.0.5",
85
85
  "prettier-plugin-jsdoc": "^1.3.0",
86
- "prettier-plugin-multiline-arrays": "^3.0.4",
86
+ "prettier-plugin-multiline-arrays": "^3.0.6",
87
87
  "prettier-plugin-organize-imports": "^3.2.4",
88
- "prettier-plugin-packagejson": "^2.4.12",
88
+ "prettier-plugin-packagejson": "^2.5.0",
89
89
  "prettier-plugin-sort-json": "^4.0.0",
90
90
  "prettier-plugin-toml": "^2.0.1",
91
91
  "test-as-package": "^1.0.0",
92
92
  "test-established-expectations": "^1.0.0",
93
93
  "ts-node": "^10.9.2",
94
94
  "tsconfig-paths": "^4.2.0",
95
- "typedoc": "^0.25.12",
96
- "typescript": "5.3.3",
95
+ "typedoc": "^0.25.13",
96
+ "typescript": "5.4.5",
97
97
  "virmator": "./",
98
98
  "vite": "^4.5.0",
99
99
  "vite-tsconfig-paths": "^4.3.2"