Skip to content

Commit daa6404

Browse files
authoredDec 22, 2021
feat: typescript support for config file (#2973)
* feat: typescript support for config file * chore: fix that Support for the experimental syntax 'classProperties' isn't currently enabled
1 parent 19eeb14 commit daa6404

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+2596
-206
lines changed
 

‎.eslintignore

+1
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@
44
!.vuepress
55
packages/@vuepress/shared-utils/lib
66
packages/@vuepress/shared-utils/types
7+
packages/vuepress/types

‎.github/workflows/pull-request-ci.yml

+8-9
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,19 @@ jobs:
77
pr:
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/checkout@v1
11-
- uses: actions/setup-node@v1
10+
- uses: actions/checkout@v2
11+
- uses: actions/setup-node@v2
1212
with:
13-
node-version: '12'
13+
node-version: '14'
14+
check-latest: true
1415
- name: Get yarn cache directory path
1516
id: yarn-cache-dir-path
1617
run: echo "::set-output name=dir::$(yarn cache dir)"
17-
- uses: actions/cache@v1
18+
19+
- uses: actions/cache@v2
1820
with:
19-
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
20-
key: ${{ runner.os }}-node-modules-${{ hashFiles('yarn.lock') }}
21-
restore-keys: |
22-
${{ runner.os }}-node-modules-
23-
${{ runner.os }}-
21+
path: '**/node_modules'
22+
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
2423

2524
- name: Install dependencies
2625
if: steps.yarn-cache.outputs.cache-hit != 'true'

0 commit comments

Comments
 (0)
Please sign in to comment.