@jadeja/ts 1.0.0-alpha.3 → 1.0.0-alpha.5
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 +18 -3
- package/README.md +5 -0
- package/dist/configs/vite/lib.js +15 -15
- package/package.json +4 -3
- package/dist/_virtual/__vite-browser-external.js +0 -10
- package/dist/_virtual/__vite-browser-external.js.map +0 -1
- package/dist/_virtual/_rolldown/runtime.js +0 -4
- package/dist/node_modules/.pnpm/glob@13.0.6/node_modules/glob/dist/esm/index.min.js +0 -3105
- package/dist/node_modules/.pnpm/glob@13.0.6/node_modules/glob/dist/esm/index.min.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,20 +1,35 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.0.0-alpha.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- fix: infra.
|
|
8
|
+
- fix ci/cd for additional checking
|
|
9
|
+
- fix lint-staged running on full project
|
|
10
|
+
- chore: update readme file for usage example
|
|
11
|
+
|
|
12
|
+
## 1.0.0-alpha.4
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- fix: moved `glob` from dependencies to peerDependencies
|
|
17
|
+
|
|
3
18
|
## 1.0.0-alpha.3
|
|
4
19
|
|
|
5
|
-
|
|
20
|
+
### Patch Changes
|
|
6
21
|
|
|
7
22
|
- fix: `_virtual` is missing from `dist` folder
|
|
8
23
|
|
|
9
24
|
## 1.0.0-alpha.2
|
|
10
25
|
|
|
11
|
-
|
|
26
|
+
### Patch Changes
|
|
12
27
|
|
|
13
28
|
- chore: bump version and add changelog entry
|
|
14
29
|
|
|
15
30
|
## 1.0.0-alpha.1
|
|
16
31
|
|
|
17
|
-
|
|
32
|
+
### Minor Changes
|
|
18
33
|
|
|
19
34
|
- refactor: package architecture
|
|
20
35
|
- remove all `index.ts` files
|
package/README.md
CHANGED
|
@@ -10,6 +10,11 @@ _an opinionated TypeScript toolkit_
|
|
|
10
10
|
|
|
11
11
|
Documentation will be added in future releases.
|
|
12
12
|
|
|
13
|
+
### See In Action
|
|
14
|
+
|
|
15
|
+
- [`@jadeja/docs`](https://github.com/JadejaHQ/docs)
|
|
16
|
+
- [`shilpcss`](https://github.com/JadejaHQ/shilpcss)
|
|
17
|
+
|
|
13
18
|
<br />
|
|
14
19
|
|
|
15
20
|
## Community
|
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.5",
|
|
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"
|
|
@@ -101,7 +101,8 @@
|
|
|
101
101
|
"scripts": {
|
|
102
102
|
"check": "tsc && oxfmt --check --disable-nested-config && oxlint --disable-nested-config",
|
|
103
103
|
"fix": "oxlint --fix --disable-nested-config && oxfmt --disable-nested-config",
|
|
104
|
-
"build": "
|
|
104
|
+
"build:nc": "vite build",
|
|
105
|
+
"build": "pnpm check && pnpm build:nc",
|
|
105
106
|
"publish-it": "pnpm build && pnpm publish --tag alpha --access public --no-git-checks"
|
|
106
107
|
}
|
|
107
108
|
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { __commonJSMin as e } from "./_rolldown/runtime.js";
|
|
2
|
-
//#region __vite-browser-external
|
|
3
|
-
var t = /* @__PURE__ */ e(((e, t) => {
|
|
4
|
-
t.exports = {};
|
|
5
|
-
}));
|
|
6
|
-
//#endregion
|
|
7
|
-
export default t();
|
|
8
|
-
export { t as require___vite_browser_external };
|
|
9
|
-
|
|
10
|
-
//# sourceMappingURL=__vite-browser-external.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"__vite-browser-external.js","names":[],"sources":["../../__vite-browser-external"],"sourcesContent":["module.exports = {}"],"mappings":";;;CAAA,EAAO,UAAU,CAAC"}
|