chartjs-plugin-trendline 3.2.0 → 3.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/copilot-instructions.md +40 -40
- package/.github/workflows/release.yml +64 -61
- package/.github/workflows/tests.yml +26 -26
- package/.prettierrc +5 -5
- package/CLAUDE.md +44 -44
- package/GEMINI.md +40 -40
- package/LICENSE +21 -21
- package/MIGRATION.md +126 -126
- package/README.md +166 -166
- package/babel.config.js +3 -3
- package/changelog.md +39 -39
- package/dist/chartjs-plugin-trendline.cjs +884 -885
- package/dist/chartjs-plugin-trendline.esm.js +882 -883
- package/dist/chartjs-plugin-trendline.js +890 -891
- package/dist/chartjs-plugin-trendline.min.js +8 -8
- package/dist/chartjs-plugin-trendline.min.js.map +1 -1
- package/example/barChart.html +165 -165
- package/example/barChartWithNullValues.html +168 -168
- package/example/barChart_label.html +174 -174
- package/example/exponentialChart.html +244 -244
- package/example/lineChart.html +210 -210
- package/example/lineChartProjection.html +261 -261
- package/example/lineChartTypeTime.html +190 -190
- package/example/scatterChart.html +136 -136
- package/example/scatterProjection.html +141 -141
- package/example/test-null-handling.html +59 -59
- package/index.html +215 -215
- package/jest.config.js +4 -4
- package/package.json +45 -40
- package/rollup.config.js +54 -54
- package/src/components/label.js +56 -56
- package/src/components/label.test.js +129 -129
- package/src/components/trendline.js +375 -375
- package/src/components/trendline.test.js +789 -789
- package/src/core/plugin.js +78 -79
- package/src/core/plugin.test.js +307 -0
- package/src/index.js +12 -12
- package/src/utils/drawing.js +125 -125
- package/src/utils/drawing.test.js +308 -308
- package/src/utils/exponentialFitter.js +146 -146
- package/src/utils/exponentialFitter.test.js +362 -362
- package/src/utils/lineFitter.js +86 -86
- package/src/utils/lineFitter.test.js +340 -340
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
# Chart.js Plugin Trendline — Agent Instructions
|
|
2
|
-
|
|
3
|
-
This plugin adds trendline support to Chart.js charts. It fits a linear regression model to datasets and draws trendlines over bar or line charts.
|
|
4
|
-
|
|
5
|
-
## Project Structure
|
|
6
|
-
|
|
7
|
-
- Root:
|
|
8
|
-
- `package.json`, `webpack.config.js`, `example/*.html`
|
|
9
|
-
- Source (`src/`):
|
|
10
|
-
- `index.js` — Entry point
|
|
11
|
-
- `components/` — Rendering logic (`label.js`, `trendline.js`)
|
|
12
|
-
- `core/` — Plugin definition (`plugin.js`)
|
|
13
|
-
- `utils/` — Math and drawing helpers (`drawing.js`, `lineFitter.js`)
|
|
14
|
-
|
|
15
|
-
## Coding Guidelines
|
|
16
|
-
|
|
17
|
-
1. Use modern JavaScript (ES6+)
|
|
18
|
-
2. Indent with 2 spaces
|
|
19
|
-
3. Use JSDoc for public methods (Google style)
|
|
20
|
-
4. Ensure compatibility with Chart.js v4+
|
|
21
|
-
5. Name files/functions descriptively (no abbreviations)
|
|
22
|
-
|
|
23
|
-
## File Notes
|
|
24
|
-
|
|
25
|
-
- `plugin.js`: Main plugin lifecycle integration
|
|
26
|
-
- `trendline.js`: Handles drawing trendlines
|
|
27
|
-
- `lineFitter.js`: Performs regression math
|
|
28
|
-
- `example/*.html`: Demo charts — manually verify after changes
|
|
29
|
-
|
|
30
|
-
## Workflow Tips
|
|
31
|
-
|
|
32
|
-
1. Changes to `plugin.js` should align with Chart.js plugin lifecycle (e.g., `afterDatasetsDraw`)
|
|
33
|
-
2. If editing `trendline.js`, test with multiple chart types
|
|
34
|
-
3. Validate rendering via example HTMLs after code updates
|
|
35
|
-
4. Run linter and formatter before commit (see `.eslintrc.js` if present)
|
|
36
|
-
|
|
37
|
-
## Restrictions
|
|
38
|
-
|
|
39
|
-
- Do not modify build config unless changing build behavior
|
|
40
|
-
- Do not auto-generate example files
|
|
1
|
+
# Chart.js Plugin Trendline — Agent Instructions
|
|
2
|
+
|
|
3
|
+
This plugin adds trendline support to Chart.js charts. It fits a linear regression model to datasets and draws trendlines over bar or line charts.
|
|
4
|
+
|
|
5
|
+
## Project Structure
|
|
6
|
+
|
|
7
|
+
- Root:
|
|
8
|
+
- `package.json`, `webpack.config.js`, `example/*.html`
|
|
9
|
+
- Source (`src/`):
|
|
10
|
+
- `index.js` — Entry point
|
|
11
|
+
- `components/` — Rendering logic (`label.js`, `trendline.js`)
|
|
12
|
+
- `core/` — Plugin definition (`plugin.js`)
|
|
13
|
+
- `utils/` — Math and drawing helpers (`drawing.js`, `lineFitter.js`)
|
|
14
|
+
|
|
15
|
+
## Coding Guidelines
|
|
16
|
+
|
|
17
|
+
1. Use modern JavaScript (ES6+)
|
|
18
|
+
2. Indent with 2 spaces
|
|
19
|
+
3. Use JSDoc for public methods (Google style)
|
|
20
|
+
4. Ensure compatibility with Chart.js v4+
|
|
21
|
+
5. Name files/functions descriptively (no abbreviations)
|
|
22
|
+
|
|
23
|
+
## File Notes
|
|
24
|
+
|
|
25
|
+
- `plugin.js`: Main plugin lifecycle integration
|
|
26
|
+
- `trendline.js`: Handles drawing trendlines
|
|
27
|
+
- `lineFitter.js`: Performs regression math
|
|
28
|
+
- `example/*.html`: Demo charts — manually verify after changes
|
|
29
|
+
|
|
30
|
+
## Workflow Tips
|
|
31
|
+
|
|
32
|
+
1. Changes to `plugin.js` should align with Chart.js plugin lifecycle (e.g., `afterDatasetsDraw`)
|
|
33
|
+
2. If editing `trendline.js`, test with multiple chart types
|
|
34
|
+
3. Validate rendering via example HTMLs after code updates
|
|
35
|
+
4. Run linter and formatter before commit (see `.eslintrc.js` if present)
|
|
36
|
+
|
|
37
|
+
## Restrictions
|
|
38
|
+
|
|
39
|
+
- Do not modify build config unless changing build behavior
|
|
40
|
+
- Do not auto-generate example files
|
|
@@ -1,61 +1,64 @@
|
|
|
1
|
-
name: release
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
tags:
|
|
6
|
-
- 'v*' # Ex: v1.2.3 → publish as latest
|
|
7
|
-
- 'beta/*' # Ex: beta/1.2.3-beta.1 → publish as beta
|
|
8
|
-
|
|
9
|
-
jobs:
|
|
10
|
-
publish:
|
|
11
|
-
runs-on: ubuntu-latest
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
1
|
+
name: release
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
tags:
|
|
6
|
+
- 'v*' # Ex: v1.2.3 → publish as latest
|
|
7
|
+
- 'beta/*' # Ex: beta/1.2.3-beta.1 → publish as beta
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
publish:
|
|
11
|
+
runs-on: ubuntu-latest
|
|
12
|
+
|
|
13
|
+
permissions:
|
|
14
|
+
id-token: write
|
|
15
|
+
contents: read
|
|
16
|
+
|
|
17
|
+
steps:
|
|
18
|
+
- name: Checkout repository
|
|
19
|
+
uses: actions/checkout@v4
|
|
20
|
+
|
|
21
|
+
- name: Set up Node.js
|
|
22
|
+
uses: actions/setup-node@v4
|
|
23
|
+
with:
|
|
24
|
+
node-version: '22'
|
|
25
|
+
registry-url: 'https://registry.npmjs.org/'
|
|
26
|
+
|
|
27
|
+
- name: Upgrade npm for OIDC support
|
|
28
|
+
run: npm install -g npm@latest
|
|
29
|
+
|
|
30
|
+
- name: Install dependencies
|
|
31
|
+
run: npm install
|
|
32
|
+
|
|
33
|
+
- name: Build
|
|
34
|
+
run: npm run build
|
|
35
|
+
|
|
36
|
+
- name: Verify package.json version matches tag
|
|
37
|
+
run: |
|
|
38
|
+
PKG_VERSION=$(node -p "require('./package.json').version")
|
|
39
|
+
TAG_NAME=${GITHUB_REF#refs/tags/}
|
|
40
|
+
|
|
41
|
+
# Hantera både vX.X.X och beta/X.X.X-beta.X
|
|
42
|
+
if [[ "$TAG_NAME" == beta/* ]]; then
|
|
43
|
+
TAG_VERSION=${TAG_NAME#beta/}
|
|
44
|
+
else
|
|
45
|
+
TAG_VERSION=${TAG_NAME#v}
|
|
46
|
+
fi
|
|
47
|
+
|
|
48
|
+
echo "Package version: $PKG_VERSION"
|
|
49
|
+
echo "Tag version: $TAG_VERSION"
|
|
50
|
+
|
|
51
|
+
if [ "$PKG_VERSION" != "$TAG_VERSION" ]; then
|
|
52
|
+
echo "::error ::❌ Version mismatch: package.json=$PKG_VERSION ≠ tag=$TAG_VERSION"
|
|
53
|
+
exit 1
|
|
54
|
+
else
|
|
55
|
+
echo "✅ Version match confirmed"
|
|
56
|
+
fi
|
|
57
|
+
|
|
58
|
+
- name: Publish to npm (beta)
|
|
59
|
+
if: startsWith(github.ref, 'refs/tags/beta/')
|
|
60
|
+
run: npm publish --tag beta --provenance --access public
|
|
61
|
+
|
|
62
|
+
- name: Publish to npm (latest)
|
|
63
|
+
if: startsWith(github.ref, 'refs/tags/v')
|
|
64
|
+
run: npm publish --provenance --access public
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
name: tests
|
|
2
|
-
# This workflow runs tests on the main branch when code is pushed or a pull request is made.
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
branches: [main]
|
|
6
|
-
pull_request:
|
|
7
|
-
branches: ['**'] # Run on all branches for PRs
|
|
8
|
-
|
|
9
|
-
jobs:
|
|
10
|
-
build:
|
|
11
|
-
runs-on: ubuntu-latest
|
|
12
|
-
|
|
13
|
-
steps:
|
|
14
|
-
- name: Checkout repository
|
|
15
|
-
uses: actions/checkout@v4
|
|
16
|
-
|
|
17
|
-
- name: Set up Node.js
|
|
18
|
-
uses: actions/setup-node@v3
|
|
19
|
-
with:
|
|
20
|
-
node-version: '22'
|
|
21
|
-
|
|
22
|
-
- name: Install dependencies
|
|
23
|
-
run: npm install
|
|
24
|
-
|
|
25
|
-
- name: Run tests
|
|
26
|
-
run: npm test
|
|
1
|
+
name: tests
|
|
2
|
+
# This workflow runs tests on the main branch when code is pushed or a pull request is made.
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main]
|
|
6
|
+
pull_request:
|
|
7
|
+
branches: ['**'] # Run on all branches for PRs
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
build:
|
|
11
|
+
runs-on: ubuntu-latest
|
|
12
|
+
|
|
13
|
+
steps:
|
|
14
|
+
- name: Checkout repository
|
|
15
|
+
uses: actions/checkout@v4
|
|
16
|
+
|
|
17
|
+
- name: Set up Node.js
|
|
18
|
+
uses: actions/setup-node@v3
|
|
19
|
+
with:
|
|
20
|
+
node-version: '22'
|
|
21
|
+
|
|
22
|
+
- name: Install dependencies
|
|
23
|
+
run: npm install
|
|
24
|
+
|
|
25
|
+
- name: Run tests
|
|
26
|
+
run: npm test
|
package/.prettierrc
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
{
|
|
2
|
-
"trailingComma": "es5",
|
|
3
|
-
"tabWidth": 4,
|
|
4
|
-
"semi": true,
|
|
5
|
-
"singleQuote": true
|
|
1
|
+
{
|
|
2
|
+
"trailingComma": "es5",
|
|
3
|
+
"tabWidth": 4,
|
|
4
|
+
"semi": true,
|
|
5
|
+
"singleQuote": true
|
|
6
6
|
}
|
package/CLAUDE.md
CHANGED
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
# CLAUDE.md
|
|
2
|
-
|
|
3
|
-
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
|
|
4
|
-
|
|
5
|
-
## Project Overview
|
|
6
|
-
|
|
7
|
-
This is a Chart.js plugin that adds linear trendline support to charts. It fits regression models to datasets and draws trendlines over bar, line, and scatter charts.
|
|
8
|
-
|
|
9
|
-
## Development Commands
|
|
10
|
-
|
|
11
|
-
- `pnpm run build` - Build the minified plugin using webpack
|
|
12
|
-
- `pnpm test` - Run Jest tests for all components
|
|
13
|
-
|
|
14
|
-
## Architecture
|
|
15
|
-
|
|
16
|
-
The plugin follows a modular structure:
|
|
17
|
-
|
|
18
|
-
- **Entry Point**: `src/index.js` - Auto-registers plugin globally and exports for manual registration
|
|
19
|
-
- **Core**: `src/core/plugin.js` - Main plugin lifecycle integration with Chart.js hooks (`afterDatasetsDraw`, `beforeInit`)
|
|
20
|
-
- **Components**: `src/components/` - Rendering logic for trendlines and labels
|
|
21
|
-
- **Utilities**: `src/utils/` - Math calculations (`lineFitter.js`) and drawing helpers (`drawing.js`)
|
|
22
|
-
|
|
23
|
-
## Key Implementation Details
|
|
24
|
-
|
|
25
|
-
- Plugin integrates with Chart.js v4+ lifecycle using `afterDatasetsDraw` hook
|
|
26
|
-
- Trendlines are drawn after datasets to appear on top
|
|
27
|
-
- Dataset ordering is handled via `order` property (0-order datasets draw last)
|
|
28
|
-
- Configuration is added to datasets via `trendlineLinear` property
|
|
29
|
-
- Supports projection mode, custom styling, and labels with legends
|
|
30
|
-
|
|
31
|
-
## Testing
|
|
32
|
-
|
|
33
|
-
All components have corresponding `.test.js` files using Jest. Uses `jest-canvas-mock` for Canvas API mocking.
|
|
34
|
-
|
|
35
|
-
## Coding Standards
|
|
36
|
-
|
|
37
|
-
- Use modern JavaScript (ES6+)
|
|
38
|
-
- 2-space indentation
|
|
39
|
-
- JSDoc for public methods (Google style)
|
|
40
|
-
- Descriptive naming without abbreviations
|
|
41
|
-
- Ensure Chart.js v4+ compatibility
|
|
42
|
-
|
|
43
|
-
## Chart Type Support
|
|
44
|
-
|
|
1
|
+
# CLAUDE.md
|
|
2
|
+
|
|
3
|
+
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
|
|
4
|
+
|
|
5
|
+
## Project Overview
|
|
6
|
+
|
|
7
|
+
This is a Chart.js plugin that adds linear trendline support to charts. It fits regression models to datasets and draws trendlines over bar, line, and scatter charts.
|
|
8
|
+
|
|
9
|
+
## Development Commands
|
|
10
|
+
|
|
11
|
+
- `pnpm run build` - Build the minified plugin using webpack
|
|
12
|
+
- `pnpm test` - Run Jest tests for all components
|
|
13
|
+
|
|
14
|
+
## Architecture
|
|
15
|
+
|
|
16
|
+
The plugin follows a modular structure:
|
|
17
|
+
|
|
18
|
+
- **Entry Point**: `src/index.js` - Auto-registers plugin globally and exports for manual registration
|
|
19
|
+
- **Core**: `src/core/plugin.js` - Main plugin lifecycle integration with Chart.js hooks (`afterDatasetsDraw`, `beforeInit`)
|
|
20
|
+
- **Components**: `src/components/` - Rendering logic for trendlines and labels
|
|
21
|
+
- **Utilities**: `src/utils/` - Math calculations (`lineFitter.js`) and drawing helpers (`drawing.js`)
|
|
22
|
+
|
|
23
|
+
## Key Implementation Details
|
|
24
|
+
|
|
25
|
+
- Plugin integrates with Chart.js v4+ lifecycle using `afterDatasetsDraw` hook
|
|
26
|
+
- Trendlines are drawn after datasets to appear on top
|
|
27
|
+
- Dataset ordering is handled via `order` property (0-order datasets draw last)
|
|
28
|
+
- Configuration is added to datasets via `trendlineLinear` property
|
|
29
|
+
- Supports projection mode, custom styling, and labels with legends
|
|
30
|
+
|
|
31
|
+
## Testing
|
|
32
|
+
|
|
33
|
+
All components have corresponding `.test.js` files using Jest. Uses `jest-canvas-mock` for Canvas API mocking.
|
|
34
|
+
|
|
35
|
+
## Coding Standards
|
|
36
|
+
|
|
37
|
+
- Use modern JavaScript (ES6+)
|
|
38
|
+
- 2-space indentation
|
|
39
|
+
- JSDoc for public methods (Google style)
|
|
40
|
+
- Descriptive naming without abbreviations
|
|
41
|
+
- Ensure Chart.js v4+ compatibility
|
|
42
|
+
|
|
43
|
+
## Chart Type Support
|
|
44
|
+
|
|
45
45
|
Currently supports: bar, line, scatter charts
|
package/GEMINI.md
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
# Chart.js Plugin Trendline — Agent Instructions
|
|
2
|
-
|
|
3
|
-
This plugin adds trendline support to Chart.js charts. It fits a linear regression model to datasets and draws trendlines over bar or line charts.
|
|
4
|
-
|
|
5
|
-
## Project Structure
|
|
6
|
-
|
|
7
|
-
- Root:
|
|
8
|
-
- `package.json`, `webpack.config.js`, `example/*.html`
|
|
9
|
-
- Source (`src/`):
|
|
10
|
-
- `index.js` — Entry point
|
|
11
|
-
- `components/` — Rendering logic (`label.js`, `trendline.js`)
|
|
12
|
-
- `core/` — Plugin definition (`plugin.js`)
|
|
13
|
-
- `utils/` — Math and drawing helpers (`drawing.js`, `lineFitter.js`)
|
|
14
|
-
|
|
15
|
-
## Coding Guidelines
|
|
16
|
-
|
|
17
|
-
1. Use modern JavaScript (ES6+)
|
|
18
|
-
2. Indent with 2 spaces
|
|
19
|
-
3. Use JSDoc for public methods (Google style)
|
|
20
|
-
4. Ensure compatibility with Chart.js v4+
|
|
21
|
-
5. Name files/functions descriptively (no abbreviations)
|
|
22
|
-
|
|
23
|
-
## File Notes
|
|
24
|
-
|
|
25
|
-
- `plugin.js`: Main plugin lifecycle integration
|
|
26
|
-
- `trendline.js`: Handles drawing trendlines
|
|
27
|
-
- `lineFitter.js`: Performs regression math
|
|
28
|
-
- `example/*.html`: Demo charts — manually verify after changes
|
|
29
|
-
|
|
30
|
-
## Workflow Tips
|
|
31
|
-
|
|
32
|
-
1. Changes to `plugin.js` should align with Chart.js plugin lifecycle (e.g., `afterDatasetsDraw`)
|
|
33
|
-
2. If editing `trendline.js`, test with multiple chart types
|
|
34
|
-
3. Validate rendering via example HTMLs after code updates
|
|
35
|
-
4. Run linter and formatter before commit (see `.eslintrc.js` if present)
|
|
36
|
-
|
|
37
|
-
## Restrictions
|
|
38
|
-
|
|
39
|
-
- Do not modify build config unless changing build behavior
|
|
40
|
-
- Do not auto-generate example files
|
|
1
|
+
# Chart.js Plugin Trendline — Agent Instructions
|
|
2
|
+
|
|
3
|
+
This plugin adds trendline support to Chart.js charts. It fits a linear regression model to datasets and draws trendlines over bar or line charts.
|
|
4
|
+
|
|
5
|
+
## Project Structure
|
|
6
|
+
|
|
7
|
+
- Root:
|
|
8
|
+
- `package.json`, `webpack.config.js`, `example/*.html`
|
|
9
|
+
- Source (`src/`):
|
|
10
|
+
- `index.js` — Entry point
|
|
11
|
+
- `components/` — Rendering logic (`label.js`, `trendline.js`)
|
|
12
|
+
- `core/` — Plugin definition (`plugin.js`)
|
|
13
|
+
- `utils/` — Math and drawing helpers (`drawing.js`, `lineFitter.js`)
|
|
14
|
+
|
|
15
|
+
## Coding Guidelines
|
|
16
|
+
|
|
17
|
+
1. Use modern JavaScript (ES6+)
|
|
18
|
+
2. Indent with 2 spaces
|
|
19
|
+
3. Use JSDoc for public methods (Google style)
|
|
20
|
+
4. Ensure compatibility with Chart.js v4+
|
|
21
|
+
5. Name files/functions descriptively (no abbreviations)
|
|
22
|
+
|
|
23
|
+
## File Notes
|
|
24
|
+
|
|
25
|
+
- `plugin.js`: Main plugin lifecycle integration
|
|
26
|
+
- `trendline.js`: Handles drawing trendlines
|
|
27
|
+
- `lineFitter.js`: Performs regression math
|
|
28
|
+
- `example/*.html`: Demo charts — manually verify after changes
|
|
29
|
+
|
|
30
|
+
## Workflow Tips
|
|
31
|
+
|
|
32
|
+
1. Changes to `plugin.js` should align with Chart.js plugin lifecycle (e.g., `afterDatasetsDraw`)
|
|
33
|
+
2. If editing `trendline.js`, test with multiple chart types
|
|
34
|
+
3. Validate rendering via example HTMLs after code updates
|
|
35
|
+
4. Run linter and formatter before commit (see `.eslintrc.js` if present)
|
|
36
|
+
|
|
37
|
+
## Restrictions
|
|
38
|
+
|
|
39
|
+
- Do not modify build config unless changing build behavior
|
|
40
|
+
- Do not auto-generate example files
|
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2025 Marcus Alsterfjord
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Marcus Alsterfjord
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|