miki-template 1.3.3 → 1.3.7

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.
Files changed (115) hide show
  1. package/.eslintrc.json +16 -0
  2. package/.github/release-notes/v1.3.1.md +55 -55
  3. package/.github/release-notes/v1.3.3.md +77 -0
  4. package/.github/workflows/ci.yml +38 -54
  5. package/.github/workflows/release.yml +106 -0
  6. package/AGENT.md +71 -71
  7. package/API_REFERENCE.md +314 -314
  8. package/CHANGELOG.md +173 -169
  9. package/CODE_OF_CONDUCT.md +14 -14
  10. package/CONTRIBUTING.md +27 -27
  11. package/README.md +342 -321
  12. package/ROADMAP.md +40 -40
  13. package/benchmarks/report.json +16 -16
  14. package/benchmarks/run.js +49 -49
  15. package/benchmarks/stress.mjs +647 -647
  16. package/benchmarks/templates/large.dtpl +7 -7
  17. package/benchmarks/templates/medium.dtpl +3 -3
  18. package/benchmarks/templates/small.dtpl +7 -7
  19. package/context/component.md +109 -109
  20. package/context/prd.md +131 -131
  21. package/context/project-structure.md +33 -33
  22. package/dir/base.html +22 -22
  23. package/dir/cmpnt.html +10 -10
  24. package/dir/footer.html +2 -2
  25. package/dir/home.html +80 -80
  26. package/dir/index.html +80 -0
  27. package/dir/navbar.html +8 -8
  28. package/docs/README.md +18 -18
  29. package/docs/advanced_usage.md +71 -71
  30. package/docs/api.md +119 -119
  31. package/docs/filters.md +708 -708
  32. package/docs/installation.md +106 -106
  33. package/docs/overview.md +79 -57
  34. package/docs/partialdef.md +70 -70
  35. package/docs/security.md +27 -27
  36. package/docs/tags.md +673 -673
  37. package/docs/usage.md +646 -646
  38. package/eslint.config.mjs +42 -42
  39. package/ex.mjs +34 -32
  40. package/live-test/package-lock.json +915 -0
  41. package/live-test/package.json +9 -0
  42. package/live-test/server.js +14 -0
  43. package/live-test/views/base.html +8 -0
  44. package/live-test/views/child.html +7 -0
  45. package/live-test/views/index.html +1 -0
  46. package/miki-template-extension/.github/workflows/ci.yml +116 -116
  47. package/miki-template-extension/.vscodeignore +7 -7
  48. package/miki-template-extension/CHANGELOG.md +99 -99
  49. package/miki-template-extension/LICENSE +21 -21
  50. package/miki-template-extension/README.md +273 -273
  51. package/miki-template-extension/extension.js +1013 -1013
  52. package/miki-template-extension/icon.svg +10 -10
  53. package/miki-template-extension/package.json +280 -280
  54. package/miki-template-extension/snippets/miki-template.json +717 -717
  55. package/miki-template-extension/syntaxes/language-configuration.json +114 -114
  56. package/miki-template-extension/syntaxes/miki-template.tmLanguage.json +355 -355
  57. package/miki-template-extension/tests/grammar-tests.json +162 -162
  58. package/miki-template-extension/tests/run-grammar-tests.js +82 -82
  59. package/package.json +40 -34
  60. package/sample-app/package-lock.json +901 -0
  61. package/sample-app/package.json +9 -0
  62. package/sample-app/server.js +14 -0
  63. package/sample-app/views/index.html +1 -0
  64. package/scripts/build-vsix.js +129 -129
  65. package/scripts/build-vsix.ps1 +15 -15
  66. package/snippets/miki-template.json +177 -177
  67. package/src/asyncRender.js +20 -20
  68. package/src/cache.js +80 -80
  69. package/src/context.js +126 -126
  70. package/src/context_processors.js +48 -48
  71. package/src/esm.mjs +89 -84
  72. package/src/filters.js +975 -975
  73. package/src/i18n.js +171 -171
  74. package/src/index.js +1112 -940
  75. package/src/lexer.js +114 -114
  76. package/src/libraries.js +371 -371
  77. package/src/parser.js +270 -270
  78. package/src/security.js +53 -53
  79. package/src/tags/control.js +719 -719
  80. package/src/tags/extra.js +154 -154
  81. package/src/tags/helpers.js +26 -26
  82. package/src/tags/i18n.js +256 -256
  83. package/src/tags/inheritance.js +335 -335
  84. package/src/tags/registry.js +18 -18
  85. package/src/tags/util.js +400 -400
  86. package/src/types.d.ts +107 -107
  87. package/syntaxes/language-configuration.json +26 -26
  88. package/syntaxes/miki-template.tmLanguage.json +146 -146
  89. package/tests/asyncRender.test.js +17 -17
  90. package/tests/base.html +6 -6
  91. package/tests/child.html +3 -3
  92. package/tests/context_processors.test.js +13 -13
  93. package/tests/esm.test.mjs +61 -61
  94. package/tests/filters.test.js +254 -254
  95. package/tests/finder-appdirs.test.js +19 -0
  96. package/tests/finder.test.js +17 -0
  97. package/tests/fixtures/views/nested/index.html +1 -0
  98. package/tests/fixtures/views/partial.html +1 -0
  99. package/tests/fixtures/views/sub/deepfile.html +1 -0
  100. package/tests/fixtures/views-appdirs/product/site/detail.html +1 -0
  101. package/tests/include_security.test.js +9 -9
  102. package/tests/integration/README.md +32 -32
  103. package/tests/integration/features.test.cjs +1681 -1681
  104. package/tests/integration/features.test.mjs +1697 -1697
  105. package/tests/integration/finder.esm.test.mjs +13 -0
  106. package/tests/integration/templates/base.miki +6 -6
  107. package/tests/integration/templates/child.miki +6 -6
  108. package/tests/integration/templates/index.html +17 -17
  109. package/tests/lexer.test.js +45 -45
  110. package/tests/parser.test.js +57 -57
  111. package/tests/partial.html +1 -1
  112. package/tests/partialdef.test.js +79 -79
  113. package/tests/production_checks.js +57 -57
  114. package/tests/security.test.js +28 -28
  115. package/tests/tags.test.js +233 -233
