File tree Expand file tree Collapse file tree 14 files changed +81
-33
lines changed
simple-monorepo-pnpm/packages Expand file tree Collapse file tree 14 files changed +81
-33
lines changed Original file line number Diff line number Diff line change @@ -19,30 +19,10 @@ jobs:
19
19
steps :
20
20
- name : Checkout
21
21
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
22
- - name : Use Node ${{matrix.node_version}}
23
- uses : actions/setup-node@master
22
+ - name : Set up env
23
+ uses : the-guild-org/shared-config/setup@v1
24
24
with :
25
25
node-version : ${{ matrix.node_version }}
26
- - uses : pnpm/action-setup@v2
27
- name : Install pnpm
28
- id : pnpm-install
29
- with :
30
- version : 8
31
- run_install : false
32
- - name : Get pnpm store directory
33
- id : pnpm-cache
34
- shell : bash
35
- run : |
36
- echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
37
- - uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4
38
- name : Setup pnpm cache
39
- with :
40
- path : ${{ steps.pnpm-cache.outputs.STORE_PATH }}
41
- key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
42
- restore-keys : |
43
- ${{ runner.os }}-pnpm-store-
44
- - name : Install dependencies
45
- run : pnpm install
46
26
- name : Build dependencies
47
27
run : pnpm run build
48
28
- name : Run Tests
Original file line number Diff line number Diff line change 64
64
"devDependencies" : {
65
65
"@changesets/changelog-github" : " 0.5.1" ,
66
66
"@changesets/cli" : " 2.29.4" ,
67
+ "@ianvs/prettier-plugin-sort-imports" : " 4.4.2" ,
67
68
"@theguild/prettier-config" : " 3.0.1" ,
68
69
"@types/fs-extra" : " 11.0.4" ,
69
70
"@types/js-yaml" : " 4.0.9" ,
77
78
"jest-resolve" : " 29.7.0" ,
78
79
"jest-snapshot-serializer-raw" : " 2.0.0" ,
79
80
"prettier" : " 3.5.3" ,
81
+ "prettier-plugin-pkg" : " 0.19.1" ,
82
+ "prettier-plugin-sh" : " 0.17.4" ,
80
83
"rimraf" : " 6.0.1" ,
81
84
"typescript" : " 5.8.3" ,
82
85
"vitest" : " 3.2.1"
Original file line number Diff line number Diff line change 5
5
"node" : " >= 14.0.0"
6
6
},
7
7
"main" : " dist/esm/index.js" ,
8
+ "typings" : " dist/typings/index.d.ts" ,
8
9
"exports" : {
9
10
"." : {
10
11
"import" : {
18
19
},
19
20
"./package.json" : " ./package.json"
20
21
},
21
- "typings" : " dist/typings/index.d.ts" ,
22
22
"publishConfig" : {
23
23
"directory" : " dist" ,
24
24
"access" : " public"
Original file line number Diff line number Diff line change 6
6
"pnpm" : " >= 8.0.0"
7
7
},
8
8
"main" : " dist/esm/index.js" ,
9
+ "typings" : " dist/typings/index.d.ts" ,
9
10
"exports" : {
10
11
"." : {
11
12
"require" : {
37
38
},
38
39
"./package.json" : " ./package.json"
39
40
},
40
- "typings" : " dist/typings/index.d.ts" ,
41
41
"publishConfig" : {
42
42
"directory" : " dist" ,
43
43
"access" : " public"
Original file line number Diff line number Diff line change 5
5
"node" : " >= 14.0.0"
6
6
},
7
7
"main" : " dist/esm/index.js" ,
8
+ "typings" : " dist/typings/index.d.ts" ,
8
9
"exports" : {
9
10
"." : {
10
11
"require" : {
36
37
},
37
38
"./package.json" : " ./package.json"
38
39
},
39
- "typings" : " dist/typings/index.d.ts" ,
40
40
"publishConfig" : {
41
41
"directory" : " dist" ,
42
42
"access" : " public"
Original file line number Diff line number Diff line change 8
8
"bbb" : " dist/cjs/log-the-world.js"
9
9
},
10
10
"main" : " dist/esm/index.js" ,
11
+ "typings" : " dist/typings/index.d.ts" ,
11
12
"exports" : {
12
13
"." : {
13
14
"require" : {
39
40
},
40
41
"./package.json" : " ./package.json"
41
42
},
42
- "typings" : " dist/typings/index.d.ts" ,
43
43
"publishConfig" : {
44
44
"directory" : " dist" ,
45
45
"access" : " public"
Original file line number Diff line number Diff line change 5
5
"node" : " >= 14.0.0"
6
6
},
7
7
"main" : " dist/esm/index.js" ,
8
+ "typings" : " dist/typings/index.d.ts" ,
8
9
"exports" : {
9
10
"." : {
10
11
"require" : {
22
23
},
23
24
"./package.json" : " ./package.json"
24
25
},
25
- "typings" : " dist/typings/index.d.ts" ,
26
26
"publishConfig" : {
27
27
"directory" : " dist" ,
28
28
"access" : " public"
Original file line number Diff line number Diff line change 5
5
"node" : " >= 14.0.0"
6
6
},
7
7
"main" : " dist/esm/index.js" ,
8
+ "typings" : " dist/typings/index.d.ts" ,
8
9
"exports" : {
9
10
"." : {
10
11
"require" : {
36
37
},
37
38
"./package.json" : " ./package.json"
38
39
},
39
- "typings" : " dist/typings/index.d.ts" ,
40
40
"publishConfig" : {
41
41
"directory" : " dist" ,
42
42
"access" : " public"
Original file line number Diff line number Diff line change 8
8
"bbb" : " dist/cjs/log-the-world.js"
9
9
},
10
10
"main" : " dist/esm/index.js" ,
11
+ "typings" : " dist/typings/index.d.ts" ,
11
12
"exports" : {
12
13
"." : {
13
14
"require" : {
39
40
},
40
41
"./package.json" : " ./package.json"
41
42
},
42
- "typings" : " dist/typings/index.d.ts" ,
43
43
"publishConfig" : {
44
44
"directory" : " dist" ,
45
45
"access" : " public"
You can’t perform that action at this time.
0 commit comments