From 282af3561540a7dbc8887967b1db2578a0d88f6f Mon Sep 17 00:00:00 2001 From: Olivier Louvignes Date: Mon, 4 Dec 2023 21:13:57 +0100 Subject: [PATCH] feat(update): minor changes --- package.json | 3 ++- pnpm-lock.yaml | 42 +++++++++++++++++++++++++++++++++++++----- 2 files changed, 39 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 70311f0..974d43b 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "dev": "cd example; npm run dev", "android": "cd example; npm run android", "ios": "cd example; npm run ios", - "build": "rm -rf dist/*; tsc --project tsconfig.build.json", + "build": "rm -rf dist/*; tsc --project tsconfig.build.json && tsc-alias -p tsconfig.build.json", "build:tsup": "tsup src/index.ts --format cjs,esm --sourcemap --dts --clean", "watch": "npm run build -- --watch", "prettify": "prettier --write src/ test/", @@ -59,6 +59,7 @@ "react-native-haptic-feedback": "^2.2.0", "react-native-reanimated": "3.5.4", "react-test-renderer": "^18.2.0", + "tsc-alias": "^1.8.8", "tsup": "^8.0.0", "typescript": "^5.3.2" } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ff662fd..6e727a7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -76,10 +76,13 @@ importers: version: 2.2.0(react-native@0.72.7) react-native-reanimated: specifier: 3.5.4 - version: 3.5.4(@babel/core@7.23.3)(@babel/plugin-proposal-nullish-coalescing-operator@7.18.6)(@babel/plugin-proposal-optional-chaining@7.21.0)(@babel/plugin-transform-arrow-functions@7.22.5)(@babel/plugin-transform-shorthand-properties@7.22.5)(@babel/plugin-transform-template-literals@7.22.5)(react-native@0.72.7)(react@18.2.0) + version: 3.5.4(@babel/core@7.23.3)(@babel/plugin-proposal-nullish-coalescing-operator@7.18.6)(@babel/plugin-proposal-optional-chaining@7.21.0)(@babel/plugin-transform-arrow-functions@7.23.3)(@babel/plugin-transform-shorthand-properties@7.23.3)(@babel/plugin-transform-template-literals@7.23.3)(react-native@0.72.7)(react@18.2.0) react-test-renderer: specifier: ^18.2.0 version: 18.2.0(react@18.2.0) + tsc-alias: + specifier: ^1.8.8 + version: 1.8.8 tsup: specifier: ^8.0.0 version: 8.0.0(typescript@5.3.2) @@ -11263,6 +11266,11 @@ packages: resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} dev: true + /mylas@2.1.13: + resolution: {integrity: sha512-+MrqnJRtxdF+xngFfUUkIMQrUUL0KsxbADUkn23Z/4ibGg192Q+z+CQyiYwvWTsYjJygmMR8+w3ZDa98Zh6ESg==} + engines: {node: '>=12.0.0'} + dev: true + /mz@2.7.0: resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==} dependencies: @@ -11736,6 +11744,13 @@ packages: find-up: 3.0.0 dev: true + /plimit-lit@1.6.1: + resolution: {integrity: sha512-B7+VDyb8Tl6oMJT9oSO2CW8XC/T4UcJGrwOVoNGwOQsQYhlpfajmrMj5xeejqaASq3V/EqThyOeATEOMuSEXiA==} + engines: {node: '>=12'} + dependencies: + queue-lit: 1.5.2 + dev: true + /posix-character-classes@0.1.1: resolution: {integrity: sha512-xTgYBc3fuo7Yt7JbiuFxSYGToMoz8fLoE6TC9Wx1P/u+LfeThMOAqmuyECnlBaaJb+u1m9hHiXUEtwW4OzfUJg==} engines: {node: '>=0.10.0'} @@ -11901,6 +11916,11 @@ packages: resolution: {integrity: sha512-rLSBxJjP+4DQOgcJAx6RZHT2he2pkhQdSnofG5VWyVl6GRq/K02ISOuOLcsMOrtKDIJb8JN2zm3FFzWNbezdPw==} dev: true + /queue-lit@1.5.2: + resolution: {integrity: sha512-tLc36IOPeMAubu8BkW8YDBV+WyIgKlYU7zUNs0J5Vk9skSZ4JfGlPOqplP0aHdfv7HL0B2Pg6nwiq60Qc6M2Hw==} + engines: {node: '>=12'} + dev: true + /queue-microtask@1.2.3: resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} dev: true @@ -12031,7 +12051,7 @@ packages: - supports-color dev: true - /react-native-reanimated@3.5.4(@babel/core@7.23.3)(@babel/plugin-proposal-nullish-coalescing-operator@7.18.6)(@babel/plugin-proposal-optional-chaining@7.21.0)(@babel/plugin-transform-arrow-functions@7.22.5)(@babel/plugin-transform-shorthand-properties@7.22.5)(@babel/plugin-transform-template-literals@7.22.5)(react-native@0.72.7)(react@18.2.0): + /react-native-reanimated@3.5.4(@babel/core@7.23.3)(@babel/plugin-proposal-nullish-coalescing-operator@7.18.6)(@babel/plugin-proposal-optional-chaining@7.21.0)(@babel/plugin-transform-arrow-functions@7.23.3)(@babel/plugin-transform-shorthand-properties@7.23.3)(@babel/plugin-transform-template-literals@7.23.3)(react-native@0.72.7)(react@18.2.0): resolution: {integrity: sha512-8we9LLDO1o4Oj9/DICeEJ2K1tjfqkJagqQUglxeUAkol/HcEJ6PGxIrpBcNryLqCDYEcu6FZWld/FzizBIw6bg==} peerDependencies: '@babel/core': ^7.0.0-0 @@ -12046,10 +12066,10 @@ packages: '@babel/core': 7.23.3 '@babel/plugin-proposal-nullish-coalescing-operator': 7.18.6(@babel/core@7.23.3) '@babel/plugin-proposal-optional-chaining': 7.21.0(@babel/core@7.23.3) - '@babel/plugin-transform-arrow-functions': 7.22.5(@babel/core@7.23.3) + '@babel/plugin-transform-arrow-functions': 7.23.3(@babel/core@7.23.3) '@babel/plugin-transform-object-assign': 7.18.6(@babel/core@7.23.3) - '@babel/plugin-transform-shorthand-properties': 7.22.5(@babel/core@7.23.3) - '@babel/plugin-transform-template-literals': 7.22.5(@babel/core@7.23.3) + '@babel/plugin-transform-shorthand-properties': 7.23.3(@babel/core@7.23.3) + '@babel/plugin-transform-template-literals': 7.23.3(@babel/core@7.23.3) '@babel/preset-typescript': 7.18.6(@babel/core@7.23.3) convert-source-map: 2.0.0 invariant: 2.2.4 @@ -13151,6 +13171,18 @@ packages: resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==} dev: true + /tsc-alias@1.8.8: + resolution: {integrity: sha512-OYUOd2wl0H858NvABWr/BoSKNERw3N9GTi3rHPK8Iv4O1UyUXIrTTOAZNHsjlVpXFOhpJBVARI1s+rzwLivN3Q==} + hasBin: true + dependencies: + chokidar: 3.5.3 + commander: 9.5.0 + globby: 11.1.0 + mylas: 2.1.13 + normalize-path: 3.0.0 + plimit-lit: 1.6.1 + dev: true + /tslib@1.14.1: resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==} dev: true