File tree Expand file tree Collapse file tree 3 files changed +4
-21
lines changed Expand file tree Collapse file tree 3 files changed +4
-21
lines changed Original file line number Diff line number Diff line change 3939
4040 - name : Upload coverage to Codecov
4141 uses : codecov/codecov-action@v2
42-
43- test_dist :
44- name : Test Dist
45- runs-on : ubuntu-latest
46- steps :
47- - name : Checkout
48- uses : actions/checkout@v2
49- with :
50- fetch-depth : 0
51-
52- - name : Setup
53- uses : ./.github/actions/setup
54-
55- - name : Run dist tests
56- run : yarn test:dist
Original file line number Diff line number Diff line change @@ -146,11 +146,7 @@ A string representing the cache key.
146146
147147### Advanced Example with Custom Key Generation
148148
149- You can customize the cache key generation.
150-
151- typescript
152-
153- Copy code
149+ You can customize the cache key generation with the ` generateKey ` arg.
154150
155151``` ts
156152import {
@@ -183,3 +179,5 @@ Contributions are welcome! Please open an issue or submit a pull request on GitH
183179## License
184180
185181This project is licensed under the MIT License.
182+
183+ :star :
Original file line number Diff line number Diff line change 11{
22 "name" : " custom-cache-decorator" ,
3- "version" : " 1.0.0 " ,
3+ "version" : " 1.0.1 " ,
44 "description" : " A decorator to wrap methods and functions with caching capabilities." ,
55 "scripts" : {
66 "postinstall" : " preconstruct dev" ,
You can’t perform that action at this time.
0 commit comments