Skip to content

Commit dbb41c2

Browse files
committed
Minor changes
1 parent 2f4973c commit dbb41c2

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/test-multiple-builds.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- name: Patch for CJS
3737
if: ${{ matrix.build == 'cjs' }}
3838
run: |
39-
sed -i~ -e "s/<rootDir>\/src\(.*\)\.ts/<rootDir>\/dist\1.js/" package.jsonx
39+
sed -i~ "s/<rootDir>\/src\(.*\)\.ts/<rootDir>\/dist\1.js/" package.jsonx
4040
- name: Patch for ESM
4141
if: ${{ matrix.build == 'esm' }}
4242
run: |

.github/workflows/test-old-typescript.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ jobs:
3333
- run: yarn build
3434
- name: Patch for Old TS
3535
run: |
36-
sed -i~ 's/"moduleResolution": "bundler",/"moduleResolution": "node",/' tsconfig.json
37-
sed -i~ 's/"allowImportingTsExtensions": true,//' tsconfig.json
38-
sed -i~ 's/"zustand": \["\.\/src\/index\.ts"\],/"zustand": [".\/dist\/index.d.ts"],/' tsconfig.json
39-
sed -i~ 's/"zustand\/\*": \["\.\/src\/\*\.ts"\]/"zustand\/*": [".\/dist\/*.d.ts"]/' tsconfig.json
40-
sed -i~ 's/"include": .*/"include": ["src\/types.d.ts", "dist\/**\/*", "tests\/**\/*"],/' tsconfig.json
36+
sed -i~ -e 's/"moduleResolution": "bundler",/"moduleResolution": "node",/' tsconfig.json
37+
sed -i~ -e 's/"allowImportingTsExtensions": true,//' tsconfig.json
38+
sed -i~ -e 's/"zustand": \["\.\/src\/index\.ts"\],/"zustand": [".\/dist\/index.d.ts"],/' tsconfig.json
39+
sed -i~ -e 's/"zustand\/\*": \["\.\/src\/\*\.ts"\]/"zustand\/*": [".\/dist\/*.d.ts"]/' tsconfig.json
40+
sed -i~ -e 's/"include": .*/"include": ["src\/types.d.ts", "dist\/**\/*", "tests\/**\/*"],/' tsconfig.json
4141
- name: Test ${{ matrix.typescript }}
4242
run: |
4343
yarn add -D typescript@${{ matrix.typescript }}

0 commit comments

Comments
 (0)