diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 316f95a..b155b89 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,6 +21,6 @@ jobs: node-version: 20 cache: npm - - run: npm install --legacy-peer-deps + - run: npm install - run: npm run build - run: npm test diff --git a/.npmignore b/.npmignore deleted file mode 100644 index 2d93b64..0000000 --- a/.npmignore +++ /dev/null @@ -1,22 +0,0 @@ -# Source & dev files -.gitignore -.DS_Store -.vscode/ -.idea/ -.github/ -.claude/ - -# Tests -__tests__/ -e2e/ -jest.config.cjs -coverage/ - -# Build tooling -build.js - -# Docs -docs/ - -# Dev server -test-server.js diff --git a/CHANGELOG.md b/CHANGELOG.md index 438730e..0ed2d0d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,17 @@ All notable changes to **NoJS Elements** will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [Unreleased](https://github.com/no-js-dev/nojs-elements/compare/v1.15.4...HEAD) +## [Unreleased](https://github.com/no-js-dev/nojs-elements/compare/v1.15.5...HEAD) + +## [1.15.5](https://github.com/no-js-dev/nojs-elements/compare/v1.15.4...v1.15.5) — 2026-06-24 + +### Removed + +- Removed npm distribution config (.npmignore, --legacy-peer-deps) + +### Changed + +- Clarified CDN-only distribution model ## [1.15.4](https://github.com/no-js-dev/nojs-elements/compare/v1.15.3...v1.15.4) — 2026-06-22 diff --git a/README.md b/README.md index 42b8438..e49a5f1 100644 --- a/README.md +++ b/README.md @@ -127,6 +127,7 @@ For the full directive reference with all attributes, events, CSS classes, and a Contributions are welcome! Please open an issue or submit a pull request. ```bash +# Development (source builds only — end users load via CDN) npm install # install dependencies npm run build # esbuild → dist/{iife,esm,cjs}/nojs-elements.js npm test # Jest unit tests diff --git a/dist/cjs/nojs-elements.js b/dist/cjs/nojs-elements.js index d7be132..f7b7dd3 100644 --- a/dist/cjs/nojs-elements.js +++ b/dist/cjs/nojs-elements.js @@ -1,5 +1,5 @@ /** - * NoJS Elements v1.15.4 — Element plugins for No.JS + * NoJS Elements v1.15.5 — Element plugins for No.JS * Drag-and-drop, and more. * @author exs.dev * @homepage https://elements.no-js.dev/ diff --git a/dist/esm/nojs-elements.js b/dist/esm/nojs-elements.js index 8ee3ea2..1aaf3c2 100644 --- a/dist/esm/nojs-elements.js +++ b/dist/esm/nojs-elements.js @@ -1,5 +1,5 @@ /** - * NoJS Elements v1.15.4 — Element plugins for No.JS + * NoJS Elements v1.15.5 — Element plugins for No.JS * Drag-and-drop, and more. * @author exs.dev * @homepage https://elements.no-js.dev/ diff --git a/dist/iife/nojs-elements.js b/dist/iife/nojs-elements.js index a05dc57..9529eae 100644 --- a/dist/iife/nojs-elements.js +++ b/dist/iife/nojs-elements.js @@ -1,5 +1,5 @@ /** - * NoJS Elements v1.15.4 — Element plugins for No.JS + * NoJS Elements v1.15.5 — Element plugins for No.JS * Drag-and-drop, and more. * @author exs.dev * @homepage https://elements.no-js.dev/ diff --git a/package.json b/package.json index e235202..d7f773e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@no-js-dev/nojs-elements", - "version": "1.15.4", + "version": "1.15.5", "description": "Element plugins for No.JS — drag-and-drop, validation, and more", "main": "dist/cjs/nojs-elements.js", "module": "dist/esm/nojs-elements.js", @@ -31,21 +31,12 @@ "./validate": "./src/validate/index.js", "./virtual-list": "./src/virtual-list/index.js" }, - "files": [ - "dist/", - "src/", - "LICENSE" - ], "scripts": { "build": "node build.js", "test": "jest", "test:watch": "jest --watch", "test:verbose": "jest --verbose", - "start": "node docs/dev-server.js", - "prepublishOnly": "npm run build" - }, - "peerDependencies": { - "@no-js-dev/nojs": ">=1.13.0 <2.0.0" + "start": "node docs/dev-server.js" }, "devDependencies": { "@babel/core": "^7.29.7",