Skip to content

Commit

Permalink
chore: update package name
Browse files Browse the repository at this point in the history
  • Loading branch information
humandetail committed May 30, 2023
1 parent 26a4e7e commit 2580d39
Show file tree
Hide file tree
Showing 22 changed files with 2,270 additions and 242 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/doc.ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
uses: pnpm/action-setup@v2.0.1
with:
version: 7.13.4
- name: Build @mentions/vanilla
- name: Build core
run: pwd && pnpm i && pnpm run build
- name: Build docs
run: pwd && pnpm --filter ./packages/docs i && pnpm run build:docs
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"preview:docs": "pnpm --filter ./packages/docs preview",
"prepare": "husky install",
"test:core": "pnpm --filter ./packages/core test",
"test:coverage:core": "pnpm --filter ./packages/core coverage"
"test:coverage:core": "pnpm --filter ./packages/core coverage",
"release": "pnpm --filter ./packages/core release"
},
"devDependencies": {
"@commitlint/cli": "^17.6.3",
Expand Down
23 changes: 23 additions & 0 deletions packages/core/.release-it.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"github": {
"release": true
},
"git": {
"tagName": "${npm.name}-${version}",
"commitMessage": "chore: release v${version}"
},
"npm": {
"publish": true
},
"hooks": {
"after:bump": ["npm run build"],
"after:git:release": "echo After git push, before github release",
"after:release": "echo Successfully released ${name} v${version} to ${repo.repository}."
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": "angular",
"infile": "CHANGELOG.md"
}
}
}
21 changes: 21 additions & 0 deletions packages/core/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2023 Humandetail

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
5 changes: 5 additions & 0 deletions packages/core/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# mentions.js

@mentions @vue @react @vanilla

see [documentation](https://humandetail.github.io/mentions/).
240 changes: 133 additions & 107 deletions packages/core/coverage/clover.xml

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions packages/core/coverage/config/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ <h1><a href="../index.html">All files</a> config</h1>
<div class='fl pad1y space-right2'>
<span class="strong">100% </span>
<span class="quiet">Statements</span>
<span class='fraction'>80/80</span>
<span class='fraction'>89/89</span>
</div>


Expand All @@ -46,7 +46,7 @@ <h1><a href="../index.html">All files</a> config</h1>
<div class='fl pad1y space-right2'>
<span class="strong">100% </span>
<span class="quiet">Lines</span>
<span class='fraction'>80/80</span>
<span class='fraction'>89/89</span>
</div>


Expand Down Expand Up @@ -84,13 +84,13 @@ <h1><a href="../index.html">All files</a> config</h1>
<div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div>
</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="80" class="abs high">80/80</td>
<td data-value="89" class="abs high">89/89</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="2" class="abs high">2/2</td>
<td data-value="0" class="pct low">0%</td>
<td data-value="1" class="abs low">0/1</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="80" class="abs high">80/80</td>
<td data-value="89" class="abs high">89/89</td>
</tr>

</tbody>
Expand All @@ -101,7 +101,7 @@ <h1><a href="../index.html">All files</a> config</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2023-05-17T06:05:39.350Z
at 2023-05-30T11:05:01.472Z
</div>
<script src="../prettify.js"></script>
<script>
Expand Down
43 changes: 35 additions & 8 deletions packages/core/coverage/config/index.ts.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ <h1><a href="../index.html">All files</a> / <a href="index.html">config</a> inde
<div class='fl pad1y space-right2'>
<span class="strong">100% </span>
<span class="quiet">Statements</span>
<span class='fraction'>80/80</span>
<span class='fraction'>89/89</span>
</div>


Expand All @@ -46,7 +46,7 @@ <h1><a href="../index.html">All files</a> / <a href="index.html">config</a> inde
<div class='fl pad1y space-right2'>
<span class="strong">100% </span>
<span class="quiet">Lines</span>
<span class='fraction'>80/80</span>
<span class='fraction'>89/89</span>
</div>


Expand Down Expand Up @@ -143,7 +143,16 @@ <h1><a href="../index.html">All files</a> / <a href="index.html">config</a> inde
<a name='L78'></a><a href='#L78'>78</a>
<a name='L79'></a><a href='#L79'>79</a>
<a name='L80'></a><a href='#L80'>80</a>
<a name='L81'></a><a href='#L81'>81</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">1x</span>
<a name='L81'></a><a href='#L81'>81</a>
<a name='L82'></a><a href='#L82'>82</a>
<a name='L83'></a><a href='#L83'>83</a>
<a name='L84'></a><a href='#L84'>84</a>
<a name='L85'></a><a href='#L85'>85</a>
<a name='L86'></a><a href='#L86'>86</a>
<a name='L87'></a><a href='#L87'>87</a>
<a name='L88'></a><a href='#L88'>88</a>
<a name='L89'></a><a href='#L89'>89</a>
<a name='L90'></a><a href='#L90'>90</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
Expand Down Expand Up @@ -192,10 +201,19 @@ <h1><a href="../index.html">All files</a> / <a href="index.html">config</a> inde
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">16x</span>
<span class="cline-any cline-yes">16x</span>
<span class="cline-any cline-yes">16x</span>
<span class="cline-any cline-yes">16x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">25x</span>
<span class="cline-any cline-yes">25x</span>
<span class="cline-any cline-yes">25x</span>
<span class="cline-any cline-yes">25x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-yes">1x</span>
Expand Down Expand Up @@ -258,6 +276,15 @@ <h1><a href="../index.html">All files</a> / <a href="index.html">config</a> inde
'input',
'mention',
'dropdown',
'dropdown-container',
'dropdown-multiple-mode',
'dropdown-header',
'dropdown-btn-cancel',
'dropdown-btn-multiple',
'dropdown-filter-input',
'dropdown-list-wrapper',
'dropdown-checkbox',
'dropdown-checkbox-checked',
'dropdown-list',
'dropdown-list-option',
'dropdown-list-option-active',
Expand Down Expand Up @@ -310,7 +337,7 @@ <h1><a href="../index.html">All files</a> / <a href="index.html">config</a> inde
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2023-05-17T06:05:39.350Z
at 2023-05-30T11:05:01.472Z
</div>
<script src="../prettify.js"></script>
<script>
Expand Down
Loading

0 comments on commit 2580d39

Please sign in to comment.