@flex-development/mlly 1.0.0-alpha.4 → 1.0.0-alpha.6
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.md +33 -0
- package/dist/lib/to-relative-specifier.mjs +4 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,36 @@
|
|
|
1
|
+
## [1.0.0-alpha.6](https://github.com/flex-development/mlly/compare/1.0.0-alpha.5...1.0.0-alpha.6) (2022-12-26)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### :package: Build
|
|
5
|
+
|
|
6
|
+
* **deps-dev:** bump vue-tsc from 1.0.17 to 1.0.18 ([68255dc](https://github.com/flex-development/mlly/commit/68255dc3ad4be30eae7ea61598d4494d1913717b))
|
|
7
|
+
* **deps:** bump import-meta-resolve from 2.1.0 to 2.2.0 ([8ce9cfc](https://github.com/flex-development/mlly/commit/8ce9cfc6a49b3b69c4b129b42b171d60ce3d2b91))
|
|
8
|
+
* **deps:** bump tsconfig-paths from 4.1.0 to 4.1.1 ([6cb2847](https://github.com/flex-development/mlly/commit/6cb2847c229d0d0ba0715a725da4689752a5a899))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### :bug: Fixes
|
|
12
|
+
|
|
13
|
+
* **specifiers:** `toRelativeSpecifier` logic ([#27](https://github.com/flex-development/mlly/issues/27)) ([a34d974](https://github.com/flex-development/mlly/commit/a34d97448135da0e0f46654b720ba60fc84abcea))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### :house_with_garden: Housekeeping
|
|
17
|
+
|
|
18
|
+
* **github:** add "package manager" dropdown to bug report template ([2942a31](https://github.com/flex-development/mlly/commit/2942a312411de0a2b4113e163214ca8ef064c87b))
|
|
19
|
+
* **github:** add label `scope:analyze` ([241ac69](https://github.com/flex-development/mlly/commit/241ac6992361ee57631779f48cc87525d4e3f220))
|
|
20
|
+
* **github:** add label `scope:lib` ([25b2d67](https://github.com/flex-development/mlly/commit/25b2d679f9d400afdef52bd159afd477daf60077))
|
|
21
|
+
* **github:** add label `scope:resolve` ([36159e6](https://github.com/flex-development/mlly/commit/36159e688680db513417a9d9f7ce0cf72a45695c))
|
|
22
|
+
* **github:** add label `scope:specifiers` ([5ca8266](https://github.com/flex-development/mlly/commit/5ca8266c8c3a7f5448eadad734530837bdeae434))
|
|
23
|
+
* **github:** add label `scope:syntax` ([54b2585](https://github.com/flex-development/mlly/commit/54b25854b8da7875087d42f79164ec73794c054f))
|
|
24
|
+
* **github:** add label `status:triaged` ([35523e0](https://github.com/flex-development/mlly/commit/35523e06028b34b8c82f9b5ba2553fd0bd28b7e7))
|
|
25
|
+
|
|
26
|
+
## [1.0.0-alpha.5](https://github.com/flex-development/mlly/compare/1.0.0-alpha.4...1.0.0-alpha.5) (2022-12-26)
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
### :robot: Continuous Integration
|
|
30
|
+
|
|
31
|
+
* **workflows:** [`publish`] remove stale `.npmrc` file from checkout ([da570a6](https://github.com/flex-development/mlly/commit/da570a6ce355c267ab09fd94c41c99eaef892f2e))
|
|
32
|
+
* **workflows:** use environment files ([03f8097](https://github.com/flex-development/mlly/commit/03f8097c0213f46fc110c61265345d21b09dee76))
|
|
33
|
+
|
|
1
34
|
## [1.0.0-alpha.4](https://github.com/flex-development/mlly/compare/1.0.0-alpha.3...1.0.0-alpha.4) (2022-12-26)
|
|
2
35
|
|
|
3
36
|
|
|
@@ -9,7 +9,10 @@ const toRelativeSpecifier = (specifier, parent) => {
|
|
|
9
9
|
parent = fileURLToPath(parent);
|
|
10
10
|
if (specifier.startsWith("file:"))
|
|
11
11
|
specifier = fileURLToPath(specifier);
|
|
12
|
-
|
|
12
|
+
specifier = pathe.relative(pathe.resolve(parent), pathe.resolve(specifier)).replace(/^\.\.\/?/, "").replace(/^(\w)/, "./$1");
|
|
13
|
+
if (!specifier)
|
|
14
|
+
specifier = ".";
|
|
15
|
+
return specifier;
|
|
13
16
|
};
|
|
14
17
|
var to_relative_specifier_default = toRelativeSpecifier;
|
|
15
18
|
export {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flex-development/mlly",
|
|
3
3
|
"description": "ECMAScript module utilities",
|
|
4
|
-
"version": "1.0.0-alpha.
|
|
4
|
+
"version": "1.0.0-alpha.6",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ecmascript-modules",
|
|
7
7
|
"esm",
|
|
@@ -88,10 +88,10 @@
|
|
|
88
88
|
"@flex-development/pathe": "1.0.1",
|
|
89
89
|
"@flex-development/tsconfig-types": "2.0.1",
|
|
90
90
|
"@flex-development/tutils": "6.0.0-alpha.7",
|
|
91
|
-
"import-meta-resolve": "2.
|
|
91
|
+
"import-meta-resolve": "2.2.0",
|
|
92
92
|
"node-package-exports": "1.0.2",
|
|
93
93
|
"read-pkg-up": "9.1.0",
|
|
94
|
-
"tsconfig-paths": "4.1.
|
|
94
|
+
"tsconfig-paths": "4.1.1"
|
|
95
95
|
},
|
|
96
96
|
"devDependencies": {
|
|
97
97
|
"@commitlint/cli": "17.3.0",
|
|
@@ -182,7 +182,7 @@
|
|
|
182
182
|
"vitest-github-actions-reporter": "0.9.0",
|
|
183
183
|
"vue": "3.2.45",
|
|
184
184
|
"vue-eslint-parser": "9.1.0",
|
|
185
|
-
"vue-tsc": "1.0.
|
|
185
|
+
"vue-tsc": "1.0.18",
|
|
186
186
|
"yaml-eslint-parser": "1.1.0"
|
|
187
187
|
},
|
|
188
188
|
"resolutions": {
|