Skip to content

Commit fff3f5e

Browse files
authored
Merge pull request #62 from no-js-dev/chore/ecosystem-sync-cdn-only
chore: remove npm distribution config, clarify CDN-only
2 parents 854ea19 + 0227c7b commit fff3f5e

8 files changed

Lines changed: 18 additions & 38 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ jobs:
2121
node-version: 20
2222
cache: npm
2323

24-
- run: npm install --legacy-peer-deps
24+
- run: npm install
2525
- run: npm run build
2626
- run: npm test

.npmignore

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

CHANGELOG.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,17 @@ All notable changes to **NoJS Elements** will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## [Unreleased](https://github.com/no-js-dev/nojs-elements/compare/v1.15.4...HEAD)
8+
## [Unreleased](https://github.com/no-js-dev/nojs-elements/compare/v1.15.5...HEAD)
9+
10+
## [1.15.5](https://github.com/no-js-dev/nojs-elements/compare/v1.15.4...v1.15.5) — 2026-06-24
11+
12+
### Removed
13+
14+
- Removed npm distribution config (.npmignore, --legacy-peer-deps)
15+
16+
### Changed
17+
18+
- Clarified CDN-only distribution model
919

1020
## [1.15.4](https://github.com/no-js-dev/nojs-elements/compare/v1.15.3...v1.15.4) — 2026-06-22
1121

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ For the full directive reference with all attributes, events, CSS classes, and a
127127
Contributions are welcome! Please open an issue or submit a pull request.
128128

129129
```bash
130+
# Development (source builds only — end users load via CDN)
130131
npm install # install dependencies
131132
npm run build # esbuild → dist/{iife,esm,cjs}/nojs-elements.js
132133
npm test # Jest unit tests

dist/cjs/nojs-elements.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/esm/nojs-elements.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/iife/nojs-elements.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@no-js-dev/nojs-elements",
3-
"version": "1.15.4",
3+
"version": "1.15.5",
44
"description": "Element plugins for No.JS — drag-and-drop, validation, and more",
55
"main": "dist/cjs/nojs-elements.js",
66
"module": "dist/esm/nojs-elements.js",
@@ -31,21 +31,12 @@
3131
"./validate": "./src/validate/index.js",
3232
"./virtual-list": "./src/virtual-list/index.js"
3333
},
34-
"files": [
35-
"dist/",
36-
"src/",
37-
"LICENSE"
38-
],
3934
"scripts": {
4035
"build": "node build.js",
4136
"test": "jest",
4237
"test:watch": "jest --watch",
4338
"test:verbose": "jest --verbose",
44-
"start": "node docs/dev-server.js",
45-
"prepublishOnly": "npm run build"
46-
},
47-
"peerDependencies": {
48-
"@no-js-dev/nojs": ">=1.13.0 <2.0.0"
39+
"start": "node docs/dev-server.js"
4940
},
5041
"devDependencies": {
5142
"@babel/core": "^7.29.7",

0 commit comments

Comments
 (0)