Skip to content

Commit f41e821

Browse files
authored
feat: remove unbundled sources (#1700)
* feat: remove unbundled sources We used to ship two of everything: - `lib` - the unbundled sources - `chai.js` - the bundle We then moved to only shipping `lib`, but this results in a slower and slightly larger package. This reverses that decision, such that we have only `index.js` (a bundle, what was `chai.js` before), and no longer have `lib`. * feat: move deps to dev dependencies
1 parent f2c2e3e commit f41e821

File tree

3 files changed

+22
-23
lines changed

3 files changed

+22
-23
lines changed

chai.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

package-lock.json

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

package.json

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@
1111
"chai"
1212
],
1313
"files": [
14-
"chai.js",
1514
"index.js",
16-
"lib",
1715
"register-*.js"
1816
],
1917
"homepage": "http://chaijs.com",
@@ -50,24 +48,22 @@
5048
"engines": {
5149
"node": ">=18"
5250
},
53-
"dependencies": {
54-
"assertion-error": "^2.0.1",
55-
"check-error": "^2.1.1",
56-
"deep-eql": "^5.0.1",
57-
"loupe": "^3.1.0",
58-
"pathval": "^2.0.0"
59-
},
6051
"devDependencies": {
6152
"@eslint/js": "^9.17.0",
6253
"@rollup/plugin-commonjs": "^25.0.7",
6354
"@web/dev-server-rollup": "^0.6.1",
6455
"@web/test-runner": "^0.18.0",
6556
"@web/test-runner-playwright": "^0.11.0",
57+
"assertion-error": "^2.0.1",
6658
"c8": "^10.1.3",
59+
"check-error": "^2.1.1",
60+
"deep-eql": "^5.0.1",
6761
"esbuild": "^0.25.9",
6862
"eslint": "^8.56.0",
6963
"eslint-plugin-jsdoc": "^48.0.4",
64+
"loupe": "^3.1.0",
7065
"mocha": "^10.2.0",
66+
"pathval": "^2.0.0",
7167
"prettier": "^3.4.2",
7268
"typescript": "~5.7.3"
7369
}

0 commit comments

Comments
 (0)