virmator 5.0.0 → 5.0.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.
Files changed (127) hide show
  1. package/base-configs/base-mocharc.js +4 -2
  2. package/base-configs/base-nyc.js +8 -4
  3. package/base-configs/base-tsconfig.json +3 -1
  4. package/base-configs/web-test-runner-base.mjs +4 -3
  5. package/configs/.github/workflows/build-for-gh-pages.yml +1 -1
  6. package/configs/.github/workflows/tagged-release.yml +1 -1
  7. package/configs/.nvmrc +1 -1
  8. package/configs/gitignore.txt +1 -0
  9. package/dist/api/command/command-configs.d.ts +1 -0
  10. package/dist/api/command/command-configs.d.ts.map +1 -0
  11. package/dist/api/command/command-description.d.ts +1 -0
  12. package/dist/api/command/command-description.d.ts.map +1 -0
  13. package/dist/api/command/command-executor.d.ts +1 -0
  14. package/dist/api/command/command-executor.d.ts.map +1 -0
  15. package/dist/api/command/command-help.d.ts +1 -0
  16. package/dist/api/command/command-help.d.ts.map +1 -0
  17. package/dist/api/command/command-logging.d.ts +1 -0
  18. package/dist/api/command/command-logging.d.ts.map +1 -0
  19. package/dist/api/command/command-mapping.d.ts +1 -0
  20. package/dist/api/command/command-mapping.d.ts.map +1 -0
  21. package/dist/api/command/command-messages.d.ts +1 -0
  22. package/dist/api/command/command-messages.d.ts.map +1 -0
  23. package/dist/api/command/command-to-help-message.d.ts +1 -0
  24. package/dist/api/command/command-to-help-message.d.ts.map +1 -0
  25. package/dist/api/command/define-command-inputs.d.ts +1 -0
  26. package/dist/api/command/define-command-inputs.d.ts.map +1 -0
  27. package/dist/api/command/define-command.d.ts +1 -0
  28. package/dist/api/command/define-command.d.ts.map +1 -0
  29. package/dist/api/config/config-file-definition.d.ts +1 -0
  30. package/dist/api/config/config-file-definition.d.ts.map +1 -0
  31. package/dist/api/config/config-paths.d.ts +1 -0
  32. package/dist/api/config/config-paths.d.ts.map +1 -0
  33. package/dist/api/config/copy-config.d.ts +1 -0
  34. package/dist/api/config/copy-config.d.ts.map +1 -0
  35. package/dist/api/create-virmator.d.ts +1 -0
  36. package/dist/api/create-virmator.d.ts.map +1 -0
  37. package/dist/api/run-command/check-npm-deps.d.ts +1 -0
  38. package/dist/api/run-command/check-npm-deps.d.ts.map +1 -0
  39. package/dist/api/run-command/extract-arguments.d.ts +1 -0
  40. package/dist/api/run-command/extract-arguments.d.ts.map +1 -0
  41. package/dist/api/run-command/run-command-executor.d.ts +1 -0
  42. package/dist/api/run-command/run-command-executor.d.ts.map +1 -0
  43. package/dist/api/run-command/run-extended-virmator.d.ts +1 -0
  44. package/dist/api/run-command/run-extended-virmator.d.ts.map +1 -0
  45. package/dist/api/run-command/run-shell-command.d.ts +1 -0
  46. package/dist/api/run-command/run-shell-command.d.ts.map +1 -0
  47. package/dist/api/virmator-types.d.ts +1 -0
  48. package/dist/api/virmator-types.d.ts.map +1 -0
  49. package/dist/augments/array.d.ts +1 -0
  50. package/dist/augments/array.d.ts.map +1 -0
  51. package/dist/augments/console.d.ts +1 -0
  52. package/dist/augments/console.d.ts.map +1 -0
  53. package/dist/augments/fs.d.ts +1 -0
  54. package/dist/augments/fs.d.ts.map +1 -0
  55. package/dist/augments/git.d.ts +1 -0
  56. package/dist/augments/git.d.ts.map +1 -0
  57. package/dist/augments/json.d.ts +1 -0
  58. package/dist/augments/json.d.ts.map +1 -0
  59. package/dist/augments/npm.d.ts +1 -0
  60. package/dist/augments/npm.d.ts.map +1 -0
  61. package/dist/augments/object.d.ts +1 -0
  62. package/dist/augments/object.d.ts.map +1 -0
  63. package/dist/augments/path.d.ts +1 -0
  64. package/dist/augments/path.d.ts.map +1 -0
  65. package/dist/augments/prettier.d.ts +1 -0
  66. package/dist/augments/prettier.d.ts.map +1 -0
  67. package/dist/augments/regexp.d.ts +1 -0
  68. package/dist/augments/regexp.d.ts.map +1 -0
  69. package/dist/augments/string.d.ts +1 -0
  70. package/dist/augments/string.d.ts.map +1 -0
  71. package/dist/augments/test.d.ts.map +1 -0
  72. package/dist/augments/type.d.ts +1 -0
  73. package/dist/augments/type.d.ts.map +1 -0
  74. package/dist/cli.d.ts +1 -0
  75. package/dist/cli.d.ts.map +1 -0
  76. package/dist/commands/code-in-markdown.command.d.ts +1 -0
  77. package/dist/commands/code-in-markdown.command.d.ts.map +1 -0
  78. package/dist/commands/code-in-markdown.command.test.d.ts.map +1 -0
  79. package/dist/commands/compile.command.d.ts +1 -0
  80. package/dist/commands/compile.command.d.ts.map +1 -0
  81. package/dist/commands/compile.command.js +1 -1
  82. package/dist/commands/compile.command.test.d.ts.map +1 -0
  83. package/dist/commands/extra-configs/all-extra-configs.d.ts +1 -0
  84. package/dist/commands/extra-configs/all-extra-configs.d.ts.map +1 -0
  85. package/dist/commands/extra-configs/combine-json-config.d.ts +1 -0
  86. package/dist/commands/extra-configs/combine-json-config.d.ts.map +1 -0
  87. package/dist/commands/extra-configs/combine-text-config.d.ts +1 -0
  88. package/dist/commands/extra-configs/combine-text-config.d.ts.map +1 -0
  89. package/dist/commands/extra-configs/create-default-package-json.d.ts +1 -0
  90. package/dist/commands/extra-configs/create-default-package-json.d.ts.map +1 -0
  91. package/dist/commands/format.command.d.ts +1 -0
  92. package/dist/commands/format.command.d.ts.map +1 -0
  93. package/dist/commands/format.command.test.d.ts.map +1 -0
  94. package/dist/commands/frontend.command.d.ts +1 -0
  95. package/dist/commands/frontend.command.d.ts.map +1 -0
  96. package/dist/commands/init.command.d.ts +1 -0
  97. package/dist/commands/init.command.d.ts.map +1 -0
  98. package/dist/commands/init.command.test.d.ts.map +1 -0
  99. package/dist/commands/publish.command.d.ts +1 -0
  100. package/dist/commands/publish.command.d.ts.map +1 -0
  101. package/dist/commands/publish.command.js +1 -0
  102. package/dist/commands/spellcheck.command.d.ts +1 -0
  103. package/dist/commands/spellcheck.command.d.ts.map +1 -0
  104. package/dist/commands/spellcheck.command.test.d.ts.map +1 -0
  105. package/dist/commands/test-web.command.d.ts +1 -0
  106. package/dist/commands/test-web.command.d.ts.map +1 -0
  107. package/dist/commands/test-web.command.test.d.ts.map +1 -0
  108. package/dist/commands/test.command.d.ts +2 -1
  109. package/dist/commands/test.command.d.ts.map +1 -0
  110. package/dist/commands/test.command.js +1 -1
  111. package/dist/commands/test.command.test.d.ts.map +1 -0
  112. package/dist/commands/update-configs.command.d.ts +1 -0
  113. package/dist/commands/update-configs.command.d.ts.map +1 -0
  114. package/dist/commands/update-configs.command.test.d.ts.map +1 -0
  115. package/dist/compiled-base-configs/base-vite.d.ts +1 -0
  116. package/dist/compiled-base-configs/base-vite.d.ts.map +1 -0
  117. package/dist/compiled-base-configs/vite-always-reload-plugin.d.ts +1 -0
  118. package/dist/compiled-base-configs/vite-always-reload-plugin.d.ts.map +1 -0
  119. package/dist/file-paths/package-paths.d.ts +1 -0
  120. package/dist/file-paths/package-paths.d.ts.map +1 -0
  121. package/dist/index.d.ts +2 -1
  122. package/dist/index.d.ts.map +1 -0
  123. package/dist/scripts/save-help-message.d.ts +1 -0
  124. package/dist/scripts/save-help-message.d.ts.map +1 -0
  125. package/mocha.config.js +1 -1
  126. package/package.json +6 -6
  127. package/tsconfig.tsbuildinfo +1 -0
