Skip to content

Commit

Permalink
Updated ESM build (#1655)
Browse files Browse the repository at this point in the history
* chore: updated ESM build

updated ESM build to provide proper types regardless of the ts resolution module strategy in the userland

* fix: update scripts
  • Loading branch information
notaphplover authored Nov 28, 2024
1 parent 01e82cf commit de1a232
Show file tree
Hide file tree
Showing 50 changed files with 764 additions and 2,595 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:
matrix:
node-version: [20.x, 22.x]
os: [ubuntu-latest, windows-latest]
ts-project: [src/tsconfig.json]
ts-project: [tsconfig.json]
exclude:
- node-version: 22.x
os: ubuntu-latest
ts-project: src/tsconfig.json
ts-project: tsconfig.json
env:
TS_NODE_PROJECT: ${{ matrix.ts-project }}

Expand All @@ -40,7 +40,7 @@ jobs:
name: Upload coverage report to codecov
environment: CI
env:
TS_NODE_PROJECT: src/tsconfig.json
TS_NODE_PROJECT: tsconfig.json
needs: [Testing]
runs-on: ubuntu-latest
steps:
Expand Down
17 changes: 12 additions & 5 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,32 @@
.github
.gitignore
.nyc_output
.publishrc
.travis.yml
.vscode
**/*.js.map
build
CODE_OF_CONDUCT.md
CONTRIBUTING.md
coverage
docs
eslint.config.mjs
ISSUE_TEMPLATE.md
**/*.ts
!lib/cjs/**/*.d.ts
lib/esm/**/*.d.ts.map
!lib/esm/index.d.ts
!lib/esm/index.d.ts.map
mocha.opts
prettier.config.mjs
PULL_REQUEST_TEMPLATE.md
renovate.json
rollup.config.mjs
scripts
src
temp
test
tsconfig.json
webpack.config.mjs
tsconfig.base.cjs.json
tsconfig.base.esm.json
tsconfig.base.json
tsconfig.cjs.json
tsconfig.cjs.tsbuildinfo
tsconfig.esm.json
wiki
13 changes: 0 additions & 13 deletions .publishrc

This file was deleted.

1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed

### Fixed
- Updated ESM build to provide proper types regardless of the ts resolution module strategy in the userland.

## [6.1.5-beta.0]

Expand Down
Loading

0 comments on commit de1a232

Please sign in to comment.