diff --git a/CHANGELOG.md b/CHANGELOG.md index 3a126d8..438730e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,19 @@ 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.3...HEAD) +## [Unreleased](https://github.com/no-js-dev/nojs-elements/compare/v1.15.4...HEAD) + +## [1.15.4](https://github.com/no-js-dev/nojs-elements/compare/v1.15.3...v1.15.4) — 2026-06-22 + +### Fixed + +- fix(docs): remove npm/ESM sections from README and docs — NoJS Elements is CDN-only +- fix(docs): remove npmjs.com link from llms.txt +- fix(docs): remove npm/ESM/CJS migration sections from migration-from-core.md +- fix(docs): expand Contributing section with build/test commands +- fix(docs): standardize CDN URL to cdn-elements.no-js.dev/ +- fix(docs): remove surviving ESM instructions from llms-full.txt +- fix(docs): fix dead link to Skill repo element references ## [1.15.3](https://github.com/no-js-dev/nojs-elements/compare/v1.15.2...v1.15.3) — 2026-06-20 diff --git a/README.md b/README.md index aab71b9..42b8438 100644 --- a/README.md +++ b/README.md @@ -10,41 +10,16 @@ ## Installation -### NPM - -```bash -npm install @no-js-dev/nojs-elements -``` - -### CDN - -```html - -``` - ---- - -## Usage - -### ESM - -```javascript -import NoJS from '@no-js-dev/nojs'; -import NoJSElements from '@no-js-dev/nojs-elements'; - -NoJS.use(NoJSElements); -``` - -### CDN (Script Tag) - -When loaded via ` - + ``` +NoJS Elements auto-installs itself when loaded via ` -``` - -## Usage - -### ESM - -```javascript -import NoJS from '@no-js-dev/nojs'; -import NoJSElements from '@no-js-dev/nojs-elements'; - -NoJS.use(NoJSElements); -``` - -### CDN (Script Tag) - -When loaded via ` - + ``` +NoJS Elements auto-installs itself when loaded via ` - +
@@ -76,53 +76,6 @@ The CDN build of NoJS Elements auto-installs when it detects `window.NoJS`. No J --- -## npm / ESM Users - -### Before (Core only) - -```javascript -import NoJS from '@no-js-dev/nojs'; - -NoJS.config({ /* ... */ }); -NoJS.init(); -``` - -### After (Core + Elements) - -```bash -npm install @no-js-dev/nojs-elements -``` - -```javascript -import NoJS from '@no-js-dev/nojs'; -import NoJSElements from '@no-js-dev/nojs-elements'; - -NoJS.config({ /* ... */ }); -NoJS.use(NoJSElements); -NoJS.init(); -``` - -**Order matters:** `NoJS.use(NoJSElements)` must be called before `NoJS.init()`. - ---- - -## CJS / require() Users - -```bash -npm install @no-js-dev/nojs-elements -``` - -```javascript -const NoJS = require('@no-js-dev/nojs'); -const NoJSElements = require('@no-js-dev/nojs-elements'); - -NoJS.config({ /* ... */ }); -NoJS.use(NoJSElements); -NoJS.init(); -``` - ---- - ## HTML Templates — No Changes Required Your HTML templates are 100% backward compatible. Every directive attribute, implicit variable, CSS class, and event works exactly as before: diff --git a/package.json b/package.json index ffdf3ba..e235202 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@no-js-dev/nojs-elements", - "version": "1.15.3", + "version": "1.15.4", "description": "Element plugins for No.JS — drag-and-drop, validation, and more", "main": "dist/cjs/nojs-elements.js", "module": "dist/esm/nojs-elements.js",