Skip to content

Commit

Permalink
fix: remove deprecated getUserProfile API
Browse files Browse the repository at this point in the history
  • Loading branch information
ntnyq committed Jul 21, 2023
1 parent 24cca81 commit d7fa501
Show file tree
Hide file tree
Showing 16 changed files with 1,331 additions and 1,093 deletions.
10 changes: 9 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,15 @@
"root": true,
"extends": ["@ntnyq"],
"rules": {
"vue/prefer-true-attribute-shorthand": "off"
"vue/prefer-true-attribute-shorthand": "off",
"vue/component-name-in-template-casing": [
"error",
"kebab-case",
{
"registeredComponentsOnly": false,
"ignores": []
}
]
},
"ignorePatterns": ["src/index.html"]
}
7 changes: 5 additions & 2 deletions config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,15 @@ const config = defineConfig({
compiler: {
type: 'webpack5',
prebundle: {
exclude: ['@nutui/nutui-taro'],
enable: false,
},
// prebundle: {
// exclude: ['@nutui/nutui-taro'],
// },
},
framework: 'vue3',
cache: {
enable: true,
enable: false,
},
jsMinimizer: 'esbuild',
esbuild: {
Expand Down
24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "taro-vue3-zhihudaily",
"version": "0.1.1",
"private": true,
"packageManager": "pnpm@8.6.7",
"packageManager": "pnpm@8.6.9",
"description": "taro-vue3-zhihudaily",
"templateInfo": {
"name": "vue3-NutUI",
Expand All @@ -26,7 +26,7 @@
"dependencies": {
"@babel/runtime": "^7.22.6",
"@nutui/icons-vue-taro": "^0.0.9",
"@nutui/nutui-taro": "^4.0.12",
"@nutui/nutui-taro": "^4.1.0",
"@tarojs/components": "^3.6.8",
"@tarojs/plugin-framework-vue3": "^3.6.8",
"@tarojs/plugin-html": "^3.6.8",
Expand All @@ -38,9 +38,9 @@
"vue": "^3.3.4"
},
"devDependencies": {
"@babel/core": "^7.22.8",
"@ntnyq/eslint-config": "1.10.0",
"@ntnyq/prettier-config": "^1.10.0",
"@babel/core": "^7.22.9",
"@ntnyq/eslint-config": "1.12.0",
"@ntnyq/prettier-config": "^1.12.0",
"@tarojs/cli": "^3.6.8",
"@tarojs/helper": "^3.6.8",
"@tarojs/plugin-platform-weapp": "^3.6.8",
Expand All @@ -52,18 +52,18 @@
"@vue/compiler-sfc": "^3.3.4",
"babel-preset-taro": "^3.6.8",
"bumpp": "^9.1.1",
"eslint": "^8.44.0",
"eslint": "^8.45.0",
"husky": "^8.0.3",
"nano-staged": "^0.8.0",
"pnpm": "^8.6.7",
"postcss": "^8.4.25",
"prettier": "2.8.8",
"taro-define-config": "^0.2.6",
"pnpm": "^8.6.9",
"postcss": "^8.4.26",
"prettier": "3.0.0",
"taro-define-config": "^0.2.8",
"typescript": "^5.1.6",
"unplugin-vue-components": "^0.25.1",
"vue-loader": "^17.2.2",
"vue-tsc": "^1.8.4",
"webpack": "^5.88.1"
"vue-tsc": "^1.8.5",
"webpack": "^5.88.2"
},
"engines": {
"node": ">=16.14.0"
Expand Down
Loading

0 comments on commit d7fa501

Please sign in to comment.