Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.0.19] - 2025-11-11

### Changed

- Updated electron dependency from 35.1.0 to 35.7.5 to fix security vulnerability (GHSA-vmqv-hx8q-j7mg)
- Updated brace-expansion dependency to fix Regular Expression Denial of Service vulnerability
- Fixed trailing commas in tsconfig.json for better JSON compliance
- Enhanced package.json with improved keywords for better npm discoverability
- Added `prebuild` script to automatically generate TypeScript declarations before building
- Added `prepublishOnly` script to ensure tests pass and build succeeds before publishing
- Added Node.js and npm engine requirements (Node >=18.0.0, npm >=9.0.0) for compatibility clarity

### Documentation

- Updated README.md with comprehensive development workflow documentation
- Added documentation for all npm scripts including coverage and publishing workflows

## [1.0.18] - 2025-11-11

### Added

- **DOMTable class** for creating HTML table structures
Expand Down
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,16 +91,22 @@ See `examples/dom_elements_plugin.ts` for comprehensive examples of using the ne
### Building

```bash
npm run build # Build webpack bundle
npm run build:types # Generate TypeScript declarations
npm run build # Build webpack bundle (automatically runs build:types first)
npm run build:types # Generate TypeScript declarations only
```

### Testing

```bash
npm test # Run Jest tests
npm test # Run Jest tests
npm run test:coverage # Run tests with coverage report
npm run coverage:open # Open coverage report in browser
```

### Publishing

The package includes a `prepublishOnly` script that automatically runs tests and builds before publishing to ensure quality.

## Documentation

- Full API documentation is available in the TypeScript declaration files
Expand Down
24 changes: 12 additions & 12 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 15 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,28 @@
"type": "git",
"url": "https://github.com/anikitenko/fdo-sdk.git"
},
"version": "1.0.18",
"version": "1.0.19",
"description": "SDK for FlexDevOPs (FDO) application modules",
"keywords": [
"fdo",
"flex",
"devops",
"flexdevops",
"sdk",
"fdo-sdk"
"fdo-sdk",
"plugin",
"plugin-framework",
"electron",
"desktop-app",
"dom-builder",
"typescript"
],
"author": "anikitenko",
"license": "ISC",
"engines": {
"node": ">=18.0.0",
"npm": ">=9.0.0"
},
"homepage": "https://plugins.fdo.alexvwan.me",
"bugs": {
"url": "https://github.com/anikitenko/fdo-sdk/issues"
Expand All @@ -30,9 +40,11 @@
"scripts": {
"build": "webpack --config webpack.config.cjs",
"build:types": "tsc --emitDeclarationOnly",
"prebuild": "npm run build:types",
"test": "jest",
"test:coverage": "jest --coverage",
"coverage:open": "npx opn coverage/lcov-report/index.html || true"
"coverage:open": "npx opn coverage/lcov-report/index.html || true",
"prepublishOnly": "npm test && npm run build"
},
"devDependencies": {
"@babel/core": "^7.26.10",
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"outDir": "dist/@types",
"sourceMap": true,
"declaration": true,
"declarationMap": false,
"declarationMap": false
},
"include": [
"src/**/*"
],
]
}