@jadeja/ts 1.0.0-alpha.2 → 1.0.0-alpha.4
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
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.0.0-alpha.4
|
|
4
|
+
|
|
5
|
+
## Patch Changes
|
|
6
|
+
|
|
7
|
+
- fix: moved `glob` from dependencies to peerDependencies
|
|
8
|
+
|
|
9
|
+
## 1.0.0-alpha.3
|
|
10
|
+
|
|
11
|
+
## Patch Changes
|
|
12
|
+
|
|
13
|
+
- fix: `_virtual` is missing from `dist` folder
|
|
14
|
+
|
|
3
15
|
## 1.0.0-alpha.2
|
|
4
16
|
|
|
5
17
|
## Patch Changes
|
package/dist/configs/vite/lib.js
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import r from "
|
|
5
|
-
import {
|
|
1
|
+
import { freshRegex as e } from "../../lib/operations.js";
|
|
2
|
+
import { extractExtensions as t } from "../../lib/utils.js";
|
|
3
|
+
import n from "./base.js";
|
|
4
|
+
import { relative as r, resolve as i } from "node:path";
|
|
5
|
+
import { glob as a } from "glob";
|
|
6
6
|
//#region src/configs/vite/lib.ts
|
|
7
|
-
var o = ({ dirname:
|
|
7
|
+
var o = ({ dirname: n, entries: o }) => {
|
|
8
8
|
let s = {};
|
|
9
|
-
for (let c of o) for (let o of
|
|
10
|
-
let
|
|
11
|
-
s[
|
|
9
|
+
for (let c of o) for (let o of a.sync(c)) {
|
|
10
|
+
let a = r("src", o).replace(e(`\\.(${t(o).join("|")})$`), "");
|
|
11
|
+
s[a] = i(n, o);
|
|
12
12
|
}
|
|
13
13
|
return s;
|
|
14
|
-
}, s = ({ peerDependencies:
|
|
15
|
-
...
|
|
14
|
+
}, s = ({ peerDependencies: t }) => ({
|
|
15
|
+
...n,
|
|
16
16
|
build: {
|
|
17
|
-
...
|
|
17
|
+
...n.build,
|
|
18
18
|
sourcemap: !0,
|
|
19
19
|
lib: {
|
|
20
20
|
entry: "",
|
|
21
21
|
formats: ["es"]
|
|
22
22
|
},
|
|
23
23
|
rolldownOptions: {
|
|
24
|
-
...
|
|
25
|
-
external: [...
|
|
24
|
+
...n.build?.rolldownOptions,
|
|
25
|
+
external: [...n.build?.rolldownOptions?.external ?? [], ...Object.keys(t).flatMap((t) => [t, e(`^${t}/`)])],
|
|
26
26
|
output: {
|
|
27
|
-
...
|
|
27
|
+
...n.build?.rolldownOptions?.output,
|
|
28
28
|
preserveModules: !0,
|
|
29
29
|
preserveModulesRoot: "src",
|
|
30
30
|
entryFileNames: "[name].js"
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jadeja/ts",
|
|
3
3
|
"description": "an opinionated TypeScript toolkit",
|
|
4
|
-
"version": "1.0.0-alpha.
|
|
4
|
+
"version": "1.0.0-alpha.4",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
7
7
|
"./configs/ts/*": {
|
|
@@ -31,7 +31,6 @@
|
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@types/node": "^24.6.2",
|
|
34
|
-
"glob": "^13.0.6",
|
|
35
34
|
"husky": "^9.1.7",
|
|
36
35
|
"lint-staged": "^17.0.7",
|
|
37
36
|
"oxfmt": "^0.48.0",
|
|
@@ -42,6 +41,7 @@
|
|
|
42
41
|
"vite": "^8.0.16"
|
|
43
42
|
},
|
|
44
43
|
"peerDependencies": {
|
|
44
|
+
"glob": "^13.0.6",
|
|
45
45
|
"oxfmt": "^0.48.0",
|
|
46
46
|
"oxlint": "^1.65.0",
|
|
47
47
|
"oxlint-tsgolint": "^0.22.1"
|