Skip to content

Commit c7ad9c6

Browse files
committed
Fix regressions from 1.2.0 release commit
Panel review of the prior release commit (dec726a) caught three self-inflicted issues: - Remove package.json `exports` field: it silently blocked previously-working subpaths (fpes/package.json, fpes/dist/*, fpes/_helpers/*) with ERR_PACKAGE_PATH_NOT_EXPORTED -- a breaking change under a minor bump. Node default resolution (main: index.js) already covers all subpaths. Verified: all 6 require() specifiers resolve again. - Delete coverage+codecov steps from ci.yml: unpinned `npx nyc` at CI runtime, nyc undeclared in devDeps, redundant double test run, and codecov upload needs an unconfigured token/data-egress. Kept the pure 3x3 test matrix. - Delete .travis.yml: superseded by ci.yml (Travis service defunct); completes the CI migration instead of tracking two CI systems. Docs: replace dead Travis badge + unconfigured codecov badge with a GitHub Actions CI status badge. Reconcile CHANGELOG with final state (drop exports claim, reframe Travis-matrix line as GHA migration). Verified: 491 tests passing, ci.yml valid YAML (1 job, 9 matrix cells).
1 parent dec726a commit c7ad9c6

5 files changed

Lines changed: 3 additions & 62 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,3 @@ jobs:
2828
- run: npm ci
2929

3030
- run: npm test
31-
32-
- name: Coverage
33-
run: npx nyc --reporter=lcov npm test
34-
if: matrix.os == 'ubuntu-latest' && matrix.node-version == 'node'
35-
36-
- name: Upload coverage to Codecov
37-
uses: codecov/codecov-action@v4
38-
if: matrix.os == 'ubuntu-latest' && matrix.node-version == 'node'
39-
with:
40-
files: ./coverage/lcov.info

.travis.yml

Lines changed: 0 additions & 38 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,13 @@
1010
- Fixed `dev` script: `webpack -d --watch``webpack --mode development --watch`
1111
- Fixed `clean` script: removed no-op `sed` pipe, use `find dist -name '*.js*' -delete`
1212
- Added test gate to `release` script: `npm test && npm publish && git push --follow-tags`
13-
- Added `exports` field to `package.json` for formal subpath imports
14-
- Updated Travis CI Node matrix to `22.18`, `24.11`, `node` (Babel 8 dev floor)
13+
- Migrated CI from Travis to GitHub Actions: added `.github/workflows/ci.yml` test matrix (Node `22.18`/`24.11`/`node` × Ubuntu/Windows/macOS); removed `.travis.yml`
1514
- Added GitHub Actions CodeQL workflow
1615
- Added Dependabot config for npm and github-actions ecosystems
1716

1817
### Package Hygiene
1918
- Added `files` allowlist to prevent test/config/.omx leakage in npm tarball
2019
- Cleaned `.gitignore`: replaced contradictory `dist/*.js*` negation with clean `dist/`
21-
- Fixed `.travis.yml` typo: `scripts:``script:`
2220
- Corrected runtime `engines.node` to `>=8.3.0` (separate from dev/build floor)
2321

2422
### Bug Fixes
@@ -40,7 +38,7 @@
4038
- Fixed all README import specifiers: `fpEs``fpes` (package name is lowercase; `fpEs` failed on case-sensitive filesystems)
4139
- Corrected README Node requirement: `>= 6.0``>= 8.3.0`
4240
- Pinned unpkg links to `@1.2.0`
43-
- Removed dead Travis CI badge
41+
- Replaced dead Travis badge and unconfigured codecov badge with a GitHub Actions CI status badge
4442
- Added browser-global vs npm-package naming note
4543
- Added Development section with dev/build Node floor
4644
- Added Release Checklist section

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22

33
[![npm download](https://img.shields.io/npm/dt/fpes.svg)](https://www.npmjs.com/package/fpes)
44
[![npm version](https://img.shields.io/npm/v/fpes.svg)](https://www.npmjs.com/package/fpes)
5-
[![codecov](https://codecov.io/gh/TeaEntityLab/fpEs/branch/master/graph/badge.svg)](https://codecov.io/gh/TeaEntityLab/fpEs)
6-
<!-- CI: Travis inactive; test workflow pending migration to GitHub Actions -->
5+
[![CI](https://github.com/TeaEntityLab/fpEs/actions/workflows/ci.yml/badge.svg)](https://github.com/TeaEntityLab/fpEs/actions/workflows/ci.yml)
76

87
[![license](https://img.shields.io/github/license/TeaEntityLab/fpEs.svg?style=social&label=License)](https://github.com/TeaEntityLab/fpEs)
98
[![stars](https://img.shields.io/github/stars/TeaEntityLab/fpEs.svg?style=social&label=Stars)](https://github.com/TeaEntityLab/fpEs)

package.json

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,6 @@
33
"version": "1.2.0",
44
"description": "Functional Programming for EcmaScript(Javascript)",
55
"main": "index.js",
6-
"exports": {
7-
".": "./index.js",
8-
"./fp": "./fp.js",
9-
"./maybe": "./maybe.js",
10-
"./monadio": "./monadio.js",
11-
"./pattern": "./pattern.js",
12-
"./publisher": "./publisher.js"
13-
},
146
"files": [
157
"index.js",
168
"fp.js",

0 commit comments

Comments
 (0)