@ms-cloudpack/path-utilities 2.0.1 → 2.0.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/lib/tsdoc-metadata.json +1 -1
- package/package.json +3 -2
- package/CHANGELOG.json +0 -227
- package/CHANGELOG.md +0 -103
- package/lib/testPaths.d.ts +0 -3
- package/lib/testPaths.js +0 -6
- package/lib/testPaths.js.map +0 -1
package/lib/tsdoc-metadata.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ms-cloudpack/path-utilities",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"description": "Utilities for resolving paths between source/intermediate/output locations in Cloudpack.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -28,7 +28,8 @@
|
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@ms-cloudpack/scripts": "*",
|
|
31
|
-
"@ms-cloudpack/eslint-config-base": "*"
|
|
31
|
+
"@ms-cloudpack/eslint-config-base": "*",
|
|
32
|
+
"@ms-cloudpack/test-utilities": "*"
|
|
32
33
|
},
|
|
33
34
|
"files": [
|
|
34
35
|
"lib/**/!(*.test.*)"
|
package/CHANGELOG.json
DELETED
|
@@ -1,227 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@ms-cloudpack/path-utilities",
|
|
3
|
-
"entries": [
|
|
4
|
-
{
|
|
5
|
-
"date": "Tue, 31 Jan 2023 08:08:54 GMT",
|
|
6
|
-
"tag": "@ms-cloudpack/path-utilities_v2.0.1",
|
|
7
|
-
"version": "2.0.1",
|
|
8
|
-
"comments": {
|
|
9
|
-
"patch": [
|
|
10
|
-
{
|
|
11
|
-
"author": "elcraig@microsoft.com",
|
|
12
|
-
"package": "@ms-cloudpack/path-utilities",
|
|
13
|
-
"commit": "243bfddf2ccffa5d6aa479105156b8a5de0e66c2",
|
|
14
|
-
"comment": "Don't publish test files"
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
"author": "beachball",
|
|
18
|
-
"package": "@ms-cloudpack/path-utilities",
|
|
19
|
-
"comment": "Bump @ms-cloudpack/path-string-parsing to v1.0.1",
|
|
20
|
-
"commit": "d841a4219d236c863ef97e9b20ad1bc143e8bc84"
|
|
21
|
-
}
|
|
22
|
-
]
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
"date": "Sat, 03 Dec 2022 08:10:45 GMT",
|
|
27
|
-
"tag": "@ms-cloudpack/path-utilities_v2.0.0",
|
|
28
|
-
"version": "2.0.0",
|
|
29
|
-
"comments": {
|
|
30
|
-
"major": [
|
|
31
|
-
{
|
|
32
|
-
"author": "dake.3601@gmail.com",
|
|
33
|
-
"package": "@ms-cloudpack/path-utilities",
|
|
34
|
-
"commit": "9fae6cbdb788baac8236abc9eb44eb1d3296b7e0",
|
|
35
|
-
"comment": "Changed name from isFile and isFolder to specify sync and added async versions"
|
|
36
|
-
}
|
|
37
|
-
]
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
"date": "Tue, 15 Nov 2022 08:13:12 GMT",
|
|
42
|
-
"tag": "@ms-cloudpack/path-utilities_v1.1.1",
|
|
43
|
-
"version": "1.1.1",
|
|
44
|
-
"comments": {
|
|
45
|
-
"patch": [
|
|
46
|
-
{
|
|
47
|
-
"author": "dzearing@microsoft.com",
|
|
48
|
-
"package": "@ms-cloudpack/path-utilities",
|
|
49
|
-
"commit": "a71972309b615d683a5a3bac7a85c981fb6e89af",
|
|
50
|
-
"comment": "Adding cjs extensions to intermediateToSourcePath translation."
|
|
51
|
-
}
|
|
52
|
-
]
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
"date": "Tue, 18 Oct 2022 08:16:24 GMT",
|
|
57
|
-
"tag": "@ms-cloudpack/path-utilities_v1.1.0",
|
|
58
|
-
"version": "1.1.0",
|
|
59
|
-
"comments": {
|
|
60
|
-
"minor": [
|
|
61
|
-
{
|
|
62
|
-
"author": "dake.3601@gmail.com",
|
|
63
|
-
"package": "@ms-cloudpack/path-utilities",
|
|
64
|
-
"commit": "1bec1f80bb50ebe897f03dc74437c3e211bea83e",
|
|
65
|
-
"comment": "Added a file path symbol replacement function."
|
|
66
|
-
}
|
|
67
|
-
]
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
"date": "Sat, 15 Oct 2022 08:11:32 GMT",
|
|
72
|
-
"tag": "@ms-cloudpack/path-utilities_v1.0.0",
|
|
73
|
-
"version": "1.0.0",
|
|
74
|
-
"comments": {
|
|
75
|
-
"major": [
|
|
76
|
-
{
|
|
77
|
-
"author": "dake.3601@gmail.com",
|
|
78
|
-
"package": "@ms-cloudpack/path-utilities",
|
|
79
|
-
"commit": "962ebd9eb867b159565e221c9f5e800a8eb0ec84",
|
|
80
|
-
"comment": "Moving slash export to a different package."
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
"author": "beachball",
|
|
84
|
-
"package": "@ms-cloudpack/path-utilities",
|
|
85
|
-
"comment": "Bump @ms-cloudpack/path-string-parsing to v1.0.0",
|
|
86
|
-
"commit": "cc252ba3e978d70205028b940070eac18e0d33aa"
|
|
87
|
-
}
|
|
88
|
-
]
|
|
89
|
-
}
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
"date": "Wed, 21 Sep 2022 08:15:19 GMT",
|
|
93
|
-
"tag": "@ms-cloudpack/path-utilities_v0.5.0",
|
|
94
|
-
"version": "0.5.0",
|
|
95
|
-
"comments": {
|
|
96
|
-
"minor": [
|
|
97
|
-
{
|
|
98
|
-
"author": "dzearing@microsoft.com",
|
|
99
|
-
"package": "@ms-cloudpack/path-utilities",
|
|
100
|
-
"commit": "2150233441f0689a0362e4e73fdeed5bd8d8167d",
|
|
101
|
-
"comment": "Path utilities should return relative paths which always start with \"./\" leading periods."
|
|
102
|
-
}
|
|
103
|
-
]
|
|
104
|
-
}
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
"date": "Tue, 06 Sep 2022 08:17:50 GMT",
|
|
108
|
-
"tag": "@ms-cloudpack/path-utilities_v0.4.0",
|
|
109
|
-
"version": "0.4.0",
|
|
110
|
-
"comments": {
|
|
111
|
-
"minor": [
|
|
112
|
-
{
|
|
113
|
-
"author": "dzearing@microsoft.com",
|
|
114
|
-
"package": "@ms-cloudpack/path-utilities",
|
|
115
|
-
"commit": "d339889f81e6d86039b4cc0d164ba4ba675335bc",
|
|
116
|
-
"comment": "Integrating PackageDefinitions implementation."
|
|
117
|
-
}
|
|
118
|
-
]
|
|
119
|
-
}
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
"date": "Sat, 03 Sep 2022 08:15:29 GMT",
|
|
123
|
-
"tag": "@ms-cloudpack/path-utilities_v0.3.2",
|
|
124
|
-
"version": "0.3.2",
|
|
125
|
-
"comments": {
|
|
126
|
-
"patch": [
|
|
127
|
-
{
|
|
128
|
-
"author": "dzearing@microsoft.com",
|
|
129
|
-
"package": "@ms-cloudpack/path-utilities",
|
|
130
|
-
"commit": "ec909bf967a54b174cb1d50e7e55bd4b3ed02884",
|
|
131
|
-
"comment": "Updating sourceToIntermediatePath to deal with source paths that have leading periods."
|
|
132
|
-
}
|
|
133
|
-
]
|
|
134
|
-
}
|
|
135
|
-
},
|
|
136
|
-
{
|
|
137
|
-
"date": "Wed, 08 Jun 2022 20:07:00 GMT",
|
|
138
|
-
"tag": "@ms-cloudpack/path-utilities_v0.3.1",
|
|
139
|
-
"version": "0.3.1",
|
|
140
|
-
"comments": {
|
|
141
|
-
"patch": [
|
|
142
|
-
{
|
|
143
|
-
"author": "dzearing@microsoft.com",
|
|
144
|
-
"package": "@ms-cloudpack/path-utilities",
|
|
145
|
-
"commit": "0e78dd2f1cf4d366f04d52d54996418c4febcfb6",
|
|
146
|
-
"comment": "Fixed an infinite loop resolving source paths from intermediate."
|
|
147
|
-
}
|
|
148
|
-
]
|
|
149
|
-
}
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
"date": "Wed, 25 May 2022 21:40:45 GMT",
|
|
153
|
-
"tag": "@ms-cloudpack/path-utilities_v0.3.0",
|
|
154
|
-
"version": "0.3.0",
|
|
155
|
-
"comments": {
|
|
156
|
-
"minor": [
|
|
157
|
-
{
|
|
158
|
-
"author": "dzearing@microsoft.com",
|
|
159
|
-
"package": "@ms-cloudpack/path-utilities",
|
|
160
|
-
"commit": "c81fea1af8bedcd81366fbddb199dd2c0e6cbaa7",
|
|
161
|
-
"comment": "Ensuring intermediatToSourcePath returns paths that are existing files, not existing folders."
|
|
162
|
-
}
|
|
163
|
-
]
|
|
164
|
-
}
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
"date": "Fri, 20 May 2022 04:26:15 GMT",
|
|
168
|
-
"tag": "@ms-cloudpack/path-utilities_v0.2.0",
|
|
169
|
-
"version": "0.2.0",
|
|
170
|
-
"comments": {
|
|
171
|
-
"minor": [
|
|
172
|
-
{
|
|
173
|
-
"author": "dzearing@microsoft.com",
|
|
174
|
-
"package": "@ms-cloudpack/path-utilities",
|
|
175
|
-
"commit": "b39bb143fc53e622c39f9e9fd349f71c9ebadd77",
|
|
176
|
-
"comment": "Adding findPackageRoot helper."
|
|
177
|
-
}
|
|
178
|
-
]
|
|
179
|
-
}
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
"date": "Sat, 14 May 2022 04:36:11 GMT",
|
|
183
|
-
"tag": "@ms-cloudpack/path-utilities_v0.1.0",
|
|
184
|
-
"version": "0.1.0",
|
|
185
|
-
"comments": {
|
|
186
|
-
"none": [
|
|
187
|
-
{
|
|
188
|
-
"author": "dzearing@microsoft.com",
|
|
189
|
-
"package": "@ms-cloudpack/path-utilities",
|
|
190
|
-
"commit": "cc0844a7d18790d69e59b16dbd6eef8fab5bc4e0",
|
|
191
|
-
"comment": "Updating the build."
|
|
192
|
-
}
|
|
193
|
-
]
|
|
194
|
-
}
|
|
195
|
-
},
|
|
196
|
-
{
|
|
197
|
-
"date": "Thu, 03 Mar 2022 23:26:03 GMT",
|
|
198
|
-
"tag": "@ms-cloudpack/path-utilities_v0.1.0",
|
|
199
|
-
"version": "0.1.0",
|
|
200
|
-
"comments": {
|
|
201
|
-
"minor": [
|
|
202
|
-
{
|
|
203
|
-
"author": "dzearing@microsoft.com",
|
|
204
|
-
"package": "@ms-cloudpack/path-utilities",
|
|
205
|
-
"commit": "1c7acb6d46873686e56a8402d279045cf861324c",
|
|
206
|
-
"comment": "Adding isFile and isFolder methods."
|
|
207
|
-
}
|
|
208
|
-
]
|
|
209
|
-
}
|
|
210
|
-
},
|
|
211
|
-
{
|
|
212
|
-
"date": "Tue, 22 Feb 2022 23:11:02 GMT",
|
|
213
|
-
"tag": "@ms-cloudpack/path-utilities_v0.0.1",
|
|
214
|
-
"version": "0.0.1",
|
|
215
|
-
"comments": {
|
|
216
|
-
"none": [
|
|
217
|
-
{
|
|
218
|
-
"author": "czearing@outlook.com",
|
|
219
|
-
"package": "@ms-cloudpack/path-utilities",
|
|
220
|
-
"commit": "a2765ef36408426a6c5d815a98dc30aec044b971",
|
|
221
|
-
"comment": "Moving devDependencies to be below scripts in package json."
|
|
222
|
-
}
|
|
223
|
-
]
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
]
|
|
227
|
-
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
# Change Log - @ms-cloudpack/path-utilities
|
|
2
|
-
|
|
3
|
-
This log was last generated on Tue, 31 Jan 2023 08:08:54 GMT and should not be manually modified.
|
|
4
|
-
|
|
5
|
-
<!-- Start content -->
|
|
6
|
-
|
|
7
|
-
## 2.0.1
|
|
8
|
-
|
|
9
|
-
Tue, 31 Jan 2023 08:08:54 GMT
|
|
10
|
-
|
|
11
|
-
### Patches
|
|
12
|
-
|
|
13
|
-
- Don't publish test files (elcraig@microsoft.com)
|
|
14
|
-
- Bump @ms-cloudpack/path-string-parsing to v1.0.1
|
|
15
|
-
|
|
16
|
-
## 2.0.0
|
|
17
|
-
|
|
18
|
-
Sat, 03 Dec 2022 08:10:45 GMT
|
|
19
|
-
|
|
20
|
-
### Major changes
|
|
21
|
-
|
|
22
|
-
- Changed name from isFile and isFolder to specify sync and added async versions (dake.3601@gmail.com)
|
|
23
|
-
|
|
24
|
-
## 1.1.1
|
|
25
|
-
|
|
26
|
-
Tue, 15 Nov 2022 08:13:12 GMT
|
|
27
|
-
|
|
28
|
-
### Patches
|
|
29
|
-
|
|
30
|
-
- Adding cjs extensions to intermediateToSourcePath translation. (dzearing@microsoft.com)
|
|
31
|
-
|
|
32
|
-
## 1.1.0
|
|
33
|
-
|
|
34
|
-
Tue, 18 Oct 2022 08:16:24 GMT
|
|
35
|
-
|
|
36
|
-
### Minor changes
|
|
37
|
-
|
|
38
|
-
- Added a file path symbol replacement function. (dake.3601@gmail.com)
|
|
39
|
-
|
|
40
|
-
## 1.0.0
|
|
41
|
-
|
|
42
|
-
Sat, 15 Oct 2022 08:11:32 GMT
|
|
43
|
-
|
|
44
|
-
### Major changes
|
|
45
|
-
|
|
46
|
-
- Moving slash export to a different package. (dake.3601@gmail.com)
|
|
47
|
-
- Bump @ms-cloudpack/path-string-parsing to v1.0.0
|
|
48
|
-
|
|
49
|
-
## 0.5.0
|
|
50
|
-
|
|
51
|
-
Wed, 21 Sep 2022 08:15:19 GMT
|
|
52
|
-
|
|
53
|
-
### Minor changes
|
|
54
|
-
|
|
55
|
-
- Path utilities should return relative paths which always start with "./" leading periods. (dzearing@microsoft.com)
|
|
56
|
-
|
|
57
|
-
## 0.4.0
|
|
58
|
-
|
|
59
|
-
Tue, 06 Sep 2022 08:17:50 GMT
|
|
60
|
-
|
|
61
|
-
### Minor changes
|
|
62
|
-
|
|
63
|
-
- Integrating PackageDefinitions implementation. (dzearing@microsoft.com)
|
|
64
|
-
|
|
65
|
-
## 0.3.2
|
|
66
|
-
|
|
67
|
-
Sat, 03 Sep 2022 08:15:29 GMT
|
|
68
|
-
|
|
69
|
-
### Patches
|
|
70
|
-
|
|
71
|
-
- Updating sourceToIntermediatePath to deal with source paths that have leading periods. (dzearing@microsoft.com)
|
|
72
|
-
|
|
73
|
-
## 0.3.1
|
|
74
|
-
|
|
75
|
-
Wed, 08 Jun 2022 20:07:00 GMT
|
|
76
|
-
|
|
77
|
-
### Patches
|
|
78
|
-
|
|
79
|
-
- Fixed an infinite loop resolving source paths from intermediate. (dzearing@microsoft.com)
|
|
80
|
-
|
|
81
|
-
## 0.3.0
|
|
82
|
-
|
|
83
|
-
Wed, 25 May 2022 21:40:45 GMT
|
|
84
|
-
|
|
85
|
-
### Minor changes
|
|
86
|
-
|
|
87
|
-
- Ensuring intermediatToSourcePath returns paths that are existing files, not existing folders. (dzearing@microsoft.com)
|
|
88
|
-
|
|
89
|
-
## 0.2.0
|
|
90
|
-
|
|
91
|
-
Fri, 20 May 2022 04:26:15 GMT
|
|
92
|
-
|
|
93
|
-
### Minor changes
|
|
94
|
-
|
|
95
|
-
- Adding findPackageRoot helper. (dzearing@microsoft.com)
|
|
96
|
-
|
|
97
|
-
## 0.1.0
|
|
98
|
-
|
|
99
|
-
Thu, 03 Mar 2022 23:26:03 GMT
|
|
100
|
-
|
|
101
|
-
### Minor changes
|
|
102
|
-
|
|
103
|
-
- Adding isFile and isFolder methods. (dzearing@microsoft.com)
|
package/lib/testPaths.d.ts
DELETED
package/lib/testPaths.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { fileURLToPath } from 'url';
|
|
2
|
-
import path from 'path';
|
|
3
|
-
export const testScenariosPath = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '../test-scenarios');
|
|
4
|
-
export const folderPath = testScenariosPath;
|
|
5
|
-
export const filePath = path.join(testScenariosPath, 'src/js.js');
|
|
6
|
-
//# sourceMappingURL=testPaths.js.map
|
package/lib/testPaths.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"testPaths.js","sourceRoot":"","sources":["../src/testPaths.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,KAAK,CAAC;AACpC,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,MAAM,CAAC,MAAM,iBAAiB,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,mBAAmB,CAAC,CAAC;AACjH,MAAM,CAAC,MAAM,UAAU,GAAG,iBAAiB,CAAC;AAC5C,MAAM,CAAC,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,iBAAiB,EAAE,WAAW,CAAC,CAAC"}
|