Skip to content

Commit 101b238

Browse files
authoredSep 17, 2023
Use package.json to track and bundle external JS dependencies
1 parent b8c017f commit 101b238

File tree

5 files changed

+1904
-0
lines changed

5 files changed

+1904
-0
lines changed
 

‎.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -130,3 +130,6 @@ Thumbs.db
130130
# Docker
131131
.docker/
132132
.vercel
133+
134+
# NPM
135+
node_modules/

‎CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## [Unreleased]
8+
### Added
9+
- Use `package.json` to track and bundle external JS dependencies
10+
11+
### Changed
12+
- Update dependencies
813

914
## [0.6.2] - 2023-08-23
1015
### Fixed

‎README.md

+8
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,14 @@ mypy datasette_dashboards tests
309309
pytest -v --cov=datasette_dashboards --cov=tests --cov-branch --cov-report=term-missing tests
310310
```
311311

312+
## Updating JS dependencies
313+
314+
External JS dependencies are tracked and bundled using NPM and `package.json`:
315+
316+
```bash
317+
npm install
318+
```
319+
312320
## Demo
313321

314322
With the developmnent environment setup, you can run the demo locally:

0 commit comments

Comments
 (0)
Please sign in to comment.