diff --git a/package.json b/package.json index d051e73..4771d81 100644 --- a/package.json +++ b/package.json @@ -49,8 +49,7 @@ "build" ], "scripts": { - "up-hooks": "npx simple-git-hooks", - "prepare": "pnpm up-hooks", + "prepare": "pnpm npx simple-git-hooks", "postinstall": "pnpm unleashed-typescript", "build": "tsup", "watch": "nodemon ./src/program/index.ts", @@ -70,8 +69,6 @@ "eslint-plugin-import": "^2.26.0", "eslint-plugin-unicorn": "^43.0.1", "lint-staged": "^13.0.3", - "magic-string": "^0.26.2", - "micromatch": "^4.0.5", "nodemon": "^2.0.19", "prettier": "^2.7.1", "semantic-release": "^19.0.3", @@ -80,10 +77,14 @@ "tslib": "^2.4.0", "tsup": "^6.1.2", "typescript": "^4.7.4", - "unleashed-typescript": "^1.0.1", "vite": "^2.9.13", "vitest": "^0.17.0" }, + "dependencies": { + "micromatch": "^4.0.5", + "magic-string": "^0.26.2", + "unleashed-typescript": "^1.1.1" + }, "peerDependencies": { "typescript": "*", "vitest": "*" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0fbf5a4..8d2bd7e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -20,31 +20,33 @@ specifiers: tslib: ^2.4.0 tsup: ^6.1.2 typescript: ^4.7.4 - unleashed-typescript: ^1.0.1 + unleashed-typescript: ^1.1.1 vite: ^2.9.13 vitest: ^0.17.0 +dependencies: + magic-string: 0.26.2 + micromatch: 4.0.5 + unleashed-typescript: 1.1.1_typescript@4.7.4 + devDependencies: '@types/micromatch': 4.0.2 - '@types/node': 18.0.3 - '@typescript-eslint/eslint-plugin': 5.30.5_f646e16e2de31e818e163bded4698d6b - '@typescript-eslint/parser': 5.30.5_eslint@8.19.0+typescript@4.7.4 + '@types/node': 18.0.4 + '@typescript-eslint/eslint-plugin': 5.30.6_d567d64e305900596f70368277b02083 + '@typescript-eslint/parser': 5.30.6_eslint@8.19.0+typescript@4.7.4 eslint: 8.19.0 eslint-config-prettier: 8.5.0_eslint@8.19.0 eslint-plugin-import: 2.26.0_eslint@8.19.0 eslint-plugin-unicorn: 43.0.1_eslint@8.19.0 lint-staged: 13.0.3 - magic-string: 0.26.2 - micromatch: 4.0.5 nodemon: 2.0.19 prettier: 2.7.1 semantic-release: 19.0.3 simple-git-hooks: 2.8.0 - ts-node: 10.8.2_2dd5d46eecda2aef953638919121af58 + ts-node: 10.9.1_d6619d71cbee0e1ae82baf0a7f81598c tslib: 2.4.0 - tsup: 6.1.3_ts-node@10.8.2+typescript@4.7.4 + tsup: 6.1.3_ts-node@10.9.1+typescript@4.7.4 typescript: 4.7.4 - unleashed-typescript: 1.0.1_typescript@4.7.4 vite: 2.9.14 vitest: 0.17.1 @@ -167,7 +169,7 @@ packages: dependencies: '@octokit/auth-token': 3.0.0 '@octokit/graphql': 5.0.0 - '@octokit/request': 6.1.0 + '@octokit/request': 6.2.0 '@octokit/request-error': 3.0.0 '@octokit/types': 6.39.0 before-after-hook: 2.2.2 @@ -189,15 +191,15 @@ packages: resolution: {integrity: sha512-1ZZ8tX4lUEcLPvHagfIVu5S2xpHYXAmgN0+95eAOPoaVPzCfUXJtA5vASafcpWcO86ze0Pzn30TAx72aB2aguQ==} engines: {node: '>= 14'} dependencies: - '@octokit/request': 6.1.0 + '@octokit/request': 6.2.0 '@octokit/types': 6.39.0 universal-user-agent: 6.0.0 transitivePeerDependencies: - encoding dev: true - /@octokit/openapi-types/12.8.0: - resolution: {integrity: sha512-ydcKLs2KKcxlhpdWLzJxEBDEk/U5MUeqtqkXlrtAUXXFPs6vLl1PEGghFC/BbpleosB7iXs0Z4P2DGe7ZT5ZNg==} + /@octokit/openapi-types/12.9.0: + resolution: {integrity: sha512-x0wjPEnD487oMjODOSIDdVNBebyrAPE4edY0bsxp/ZX1XPPnWQWXseixbhMa5KcwpbHVdk4qbC3zzedoMdP/YQ==} dev: true /@octokit/plugin-paginate-rest/3.0.0_@octokit+core@4.0.4: @@ -218,8 +220,8 @@ packages: '@octokit/core': 4.0.4 dev: true - /@octokit/plugin-rest-endpoint-methods/6.0.0_@octokit+core@4.0.4: - resolution: {integrity: sha512-9LkEvZB3WDuayEI381O5A/eM3QQioBZrwymQp5CUCNz9UMP/yZAIqBjcPhVJJFA3IRkKO1EARo98OePt9i0rkQ==} + /@octokit/plugin-rest-endpoint-methods/6.0.1_@octokit+core@4.0.4: + resolution: {integrity: sha512-Ge227MjEykkRI7OYkJ0NIZexjO1kzKAPW/pFyWZAGWT9uO3bChn57+NKleK8r9iXXN4SM0JkpJxK8TdbeCTPYw==} engines: {node: '>= 14'} peerDependencies: '@octokit/core': '>=3' @@ -238,8 +240,8 @@ packages: once: 1.4.0 dev: true - /@octokit/request/6.1.0: - resolution: {integrity: sha512-36V+sP4bJli31TRq8sea3d/Q1XGgZ9cnqpsegkLCnvpu+hoYephSkxGlWg4KB6dyUM1IWPXVrLFOKYzObQ+MZg==} + /@octokit/request/6.2.0: + resolution: {integrity: sha512-7IAmHnaezZrgUqtRShMlByJK33MT9ZDnMRgZjnRrRV9a/jzzFwKGz0vxhFU6i7VMLraYcQ1qmcAOin37Kryq+Q==} engines: {node: '>= 14'} dependencies: '@octokit/endpoint': 7.0.0 @@ -259,7 +261,7 @@ packages: '@octokit/core': 4.0.4 '@octokit/plugin-paginate-rest': 3.0.0_@octokit+core@4.0.4 '@octokit/plugin-request-log': 1.0.4_@octokit+core@4.0.4 - '@octokit/plugin-rest-endpoint-methods': 6.0.0_@octokit+core@4.0.4 + '@octokit/plugin-rest-endpoint-methods': 6.0.1_@octokit+core@4.0.4 transitivePeerDependencies: - encoding dev: true @@ -267,7 +269,7 @@ packages: /@octokit/types/6.39.0: resolution: {integrity: sha512-Mq4N9sOAYCitTsBtDdRVrBE80lIrMBhL9Jbrw0d+j96BAzlq4V+GLHFJbHokEsVvO/9tQupQdoFdgVYhD2C8UQ==} dependencies: - '@octokit/openapi-types': 12.8.0 + '@octokit/openapi-types': 12.9.0 dev: true /@semantic-release/commit-analyzer/9.0.2_semantic-release@19.0.3: @@ -338,7 +340,7 @@ packages: lodash: 4.17.21 nerf-dart: 1.0.0 normalize-url: 6.1.0 - npm: 8.13.2 + npm: 8.14.0 rc: 1.2.8 read-pkg: 5.2.0 registry-auth-token: 4.2.2 @@ -421,8 +423,8 @@ packages: resolution: {integrity: sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==} dev: true - /@types/node/18.0.3: - resolution: {integrity: sha512-HzNRZtp4eepNitP+BD6k2L6DROIDG4Q0fm4x+dwfsr6LGmROENnok75VGw40628xf+iR24WeMFcHuuBDUAzzsQ==} + /@types/node/18.0.4: + resolution: {integrity: sha512-M0+G6V0Y4YV8cqzHssZpaNCqvYwlCiulmm0PwpNLF55r/+cT8Ol42CHRU1SEaYFH2rTwiiE1aYg/2g2rrtGdPA==} dev: true /@types/normalize-package-data/2.4.1: @@ -437,8 +439,8 @@ packages: resolution: {integrity: sha512-wWKOClTTiizcZhXnPY4wikVAwmdYHp8q6DmC+EJUzAMsycb7HB32Kh9RN4+0gExjmPmZSAQjgURXIGATPegAvA==} dev: true - /@typescript-eslint/eslint-plugin/5.30.5_f646e16e2de31e818e163bded4698d6b: - resolution: {integrity: sha512-lftkqRoBvc28VFXEoRgyZuztyVUQ04JvUnATSPtIRFAccbXTWL6DEtXGYMcbg998kXw1NLUJm7rTQ9eUt+q6Ig==} + /@typescript-eslint/eslint-plugin/5.30.6_d567d64e305900596f70368277b02083: + resolution: {integrity: sha512-J4zYMIhgrx4MgnZrSDD7sEnQp7FmhKNOaqaOpaoQ/SfdMfRB/0yvK74hTnvH+VQxndZynqs5/Hn4t+2/j9bADg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: '@typescript-eslint/parser': ^5.0.0 @@ -448,10 +450,10 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/parser': 5.30.5_eslint@8.19.0+typescript@4.7.4 - '@typescript-eslint/scope-manager': 5.30.5 - '@typescript-eslint/type-utils': 5.30.5_eslint@8.19.0+typescript@4.7.4 - '@typescript-eslint/utils': 5.30.5_eslint@8.19.0+typescript@4.7.4 + '@typescript-eslint/parser': 5.30.6_eslint@8.19.0+typescript@4.7.4 + '@typescript-eslint/scope-manager': 5.30.6 + '@typescript-eslint/type-utils': 5.30.6_eslint@8.19.0+typescript@4.7.4 + '@typescript-eslint/utils': 5.30.6_eslint@8.19.0+typescript@4.7.4 debug: 4.3.4 eslint: 8.19.0 functional-red-black-tree: 1.0.1 @@ -464,8 +466,8 @@ packages: - supports-color dev: true - /@typescript-eslint/parser/5.30.5_eslint@8.19.0+typescript@4.7.4: - resolution: {integrity: sha512-zj251pcPXI8GO9NDKWWmygP6+UjwWmrdf9qMW/L/uQJBM/0XbU2inxe5io/234y/RCvwpKEYjZ6c1YrXERkK4Q==} + /@typescript-eslint/parser/5.30.6_eslint@8.19.0+typescript@4.7.4: + resolution: {integrity: sha512-gfF9lZjT0p2ZSdxO70Xbw8w9sPPJGfAdjK7WikEjB3fcUI/yr9maUVEdqigBjKincUYNKOmf7QBMiTf719kbrA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 @@ -474,9 +476,9 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/scope-manager': 5.30.5 - '@typescript-eslint/types': 5.30.5 - '@typescript-eslint/typescript-estree': 5.30.5_typescript@4.7.4 + '@typescript-eslint/scope-manager': 5.30.6 + '@typescript-eslint/types': 5.30.6 + '@typescript-eslint/typescript-estree': 5.30.6_typescript@4.7.4 debug: 4.3.4 eslint: 8.19.0 typescript: 4.7.4 @@ -484,16 +486,16 @@ packages: - supports-color dev: true - /@typescript-eslint/scope-manager/5.30.5: - resolution: {integrity: sha512-NJ6F+YHHFT/30isRe2UTmIGGAiXKckCyMnIV58cE3JkHmaD6e5zyEYm5hBDv0Wbin+IC0T1FWJpD3YqHUG/Ydg==} + /@typescript-eslint/scope-manager/5.30.6: + resolution: {integrity: sha512-Hkq5PhLgtVoW1obkqYH0i4iELctEKixkhWLPTYs55doGUKCASvkjOXOd/pisVeLdO24ZX9D6yymJ/twqpJiG3g==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: - '@typescript-eslint/types': 5.30.5 - '@typescript-eslint/visitor-keys': 5.30.5 + '@typescript-eslint/types': 5.30.6 + '@typescript-eslint/visitor-keys': 5.30.6 dev: true - /@typescript-eslint/type-utils/5.30.5_eslint@8.19.0+typescript@4.7.4: - resolution: {integrity: sha512-k9+ejlv1GgwN1nN7XjVtyCgE0BTzhzT1YsQF0rv4Vfj2U9xnslBgMYYvcEYAFVdvhuEscELJsB7lDkN7WusErw==} + /@typescript-eslint/type-utils/5.30.6_eslint@8.19.0+typescript@4.7.4: + resolution: {integrity: sha512-GFVVzs2j0QPpM+NTDMXtNmJKlF842lkZKDSanIxf+ArJsGeZUIaeT4jGg+gAgHt7AcQSFwW7htzF/rbAh2jaVA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: '*' @@ -502,7 +504,7 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/utils': 5.30.5_eslint@8.19.0+typescript@4.7.4 + '@typescript-eslint/utils': 5.30.6_eslint@8.19.0+typescript@4.7.4 debug: 4.3.4 eslint: 8.19.0 tsutils: 3.21.0_typescript@4.7.4 @@ -511,13 +513,13 @@ packages: - supports-color dev: true - /@typescript-eslint/types/5.30.5: - resolution: {integrity: sha512-kZ80w/M2AvsbRvOr3PjaNh6qEW1LFqs2pLdo2s5R38B2HYXG8Z0PP48/4+j1QHJFL3ssHIbJ4odPRS8PlHrFfw==} + /@typescript-eslint/types/5.30.6: + resolution: {integrity: sha512-HdnP8HioL1F7CwVmT4RaaMX57RrfqsOMclZc08wGMiDYJBsLGBM7JwXM4cZJmbWLzIR/pXg1kkrBBVpxTOwfUg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /@typescript-eslint/typescript-estree/5.30.5_typescript@4.7.4: - resolution: {integrity: sha512-qGTc7QZC801kbYjAr4AgdOfnokpwStqyhSbiQvqGBLixniAKyH+ib2qXIVo4P9NgGzwyfD9I0nlJN7D91E1VpQ==} + /@typescript-eslint/typescript-estree/5.30.6_typescript@4.7.4: + resolution: {integrity: sha512-Z7TgPoeYUm06smfEfYF0RBkpF8csMyVnqQbLYiGgmUSTaSXTP57bt8f0UFXstbGxKIreTwQCujtaH0LY9w9B+A==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: typescript: '*' @@ -525,8 +527,8 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/types': 5.30.5 - '@typescript-eslint/visitor-keys': 5.30.5 + '@typescript-eslint/types': 5.30.6 + '@typescript-eslint/visitor-keys': 5.30.6 debug: 4.3.4 globby: 11.1.0 is-glob: 4.0.3 @@ -537,16 +539,16 @@ packages: - supports-color dev: true - /@typescript-eslint/utils/5.30.5_eslint@8.19.0+typescript@4.7.4: - resolution: {integrity: sha512-o4SSUH9IkuA7AYIfAvatldovurqTAHrfzPApOZvdUq01hHojZojCFXx06D/aFpKCgWbMPRdJBWAC3sWp3itwTA==} + /@typescript-eslint/utils/5.30.6_eslint@8.19.0+typescript@4.7.4: + resolution: {integrity: sha512-xFBLc/esUbLOJLk9jKv0E9gD/OH966M40aY9jJ8GiqpSkP2xOV908cokJqqhVd85WoIvHVHYXxSFE4cCSDzVvA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 dependencies: '@types/json-schema': 7.0.11 - '@typescript-eslint/scope-manager': 5.30.5 - '@typescript-eslint/types': 5.30.5 - '@typescript-eslint/typescript-estree': 5.30.5_typescript@4.7.4 + '@typescript-eslint/scope-manager': 5.30.6 + '@typescript-eslint/types': 5.30.6 + '@typescript-eslint/typescript-estree': 5.30.6_typescript@4.7.4 eslint: 8.19.0 eslint-scope: 5.1.1 eslint-utils: 3.0.0_eslint@8.19.0 @@ -555,11 +557,11 @@ packages: - typescript dev: true - /@typescript-eslint/visitor-keys/5.30.5: - resolution: {integrity: sha512-D+xtGo9HUMELzWIUqcQc0p2PO4NyvTrgIOK/VnSH083+8sq0tiLozNRKuLarwHYGRuA6TVBQSuuLwJUDWd3aaA==} + /@typescript-eslint/visitor-keys/5.30.6: + resolution: {integrity: sha512-41OiCjdL2mCaSDi2SvYbzFLlqqlm5v1ZW9Ym55wXKL/Rx6OOB1IbuFGo71Fj6Xy90gJDFTlgOS+vbmtGHPTQQA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: - '@typescript-eslint/types': 5.30.5 + '@typescript-eslint/types': 5.30.6 eslint-visitor-keys: 3.3.0 dev: true @@ -764,7 +766,6 @@ packages: engines: {node: '>=8'} dependencies: fill-range: 7.0.1 - dev: true /builtin-modules/3.3.0: resolution: {integrity: sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==} @@ -1748,7 +1749,6 @@ packages: engines: {node: '>=8'} dependencies: to-regex-range: 5.0.1 - dev: true /find-up/2.1.0: resolution: {integrity: sha512-NWzkk0jSJtTt08+FBFMvXoeZnOJD+jTtsRmBYbAIzJdX6l7dLgR7CTubCM5/eDdPUBvLCeVasP1brfVR/9/EZQ==} @@ -2193,7 +2193,6 @@ packages: /is-number/7.0.0: resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==} engines: {node: '>=0.12.0'} - dev: true /is-obj/2.0.0: resolution: {integrity: sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==} @@ -2435,8 +2434,8 @@ packages: engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} dev: true - /local-pkg/0.4.1: - resolution: {integrity: sha512-lL87ytIGP2FU5PWwNDo0w3WhIo2gopIAxPg9RxDYF7m4rr5ahuZxP22xnJHIvaLTe4Z9P6uKKY2UHiwyB4pcrw==} + /local-pkg/0.4.2: + resolution: {integrity: sha512-mlERgSPrbxU3BP4qBqAvvwlgW4MTg78iwJdGGnv7kibKjWcJksrG3t6LB5lXI93wXRDvG4NpUgJFmTG4T6rdrg==} engines: {node: '>=14'} dev: true @@ -2519,7 +2518,7 @@ packages: engines: {node: '>=12'} dependencies: sourcemap-codec: 1.4.8 - dev: true + dev: false /make-error/1.3.6: resolution: {integrity: sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==} @@ -2535,7 +2534,7 @@ packages: engines: {node: '>=8'} dev: true - /marked-terminal/5.1.1_marked@4.0.17: + /marked-terminal/5.1.1_marked@4.0.18: resolution: {integrity: sha512-+cKTOx9P4l7HwINYhzbrBSyzgxO2HaHKGZGuB1orZsMIgXYaJyfidT81VXRdpelW/PcHEWxywscePVgI/oUF6g==} engines: {node: '>=14.13.1 || >=16.0.0'} peerDependencies: @@ -2545,13 +2544,13 @@ packages: cardinal: 2.1.1 chalk: 5.0.1 cli-table3: 0.6.2 - marked: 4.0.17 + marked: 4.0.18 node-emoji: 1.11.0 supports-hyperlinks: 2.2.0 dev: true - /marked/4.0.17: - resolution: {integrity: sha512-Wfk0ATOK5iPxM4ptrORkFemqroz0ZDxp5MWfYA7H/F+wO17NRWV5Ypxi6p3g2Xmw2bKeiYOl6oVnLHKxBA0VhA==} + /marked/4.0.18: + resolution: {integrity: sha512-wbLDJ7Zh0sqA0Vdg6aqlbT+yPxqLblpAZh1mK2+AO2twQkPywvvqQNfEPVwSSRjZ7dZcdeVBIAgiO7MMp3Dszw==} engines: {node: '>= 12'} hasBin: true dev: true @@ -2588,7 +2587,6 @@ packages: dependencies: braces: 3.0.2 picomatch: 2.3.1 - dev: true /mime/3.0.0: resolution: {integrity: sha512-jSCU7/VB1loIWBZe14aEYHU/+1UMEHoaO7qxCOVJOw9GgH72VAWppxNcjU+x9a2k3GSIBXNKxXQFqRvvZ7vr3A==} @@ -2759,8 +2757,8 @@ packages: path-key: 4.0.0 dev: true - /npm/8.13.2: - resolution: {integrity: sha512-aS6q/QKxkw9mTX8gR7Ft38BcRkW1i+h3sI1yAFmfQ30Yl1a1G4ZX3oNGDzaLCilU5ThFZQBS1F4ZSZsrVxJ7HA==} + /npm/8.14.0: + resolution: {integrity: sha512-wjDSM1GBwFUyqryw0jrWzFCFRlaiCZ9omNcnV3fLERqEYR4UsdRwR/SQCJNmri24yVvD+A/Ozr5p0V2WZVt6BQ==} engines: {node: ^12.13.0 || ^14.15.0 || >=16} hasBin: true dev: true @@ -2817,6 +2815,7 @@ packages: - npm-user-validate - npmlog - opener + - p-map - pacote - parse-conflict-json - proc-log @@ -3051,7 +3050,6 @@ packages: /picomatch/2.3.1: resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} engines: {node: '>=8.6'} - dev: true /pidtree/0.6.0: resolution: {integrity: sha512-eG2dWTVw5bzqGRztnHExczNxt5VGsE6OwTeCG3fdUf9KBsZzO3R5OIIIzWR+iZA0NtZ+RDVdaoE2dK1cn6jH4g==} @@ -3082,7 +3080,7 @@ packages: engines: {node: '>=4'} dev: true - /postcss-load-config/3.1.4_ts-node@10.8.2: + /postcss-load-config/3.1.4_ts-node@10.9.1: resolution: {integrity: sha512-6DiM4E7v4coTE4uzA8U//WhtPwyhiim3eyjEMFCnUpzbrkK9wJHgKDT2mR+HbtSrd/NubVaYTOpSpjUl8NQeRg==} engines: {node: '>= 10'} peerDependencies: @@ -3095,7 +3093,7 @@ packages: optional: true dependencies: lilconfig: 2.0.6 - ts-node: 10.8.2_2dd5d46eecda2aef953638919121af58 + ts-node: 10.9.1_d6619d71cbee0e1ae82baf0a7f81598c yaml: 1.10.2 dev: true @@ -3352,8 +3350,8 @@ packages: hook-std: 2.0.0 hosted-git-info: 4.1.0 lodash: 4.17.21 - marked: 4.0.17 - marked-terminal: 5.1.1_marked@4.0.17 + marked: 4.0.18 + marked-terminal: 5.1.1_marked@4.0.18 micromatch: 4.0.5 p-each-series: 2.2.0 p-reduce: 2.1.0 @@ -3499,7 +3497,7 @@ packages: /sourcemap-codec/1.4.8: resolution: {integrity: sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==} - dev: true + dev: false /spawn-error-forwarder/1.0.0: resolution: {integrity: sha512-gRjMgK5uFjbCvdibeGJuy3I5OYz6VLoVdsOJdA6wV0WlfQVLFueoqMxwwYD9RODdgb6oUIvlRlsyFSiQkMKu0g==} @@ -3759,7 +3757,6 @@ packages: engines: {node: '>=8.0'} dependencies: is-number: 7.0.0 - dev: true /touch/3.1.0: resolution: {integrity: sha512-WBx8Uy5TLtOSRtIq+M03/sKDrXCLHxwDcquSP2c43Le03/9serjQBIztjRz6FkJez9D/hleyAXTBGLwwZUw9lA==} @@ -3796,8 +3793,8 @@ packages: resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==} dev: true - /ts-node/10.8.2_2dd5d46eecda2aef953638919121af58: - resolution: {integrity: sha512-LYdGnoGddf1D6v8REPtIH+5iq/gTDuZqv2/UJUU7tKjuEU8xVZorBM+buCGNjj+pGEud+sOoM4CX3/YzINpENA==} + /ts-node/10.9.1_d6619d71cbee0e1ae82baf0a7f81598c: + resolution: {integrity: sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==} hasBin: true peerDependencies: '@swc/core': '>=1.2.50' @@ -3815,7 +3812,7 @@ packages: '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.3 - '@types/node': 18.0.3 + '@types/node': 18.0.4 acorn: 8.7.1 acorn-walk: 8.2.0 arg: 4.1.3 @@ -3844,7 +3841,7 @@ packages: resolution: {integrity: sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==} dev: true - /tsup/6.1.3_ts-node@10.8.2+typescript@4.7.4: + /tsup/6.1.3_ts-node@10.9.1+typescript@4.7.4: resolution: {integrity: sha512-eRpBnbfpDFng+EJNTQ90N7QAf4HAGGC7O3buHIjroKWK7D1ibk9/YnR/3cS8HsMU5T+6Oi+cnF+yU5WmCnB//Q==} engines: {node: '>=14'} hasBin: true @@ -3868,7 +3865,7 @@ packages: execa: 5.1.1 globby: 11.1.0 joycon: 3.1.1 - postcss-load-config: 3.1.4_ts-node@10.8.2 + postcss-load-config: 3.1.4_ts-node@10.9.1 resolve-from: 5.0.0 rollup: 2.76.0 source-map: 0.8.0-beta.0 @@ -3980,16 +3977,16 @@ packages: engines: {node: '>= 10.0.0'} dev: true - /unleashed-typescript/1.0.1_typescript@4.7.4: - resolution: {integrity: sha512-egt6UubPIfFtJytsSuZPE3AcUJywsurHVaSOeT1dz8lSZ4qB9iEQWTwm+7E5cXqMkugRlhu4jicogomPdjsMkA==} + /unleashed-typescript/1.1.1_typescript@4.7.4: + resolution: {integrity: sha512-/VL6b6yr2AsfASYiRzBIxXmyyoEzRREYuNTsqti56o3naFpnB2UOFLo4e9LBzDcd4xAzSyoszwG1Rg4ZaiIPmg==} engines: {node: '>=12', pnpm: '>=6'} hasBin: true requiresBuild: true peerDependencies: - typescript: ^4.7.4 + typescript: '*' dependencies: typescript: 4.7.4 - dev: true + dev: false /uri-js/4.4.1: resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==} @@ -4068,10 +4065,10 @@ packages: dependencies: '@types/chai': 4.3.1 '@types/chai-subset': 1.3.3 - '@types/node': 18.0.3 + '@types/node': 18.0.4 chai: 4.3.6 debug: 4.3.4 - local-pkg: 0.4.1 + local-pkg: 0.4.2 tinypool: 0.2.2 tinyspy: 0.3.3 vite: 2.9.14 diff --git a/tsup.config.ts b/tsup.config.ts index 61339eb..4bd7b10 100644 --- a/tsup.config.ts +++ b/tsup.config.ts @@ -5,9 +5,10 @@ export default defineConfig({ format: ['cjs', 'esm'], outDir: 'build', platform: 'node', - splitting: false, + splitting: true, sourcemap: true, minify: false, clean: true, dts: true, + external: ['typescript', 'vitest'], });