just-scripts 2.2.0 → 2.2.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "just-scripts",
3
- "version": "2.2.0",
3
+ "version": "2.2.1",
4
4
  "description": "Just Stack Scripts",
5
5
  "keywords": [],
6
6
  "repository": {
@@ -15,6 +15,8 @@
15
15
  "just-scripts": "bin/just-scripts.js"
16
16
  },
17
17
  "scripts": {
18
+ "api": "api-extractor run",
19
+ "api:update": "api-extractor run --local",
18
20
  "build": "tsc",
19
21
  "start": "tsc -w --preserveWatchOutput",
20
22
  "start-test": "jest --watch",
@@ -27,10 +29,10 @@
27
29
  "dependencies": {
28
30
  "chalk": "^4.0.0",
29
31
  "diff-match-patch": "1.0.5",
30
- "fs-extra": "^10.0.0",
32
+ "fs-extra": "^11.0.0",
31
33
  "glob": "^7.1.3",
32
- "just-scripts-utils": "^2.0.0",
33
- "just-task": ">=1.7.2 <2.0.0",
34
+ "just-scripts-utils": "^2.0.1",
35
+ "just-task": ">=1.8.0 <2.0.0",
34
36
  "prompts": "^2.4.0",
35
37
  "run-parallel-limit": "^1.0.6",
36
38
  "semver": "^7.0.0",
@@ -38,13 +40,13 @@
38
40
  "webpack-merge": "^5.7.3"
39
41
  },
40
42
  "devDependencies": {
41
- "@types/diff-match-patch": "1.0.32",
42
- "@types/glob": "7.2.0",
43
- "@types/prompts": "2.4.2",
44
- "@types/run-parallel-limit": "1.0.0",
45
- "@types/supports-color": "8.1.1",
46
- "@types/webpack": "4.41.33",
47
- "async-done": "2.0.0",
48
- "esbuild": "0.9.6"
43
+ "@types/diff-match-patch": "^1.0.32",
44
+ "@types/glob": "^7.2.0",
45
+ "@types/prompts": "^2.4.2",
46
+ "@types/run-parallel-limit": "^1.0.0",
47
+ "@types/supports-color": "^8.1.1",
48
+ "@types/webpack": "^4.41.33",
49
+ "async-done": "^2.0.0",
50
+ "esbuild": "^0.9.6"
49
51
  }
50
52
  }
@@ -59,7 +59,7 @@ export function copyFileToDestinationDirectoryWithRename(
59
59
 
60
60
  /**
61
61
  * Copies files into a destination directory with different names.
62
- * For example copyFilesToDestinationDirectoryWithRename([{sourceFilePath:'some/path/foo.js', destinationName:'bar.js'}], 'dest/target')
62
+ * For example `copyFilesToDestinationDirectoryWithRename([{sourceFilePath:'some/path/foo.js', destinationName:'bar.js'}], 'dest/target')`
63
63
  * would result in the creation of the file 'dest/target/bar.js'.
64
64
  */
65
65
  export function copyFilesToDestinationDirectoryWithRename(
@@ -2,7 +2,7 @@ import { logger, TaskFunction } from 'just-task';
2
2
  import * as fs from 'fs-extra';
3
3
  import * as path from 'path';
4
4
  import { tryRequire } from '../tryRequire';
5
- import * as ApiExtractorTypes from './apiExtractorTypes';
5
+ import type * as ApiExtractorTypes from '@microsoft/api-extractor';
6
6
 
7
7
  /* eslint-disable @typescript-eslint/no-non-null-assertion */
8
8