virmator 8.0.1 → 8.0.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.
@@ -3,7 +3,7 @@ name: build-for-gh-pages
3
3
  on:
4
4
  push:
5
5
  branches:
6
- - main
6
+ - dev
7
7
 
8
8
  jobs:
9
9
  build-for-gh-pages:
@@ -5,7 +5,7 @@
5
5
  "scripts": {
6
6
  "build": "virmator frontend build",
7
7
  "compile": "virmator compile",
8
- "docs:update": "virmator docs",
8
+ "docs": "virmator docs",
9
9
  "format": "virmator format",
10
10
  "preview": "virmator frontend preview",
11
11
  "publish": "virmator publish \"npm run compile && npm run test:all\"",
@@ -3,23 +3,16 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.baseTypedocConfig = exports.defaultDocumentationRequirements = void 0;
4
4
  exports.defaultDocumentationRequirements = [
5
5
  'Accessor',
6
- 'CallSignature',
7
6
  'Class',
8
7
  'Constructor',
9
- 'ConstructorSignature',
10
8
  'Enum',
11
9
  'Function',
12
- 'GetSignature',
13
- 'IndexSignature',
14
10
  'Interface',
15
11
  'Method',
16
12
  'Module',
17
13
  'Namespace',
18
- 'Parameter',
19
14
  'Reference',
20
- 'SetSignature',
21
15
  'TypeAlias',
22
- 'TypeLiteral',
23
16
  'Variable',
24
17
  ];
25
18
  exports.baseTypedocConfig = {
@@ -22,7 +22,7 @@ async function main(args) {
22
22
  const wasReadmeChanged = formattedReadme !== originalReadme;
23
23
  await (0, promises_1.writeFile)(virmator_test_file_paths_1.virmatorReadme, originalReadme);
24
24
  if (wasReadmeChanged) {
25
- console.info(`${node_js_1.logColors.bold}${node_js_1.logColors.error}README usage message is not up to date.${node_js_1.logColors.reset}\nRun ${node_js_1.logColors.info}npm run docs:update${node_js_1.logColors.reset} to update.\n`);
25
+ console.info(`${node_js_1.logColors.bold}${node_js_1.logColors.error}README usage message is not up to date.${node_js_1.logColors.reset}\nRun ${node_js_1.logColors.info}npm run docs${node_js_1.logColors.reset} to update.\n`);
26
26
  throw new Error(`README not up to date.`);
27
27
  }
28
28
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "virmator",
3
- "version": "8.0.1",
3
+ "version": "8.0.3",
4
4
  "description": "Handle common package configs, commands, and dependencies.",
5
5
  "keywords": [
6
6
  "automation",
@@ -30,8 +30,8 @@
30
30
  "bin": "dist/cli.js",
31
31
  "scripts": {
32
32
  "compile": "rm -rf dist && tsc",
33
+ "docs": "npm run compile && ts-node src/scripts/save-help-message.ts && md-code README.md",
33
34
  "docs:check": "npm run compile && ts-node src/scripts/save-help-message.ts check && md-code --check README.md",
34
- "docs:update": "npm run compile && ts-node src/scripts/save-help-message.ts && md-code README.md",
35
35
  "format": "npm run format:base -- --write --list-different",
36
36
  "format:base": "prettier \"./**/*.+(ts|json|html|css|md|js)\"",
37
37
  "publish": "virmator publish \"npm run test:all\"",