@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 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
- ## Patch Changes
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
- ## Patch Changes
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
- ## Minor Changes
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
@@ -1,30 +1,30 @@
1
- import { Ze as e } from "../../node_modules/.pnpm/glob@13.0.6/node_modules/glob/dist/esm/index.min.js";
2
- import { freshRegex as t } from "../../lib/operations.js";
3
- import { extractExtensions as n } from "../../lib/utils.js";
4
- import r from "./base.js";
5
- import { relative as i, resolve as a } from "node:path";
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: r, entries: o }) => {
7
+ var o = ({ dirname: n, entries: o }) => {
8
8
  let s = {};
9
- for (let c of o) for (let o of e.sync(c)) {
10
- let e = i("src", o).replace(t(`\\.(${n(o).join("|")})$`), "");
11
- s[e] = a(r, o);
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: e }) => ({
15
- ...r,
14
+ }, s = ({ peerDependencies: t }) => ({
15
+ ...n,
16
16
  build: {
17
- ...r.build,
17
+ ...n.build,
18
18
  sourcemap: !0,
19
19
  lib: {
20
20
  entry: "",
21
21
  formats: ["es"]
22
22
  },
23
23
  rolldownOptions: {
24
- ...r.build?.rolldownOptions,
25
- external: [...r.build?.rolldownOptions?.external ?? [], ...Object.keys(e).flatMap((e) => [e, t(`^${e}/`)])],
24
+ ...n.build?.rolldownOptions,
25
+ external: [...n.build?.rolldownOptions?.external ?? [], ...Object.keys(t).flatMap((t) => [t, e(`^${t}/`)])],
26
26
  output: {
27
- ...r.build?.rolldownOptions?.output,
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.3",
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": "pnpm check && vite 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"}
@@ -1,4 +0,0 @@
1
- //#region \0rolldown/runtime.js
2
- var e = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports);
3
- //#endregion
4
- export { e as __commonJSMin };