virmator 9.0.0 → 9.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.
@@ -10,6 +10,7 @@ const baseConfig = {
10
10
  '**/build/',
11
11
  '**/coverage/',
12
12
  '**/dist/',
13
+ 'generated-config-*',
13
14
  '**/docs-dist/',
14
15
  '**/graphics/',
15
16
  '**/node_modules/',
@@ -2,6 +2,7 @@
2
2
  coverage/
3
3
  dist/
4
4
  docs-dist/
5
+ generated-config-*
5
6
  graphics/
6
7
  node_modules/
7
8
  package-lock.json
@@ -4,6 +4,7 @@
4
4
  coverage/
5
5
  dist/
6
6
  docs-dist/
7
+ generated-config-*
7
8
  graphics/
8
9
  node_modules/
9
10
  src/all-files-for-code-coverage.test.ts
@@ -14,6 +14,7 @@
14
14
  /www-static/
15
15
  bash-scripts/
16
16
  docs-dist/
17
+ generated-config-*
17
18
  index.html
18
19
  test-files/
19
20
  tsconfig*.json
@@ -11,8 +11,9 @@
11
11
  "publish": "virmator publish \"npm run compile && npm run test:all\"",
12
12
  "start": "npm install && virmator frontend",
13
13
  "test": "virmator test",
14
- "test:all": "concurrently --colors --kill-others-on-fail -c auto --names types,tests,spelling,format,docs \"npm run test:types\" \"npm run test:coverage\" \"npm run test:spelling\" \"npm run test:format\" \"npm run test:docs\"",
14
+ "test:all": "concurrently --colors --kill-others-on-fail -c auto --names types,tests,spelling,format,docs,deps \"npm run test:types\" \"npm run test:coverage\" \"npm run test:spelling\" \"npm run test:format\" \"npm run test:docs\" \"npm run test:deps\"",
15
15
  "test:coverage": "npm run test coverage",
16
+ "test:deps": "virmator deps check",
16
17
  "test:docs": "virmator docs check",
17
18
  "test:format": "virmator format check",
18
19
  "test:spelling": "virmator spellcheck",
@@ -24,8 +24,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.compileTs = exports.withTypescriptConfigFile = void 0;
27
- const common_1 = require("@augment-vir/common");
28
27
  const promises_1 = require("fs/promises");
28
+ const path_1 = require("path");
29
29
  async function withTypescriptConfigFile(configPath, callback) {
30
30
  const tempFilePath = createOutfilePath(configPath);
31
31
  try {
@@ -42,7 +42,10 @@ async function withTypescriptConfigFile(configPath, callback) {
42
42
  }
43
43
  exports.withTypescriptConfigFile = withTypescriptConfigFile;
44
44
  function createOutfilePath(inputFilePath) {
45
- return (0, common_1.addSuffix)({ value: (0, common_1.removeSuffix)({ value: inputFilePath, suffix: '.ts' }), suffix: '.cjs' });
45
+ return (0, path_1.join)((0, path_1.dirname)(inputFilePath), [
46
+ 'generated-config',
47
+ (0, path_1.basename)(inputFilePath).replace(/\.ts$/, '.cjs'),
48
+ ].join('-'));
46
49
  }
47
50
  async function compileTs({ inputPath, outputPath, }) {
48
51
  const outfile = outputPath || createOutfilePath(inputPath);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "virmator",
3
- "version": "9.0.0",
3
+ "version": "9.0.1",
4
4
  "description": "Handle common package configs, commands, and dependencies.",
5
5
  "keywords": [
6
6
  "automation",