Skip to content

Commit cfd5e79

Browse files
ExelooMartinFillon
authored andcommitted
chore(config): update release configuration and remove unused dependencies
1 parent fddf929 commit cfd5e79

File tree

4 files changed

+107
-38
lines changed

4 files changed

+107
-38
lines changed

packages/config/cliff.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ body = """
4141
{% if github.contributors | filter(attribute="is_first_time", value=true) | length %}\
4242
\n### New Contributors\n
4343
{% for contributor in github.contributors | filter(attribute="is_first_time", value=true) %}\
44-
* @{{ contributor.username }} made their first contribution in #{{ contributor.pr_number }}
44+
- @{{ contributor.username }} made their first contribution in #{{ contributor.pr_number }}
4545
{% endfor %}\
4646
{% endif %}\n
4747
"""
@@ -75,5 +75,5 @@ topo_order = false
7575
sort_commits = "newest"
7676

7777
[remote.github]
78-
owner = "nanoforge-dev"
78+
owner = "NanoForge-dev"
7979
repo = "Engine"

packages/config/package.json

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,23 @@
2020
"files": [
2121
"dist"
2222
],
23-
"main": "./dist/index.js",
24-
"module": "./dist/index.mjs",
25-
"types": "./dist/index.d.ts",
23+
"main": "./dist/index.cjs",
24+
"module": "./dist/index.js",
25+
"types": "./dist/index.d.cts",
2626
"exports": {
2727
".": {
2828
"require": {
29-
"types": "./dist/index.d.ts",
30-
"default": "./dist/index.js"
29+
"types": "./dist/index.d.cts",
30+
"default": "./dist/index.cjs"
3131
},
3232
"import": {
33-
"types": "./dist/index.d.mts",
34-
"default": "./dist/index.mjs"
33+
"types": "./dist/index.d.ts",
34+
"default": "./dist/index.js"
3535
}
36-
}
36+
},
37+
"./package.json": "./package.json"
3738
},
39+
"type": "module",
3840
"directories": {
3941
"lib": "src"
4042
},
@@ -47,7 +49,7 @@
4749
"scripts": {
4850
"build": "tsc --noEmit && tsup",
4951
"lint": "prettier --check . && eslint --format=pretty src",
50-
"fix": "prettier --write . && eslint --fix --format=pretty src",
52+
"format": "prettier --write . && eslint --fix --format=pretty src",
5153
"prepack": "pnpm run build && pnpm run lint",
5254
"changelog": "git cliff --prepend ./CHANGELOG.md -u -c ./cliff.toml -r ../../ --include-path 'packages/config/*'",
5355
"release": "cliff-jumper"
@@ -60,8 +62,8 @@
6062
"@favware/cliff-jumper": "^6.0.0",
6163
"@nanoforge-dev/utils-eslint-config": "workspace:^",
6264
"@nanoforge-dev/utils-prettier-config": "workspace:^",
63-
"esbuild-plugin-version-injector": "^1.2.1",
6465
"eslint": "^9.39.1",
66+
"eslint-formatter-pretty": "^7.0.0",
6567
"prettier": "^3.6.2",
6668
"taze": "^19.9.0",
6769
"tsup": "^8.5.1",
@@ -72,7 +74,14 @@
7274
"node": "24.11.0"
7375
},
7476
"publishConfig": {
75-
"access": "public",
76-
"provenance": true
77+
"access": "public"
78+
},
79+
"lint-staged": {
80+
"**/*.ts": [
81+
"prettier --write"
82+
],
83+
"src/**/*.ts": [
84+
"eslint --fix"
85+
]
7786
}
7887
}

packages/config/tsup.config.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
import { esbuildPluginVersionInjector } from "esbuild-plugin-version-injector";
2-
31
import { createTsupConfig } from "../../tsup.config.js";
42

5-
export default [
6-
createTsupConfig({
7-
esbuildPlugins: [esbuildPluginVersionInjector()],
8-
}),
9-
];
3+
export default [createTsupConfig()];

pnpm-lock.yaml

Lines changed: 83 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)