Skip to content

Commit 7838da7

Browse files
committed
Add test for package summary plugin
Signed-off-by: swastik <swastkk@gmail.com>
1 parent 1667ea1 commit 7838da7

File tree

39 files changed

+62299
-101
lines changed

39 files changed

+62299
-101
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# EditorConfig is awesome: http://EditorConfig.org
2+
3+
root = true
4+
5+
[*]
6+
indent_size = 2
7+
indent_style = space
8+
end_of_line = lf
9+
charset = utf-8
10+
trim_trailing_whitespace = true
11+
insert_final_newline = true
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: CI
2+
on:
3+
- push
4+
- pull_request
5+
jobs:
6+
test:
7+
name: Node.js ${{ matrix.node-version }}
8+
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
node-version:
12+
- "16"
13+
- "*"
14+
steps:
15+
- uses: actions/checkout@v3
16+
- uses: actions/setup-node@v1
17+
with:
18+
node-version: ${{ matrix.node-version }}
19+
- name: Get npm cache directory
20+
id: npm-cache-dir
21+
shell: bash
22+
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
23+
- uses: actions/cache@v3
24+
id: npm-cache
25+
with:
26+
path: ${{ steps.npm-cache-dir.outputs.dir }}
27+
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
28+
restore-keys: |
29+
${{ runner.os }}-node-
30+
- run: npm ci --workspaces --include-workspace-root
31+
- run: npm test --workspaces
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
node_modules/
2+
coverage/
3+
.DS_Store
4+
npm-debug.log
5+
dist/
6+
*.tsbuildinfo
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2014 Blake Embrey (hello@blakeembrey.com)
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
13+
all 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
21+
THE SOFTWARE.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Change Case Monorepo
2+
3+
> Transform a string between `camelCase`, `PascalCase`, `Capital Case`, `snake_case`, `param-case`, `CONSTANT_CASE` and others.
4+
5+
## Packages
6+
7+
- [change-case](https://github.com/blakeembrey/change-case/tree/master/packages/change-case)
8+
- [sponge-case](https://github.com/blakeembrey/change-case/tree/master/packages/sponge-case)
9+
- [swap-case](https://github.com/blakeembrey/change-case/tree/master/packages/swap-case)
10+
- [title-case](https://github.com/blakeembrey/change-case/tree/master/packages/title-case)
11+
12+
### TypeScript and ESM
13+
14+
All packages are [pure ESM packages](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c) and ship with TypeScript definitions. They cannot be `require`'d or used with legacy `node` module resolution in TypeScript.
15+
16+
## Related
17+
18+
- [Meteor](https://github.com/Konecty/change-case)
19+
- [Atom](https://github.com/robhurring/atom-change-case)
20+
- [VSCode](https://github.com/wmaurer/vscode-change-case)
21+
22+
## License
23+
24+
MIT
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Security Policy
2+
3+
## Security contact information
4+
5+
To report a security vulnerability, please use the [Tidelift security contact](https://tidelift.com/security). Tidelift will coordinate the fix and disclosure.

0 commit comments

Comments
 (0)