@@ -1,15 +1,17 @@
1
1
  const testFiles = require('./test-files-glob.js');
2
2
  const SpecReporterWithFileNames = require('mocha-spec-reporter-with-file-names');
3
3
 
4
+ const oneMinuteMs = 60_000;
5
+
4
6
  /** @type {import('mocha').MochaOptions} */
5
7
  const mochaConfig = {
6
8
  checkLeaks: true,
7
9
  color: true,
8
10
  parallel: true,
9
11
  require: ['tsx'],
10
- slow: 1_500, // ms
12
+ slow: oneMinuteMs,
11
13
  fullTrace: true,
12
- timeout: 60_000, // 1 minute in ms
14
+ timeout: 20 * oneMinuteMs,
13
15
  reporter: SpecReporterWithFileNames.pathToThisReporter,
14
16
  ...testFiles,
15
17
  };
@@ -2,9 +2,16 @@
2
2
 
3
3
  function getBaseConfigWithCoveragePercent(percent) {
4
4
  return {
5
+ // only works with @electrovir/nyc
6
+ failBelow: percent,
7
+
8
+ branches: percent,
9
+ functions: percent,
10
+ lines: percent,
11
+ statements: percent,
12
+
5
13
  extends: '@istanbuljs/nyc-config-typescript',
6
14
  all: true,
7
- branches: percent,
8
15
  clean: true,
9
16
  cache: false,
10
17
  instrument: true,
@@ -17,9 +24,7 @@ function getBaseConfigWithCoveragePercent(percent) {
17
24
  '**/*.type.test.ts',
18
25
  '**/*.test-helper.ts',
19
26
  ],
20
- functions: percent,
21
27
  include: ['src/**/*.ts'],
22
- lines: percent,
23
28
  // so we don't get error messages printed for every file
24
29
  perFile: false,
25
30
  reporter: [
@@ -28,7 +33,6 @@ function getBaseConfigWithCoveragePercent(percent) {
28
33
  ],
29
34
  skipEmpty: true,
30
35
  skipFull: true,
31
- statements: percent,
32
36
  tempDir: './node_modules/.nyc-output/',
33
37
  };
34
38
  }
@@ -1,7 +1,9 @@
1
1
  {
2
2
  "compilerOptions": {
3
3
  "alwaysStrict": true,
4
+ "composite": true,
4
5
  "declaration": true,
6
+ "declarationMap": true,
5
7
  "esModuleInterop": true,
6
8
  "exactOptionalPropertyTypes": true,
7
9
  "experimentalDecorators": true,
@@ -9,7 +11,7 @@
9
11
  "isolatedModules": true,
10
12
  "module": "CommonJS",
11
13
  "moduleResolution": "Node",
12
- "noEmitOnError": true,
14
+ "noEmitOnError": false,
13
15
  "noErrorTruncation": true,
14
16
  "noImplicitAny": true,
15
17
  "noImplicitOverride": true,
@@ -2,6 +2,8 @@ import {esbuildPlugin} from '@web/dev-server-esbuild';
2
2
  import {playwrightLauncher} from '@web/test-runner-playwright';
3
3
  import testFiles from './test-files-glob.js';
4
4
 
5
+ const oneMinuteMs = 60_000;
6
+
5
7
  /** @type {import('@web/test-runner').TestRunnerConfig} */
6
8
  const webTestRunnerConfig = {
7
9
  browsers: [
@@ -9,8 +11,7 @@ const webTestRunnerConfig = {
9
11
  playwrightLauncher({product: 'firefox'}),
10
12
  playwrightLauncher({product: 'webkit'}),
11
13
  ],
12
- // 2 minutes cause GitHub Actions be slow
13
- browserStartTimeout: 120_000,
14
+ browserStartTimeout: 20 * oneMinuteMs,
14
15
  concurrentBrowsers: 3,
15
16
  coverage: true,
16
17
  files: testFiles.spec,
@@ -18,7 +19,7 @@ const webTestRunnerConfig = {
18
19
  plugins: [esbuildPlugin({ts: true})],
19
20
  testFramework: {
20
21
  config: {
21
- timeout: 120_000,
22
+ timeout: 20 * oneMinuteMs,
22
23
  },
23
24
  },
24
25
  };
@@ -13,7 +13,7 @@ jobs:
13
13
  - uses: actions/checkout@v3
14
14
  - uses: actions/setup-node@v3
15
15
  with:
16
- node-version: 16.x
16
+ node-version: 18.x
17
17
  - name: build
18
18
  run: |
19
19
  npm ci
@@ -16,7 +16,7 @@ jobs:
16
16
  - name: Use Node.js
17
17
  uses: actions/setup-node@v3
18
18
  with:
19
- node-version: 16.x
19
+ node-version: 18.x
20
20
  - name: run test
21
21
  run: |
22
22
  npm ci
package/configs/.nvmrc CHANGED
@@ -1 +1 @@
1
- 16
1
+ 18
@@ -1,5 +1,6 @@
1
1
  .DS_Store
2
2
  *.tgz
3
+ *.tsbuildinfo
3
4
  /Icon?
4
5
  coverage/
5
6
  dist/
@@ -1,3 +1,4 @@
1
1
  import { ConfigFileDefinition } from '../config/config-file-definition';
2
2
  import { CommandMapping } from './command-mapping';
3
3
  export declare function extractAllConfigs(commandMapping: CommandMapping): ReadonlyArray<ConfigFileDefinition>;
4
+ //# sourceMappingURL=command-configs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"command-configs.d.ts","sourceRoot":"","sources":["../../../src/api/command/command-configs.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,oBAAoB,EAAC,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAC,cAAc,EAAC,MAAM,mBAAmB,CAAC;AAEjD,wBAAgB,iBAAiB,CAC7B,cAAc,EAAE,cAAc,GAC/B,aAAa,CAAC,oBAAoB,CAAC,CAMrC"}
@@ -6,3 +6,4 @@ export type CreateDescriptionsInputs<DefineCommandInputsGeneric extends DefineCo
6
6
  configFiles: DefineCommandInputsGeneric['configFiles'];
7
7
  };
8
8
  export type CreateDescriptionsCallback<DefineCommandInputsGeneric extends DefineCommandInputs> = (inputs: CreateDescriptionsInputs<DefineCommandInputsGeneric>) => CommandDescription;
9
+ //# sourceMappingURL=command-description.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"command-description.d.ts","sourceRoot":"","sources":["../../../src/api/command/command-description.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,kBAAkB,EAAC,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAC,mBAAmB,EAAE,cAAc,EAAC,MAAM,yBAAyB,CAAC;AAE5E,MAAM,MAAM,wBAAwB,CAAC,0BAA0B,SAAS,mBAAmB,IAAI,IAAI,CAC/F,0BAA0B,EAC1B,aAAa,CAChB,GAAG;IACA,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,cAAc,CAAC,0BAA0B,CAAC,CAAC;IACxD,WAAW,EAAE,0BAA0B,CAAC,aAAa,CAAC,CAAC;CAC1D,CAAC;AAEF,MAAM,MAAM,0BAA0B,CAAC,0BAA0B,SAAS,mBAAmB,IAAI,CAC7F,MAAM,EAAE,wBAAwB,CAAC,0BAA0B,CAAC,KAC3D,kBAAkB,CAAC"}
@@ -26,3 +26,4 @@ export declare function isCompletedExecutor(executorOutput: CommandExecutorOutpu
26
26
  export type CommandExecutorOutput = BashCommandExecutorOutput | SuccessOnlyExecutorOutput;
27
27
  export type CommandExecutorDefinition<DefineCommandInputsGeneric extends DefineCommandInputs> = (inputs: CommandExecutorDefinitionInputs<DefineCommandInputsGeneric>) => Promise<CommandExecutorOutput> | CommandExecutorOutput;
28
28
  export type CommandExecutor<DefineCommandInputsGeneric extends DefineCommandInputs> = (inputs: CommandExecutorInputs<DefineCommandInputsGeneric>) => Promise<CommandExecutorOutput> | CommandExecutorOutput;
29
+ //# sourceMappingURL=command-executor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"command-executor.d.ts","sourceRoot":"","sources":["../../../src/api/command/command-executor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,oBAAoB,EAAC,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAC,cAAc,EAAE,oBAAoB,EAAC,MAAM,mBAAmB,CAAC;AACvE,OAAO,EACH,mBAAmB,EACnB,wCAAwC,EAC3C,MAAM,yBAAyB,CAAC;AAEjC,MAAM,MAAM,qBAAqB,CAC7B,0BAA0B,SAAS,mBAAmB,GAAG,mBAAmB,IAC5E;IACA,iBAAiB,EAAE,MAAM,EAAE,CAAC;IAC5B,gBAAgB,EAAE,CAAC,MAAM,0BAA0B,CAAC,wBAAwB,CAAC,CAAC,EAAE,CAAC;IACjF,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,aAAa,CAAC,oBAAoB,CAAC,CAAC;IAChD,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,cAAc,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,+BAA+B,CACvC,0BAA0B,SAAS,mBAAmB,GAAG,mBAAmB,IAC5E,qBAAqB,CAAC,0BAA0B,CAAC,GACjD,wCAAwC,CAAC,0BAA0B,CAAC,CAAC;AAEzE,MAAM,MAAM,WAAW,GAAG;IACtB,GAAG,EAAE,MAAM,CAAC;IACZ,wBAAwB,EAAE,IAAI,CAAC;CAClC,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG;IAEpC,OAAO,EAAE,OAAO,CAAC;CACpB,CAAC;AACF,MAAM,MAAM,yBAAyB,GAAG;IACpC,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,oBAAoB,CAAC;IACrC,IAAI,EAAE,CAAC,MAAM,GAAG,WAAW,CAAC,EAAE,CAAC;CAClC,CAAC;AAEF,wBAAgB,mBAAmB,CAC/B,cAAc,EAAE,qBAAqB,GACtC,cAAc,IAAI,yBAAyB,CAE7C;AAED,MAAM,MAAM,qBAAqB,GAAG,yBAAyB,GAAG,yBAAyB,CAAC;AAE1F,MAAM,MAAM,yBAAyB,CAAC,0BAA0B,SAAS,mBAAmB,IAAI,CAC5F,MAAM,EAAE,+BAA+B,CAAC,0BAA0B,CAAC,KAClE,OAAO,CAAC,qBAAqB,CAAC,GAAG,qBAAqB,CAAC;AAE5D,MAAM,MAAM,eAAe,CAAC,0BAA0B,SAAS,mBAAmB,IAAI,CAClF,MAAM,EAAE,qBAAqB,CAAC,0BAA0B,CAAC,KACxD,OAAO,CAAC,qBAAqB,CAAC,GAAG,qBAAqB,CAAC"}
@@ -6,3 +6,4 @@ export type CommandDescription = Readonly<{
6
6
  sections: Readonly<HelpSection[]>;
7
7
  examples: Readonly<HelpSection[]>;
8
8
  }>;
9
+ //# sourceMappingURL=command-help.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"command-help.d.ts","sourceRoot":"","sources":["../../../src/api/command/command-help.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG,QAAQ,CAAC;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;CACnB,CAAC,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,QAAQ,CAAC;IACtC,QAAQ,EAAE,QAAQ,CAAC,WAAW,EAAE,CAAC,CAAC;IAClC,QAAQ,EAAE,QAAQ,CAAC,WAAW,EAAE,CAAC,CAAC;CACrC,CAAC,CAAC"}
@@ -9,3 +9,4 @@ export type CommandLogs = Record<keyof CommandLogging, string>;
9
9
  export declare const identityCommandLogTransform: CommandLogTransform;
10
10
  export type CommandLogTransform = (thingToTransform: string) => string;
11
11
  export type CommandLogTransforms = Partial<Record<keyof CommandLogging, CommandLogTransform>>;
12
+ //# sourceMappingURL=command-logging.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"command-logging.d.ts","sourceRoot":"","sources":["../../../src/api/command/command-logging.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,GAAG,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;AAE9D,MAAM,MAAM,cAAc,GAAG;IACzB,MAAM,EAAE,kBAAkB,CAAC;IAC3B,MAAM,EAAE,kBAAkB,CAAC;CAC9B,CAAC;AACF,eAAO,MAAM,gBAAgB,EAAE,QAAQ,CAAC,QAAQ,CAAC,cAAc,CAAC,CAG/D,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,QAAQ,CAAC,QAAQ,CAAC,cAAc,CAAC,CAOpE,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,cAAc,EAAE,MAAM,CAAC,CAAC;AAE/D,eAAO,MAAM,2BAA2B,EAAE,mBAAsC,CAAC;AACjF,MAAM,MAAM,mBAAmB,GAAG,CAAC,gBAAgB,EAAE,MAAM,KAAK,MAAM,CAAC;AAEvE,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,cAAc,EAAE,mBAAmB,CAAC,CAAC,CAAC"}
@@ -5,3 +5,4 @@ export declare function commandsToMapping(commands: ReadonlyArray<CommandDefinit
5
5
  export type CommandDefinitionArrayToMapping<DefinitionArray extends ReadonlyArray<CommandDefinition>> = {
6
6
  [CommandName in ArrayElement<DefinitionArray>['commandName']]: CommandDefinition;
7
7
  };
8
+ //# sourceMappingURL=command-mapping.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"command-mapping.d.ts","sourceRoot":"","sources":["../../../src/api/command/command-mapping.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAC,iBAAiB,EAAC,MAAM,kBAAkB,CAAC;AAEnD,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAC;AAE/D,wBAAgB,iBAAiB,CAC7B,QAAQ,EAAE,aAAa,CAAC,iBAAiB,CAAC,GAC3C,QAAQ,CAAC,cAAc,CAAC,CAK1B;AAED,MAAM,MAAM,+BAA+B,CACvC,eAAe,SAAS,aAAa,CAAC,iBAAiB,CAAC,IACxD;KAAE,WAAW,IAAI,YAAY,CAAC,eAAe,CAAC,CAAC,aAAa,CAAC,GAAG,iBAAiB;CAAC,CAAC"}
@@ -1 +1,2 @@
1
1
  export declare function getCommandResultMessage(commandName: string, success: boolean): string;
2
+ //# sourceMappingURL=command-messages.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"command-messages.d.ts","sourceRoot":"","sources":["../../../src/api/command/command-messages.ts"],"names":[],"mappings":"AAEA,wBAAgB,uBAAuB,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,UAK5E"}
@@ -7,3 +7,4 @@ export declare enum HelpMessageSyntax {
7
7
  export declare function generateHelpMessage(packageBinName: string, commandDefinitions: Readonly<CommandMapping>, syntax: HelpMessageSyntax, cliWrapIfMoreThanThisManyColumns?: number): string;
8
8
  export declare function flagToHelpString(flagName: string, description: string, syntax: HelpMessageSyntax): string;
9
9
  export declare function commandToHelpString(packageBinName: string, commandDefinition: CommandDefinition, syntax: HelpMessageSyntax): string;
10
+ //# sourceMappingURL=command-to-help-message.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"command-to-help-message.d.ts","sourceRoot":"","sources":["../../../src/api/command/command-to-help-message.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,cAAc,EAAC,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAC,iBAAiB,EAAC,MAAM,kBAAkB,CAAC;AAEnD,oBAAY,iBAAiB;IACzB,GAAG,QAAQ;IACX,QAAQ,aAAa;CACxB;AAED,wBAAgB,mBAAmB,CAC/B,cAAc,EAAE,MAAM,EACtB,kBAAkB,EAAE,QAAQ,CAAC,cAAc,CAAC,EAC5C,MAAM,EAAE,iBAAiB,EACzB,gCAAgC,SAAM,UAmBzC;AAoDD,wBAAgB,gBAAgB,CAC5B,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,MAAM,EACnB,MAAM,EAAE,iBAAiB,GAC1B,MAAM,CAMR;AAED,wBAAgB,mBAAmB,CAC/B,cAAc,EAAE,MAAM,EACtB,iBAAiB,EAAE,iBAAiB,EACpC,MAAM,EAAE,iBAAiB,GAC1B,MAAM,CAoBR"}
@@ -12,3 +12,4 @@ export type SharedExecutorInputsAndCommandDefinition<DefineCommandInputsGeneric
12
12
  export type SubCommandsMap<DefineCommandInputsGeneric extends DefineCommandInputs> = {
13
13
  [Prop in keyof DefineCommandInputsGeneric['subCommandDescriptions']]: Prop;
14
14
  };
15
+ //# sourceMappingURL=define-command-inputs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"define-command-inputs.d.ts","sourceRoot":"","sources":["../../../src/api/command/define-command-inputs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,oBAAoB,EAAC,MAAM,kCAAkC,CAAC;AAEtE,MAAM,MAAM,mBAAmB,CAAC,WAAW,SAAS,MAAM,GAAG,MAAM,IAAI,QAAQ,CAAC;IAC5E,WAAW,EAAE,WAAW,CAAC;IACzB,sBAAsB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IACzD,WAAW,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,oBAAoB,CAAC,CAAC,CAAC,CAAC;IACtE,OAAO,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;CAClC,CAAC,CAAC;AAEH,MAAM,MAAM,wCAAwC,CAChD,0BAA0B,SAAS,mBAAmB,IACtD,0BAA0B,GAAG;IAC7B,uBAAuB,EAAE,aAAa,CAClC,MAAM,0BAA0B,CAAC,wBAAwB,CAAC,CAC7D,CAAC;IACF,WAAW,EAAE,cAAc,CAAC,0BAA0B,CAAC,CAAC;CAC3D,CAAC;AAEF,MAAM,MAAM,cAAc,CAAC,0BAA0B,SAAS,mBAAmB,IAAI;KAChF,IAAI,IAAI,MAAM,0BAA0B,CAAC,wBAAwB,CAAC,GAAG,IAAI;CAC7E,CAAC"}
@@ -6,3 +6,4 @@ export type CommandDefinition<DefineCommandInputsGeneric extends DefineCommandIn
6
6
  createDescription: CreateDescriptionsCallback<DefineCommandInputsGeneric>;
7
7
  };
8
8
  export declare function defineCommand<DefineCommandInputsGeneric extends DefineCommandInputs>(defineCommandInputs: Readonly<DefineCommandInputsGeneric>, createDescription: CreateDescriptionsCallback<DefineCommandInputsGeneric>, inputExecutor: CommandExecutorDefinition<DefineCommandInputsGeneric>): CommandDefinition<DefineCommandInputsGeneric>;
9
+ //# sourceMappingURL=define-command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"define-command.d.ts","sourceRoot":"","sources":["../../../src/api/command/define-command.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,0BAA0B,EAAC,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAC,eAAe,EAAE,yBAAyB,EAAC,MAAM,oBAAoB,CAAC;AAC9E,OAAO,EACH,mBAAmB,EACnB,wCAAwC,EAE3C,MAAM,yBAAyB,CAAC;AAEjC,MAAM,MAAM,iBAAiB,CACzB,0BAA0B,SAAS,mBAAmB,GAAG,mBAAmB,CAAC,MAAM,CAAC,IACpF,wCAAwC,CAAC,0BAA0B,CAAC,GAAG;IACvE,QAAQ,EAAE,eAAe,CAAC,0BAA0B,CAAC,CAAC;IACtD,iBAAiB,EAAE,0BAA0B,CAAC,0BAA0B,CAAC,CAAC;CAC7E,CAAC;AAEF,wBAAgB,aAAa,CAAC,0BAA0B,SAAS,mBAAmB,EAChF,mBAAmB,EAAE,QAAQ,CAAC,0BAA0B,CAAC,EACzD,iBAAiB,EAAE,0BAA0B,CAAC,0BAA0B,CAAC,EACzE,aAAa,EAAE,yBAAyB,CAAC,0BAA0B,CAAC,GACrE,iBAAiB,CAAC,0BAA0B,CAAC,CA2B/C"}
@@ -13,3 +13,4 @@ export type ConfigFileDefinition = {
13
13
  */
14
14
  updateExistingConfigFileCallback?: UpdateConfigCallback;
15
15
  };
16
+ //# sourceMappingURL=config-file-definition.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config-file-definition.d.ts","sourceRoot":"","sources":["../../../src/api/config/config-file-definition.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,oBAAoB,GAAG,CAC/B,gBAAgB,EAAE,MAAM,EACxB,sBAAsB,EAAE,MAAM,EAC9B,OAAO,EAAE,MAAM,KACd,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;AAE9B,MAAM,MAAM,oBAAoB,GAAG;IAC/B,uCAAuC;IACvC,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;OAGG;IACH,2BAA2B,EAAE,MAAM,CAAC;IACpC;;;OAGG;IACH,gCAAgC,CAAC,EAAE,oBAAoB,CAAC;CAC3D,CAAC"}
@@ -5,3 +5,4 @@ export type GetCopyToPathInputs = {
5
5
  configFileDefinition: ConfigFileDefinition;
6
6
  };
7
7
  export declare function getCopyToPath({ repoDir, configFileDefinition }: GetCopyToPathInputs): string;
8
+ //# sourceMappingURL=config-paths.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config-paths.d.ts","sourceRoot":"","sources":["../../../src/api/config/config-paths.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,oBAAoB,EAAC,MAAM,0BAA0B,CAAC;AAE9D,MAAM,MAAM,mBAAmB,GAAG;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,oBAAoB,EAAE,oBAAoB,CAAC;CAC9C,CAAC;AAEF,wBAAgB,aAAa,CAAC,EAAC,OAAO,EAAE,oBAAoB,EAAC,EAAE,mBAAmB,GAAG,MAAM,CAE1F"}
@@ -25,3 +25,4 @@ export type CopyAllConfigFilesInputs = Omit<CopyConfigInputs, 'configFileDefinit
25
25
  };
26
26
  /** Returns success state. True if success, false is errors were encountered. */
27
27
  export declare function copyAllConfigFiles(inputs: CopyAllConfigFilesInputs): Promise<boolean>;
28
+ //# sourceMappingURL=copy-config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"copy-config.d.ts","sourceRoot":"","sources":["../../../src/api/config/copy-config.ts"],"names":[],"mappings":"AAKA,OAAO,EAAC,cAAc,EAAC,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAC,oBAAoB,EAAC,MAAM,0BAA0B,CAAC;AAG9D,oBAAY,mBAAmB;IAC3B,0FAA0F;IAC1F,MAAM,WAAW;IACjB,oEAAoE;IACpE,SAAS,cAAc;IACvB,sFAAsF;IACtF,IAAI,SAAS;CAChB;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC3B,oBAAoB,EAAE,oBAAoB,CAAC;IAC3C,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,mBAAmB,CAAC;CAClC,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC5B,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,OAAO,CAAC;CACxB,CAAC;AA0BF,wBAAsB,UAAU,CAAC,MAAM,EAAE,gBAAgB,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAgCrF;AAED,MAAM,MAAM,wBAAwB,GAAG,IAAI,CAAC,gBAAgB,EAAE,sBAAsB,CAAC,GAAG;IACpF,OAAO,EAAE,cAAc,CAAC;IACxB,WAAW,EAAE,aAAa,CAAC,oBAAoB,CAAC,CAAC;CACpD,CAAC;AAaF,gFAAgF;AAChF,wBAAsB,kBAAkB,CAAC,MAAM,EAAE,wBAAwB,GAAG,OAAO,CAAC,OAAO,CAAC,CAyC3F"}
@@ -6,3 +6,4 @@ import { ExtendedVirmator, ExtendVirmatorInputs } from './virmator-types';
6
6
  * can be passed in to add to virmator default configs or overwrite them.
7
7
  */
8
8
  export declare function createVirmator<CommandDefinitionsGeneric extends ReadonlyArray<CommandDefinition<any>>>(inputs: ExtendVirmatorInputs<CommandDefinitionsGeneric>): ExtendedVirmator<CommandDefinitionArrayToMapping<CommandDefinitionsGeneric>>;
9
+ //# sourceMappingURL=create-virmator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-virmator.d.ts","sourceRoot":"","sources":["../../src/api/create-virmator.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,+BAA+B,EAAoB,MAAM,2BAA2B,CAAC;AAE7F,OAAO,EAAC,iBAAiB,EAAC,MAAM,0BAA0B,CAAC;AAE3D,OAAO,EAAC,gBAAgB,EAAE,oBAAoB,EAAC,MAAM,kBAAkB,CAAC;AAExE;;;GAGG;AACH,wBAAgB,cAAc,CAC1B,yBAAyB,SAAS,aAAa,CAAC,iBAAiB,CAAC,GAAG,CAAC,CAAC,EAEvE,MAAM,EAAE,oBAAoB,CAAC,yBAAyB,CAAC,GACxD,gBAAgB,CAAC,+BAA+B,CAAC,yBAAyB,CAAC,CAAC,CAyE9E"}
@@ -5,3 +5,4 @@ export type UpdateDepsInput = Readonly<{
5
5
  packageBinName: string;
6
6
  }>;
7
7
  export declare function updateDepsAsNeeded(inputs: UpdateDepsInput): Promise<void>;
8
+ //# sourceMappingURL=check-npm-deps.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"check-npm-deps.d.ts","sourceRoot":"","sources":["../../../src/api/run-command/check-npm-deps.ts"],"names":[],"mappings":"AAQA,MAAM,MAAM,eAAe,GAAG,QAAQ,CAAC;IACnC,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IAC/B,cAAc,EAAE,MAAM,CAAC;CAC1B,CAAC,CAAC;AAEH,wBAAsB,kBAAkB,CAAC,MAAM,EAAE,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC,CA4B/E"}
@@ -4,3 +4,4 @@ export type ExtractSubCommandsOutput<T> = {
4
4
  filteredArgs: string[];
5
5
  };
6
6
  export declare function extractSubCommands<T>(allArgs: ReadonlyArray<string>, availableSubCommands: ReadonlyArray<T>): ExtractSubCommandsOutput<T>;
7
+ //# sourceMappingURL=extract-arguments.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extract-arguments.d.ts","sourceRoot":"","sources":["../../../src/api/run-command/extract-arguments.ts"],"names":[],"mappings":"AAGA,wBAAgB,eAAe,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,MAAM,YAajE;AAED,MAAM,MAAM,wBAAwB,CAAC,CAAC,IAAI;IAAC,WAAW,EAAE,CAAC,EAAE,CAAC;IAAC,YAAY,EAAE,MAAM,EAAE,CAAA;CAAC,CAAC;AAErF,wBAAgB,kBAAkB,CAAC,CAAC,EAChC,OAAO,EAAE,aAAa,CAAC,MAAM,CAAC,EAC9B,oBAAoB,EAAE,aAAa,CAAC,CAAC,CAAC,GACvC,wBAAwB,CAAC,CAAC,CAAC,CAkB7B"}
@@ -3,3 +3,4 @@ import { CommandDefinition } from '../command/define-command';
3
3
  import { DefineCommandInputs } from '../command/define-command-inputs';
4
4
  export declare function createCommandString(executorOutput: BashCommandExecutorOutput): string;
5
5
  export declare function runCommandExecutor<DefineCommandInputsGeneric extends DefineCommandInputs>(commandDefinition: CommandDefinition<DefineCommandInputsGeneric>, commandInputs: CommandExecutorInputs<DefineCommandInputsGeneric>): Promise<boolean>;
6
+ //# sourceMappingURL=run-command-executor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"run-command-executor.d.ts","sourceRoot":"","sources":["../../../src/api/run-command/run-command-executor.ts"],"names":[],"mappings":"AAGA,OAAO,EACH,yBAAyB,EACzB,qBAAqB,EAExB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAC,iBAAiB,EAAC,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EAAC,mBAAmB,EAAC,MAAM,kCAAkC,CAAC;AAIrE,wBAAgB,mBAAmB,CAAC,cAAc,EAAE,yBAAyB,GAAG,MAAM,CAerF;AAED,wBAAsB,kBAAkB,CAAC,0BAA0B,SAAS,mBAAmB,EAC3F,iBAAiB,EAAE,iBAAiB,CAAC,0BAA0B,CAAC,EAChE,aAAa,EAAE,qBAAqB,CAAC,0BAA0B,CAAC,GACjE,OAAO,CAAC,OAAO,CAAC,CA4BlB"}
@@ -8,3 +8,4 @@ export declare function runExtendedVirmator({ allArgs, allConfigs, commandMappin
8
8
  packageDir: string;
9
9
  repoDir: string;
10
10
  }): Promise<void>;
11
+ //# sourceMappingURL=run-extended-virmator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"run-extended-virmator.d.ts","sourceRoot":"","sources":["../../../src/api/run-command/run-extended-virmator.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,cAAc,EAAC,MAAM,4BAA4B,CAAC;AAG1D,OAAO,EAAC,oBAAoB,EAAC,MAAM,kCAAkC,CAAC;AAmCtE,wBAAsB,mBAAmB,CAAC,EACtC,OAAO,EACP,UAAU,EACV,cAAc,EACd,cAAc,EACd,UAAU,EACV,OAAO,GACV,EAAE;IACC,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,UAAU,EAAE,SAAS,oBAAoB,EAAE,CAAC;IAC5C,cAAc,EAAE,cAAc,CAAC;IAC/B,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;CACnB,GAAG,OAAO,CAAC,IAAI,CAAC,CA2ChB"}
@@ -6,3 +6,4 @@ export type RunVirmatorShellCommandOptions = {
6
6
  logTransforms?: CommandLogTransforms | undefined;
7
7
  };
8
8
  export declare function runVirmatorShellCommand(command: string, { repoDir: cwd, logging, logTransforms }: RunVirmatorShellCommandOptions): Promise<ShellOutput>;
9
+ //# sourceMappingURL=run-shell-command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"run-shell-command.d.ts","sourceRoot":"","sources":["../../../src/api/run-command/run-shell-command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,WAAW,EAAC,MAAM,sBAAsB,CAAC;AAClE,OAAO,EACH,cAAc,EAEd,oBAAoB,EAEvB,MAAM,4BAA4B,CAAC;AAcpC,MAAM,MAAM,8BAA8B,GAAG;IACzC,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,cAAc,CAAC;IACxB,aAAa,CAAC,EAAE,oBAAoB,GAAG,SAAS,CAAC;CACpD,CAAC;AAEF,wBAAsB,uBAAuB,CACzC,OAAO,EAAE,MAAM,EACf,EAAC,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,aAAa,EAAC,EAAE,8BAA8B,GACvE,OAAO,CAAC,WAAW,CAAC,CActB"}
@@ -16,3 +16,4 @@ export type ExtendedVirmator<CommandMappingGeneric extends Readonly<CommandMappi
16
16
  runInCli: () => Promise<void>;
17
17
  run: (allArgs: string[], repoDir: string) => Promise<void>;
18
18
  }>;
19
+ //# sourceMappingURL=virmator-types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"virmator-types.d.ts","sourceRoot":"","sources":["../../src/api/virmator-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,+BAA+B,EAAE,cAAc,EAAC,MAAM,2BAA2B,CAAC;AAC1F,OAAO,EAAC,iBAAiB,EAAC,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAC,oBAAoB,EAAC,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,oBAAoB,CAC5B,yBAAyB,SAAS,aAAa,CAAC,iBAAiB,CAAC,IAClE,QAAQ,CAAC;IACT,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,kBAAkB,CAAC,EAAE,yBAAyB,CAAC;CAClD,CAAC,CAAC;AAEH,MAAM,MAAM,gBAAgB,CAAC,qBAAqB,SAAS,QAAQ,CAAC,cAAc,CAAC,IAAI,QAAQ,CAAC;IAC5F,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,cAAc,EAAE,qBAAqB,CAAC;IACtC,MAAM,EAAE,CAAC,yBAAyB,SAAS,aAAa,CAAC,iBAAiB,CAAC,GAAG,CAAC,CAAC,EAC5E,MAAM,EAAE,oBAAoB,CAAC,yBAAyB,CAAC,KACtD,gBAAgB,CAAC,+BAA+B,CAAC,yBAAyB,CAAC,CAAC,CAAC;IAClF,UAAU,EAAE,aAAa,CAAC,oBAAoB,CAAC,CAAC;IAChD,QAAQ,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9B,GAAG,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAC9D,CAAC,CAAC"}
@@ -1 +1,2 @@
1
1
  export declare function isInTypedArray<T>(input: any, array: ReadonlyArray<T>): input is T;
2
+ //# sourceMappingURL=array.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"array.d.ts","sourceRoot":"","sources":["../../src/augments/array.ts"],"names":[],"mappings":"AAAA,wBAAgB,cAAc,CAAC,CAAC,EAAE,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,GAAG,KAAK,IAAI,CAAC,CAEjF"}
@@ -7,3 +7,4 @@ export declare function askQuestionUntilConditionMet({ questionToAsk, conditionC
7
7
  /** Set to 0 to disable the timeout */
8
8
  timeoutMs?: number;
9
9
  }): Promise<string>;
10
+ //# sourceMappingURL=console.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"console.d.ts","sourceRoot":"","sources":["../../src/augments/console.ts"],"names":[],"mappings":"AAEA,wBAAsB,WAAW,CAAC,aAAa,EAAE,MAAM,EAAE,SAAS,SAAS,GAAG,OAAO,CAAC,MAAM,CAAC,CAsB5F;AAED,wBAAsB,4BAA4B,CAAC,EAC/C,aAAa,EACb,iBAAiB,EACjB,mBAAmB,EACnB,WAAe,EACf,SAAkB,GACrB,EAAE;IACC,aAAa,EAAE,MAAM,CAAC;IACtB,iBAAiB,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IACpE,mBAAmB,EAAE,MAAM,CAAC;IAC5B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,sCAAsC;IACtC,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB,GAAG,OAAO,CAAC,MAAM,CAAC,CAgBlB"}
@@ -8,3 +8,4 @@ export declare function readAllDirContents({ dir, recursive, }: {
8
8
  }): Promise<DirContents>;
9
9
  export declare function writeFiles(dir: string, allFileContents: DirContents): Promise<void>;
10
10
  export declare function recursivelyUpwardsSearchForDir(startDirPath: string, check: (dirPath: string) => boolean): Promise<string>;
11
+ //# sourceMappingURL=fs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fs.d.ts","sourceRoot":"","sources":["../../src/augments/fs.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,WAAW;IACxB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,WAAW,CAAC;CACvC;AAED,eAAO,MAAM,cAAc,QAAgC,CAAC;AAE5D,wBAAsB,kBAAkB,CAAC,EACrC,GAAG,EACH,SAAiB,GACpB,EAAE;IACC,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,OAAO,CAAC;CACvB,GAAG,OAAO,CAAC,WAAW,CAAC,CAsBvB;AAED,wBAAsB,UAAU,CAAC,GAAG,EAAE,MAAM,EAAE,eAAe,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC,CAazF;AAED,wBAAsB,8BAA8B,CAChD,YAAY,EAAE,MAAM,EACpB,KAAK,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,OAAO,GACpC,OAAO,CAAC,MAAM,CAAC,CAcjB"}
@@ -1 +1,2 @@
1
1
  export declare function doChangesExist(repoDirPath: string): Promise<boolean>;
2
+ //# sourceMappingURL=git.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"git.d.ts","sourceRoot":"","sources":["../../src/augments/git.ts"],"names":[],"mappings":"AAEA,wBAAsB,cAAc,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAQ1E"}
@@ -1 +1,2 @@
1
1
  export declare function jsonParseOrUndefined(input: string): any | undefined;
2
+ //# sourceMappingURL=json.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"json.d.ts","sourceRoot":"","sources":["../../src/augments/json.ts"],"names":[],"mappings":"AAAA,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,GAAG,GAAG,GAAG,SAAS,CAMnE"}
@@ -9,3 +9,4 @@ export declare function readTopLevelPackageJson(startDir: string): Promise<Reado
9
9
  packageJson: CleanPackageJson;
10
10
  path: string;
11
11
  }>>;
12
+ //# sourceMappingURL=npm.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"npm.d.ts","sourceRoot":"","sources":["../../src/augments/npm.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,oBAAoB,EAAC,MAAM,qBAAqB,CAAC;AAI9E,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,WAAW,CAAC;AAG3C,MAAM,MAAM,gBAAgB,GAAG,QAAQ,CACnC,oBAAoB,CAAC,WAAW,CAAC,mBAAmB,EAAE,MAAM,GAAG,SAAS,CAAC,GAAG;IACxE,UAAU,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;CACtC,CACJ,CAAC;AAEF,wBAAgB,2BAA2B,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAehF;AACD,wBAAsB,eAAe,CAAC,eAAe,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAkBxF;AAED,wBAAsB,uBAAuB,CACzC,QAAQ,EAAE,MAAM,GACjB,OAAO,CAAC,QAAQ,CAAC;IAAC,WAAW,EAAE,gBAAgB,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAC,CAAC,CAAC,CAalE"}
@@ -2,3 +2,4 @@ import { Overwrite } from '@augment-vir/common';
2
2
  export declare function filterObject<T extends object>(fullObject: Readonly<T>, callback: (value: T[keyof T], key: keyof T, fullObject: Readonly<T>) => boolean): Partial<T>;
3
3
  export declare function deeplyCombineObjects<OriginalObjectGeneric extends object, OverwriteObjectGeneric extends object>(originalObject: OriginalObjectGeneric, overwriteObject: OverwriteObjectGeneric): Overwrite<OriginalObjectGeneric, OverwriteObjectGeneric>;
4
4
  export declare function filterToDifferentValues<T extends object>(baseObject: T, changedObject: T): Partial<T>;
5
+ //# sourceMappingURL=object.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"object.d.ts","sourceRoot":"","sources":["../../src/augments/object.ts"],"names":[],"mappings":"AAAA,OAAO,EAA+B,SAAS,EAAmB,MAAM,qBAAqB,CAAC;AAE9F,wBAAgB,YAAY,CAAC,CAAC,SAAS,MAAM,EACzC,UAAU,EAAE,QAAQ,CAAC,CAAC,CAAC,EACvB,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,CAAC,EAAE,UAAU,EAAE,QAAQ,CAAC,CAAC,CAAC,KAAK,OAAO,GAChF,OAAO,CAAC,CAAC,CAAC,CAQZ;AAED,wBAAgB,oBAAoB,CAChC,qBAAqB,SAAS,MAAM,EACpC,sBAAsB,SAAS,MAAM,EAErC,cAAc,EAAE,qBAAqB,EACrC,eAAe,EAAE,sBAAsB,GACxC,SAAS,CAAC,qBAAqB,EAAE,sBAAsB,CAAC,CAY1D;AAED,wBAAgB,uBAAuB,CAAC,CAAC,SAAS,MAAM,EACpD,UAAU,EAAE,CAAC,EACb,aAAa,EAAE,CAAC,GACjB,OAAO,CAAC,CAAC,CAAC,CAgBZ"}
@@ -1 +1,2 @@
1
1
  export declare function getFirstPartOfPath(inputPath: string): string;
2
+ //# sourceMappingURL=path.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"path.d.ts","sourceRoot":"","sources":["../../src/augments/path.ts"],"names":[],"mappings":"AAEA,wBAAgB,kBAAkB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAQ5D"}
@@ -1 +1,2 @@
1
1
  export declare function formatCode(text: string, filePath: string): Promise<string>;
2
+ //# sourceMappingURL=prettier.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prettier.d.ts","sourceRoot":"","sources":["../../src/augments/prettier.ts"],"names":[],"mappings":"AAIA,wBAAsB,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAchF"}
@@ -1 +1,2 @@
1
1
  export declare function sanitizeStringForRegExpCreation(inputString: string): string;
2
+ //# sourceMappingURL=regexp.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"regexp.d.ts","sourceRoot":"","sources":["../../src/augments/regexp.ts"],"names":[],"mappings":"AAAA,wBAAgB,+BAA+B,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,CAE3E"}
@@ -1,2 +1,3 @@
1
1
  export type NonEmptyString<ExactStringGeneric extends string> = ExactStringGeneric extends '' ? never : ExactStringGeneric;
2
2
  export declare function ensureNonEmptyString<StringGeneric extends string>(inputString: NonEmptyString<StringGeneric>): StringGeneric;
3
+ //# sourceMappingURL=string.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"string.d.ts","sourceRoot":"","sources":["../../src/augments/string.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,CAAC,kBAAkB,SAAS,MAAM,IAAI,kBAAkB,SAAS,EAAE,GACvF,KAAK,GACL,kBAAkB,CAAC;AAEzB,wBAAgB,oBAAoB,CAAC,aAAa,SAAS,MAAM,EAC7D,WAAW,EAAE,cAAc,CAAC,aAAa,CAAC,GAC3C,aAAa,CAKf"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"test.d.ts","sourceRoot":"","sources":["../../src/augments/test.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,WAAW,EAAC,MAAM,QAAQ,CAAC;AAEnC,wBAAgB,gBAAgB,CAAC,CAAC,EAC9B,KAAK,EAAE,OAAO,EACd,gBAAgB,EAAE,WAAW,CAAC,CAAC,CAAC,EAChC,OAAO,CAAC,EAAE,MAAM,GACjB,OAAO,CAAC,KAAK,IAAI,CAAC,CAEpB;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,IAAI,MAAM,CAEtF"}
@@ -1 +1,2 @@
1
1
  export type Constructor<T> = new (...args: any[]) => T;
2
+ //# sourceMappingURL=type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/augments/type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC"}
package/dist/cli.d.ts CHANGED
@@ -1,2 +1,3 @@
1
1
  #!/usr/bin/env node
2
2
  export {};
3
+ //# sourceMappingURL=cli.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":""}
@@ -6,3 +6,4 @@ export declare const codeInMarkdownCommandDefinition: import("../api/command/def
6
6
  configFiles: {};
7
7
  npmDeps: readonly ["markdown-code-example-inserter"];
8
8
  }>;
9
+ //# sourceMappingURL=code-in-markdown.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"code-in-markdown.command.d.ts","sourceRoot":"","sources":["../../src/commands/code-in-markdown.command.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,+BAA+B;;;;;;;EAqE3C,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"code-in-markdown.command.test.d.ts","sourceRoot":"","sources":["../../src/commands/code-in-markdown.command.test.ts"],"names":[],"mappings":""}
@@ -11,3 +11,4 @@ export declare const compileCommandDefinition: import("../api/command/define-com
11
11
  };
12
12
  npmDeps: readonly ["typescript"];
13
13
  }>;
14
+ //# sourceMappingURL=compile.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"compile.command.d.ts","sourceRoot":"","sources":["../../src/commands/compile.command.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,wBAAwB;;;;;;;;;;;;EAoDpC,CAAC"}
@@ -42,7 +42,7 @@ exports.compileCommandDefinition = (0, define_command_1.defineCommand)({
42
42
  const noEmit = shouldNotEmit ? '--noEmit' : '';
43
43
  const mainCommand = await (0, package_paths_1.getNpmBinPath)(inputs.repoDir, 'tsc');
44
44
  return {
45
- mainCommand,
45
+ mainCommand: `rm -rf dist && rm -f ./*.tsbuildinfo && ${mainCommand}`,
46
46
  args: [
47
47
  '--pretty',
48
48
  noEmit,
@@ -0,0 +1 @@
1
+ {"version":3,"file":"compile.command.test.d.ts","sourceRoot":"","sources":["../../src/commands/compile.command.test.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  import { ConfigFileDefinition } from '../../api/config/config-file-definition';
2
2
  export declare const nonCommandConfigs: ReadonlyArray<ConfigFileDefinition>;
3
+ //# sourceMappingURL=all-extra-configs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"all-extra-configs.d.ts","sourceRoot":"","sources":["../../../src/commands/extra-configs/all-extra-configs.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,oBAAoB,EAAC,MAAM,yCAAyC,CAAC;AAM7E,eAAO,MAAM,iBAAiB,EAAE,aAAa,CAAC,oBAAoB,CA4DjE,CAAC"}
@@ -1,2 +1,3 @@
1
1
  import { UpdateConfigCallback } from '../../api/config/config-file-definition';
2
2
  export declare function combineJsonConfig(...[newConfigContents, existingConfigContents,]: Parameters<UpdateConfigCallback>): Promise<string>;
3
+ //# sourceMappingURL=combine-json-config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"combine-json-config.d.ts","sourceRoot":"","sources":["../../../src/commands/extra-configs/combine-json-config.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,oBAAoB,EAAC,MAAM,yCAAyC,CAAC;AAI7E,wBAAsB,iBAAiB,CACnC,GAAG,CACC,iBAAiB,EACjB,sBAAsB,EACzB,EAAE,UAAU,CAAC,oBAAoB,CAAC,GACpC,OAAO,CAAC,MAAM,CAAC,CAUjB"}
@@ -1,2 +1,3 @@
1
1
  import { UpdateConfigCallback } from '../../api/config/config-file-definition';
2
2
  export declare function combineTextConfig(...[newConfigContents, existingConfigContents,]: Parameters<UpdateConfigCallback>): ReturnType<UpdateConfigCallback>;
3
+ //# sourceMappingURL=combine-text-config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"combine-text-config.d.ts","sourceRoot":"","sources":["../../../src/commands/extra-configs/combine-text-config.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,oBAAoB,EAAC,MAAM,yCAAyC,CAAC;AAU7E,wBAAgB,iBAAiB,CAC7B,GAAG,CACC,iBAAiB,EACjB,sBAAsB,EACzB,EAAE,UAAU,CAAC,oBAAoB,CAAC,GACpC,UAAU,CAAC,oBAAoB,CAAC,CAiBlC"}
@@ -1 +1,2 @@
1
1
  export declare function createDefaultPackageJson(copyFromContents: string, existingConfigContents: string, repoDir: string): Promise<string>;
2
+ //# sourceMappingURL=create-default-package-json.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-default-package-json.d.ts","sourceRoot":"","sources":["../../../src/commands/extra-configs/create-default-package-json.ts"],"names":[],"mappings":"AAMA,wBAAsB,wBAAwB,CAC1C,gBAAgB,EAAE,MAAM,EACxB,sBAAsB,EAAE,MAAM,EAC9B,OAAO,EAAE,MAAM,GAChB,OAAO,CAAC,MAAM,CAAC,CA0BjB"}
@@ -15,3 +15,4 @@ export declare const formatCommandDefinition: import("../api/command/define-comm
15
15
  };
16
16
  npmDeps: readonly ["prettier", "prettier-plugin-jsdoc", "prettier-plugin-multiline-arrays", "prettier-plugin-organize-imports", "prettier-plugin-packagejson", "prettier-plugin-sort-json", "prettier-plugin-toml"];
17
17
  }>;
18
+ //# sourceMappingURL=format.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"format.command.d.ts","sourceRoot":"","sources":["../../src/commands/format.command.ts"],"names":[],"mappings":"AA0BA,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;EA0GnC,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"format.command.test.d.ts","sourceRoot":"","sources":["../../src/commands/format.command.test.ts"],"names":[],"mappings":""}
@@ -12,3 +12,4 @@ export declare const frontendCommandDefinition: import("../api/command/define-co
12
12
  };
13
13
  npmDeps: readonly ["vite", "@augment-vir/node-js"];
14
14
  }>;
15
+ //# sourceMappingURL=frontend.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"frontend.command.d.ts","sourceRoot":"","sources":["../../src/commands/frontend.command.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;EA0ErC,CAAC"}
@@ -6,3 +6,4 @@ export declare const initCommandDefinition: import("../api/command/define-comman
6
6
  configFiles: {};
7
7
  npmDeps: readonly ["prettier", "prettier-plugin-jsdoc", "prettier-plugin-multiline-arrays", "prettier-plugin-organize-imports", "prettier-plugin-packagejson", "prettier-plugin-sort-json", "prettier-plugin-toml"];
8
8
  }>;
9
+ //# sourceMappingURL=init.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"init.command.d.ts","sourceRoot":"","sources":["../../src/commands/init.command.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,qBAAqB;;;;;;;EAmDjC,CAAC"}