Skip to content

Commit 19d8464

Browse files
authored
Merge pull request #102 from ghiscoding/chore/export-types
fix: use correct export entry
2 parents d6e18ec + d33190f commit 19d8464

File tree

6 files changed

+3
-15
lines changed

6 files changed

+3
-15
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ Before submitting a PR (pull request), please make sure that you followed these
133133
| Package Name | NPM downloads | Size (gzip) | Changes | Description |
134134
| -------------| ------- | ----------- | ------- | ----------- |
135135
| [excel-builder-vanilla](https://github.com/ghiscoding/excel-builder-vanilla/tree/main/packages/excel-builder-vanilla) | [![NPM downloads](https://img.shields.io/npm/dm/excel-builder-vanilla)](https://npmjs.org/package/excel-builder-vanilla) | [![npm bundle size](https://img.shields.io/bundlephobia/minzip/excel-builder-vanilla?color=success&label=gzip)](https://bundlephobia.com/result?p=excel-builder-vanilla) | [changelog](https://github.com/ghiscoding/excel-builder-vanilla/blob/main/packages/excel-builder-vanilla/CHANGELOG.md) | `excel-builder-vanilla` library package |
136-
| [excel-builder-vanilla-types](https://github.com/ghiscoding/excel-builder/tree/main/packages/excel-builder-vanilla-types) | [![NPM downloads](https://img.shields.io/npm/dm/@excel-builder-vanilla/types)](https://npmjs.org/package/@excel-builder-vanilla/types) | [![npm bundle size](https://img.shields.io/bundlephobia/minzip/@excel-builder-vanilla/types?color=success&label=gzip)](https://bundlephobia.com/result?p=@excel-builder-vanilla/types) | [changelog](https://github.com/ghiscoding/excel-builder-vanilla/blob/main/packages/excel-builder-vanilla-types/CHANGELOG.md) | `excel-builder-vanilla` dts types only package.
136+
| [[excel-builder-vanilla-types](https://github.com/ghiscoding/excel-builder-vanilla/tree/main/packages/excel-builder-vanilla-types) | [![NPM downloads](https://img.shields.io/npm/dm/@excel-builder-vanilla/types)](https://npmjs.org/package/@excel-builder-vanilla/types) | [![npm bundle size](https://img.shields.io/bundlephobia/minzip/@excel-builder-vanilla/types?color=success&label=gzip)](https://bundlephobia.com/result?p=@excel-builder-vanilla/types) | [changelog](https://github.com/ghiscoding/excel-builder-vanilla/blob/main/packages/excel-builder-vanilla-types/CHANGELOG.md) | `excel-builder-vanilla` dts types only package.
137137

138138
## Sponsors
139139

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@
5959
"@types/node": "^22.14.1",
6060
"@vitest/coverage-v8": "^3.1.1",
6161
"conventional-changelog-conventionalcommits": "^8.0.0",
62-
"cross-env": "^7.0.3",
6362
"happy-dom": "^17.4.4",
6463
"pnpm": "^9.10.0",
6564
"rimraf": "^6.0.1",

packages/excel-builder-vanilla-types/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"access": "public"
2323
},
2424
"type": "module",
25+
"main": "./dist/index.js",
2526
"exports": {
2627
".": {
2728
"types": "./dist/index.d.ts",

packages/excel-builder-vanilla/copy-types.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ copyfiles([source, destination], { stat: true }, err => {
99
console.error(err);
1010
} else {
1111
// all good, next step, create JS entry file
12-
writeFileSync(`${destination}/dist/index.mjs`, `'use strict';`);
12+
writeFileSync(`${destination}/dist/index.js`, `'use strict';`);
1313
}
1414
});

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)