@@ -0,0 +1,9 @@
1
+ {
2
+ "name": "live-test",
3
+ "version": "1.0.0",
4
+ "private": true,
5
+ "dependencies": {
6
+ "express": "^5.2.1",
7
+ "miki-template": "1.3.6"
8
+ }
9
+ }
@@ -0,0 +1,14 @@
1
+ const express = require('express');
2
+ const path = require('path');
3
+ const miki = require('miki-template');
4
+
5
+ const app = express();
6
+ const views = path.join(__dirname, 'views');
7
+
8
+ miki.setupExpress(app, { extension: 'html', views });
9
+
10
+ app.get('/', (req, res) => {
11
+ res.render('index', { name: 'Live NPM' });
12
+ });
13
+
14
+ app.listen(3002, () => console.log('Live test app listening on 3002'));
@@ -0,0 +1,8 @@
1
+ <html>
2
+ <head>
3
+ <title>{% block title %}Base Title{% endblock %}</title>
4
+ </head>
5
+ <body>
6
+ {% block content %}Base content{% endblock %}
7
+ </body>
8
+ </html>
@@ -0,0 +1,7 @@
1
+ {% extends 'base.html' %}
2
+ {% block title %}Child - {{ title }}{% endblock %}
3
+ {% block content %}
4
+ <h2>Child Content</h2>
5
+ <p>{{ message }}</p>
6
+ {{ block.super }}
7
+ {% endblock %}
@@ -0,0 +1 @@
1
+ <html><head><title>{{ name }}</title></head><body><h1>Hello {{ name }}</h1></body></html>
@@ -1,116 +1,116 @@
1
- name: CI
2
-
3
- on:
4
- push:
5
- branches: [ main, master ]
6
- pull_request:
7
- branches: [ main, master ]
8
- workflow_dispatch:
9
-
10
- jobs:
11
- lint:
12
- name: Lint Extension
13
- runs-on: ubuntu-latest
14
- steps:
15
- - name: Checkout
16
- uses: actions/checkout@v4
17
-
18
- - name: Setup Node.js
19
- uses: actions/setup-node@v4
20
- with:
21
- node-version: '20'
22
-
23
- - name: Install dependencies
24
- run: npm install
25
-
26
- - name: Validate package.json
27
- run: npm run validate
28
-
29
- - name: Check for required files
30
- run: |
31
- echo "Checking required files..."
32
- for file in package.json extension.js README.md CHANGELOG.md LICENSE; do
33
- if [ ! -f "$file" ]; then
34
- echo "Missing required file: $file"
35
- exit 1
36
- fi
37
- done
38
-
39
- test-grammar:
40
- name: Test Grammar
41
- runs-on: ubuntu-latest
42
- steps:
43
- - name: Checkout
44
- uses: actions/checkout@v4
45
-
46
- - name: Setup Node.js
47
- uses: actions/setup-node@v4
48
- with:
49
- node-version: '20'
50
-
51
- - name: Install test dependencies
52
- run: npm install --save-dev textmate-grammar-test
53
-
54
- - name: Run grammar tests
55
- run: npm run test:grammar
56
-
57
- package:
58
- name: Package Extension
59
- runs-on: ubuntu-latest
60
- needs: [lint, test-grammar]
61
- steps:
62
- - name: Checkout
63
- uses: actions/checkout@v4
64
-
65
- - name: Setup Node.js
66
- uses: actions/setup-node@v4
67
- with:
68
- node-version: '20'
69
-
70
- - name: Install dependencies
71
- run: npm install
72
-
73
- - name: Package VSIX
74
- id: package
75
- run: |
76
- npx vsce package --no-dependencies
77
- echo "version=$(node -p \"require('./package.json').version\")" >> $GITHUB_OUTPUT
78
- echo "vsix=$(ls *.vsix 2>/dev/null | head -1)" >> $GITHUB_OUTPUT
79
-
80
- - name: Upload VSIX artifact
81
- uses: actions/upload-artifact@v4
82
- with:
83
- name: miki-template-${{ steps.package.outputs.version }}.vsix
84
- path: ${{ steps.package.outputs.vsix }}
85
-
86
- - name: List output files
87
- run: ls -la *.vsix 2>/dev/null || echo "No VSIX files found"
88
-
89
- publish:
90
- name: Publish to Marketplace
91
- runs-on: ubuntu-latest
92
- needs: [package]
93
- if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master')
94
- steps:
95
- - name: Checkout
96
- uses: actions/checkout@v4
97
-
98
- - name: Download VSIX
99
- uses: actions/download-artifact@v4
100
- with:
101
- name: miki-template-${{ needs.package.outputs.version }}.vsix
102
-
103
- - name: Publish to VS Code Marketplace
104
- run: npx vsce publish --no-dependencies
105
- env:
106
- VSCE_PAT: ${{ secrets.VSCE_PAT }}
107
- continue-on-error: true
108
-
109
- - name: Create Release
110
- if: success()
111
- uses: softprops/action-gh-release@v1
112
- with:
113
- files: *.vsix
114
- generate_release_notes: true
115
- env:
116
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches: [ main, master ]
6
+ pull_request:
7
+ branches: [ main, master ]
8
+ workflow_dispatch:
9
+
10
+ jobs:
11
+ lint:
12
+ name: Lint Extension
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - name: Checkout
16
+ uses: actions/checkout@v4
17
+
18
+ - name: Setup Node.js
19
+ uses: actions/setup-node@v4
20
+ with:
21
+ node-version: '20'
22
+
23
+ - name: Install dependencies
24
+ run: npm install
25
+
26
+ - name: Validate package.json
27
+ run: npm run validate
28
+
29
+ - name: Check for required files
30
+ run: |
31
+ echo "Checking required files..."
32
+ for file in package.json extension.js README.md CHANGELOG.md LICENSE; do
33
+ if [ ! -f "$file" ]; then
34
+ echo "Missing required file: $file"
35
+ exit 1
36
+ fi
37
+ done
38
+
39
+ test-grammar:
40
+ name: Test Grammar
41
+ runs-on: ubuntu-latest
42
+ steps:
43
+ - name: Checkout
44
+ uses: actions/checkout@v4
45
+
46
+ - name: Setup Node.js
47
+ uses: actions/setup-node@v4
48
+ with:
49
+ node-version: '20'
50
+
51
+ - name: Install test dependencies
52
+ run: npm install --save-dev textmate-grammar-test
53
+
54
+ - name: Run grammar tests
55
+ run: npm run test:grammar
56
+
57
+ package:
58
+ name: Package Extension
59
+ runs-on: ubuntu-latest
60
+ needs: [lint, test-grammar]
61
+ steps:
62
+ - name: Checkout
63
+ uses: actions/checkout@v4
64
+
65
+ - name: Setup Node.js
66
+ uses: actions/setup-node@v4
67
+ with:
68
+ node-version: '20'
69
+
70
+ - name: Install dependencies
71
+ run: npm install
72
+
73
+ - name: Package VSIX
74
+ id: package
75
+ run: |
76
+ npx vsce package --no-dependencies
77
+ echo "version=$(node -p \"require('./package.json').version\")" >> $GITHUB_OUTPUT
78
+ echo "vsix=$(ls *.vsix 2>/dev/null | head -1)" >> $GITHUB_OUTPUT
79
+
80
+ - name: Upload VSIX artifact
81
+ uses: actions/upload-artifact@v4
82
+ with:
83
+ name: miki-template-${{ steps.package.outputs.version }}.vsix
84
+ path: ${{ steps.package.outputs.vsix }}
85
+
86
+ - name: List output files
87
+ run: ls -la *.vsix 2>/dev/null || echo "No VSIX files found"
88
+
89
+ publish:
90
+ name: Publish to Marketplace
91
+ runs-on: ubuntu-latest
92
+ needs: [package]
93
+ if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master')
94
+ steps:
95
+ - name: Checkout
96
+ uses: actions/checkout@v4
97
+
98
+ - name: Download VSIX
99
+ uses: actions/download-artifact@v4
100
+ with:
101
+ name: miki-template-${{ needs.package.outputs.version }}.vsix
102
+
103
+ - name: Publish to VS Code Marketplace
104
+ run: npx vsce publish --no-dependencies
105
+ env:
106
+ VSCE_PAT: ${{ secrets.VSCE_PAT }}
107
+ continue-on-error: true
108
+
109
+ - name: Create Release
110
+ if: success()
111
+ uses: softprops/action-gh-release@v1
112
+ with:
113
+ files: *.vsix
114
+ generate_release_notes: true
115
+ env:
116
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -1,7 +1,7 @@
1
- .github/
2
- tests/
3
- *.vsix
4
- icon.svg
5
- *.log
6
- node_modules/
7
- .DS_Store
1
+ .github/
2
+ tests/
3
+ *.vsix
4
+ icon.svg
5
+ *.log
6
+ node_modules/
7
+ .DS_Store
@@ -1,99 +1,99 @@
1
- # Changelog
2
-
3
- All notable changes to this extension will be documented in this file.
4
-
5
- The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
- and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
-
8
- ## [1.7.1] - 2026-09-03
9
-
10
- ### Added
11
-
12
- - **Rename Blocks (F2)**: Rename `{% block name %}` across workspace with F2
13
- - **Path Completions**: Auto-suggest template files for `{% include %}` and `{% extends %}`
14
- - **Semantic Token Provider**: Enhanced semantic highlighting with proper token classification
15
- - **HTML/CSS/JS Embedded Support**: Full syntax highlighting for embedded languages
16
- - **Emmet Support**: HTML and JavaScript Emmet abbreviations work in templates
17
- - **CSS in `<style>` tags**: Proper CSS syntax highlighting
18
- - **JS in `<script>` tags**: Proper JavaScript syntax highlighting
19
-
20
- ### Fixed
21
-
22
- - Grammar patterns for proper HTML scope activation
23
- - Embedded language mappings for CSS and JavaScript
24
- - Multiple bug fixes and improvements
25
-
26
- ## [1.7.0] - 2026-09-03
27
-
28
- ### Added
29
-
30
- - **Inlay Hints**: Show inline parameter hints for filter arguments
31
- - **Project-wide Find References**: Find blocks, includes, extends across entire workspace
32
- - **Smart Tag Selection**: Double-click to select entire `{% block %}` content
33
- - **Custom Tag/Filters Detection**: Auto-detect from project config files
34
- - **Template Preview Command**: Preview template syntax in a webview panel
35
- - **Smart Paste**: Auto-detect HTML paste for potential escaping
36
- - **Bracket Matching Highlights**: Visual highlight for matching `{% if %}`/`{% endif %}` pairs
37
- - **Template Variables IntelliSense**: Common variable names (user, request, form, items, etc.)
38
- - **Performance Debouncing**: Optimized validation and decorations with debounce
39
- - **Quick Outline Navigation**: `Ctrl+Shift+.` and `Ctrl+Shift+,` to jump between blocks
40
-
41
- ### New Commands
42
- - `goToNextBlock` / `goToPrevBlock` - Navigate between blocks
43
- - `previewTemplate` - Preview template in new tab
44
- - `showOutline` - Quick outline navigation
45
- - `findBlockReferences` - Find all block references
46
-
47
- ### New Settings
48
- - `enableInlayHints` - Toggle inlay hints
49
- - `enableBracketHighlight` - Toggle bracket highlighting
50
- - `enableSmartPaste` - Toggle smart paste
51
-
52
- ## [1.6.0] - 2026-09-03
53
-
54
- ### Added
55
-
56
- - **Color Decorations**: Automatically highlights color values (`#ff0000`, `rgb()`, `rgba()`, `hsl()`, `hsla()`) in templates
57
- - **Code Actions**: Quick fixes for common issues
58
- - **Find References**: Find all references to blocks and includes
59
- - **New Commands**: wrapInBlock, wrapInFor, wrapInIf, addPrettierIgnore
60
- - **New Settings**: enableColorDecorations, enableCodeActions
61
-
62
- ### Changed
63
-
64
- - Improved completion items with argument hints
65
- - Better validation diagnostics
66
- - Enhanced outline view with icons
67
-
68
- ## [1.5.0] - 2026-09-03
69
-
70
- ### Added
71
-
72
- - **Go-to-Definition**: Jump to included/extended templates and block definitions
73
- - **Outline View**: See template structure
74
- - **forloop.* Completions**: Auto-complete loop variables
75
- - **Keyboard Shortcut**: `Ctrl+Shift+F` to wrap selection with filter
76
-
77
- ## [1.4.0] - 2026-09-02
78
-
79
- ### Added
80
-
81
- - Dual language support: `miki-template` and `django-html`
82
- - File associations: `.miki`, `.miki-template`, `.django`, `.dj`
83
- - Comprehensive filter support (70+ filters)
84
- - Prettier integration with `prettier-ignore`
85
-
86
- ## [1.3.0] - 2026-08-15
87
-
88
- ### Added
89
-
90
- - Buy Me a Coffee integration
91
- - Format on save configuration
92
-
93
- ## [1.2.0] - 2026-06-01
94
-
95
- ### Added
96
-
97
- - Initial release
98
- - Basic syntax highlighting
99
- - Code snippets
1
+ # Changelog
2
+
3
+ All notable changes to this extension will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [1.7.1] - 2026-09-03
9
+
10
+ ### Added
11
+
12
+ - **Rename Blocks (F2)**: Rename `{% block name %}` across workspace with F2
13
+ - **Path Completions**: Auto-suggest template files for `{% include %}` and `{% extends %}`
14
+ - **Semantic Token Provider**: Enhanced semantic highlighting with proper token classification
15
+ - **HTML/CSS/JS Embedded Support**: Full syntax highlighting for embedded languages
16
+ - **Emmet Support**: HTML and JavaScript Emmet abbreviations work in templates
17
+ - **CSS in `<style>` tags**: Proper CSS syntax highlighting
18
+ - **JS in `<script>` tags**: Proper JavaScript syntax highlighting
19
+
20
+ ### Fixed
21
+
22
+ - Grammar patterns for proper HTML scope activation
23
+ - Embedded language mappings for CSS and JavaScript
24
+ - Multiple bug fixes and improvements
25
+
26
+ ## [1.7.0] - 2026-09-03
27
+
28
+ ### Added
29
+
30
+ - **Inlay Hints**: Show inline parameter hints for filter arguments
31
+ - **Project-wide Find References**: Find blocks, includes, extends across entire workspace
32
+ - **Smart Tag Selection**: Double-click to select entire `{% block %}` content
33
+ - **Custom Tag/Filters Detection**: Auto-detect from project config files
34
+ - **Template Preview Command**: Preview template syntax in a webview panel
35
+ - **Smart Paste**: Auto-detect HTML paste for potential escaping
36
+ - **Bracket Matching Highlights**: Visual highlight for matching `{% if %}`/`{% endif %}` pairs
37
+ - **Template Variables IntelliSense**: Common variable names (user, request, form, items, etc.)
38
+ - **Performance Debouncing**: Optimized validation and decorations with debounce
39
+ - **Quick Outline Navigation**: `Ctrl+Shift+.` and `Ctrl+Shift+,` to jump between blocks
40
+
41
+ ### New Commands
42
+ - `goToNextBlock` / `goToPrevBlock` - Navigate between blocks
43
+ - `previewTemplate` - Preview template in new tab
44
+ - `showOutline` - Quick outline navigation
45
+ - `findBlockReferences` - Find all block references
46
+
47
+ ### New Settings
48
+ - `enableInlayHints` - Toggle inlay hints
49
+ - `enableBracketHighlight` - Toggle bracket highlighting
50
+ - `enableSmartPaste` - Toggle smart paste
51
+
52
+ ## [1.6.0] - 2026-09-03
53
+
54
+ ### Added
55
+
56
+ - **Color Decorations**: Automatically highlights color values (`#ff0000`, `rgb()`, `rgba()`, `hsl()`, `hsla()`) in templates
57
+ - **Code Actions**: Quick fixes for common issues
58
+ - **Find References**: Find all references to blocks and includes
59
+ - **New Commands**: wrapInBlock, wrapInFor, wrapInIf, addPrettierIgnore
60
+ - **New Settings**: enableColorDecorations, enableCodeActions
61
+
62
+ ### Changed
63
+
64
+ - Improved completion items with argument hints
65
+ - Better validation diagnostics
66
+ - Enhanced outline view with icons
67
+
68
+ ## [1.5.0] - 2026-09-03
69
+
70
+ ### Added
71
+
72
+ - **Go-to-Definition**: Jump to included/extended templates and block definitions
73
+ - **Outline View**: See template structure
74
+ - **forloop.* Completions**: Auto-complete loop variables
75
+ - **Keyboard Shortcut**: `Ctrl+Shift+F` to wrap selection with filter
76
+
77
+ ## [1.4.0] - 2026-09-02
78
+
79
+ ### Added
80
+
81
+ - Dual language support: `miki-template` and `django-html`
82
+ - File associations: `.miki`, `.miki-template`, `.django`, `.dj`
83
+ - Comprehensive filter support (70+ filters)
84
+ - Prettier integration with `prettier-ignore`
85
+
86
+ ## [1.3.0] - 2026-08-15
87
+
88
+ ### Added
89
+
90
+ - Buy Me a Coffee integration
91
+ - Format on save configuration
92
+
93
+ ## [1.2.0] - 2026-06-01
94
+
95
+ ### Added
96
+
97
+ - Initial release
98
+ - Basic syntax highlighting
99
+ - Code snippets
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 miki-template contributors
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) 2026 miki-template contributors
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.