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:
1919 steps :
2020 - name : Checkout
2121 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
2424 with :
2525 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
4626 - name : Build dependencies
4727 run : pnpm run build
4828 - name : Run Tests
Original file line number Diff line number Diff line change 6464 "devDependencies" : {
6565 "@changesets/changelog-github" : " 0.5.1" ,
6666 "@changesets/cli" : " 2.29.4" ,
67+ "@ianvs/prettier-plugin-sort-imports" : " 4.4.2" ,
6768 "@theguild/prettier-config" : " 3.0.1" ,
6869 "@types/fs-extra" : " 11.0.4" ,
6970 "@types/js-yaml" : " 4.0.9" ,
7778 "jest-resolve" : " 29.7.0" ,
7879 "jest-snapshot-serializer-raw" : " 2.0.0" ,
7980 "prettier" : " 3.5.3" ,
81+ "prettier-plugin-pkg" : " 0.19.1" ,
82+ "prettier-plugin-sh" : " 0.17.4" ,
8083 "rimraf" : " 6.0.1" ,
8184 "typescript" : " 5.8.3" ,
8285 "vitest" : " 3.2.1"
Original file line number Diff line number Diff line change 55 "node" : " >= 14.0.0"
66 },
77 "main" : " dist/esm/index.js" ,
8+ "typings" : " dist/typings/index.d.ts" ,
89 "exports" : {
910 "." : {
1011 "import" : {
1819 },
1920 "./package.json" : " ./package.json"
2021 },
21- "typings" : " dist/typings/index.d.ts" ,
2222 "publishConfig" : {
2323 "directory" : " dist" ,
2424 "access" : " public"
Original file line number Diff line number Diff line change 66 "pnpm" : " >= 8.0.0"
77 },
88 "main" : " dist/esm/index.js" ,
9+ "typings" : " dist/typings/index.d.ts" ,
910 "exports" : {
1011 "." : {
1112 "require" : {
3738 },
3839 "./package.json" : " ./package.json"
3940 },
40- "typings" : " dist/typings/index.d.ts" ,
4141 "publishConfig" : {
4242 "directory" : " dist" ,
4343 "access" : " public"
Original file line number Diff line number Diff line change 55 "node" : " >= 14.0.0"
66 },
77 "main" : " dist/esm/index.js" ,
8+ "typings" : " dist/typings/index.d.ts" ,
89 "exports" : {
910 "." : {
1011 "require" : {
3637 },
3738 "./package.json" : " ./package.json"
3839 },
39- "typings" : " dist/typings/index.d.ts" ,
4040 "publishConfig" : {
4141 "directory" : " dist" ,
4242 "access" : " public"
Original file line number Diff line number Diff line change 88 "bbb" : " dist/cjs/log-the-world.js"
99 },
1010 "main" : " dist/esm/index.js" ,
11+ "typings" : " dist/typings/index.d.ts" ,
1112 "exports" : {
1213 "." : {
1314 "require" : {
3940 },
4041 "./package.json" : " ./package.json"
4142 },
42- "typings" : " dist/typings/index.d.ts" ,
4343 "publishConfig" : {
4444 "directory" : " dist" ,
4545 "access" : " public"
Original file line number Diff line number Diff line change 55 "node" : " >= 14.0.0"
66 },
77 "main" : " dist/esm/index.js" ,
8+ "typings" : " dist/typings/index.d.ts" ,
89 "exports" : {
910 "." : {
1011 "require" : {
2223 },
2324 "./package.json" : " ./package.json"
2425 },
25- "typings" : " dist/typings/index.d.ts" ,
2626 "publishConfig" : {
2727 "directory" : " dist" ,
2828 "access" : " public"
Original file line number Diff line number Diff line change 55 "node" : " >= 14.0.0"
66 },
77 "main" : " dist/esm/index.js" ,
8+ "typings" : " dist/typings/index.d.ts" ,
89 "exports" : {
910 "." : {
1011 "require" : {
3637 },
3738 "./package.json" : " ./package.json"
3839 },
39- "typings" : " dist/typings/index.d.ts" ,
4040 "publishConfig" : {
4141 "directory" : " dist" ,
4242 "access" : " public"
Original file line number Diff line number Diff line change 88 "bbb" : " dist/cjs/log-the-world.js"
99 },
1010 "main" : " dist/esm/index.js" ,
11+ "typings" : " dist/typings/index.d.ts" ,
1112 "exports" : {
1213 "." : {
1314 "require" : {
3940 },
4041 "./package.json" : " ./package.json"
4142 },
42- "typings" : " dist/typings/index.d.ts" ,
4343 "publishConfig" : {
4444 "directory" : " dist" ,
4545 "access" : " public"
You can’t perform that action at this time.
0 commit comments