forked from googleapis/release-please
-
Notifications
You must be signed in to change notification settings - Fork 0
/
node-workspace.js
160 lines (109 loc) · 4.07 KB
/
node-workspace.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
exports['NodeWorkspace plugin run appends dependency notes to an updated module 1'] = `
:robot: I have created a release *beep* *boop*
---
<details><summary>@here/pkgA: 3.3.4</summary>
Release notes for path: node1, releaseType: node
</details>
<details><summary>@here/pkgB: 2.2.3</summary>
### Dependencies
* update dependency foo/bar to 1.2.3
* The following workspace dependencies were updated
* dependencies
* @here/pkgA bumped from 3.3.3 to 3.3.4
</details>
<details><summary>@here/pkgC: 1.1.2</summary>
### Dependencies
* The following workspace dependencies were updated
* dependencies
* @here/pkgB bumped from 2.2.2 to 2.2.3
</details>
---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
`
exports['NodeWorkspace plugin run appends dependency notes to an updated module 2'] = `
other notes
`
exports['NodeWorkspace plugin run appends dependency notes to an updated module 3'] = `
### Dependencies
* update dependency foo/bar to 1.2.3
* The following workspace dependencies were updated
* dependencies
* @here/pkgA bumped from 3.3.3 to 3.3.4
`
exports['NodeWorkspace plugin run appends dependency notes to an updated module 4'] = `
### Dependencies
* The following workspace dependencies were updated
* dependencies
* @here/pkgB bumped from 2.2.2 to 2.2.3
`
exports['NodeWorkspace plugin run combines node packages 1'] = `
:robot: I have created a release *beep* *boop*
---
<details><summary>@here/pkgA: 3.3.4</summary>
Release notes for path: node1, releaseType: node
</details>
<details><summary>@here/pkgD: 4.4.5</summary>
Release notes for path: node4, releaseType: node
</details>
<details><summary>@here/root: 5.5.6</summary>
Release notes for path: ., releaseType: node
### Dependencies
* The following workspace dependencies were updated
* dependencies
* @here/pkgA bumped from ^3.3.3 to ^3.3.4
* @here/pkgD bumped from ^4.4.4 to ^4.4.5
</details>
---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
`
exports['NodeWorkspace plugin run handles a single node package 1'] = `
:robot: I have created a release *beep* *boop*
---
<details><summary>@here/pkgA: 3.3.4</summary>
Release notes for path: node1, releaseType: node
</details>
---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
`
exports['NodeWorkspace plugin run respects version prefix 1'] = `
{
"name": "@here/plugin1",
"version": "4.4.4",
"peerDependencies": {
"@here/pkgA": "^3.3.3"
}
}
`
exports['NodeWorkspace plugin run should ignore peer dependencies 1'] = `
:robot: I have created a release *beep* *boop*
---
<details><summary>@here/pkgA: 3.3.4</summary>
Release notes for path: node1, releaseType: node
</details>
---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
`
exports['NodeWorkspace plugin run walks dependency tree and updates previously untouched packages 1'] = `
:robot: I have created a release *beep* *boop*
---
<details><summary>@here/pkgA: 3.3.4</summary>
Release notes for path: node1, releaseType: node
</details>
<details><summary>@here/pkgB: 2.2.3</summary>
### Dependencies
* The following workspace dependencies were updated
* dependencies
* @here/pkgA bumped from 3.3.3 to 3.3.4
</details>
<details><summary>@here/pkgC: 1.1.2</summary>
### Dependencies
* The following workspace dependencies were updated
* dependencies
* @here/pkgB bumped from 2.2.2 to 2.2.3
</details>
<details><summary>@here/pkgD: 4.4.5</summary>
Release notes for path: node4, releaseType: node
</details>
---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
`