just-task 1.7.0 → 1.7.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.
package/CHANGELOG.json CHANGED
@@ -2,7 +2,73 @@
2
2
  "name": "just-task",
3
3
  "entries": [
4
4
  {
5
- "date": "Fri, 18 Nov 2022 22:40:03 GMT",
5
+ "date": "Fri, 10 Mar 2023 08:01:47 GMT",
6
+ "tag": "just-task_v1.7.2",
7
+ "version": "1.7.2",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "elcraig@microsoft.com",
12
+ "package": "just-task",
13
+ "commit": "8484242cfb5e360a8de6ac4a1190b5d488034be8",
14
+ "comment": "Update readmes and homepage links"
15
+ }
16
+ ]
17
+ }
18
+ },
19
+ {
20
+ "date": "Thu, 09 Mar 2023 08:02:09 GMT",
21
+ "tag": "just-task_v1.7.1",
22
+ "version": "1.7.1",
23
+ "comments": {
24
+ "patch": [
25
+ {
26
+ "author": "elcraig@microsoft.com",
27
+ "package": "just-task",
28
+ "commit": "a509c1d0a5483b3e688f400c73da5969f5ae42c7",
29
+ "comment": "Remove an incorrect reference to `yargs` types"
30
+ },
31
+ {
32
+ "author": "beachball",
33
+ "package": "just-task",
34
+ "comment": "Bump just-task-logger to v1.2.1",
35
+ "commit": "77dab724dfe9e042887caa13e8f2a7e66e33b570"
36
+ }
37
+ ]
38
+ }
39
+ },
40
+ {
41
+ "date": "Thu, 09 Mar 2023 05:44:11 GMT",
42
+ "tag": "just-task_v1.7.0",
43
+ "version": "1.7.0",
44
+ "comments": {
45
+ "none": [
46
+ {
47
+ "author": "elcraig@microsoft.com",
48
+ "package": "just-task",
49
+ "commit": "c3711804c41b2abfb2df4766acc83be68b137b56",
50
+ "comment": "Update mock-fs usage in tests"
51
+ }
52
+ ]
53
+ }
54
+ },
55
+ {
56
+ "date": "Sat, 19 Nov 2022 08:02:12 GMT",
57
+ "tag": "just-task_v1.7.0",
58
+ "version": "1.7.0",
59
+ "comments": {
60
+ "none": [
61
+ {
62
+ "author": "elcraig@microsoft.com",
63
+ "package": "just-task",
64
+ "commit": "a1d4ca0f23c165cffc4c673c7a098c60401922c9",
65
+ "comment": "Hoist widely-used devDependencies"
66
+ }
67
+ ]
68
+ }
69
+ },
70
+ {
71
+ "date": "Fri, 18 Nov 2022 22:40:12 GMT",
6
72
  "tag": "just-task_v1.7.0",
7
73
  "version": "1.7.0",
8
74
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,29 @@
1
1
  # Change Log - just-task
2
2
 
3
- This log was last generated on Fri, 18 Nov 2022 22:40:03 GMT and should not be manually modified.
3
+ This log was last generated on Fri, 10 Mar 2023 08:01:47 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 1.7.2
8
+
9
+ Fri, 10 Mar 2023 08:01:47 GMT
10
+
11
+ ### Patches
12
+
13
+ - Update readmes and homepage links (elcraig@microsoft.com)
14
+
15
+ ## 1.7.1
16
+
17
+ Thu, 09 Mar 2023 08:02:09 GMT
18
+
19
+ ### Patches
20
+
21
+ - Remove an incorrect reference to `yargs` types (elcraig@microsoft.com)
22
+ - Bump just-task-logger to v1.2.1
23
+
7
24
  ## 1.7.0
8
25
 
9
- Fri, 18 Nov 2022 22:40:03 GMT
26
+ Fri, 18 Nov 2022 22:40:12 GMT
10
27
 
11
28
  ### Minor changes
12
29
 
package/README.md CHANGED
@@ -1,61 +1,17 @@
1
- # Just
1
+ # just-task
2
2
 
3
3
  [![npm version](https://badge.fury.io/js/just-task.svg)](https://badge.fury.io/js/just-task)
4
4
  [![NPM Downloads](https://img.shields.io/npm/dm/just-task.svg?style=flat)](https://www.npmjs.com/package/just-task)
5
5
 
6
- `Just` is a library that organizes build tasks for your JS projects. It consists of
6
+ <!-- start shared -->
7
7
 
8
- - a build task definition library
9
- - sane preset build flows for node and browser projects featuring TypeScript, Webpack and jest
8
+ `Just` is a library that organizes build tasks for your JS projects. It consists of:
10
9
 
11
- # Documentation
10
+ - `just-task`: a build task definition library
11
+ - `just-scripts`: sane preset build flows for node and browser projects featuring TypeScript, Webpack and Jest
12
12
 
13
- All the documentation is online at https://microsoft.github.io/just/
14
-
15
- # Building
16
-
17
- This README contains only the instructions on how to build and contribute to the project. This is a monorepo that uses the [lerna](https://github.com/lerna/lerna) monorepo management utility. To get started, simply run the following:
18
-
19
- `yarn`
20
-
21
- and build all the packages this way:
22
-
23
- `yarn build`
24
-
25
- Development is usually done one package at a time. So go into each package and develop with the innerloop npm script:
26
-
27
- ```
28
- cd packages/just-task
29
- yarn dev
30
- ```
13
+ ## Documentation
31
14
 
32
- Tests are run with the `test` npm script:
33
-
34
- ```
35
- cd packages/just-task
36
- yarn test
37
- ```
38
-
39
- # Packages
40
-
41
- | Package | Description |
42
- | ------------------ | --------------------------------------------------------------------------------------- |
43
- | just-task | The task definition library that wraps `undertaker` and `yargs` libraries |
44
- | just-scripts | A reusable preset of frequently used tasks in node and browser projects |
45
- | just-scripts-utils | A set of utilities for `just-scripts` |
46
- | just-task-logger | A shared pretty logger used to display timestamps along with a message |
47
- | documentation | The Docusaurus site content and styles which generates the Github page for this library |
48
-
49
- # Contributing
50
-
51
- This project welcomes contributions and suggestions. Most contributions require you to agree to a
52
- Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us
53
- the rights to use your contribution. For details, visit https://cla.microsoft.com. Please refer [Contribution guide](https://github.com/microsoft/just/.github/CONTRIBUTING.md) for more details
54
-
55
- When you submit a pull request, a CLA-bot will automatically determine whether you need to provide
56
- a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions
57
- provided by the bot. You will only need to do this once across all repos using our CLA.
15
+ All the documentation is online at https://microsoft.github.io/just/
58
16
 
59
- This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
60
- For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or
61
- contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
17
+ <!-- end shared -->
@@ -1,5 +1,5 @@
1
1
  /// <reference types="node" />
2
- import { Arguments } from 'yargs';
2
+ import { Arguments } from 'yargs-parser';
3
3
  import { TaskFunctionParams } from 'undertaker';
4
4
  import { Logger } from './logger';
5
5
  import { Duplex } from 'stream';
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../src/interfaces.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,oBAAY,IAAI,GAAG,MAAM,GAAG,YAAY,CAAC;AAEzC,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,SAAS,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,YAAa,SAAQ,kBAAkB;IACtD,CAAC,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC,KAAK,CAAC,EAAE,GAAG,KAAK,IAAI,GAAG,IAAI,GAAG,MAAM,GAAG,MAAM,CAAC,OAAO,GAAG,OAAO,CAAC,KAAK,CAAC,GAAG,GAAG,CAAC;IACxG,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
1
+ {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../src/interfaces.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,oBAAY,IAAI,GAAG,MAAM,GAAG,YAAY,CAAC;AAEzC,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,SAAS,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,YAAa,SAAQ,kBAAkB;IACtD,CAAC,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC,KAAK,CAAC,EAAE,GAAG,KAAK,IAAI,GAAG,IAAI,GAAG,MAAM,GAAG,MAAM,CAAC,OAAO,GAAG,OAAO,CAAC,KAAK,CAAC,GAAG,GAAG,CAAC;IACxG,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "just-task",
3
- "version": "1.7.0",
3
+ "version": "1.7.2",
4
4
  "description": "Build task definition library",
5
5
  "keywords": [],
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "https://github.com/microsoft/just"
9
9
  },
10
+ "homepage": "https://microsoft.github.io/just/",
10
11
  "license": "MIT",
11
12
  "author": "Ken Chau <kchau@microsoft.com>",
12
13
  "main": "lib/index.js",
@@ -27,7 +28,7 @@
27
28
  "bach": "^2.0.0",
28
29
  "chalk": "^4.0.0",
29
30
  "fs-extra": "^10.0.0",
30
- "just-task-logger": ">=1.2.0 <2.0.0",
31
+ "just-task-logger": ">=1.2.1 <2.0.0",
31
32
  "resolve": "^1.19.0",
32
33
  "undertaker": "^1.3.0",
33
34
  "undertaker-registry": "^2.0.0",
@@ -36,18 +37,9 @@
36
37
  },
37
38
  "devDependencies": {
38
39
  "@types/chokidar": "2.1.3",
39
- "@types/fs-extra": "9.0.13",
40
- "@types/jest": "26.0.24",
41
- "@types/mock-fs": "4.13.1",
42
- "@types/node": "14.18.33",
43
40
  "@types/resolve": "1.20.2",
44
41
  "@types/undertaker": "1.2.8",
45
- "@types/undertaker-registry": "1.0.1",
46
- "@types/yargs-parser": "20.2.2",
47
- "jest": "26.6.3",
48
- "mock-fs": "4.14.0",
49
- "ts-jest": "26.5.6",
50
- "typescript": "4.1.3"
42
+ "@types/undertaker-registry": "1.0.1"
51
43
  },
52
44
  "typing": "lib/index.d.ts"
53
45
  }
@@ -10,7 +10,7 @@ import {
10
10
  } from '../resolve';
11
11
  import * as option from '../option';
12
12
  import * as config from '../config';
13
- import mockfs = require('mock-fs');
13
+ import * as mockfs from 'mock-fs';
14
14
 
15
15
  describe('_isFileNameLike', () => {
16
16
  it('returns false for empty input', () => {
@@ -3,7 +3,7 @@ import { parallel, undertaker } from '../undertaker';
3
3
  import { logger } from '../logger';
4
4
  import * as path from 'path';
5
5
  import * as option from '../option';
6
- import UndertakerRegistry = require('undertaker-registry');
6
+ import * as UndertakerRegistry from 'undertaker-registry';
7
7
 
8
8
  describe('task', () => {
9
9
  beforeAll(() => {
package/src/interfaces.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Arguments } from 'yargs';
1
+ import { Arguments } from 'yargs-parser';
2
2
  import { TaskFunctionParams } from 'undertaker';
3
3
  import { Logger } from './logger';
4
4
  import { Duplex } from 'stream';