@knighted/duel 2.0.0-rc.2 → 2.0.0

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.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -24,7 +24,7 @@ Tool for building a Node.js [dual package](https://nodejs.org/api/packages.html#
24
24
  First, install this package to create the `duel` executable inside your `node_modules/.bin` directory.
25
25
 
26
26
  ```console
27
- user@comp ~ $ npm i @knighted/duel --save-dev
27
+ npm i @knighted/duel --save-dev
28
28
  ```
29
29
 
30
30
  Then, given a `package.json` that defines `"type": "module"` and a `tsconfig.json` file that looks something like the following:
@@ -51,7 +51,7 @@ You can create an ES module build for the project defined by the above configura
51
51
  And then running it:
52
52
 
53
53
  ```console
54
- user@comp ~ $ npm run build
54
+ npm run build
55
55
  ```
56
56
 
57
57
  If everything worked, you should have an ESM build inside of `dist` and a CJS build inside of `dist/cjs`. Now you can update your [`exports`](https://nodejs.org/api/packages.html#exports) to match the build output.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knighted/duel",
3
- "version": "2.0.0-rc.2",
3
+ "version": "2.0.0",
4
4
  "description": "TypeScript dual packages.",
5
5
  "type": "module",
6
6
  "main": "dist/esm/duel.js",
@@ -58,14 +58,14 @@
58
58
  "devDependencies": {
59
59
  "@eslint/js": "^9.6.0",
60
60
  "@types/node": "^22.7.4",
61
- "c8": "^10.1.2",
62
- "eslint": "^9.5.0",
63
- "eslint-plugin-n": "^17.9.0",
61
+ "c8": "^10.1.3",
62
+ "eslint": "^9.16.0",
63
+ "eslint-plugin-n": "^17.15.0",
64
64
  "globals": "^15.6.0",
65
- "prettier": "^3.2.4",
65
+ "prettier": "^3.4.2",
66
66
  "tsx": "^4.19.1",
67
- "typescript": "^5.6.2",
68
- "vite": "^5.4.8"
67
+ "typescript": "^5.7.2",
68
+ "vite": "^6.0.3"
69
69
  },
70
70
  "dependencies": {
71
71
  "@knighted/module": "^1.0.0-alpha.4",