Skip to content

Commit

Permalink
chore(demo): upgrade mpx
Browse files Browse the repository at this point in the history
  • Loading branch information
sonofmagic committed Jan 22, 2025
1 parent ab00b68 commit 1b68e12
Show file tree
Hide file tree
Showing 4 changed files with 407 additions and 231 deletions.
23 changes: 23 additions & 0 deletions benchmark/data/2025-01-22.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"mpx": {
"babel": [
82.34379199999967,
0.41483400000015536,
0.3141249999998763,
0.3709159999998519,
0.38016700000025594,
0.26379199999973935,
553.8460829999995,
0.9862499999871943,
0.4377080000122078,
350.3612079999875,
1.2502080000003843,
0.4491249999991851,
0.453125,
0.33358399999997346,
0.33741600000030303,
0.3265000000001237,
792.9934580000008
]
}
}
40 changes: 20 additions & 20 deletions demo/mpx-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,29 +31,29 @@
"@mpxjs/fetch": "^2.9.62",
"@mpxjs/pinia": "^2.9.59",
"@mpxjs/store": "^2.9.59",
"@mpxjs/utils": "^2.9.59",
"@mpxjs/utils": "^2.9.70",
"@vant/weapp": "^1.11.6",
"pinia": "^2.1.7",
"tdesign-miniprogram": "^1.4.3",
"pinia": "^2.3.1",
"tdesign-miniprogram": "^1.8.5",
"vue": "^2.6.14",
"vue-demi": "^0.13.11",
"vue-demi": "^0.14.10",
"vue-i18n": "^8.27.2",
"vue-i18n-bridge": "^9.13.1",
"vue-i18n-bridge": "^9.14.1",
"vue-router": "^3.1.3"
},
"devDependencies": {
"@mpxjs/babel-plugin-inject-page-events": "^2.9.5",
"@mpxjs/eslint-config-ts": "^1.0.5",
"@mpxjs/miniprogram-simulate": "^1.4.17",
"@mpxjs/mpx-cli-service": "^2.1.16",
"@mpxjs/mpx-jest": "^0.0.30",
"@mpxjs/size-report": "^2.9.41",
"@mpxjs/vue-cli-plugin-mpx": "^2.1.16",
"@mpxjs/vue-cli-plugin-mpx-e2e-test": "^2.1.16",
"@mpxjs/vue-cli-plugin-mpx-eslint": "^2.1.16",
"@mpxjs/vue-cli-plugin-mpx-typescript": "^2.1.16",
"@mpxjs/vue-cli-plugin-mpx-unit-test": "^2.1.16",
"@mpxjs/webpack-plugin": "^2.9.62",
"@mpxjs/mpx-cli-service": "^2.1.21",
"@mpxjs/mpx-jest": "^0.0.31",
"@mpxjs/size-report": "^2.9.42",
"@mpxjs/vue-cli-plugin-mpx": "^2.1.21",
"@mpxjs/vue-cli-plugin-mpx-e2e-test": "^2.1.21",
"@mpxjs/vue-cli-plugin-mpx-eslint": "^2.1.21",
"@mpxjs/vue-cli-plugin-mpx-typescript": "^2.1.21",
"@mpxjs/vue-cli-plugin-mpx-unit-test": "^2.1.21",
"@mpxjs/webpack-plugin": "^2.9.71",
"@vue/cli-service": "~5.0.0",
"@weapp-tailwindcss/cli": "^3.0.0",
"@weapp-tailwindcss/merge": "^1.0.0-alpha.4",
Expand All @@ -62,25 +62,25 @@
"cross-env": "^7.0.3",
"eslint": "^8.57.0",
"jest": "^29.7.0",
"postcss": "^8.4.47",
"postcss": "^8.5.1",
"postcss-loader": "^8.1.1",
"postcss-rem-to-responsive-pixel": "^6.0.2",
"postcss-rpx-transform": "^1.0.1",
"sass": "^1.77.6",
"sass-loader": "^14.2.1",
"stylus": "^0.63.0",
"sass-loader": "^16.0.4",
"stylus": "^0.64.0",
"stylus-loader": "^8.1.0",
"tailwind-css-variables-theme-generator": "^0.4.0",
"tailwindcss": "^3.4.17",
"tailwindcss-patch": "^5.0.2",
"tailwindcss-rem2px-preset": "^1.0.3",
"ts-jest": "^29.1.5",
"typescript": "^5.5.2",
"ts-jest": "^29.2.5",
"typescript": "^5.7.3",
"vue-template-compiler": "^2.7.16",
"weapp-ide-cli": "^2.0.9",
"weapp-tailwindcss": "^4.0.0-alpha.8",
"weapp-tailwindcss-children": "^0.1.0",
"webpack": "^5.95.0"
"webpack": "^5.97.1"
},
"browserslist": [
"ios >= 8",
Expand Down
2 changes: 1 addition & 1 deletion demo/mpx-app/vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,5 @@ module.exports = defineConfig({
rem2rpx: true,
jsAstTool: bench.useBabel ? 'babel' : 'ast-grep'
}))
}
},
})
Loading

0 comments on commit 1b68e12

Please sign in to comment.