fix: actually add swc to sw package

This commit is contained in:
ThatOneCalculator 2023-01-24 15:42:37 -08:00
parent 760c087866
commit 9a6a9b97fb
2 changed files with 55 additions and 1 deletions

View file

@ -7,7 +7,16 @@
"lint": "pnpm rome check \"src/**/*.ts\"" "lint": "pnpm rome check \"src/**/*.ts\""
}, },
"dependencies": { "dependencies": {
"@swc/cli": "^0.1.59",
"@swc/core": "^1.3.26",
"calckey-js": "^0.0.20", "calckey-js": "^0.0.20",
"idb-keyval": "^6.2.0" "idb-keyval": "^6.2.0"
},
"optionalDependencies": {
"@swc/core-android-arm64": "1.3.11"
},
"devDependencies": {
"swc-loader": "^0.2.3",
"webpack": "^5.75.0"
} }
} }

View file

@ -534,11 +534,23 @@ importers:
packages/sw: packages/sw:
specifiers: specifiers:
'@swc/cli': ^0.1.59
'@swc/core': ^1.3.26
'@swc/core-android-arm64': 1.3.11
calckey-js: ^0.0.20 calckey-js: ^0.0.20
idb-keyval: ^6.2.0 idb-keyval: ^6.2.0
swc-loader: ^0.2.3
webpack: ^5.75.0
dependencies: dependencies:
'@swc/cli': 0.1.59_@swc+core@1.3.26
'@swc/core': 1.3.26
calckey-js: 0.0.20 calckey-js: 0.0.20
idb-keyval: 6.2.0 idb-keyval: 6.2.0
optionalDependencies:
'@swc/core-android-arm64': 1.3.11
devDependencies:
swc-loader: 0.2.3_v4imsvpumnwpgduroyqmpcfjiy
webpack: 5.75.0_@swc+core@1.3.26
packages: packages:
@ -1554,6 +1566,26 @@ packages:
resolution: {integrity: sha512-Uy0+khmZqUrUGm5dmMqVlnvufZRSK0FbYzVgp0UMstm+F5+W2/jnEEQyc9vo1ZR/E5ZI/B1WjjoTqBqwJL6Krw==} resolution: {integrity: sha512-Uy0+khmZqUrUGm5dmMqVlnvufZRSK0FbYzVgp0UMstm+F5+W2/jnEEQyc9vo1ZR/E5ZI/B1WjjoTqBqwJL6Krw==}
dev: false dev: false
/@swc/cli/0.1.59_@swc+core@1.3.26:
resolution: {integrity: sha512-BlX3wIxYTwdtR22dIqZ3FEIOJPqnlByAp4JY46OMZi2UXMB3ZbOzefawD2ZlLafRUWyy5NtiZZty5waKzaYRnA==}
engines: {node: '>= 12.13'}
hasBin: true
peerDependencies:
'@swc/core': ^1.2.66
chokidar: ^3.5.1
peerDependenciesMeta:
chokidar:
optional: true
dependencies:
'@swc/core': 1.3.26
bin-wrapper: 4.1.0
commander: 7.2.0
fast-glob: 3.2.12
semver: 7.3.8
slash: 3.0.0
source-map: 0.7.4
dev: false
/@swc/cli/0.1.59_cr4os3zuq4gmhe2qzzjtw2pxeu: /@swc/cli/0.1.59_cr4os3zuq4gmhe2qzzjtw2pxeu:
resolution: {integrity: sha512-BlX3wIxYTwdtR22dIqZ3FEIOJPqnlByAp4JY46OMZi2UXMB3ZbOzefawD2ZlLafRUWyy5NtiZZty5waKzaYRnA==} resolution: {integrity: sha512-BlX3wIxYTwdtR22dIqZ3FEIOJPqnlByAp4JY46OMZi2UXMB3ZbOzefawD2ZlLafRUWyy5NtiZZty5waKzaYRnA==}
engines: {node: '>= 12.13'} engines: {node: '>= 12.13'}
@ -3222,7 +3254,7 @@ packages:
/axios/0.25.0_debug@4.3.4: /axios/0.25.0_debug@4.3.4:
resolution: {integrity: sha512-cD8FOb0tRH3uuEe6+evtAbgJtfxr7ly3fQjYcMcuPlgkwVS9xboaVIpcDV+cYQe+yGykgwZCs1pzjntcGa6l5g==} resolution: {integrity: sha512-cD8FOb0tRH3uuEe6+evtAbgJtfxr7ly3fQjYcMcuPlgkwVS9xboaVIpcDV+cYQe+yGykgwZCs1pzjntcGa6l5g==}
dependencies: dependencies:
follow-redirects: 1.15.2 follow-redirects: 1.15.2_debug@4.3.4
transitivePeerDependencies: transitivePeerDependencies:
- debug - debug
dev: true dev: true
@ -6173,6 +6205,19 @@ packages:
peerDependenciesMeta: peerDependenciesMeta:
debug: debug:
optional: true optional: true
dev: false
/follow-redirects/1.15.2_debug@4.3.4:
resolution: {integrity: sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==}
engines: {node: '>=4.0'}
peerDependencies:
debug: '*'
peerDependenciesMeta:
debug:
optional: true
dependencies:
debug: 4.3.4
dev: true
/for-each/0.3.3: /for-each/0.3.3:
resolution: {integrity: sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==} resolution: {integrity: sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==}