-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
442 additions
and
504 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
"name": "taro-vue3-zhihudaily", | ||
"version": "0.3.0", | ||
"private": true, | ||
"packageManager": "pnpm@9.15.0", | ||
"packageManager": "pnpm@9.14.4", | ||
"description": "taro-vue3-zhihudaily", | ||
"templateInfo": { | ||
"name": "vue3-NutUI", | ||
|
@@ -41,7 +41,7 @@ | |
"devDependencies": { | ||
"@babel/core": "^7.26.0", | ||
"@babel/plugin-proposal-class-properties": "^7.18.6", | ||
"@ntnyq/eslint-config": "^3.9.1", | ||
"@ntnyq/eslint-config": "^3.8.1", | ||
"@ntnyq/prettier-config": "^1.22.0", | ||
"@tarojs/cli": "^4.0.8", | ||
"@tarojs/helper": "^4.0.8", | ||
|
@@ -57,7 +57,7 @@ | |
"eslint": "^9.16.0", | ||
"husky": "^9.1.7", | ||
"nano-staged": "^0.8.0", | ||
"pnpm": "^9.15.0", | ||
"pnpm": "^9.14.4", | ||
"postcss": "^8.4.49", | ||
"prettier": "^3.4.2", | ||
"taro-define-config": "^0.10.2", | ||
|
@@ -66,9 +66,13 @@ | |
"unplugin-vue-components": "^0.27.5", | ||
"vue-loader": "^17.4.2", | ||
"vue-tsc": "^2.1.10", | ||
"webpack": "^5.97.1" | ||
"webpack": "^5.97.0" | ||
}, | ||
"pnpm": { | ||
"patchedDependencies": { | ||
"[email protected]": "patches/[email protected]" | ||
} | ||
}, | ||
"prettier": "@ntnyq/prettier-config", | ||
"nano-staged": { | ||
"*.{js,ts,cjs,mjs,vue,yml,yaml,md,json}": "eslint --fix" | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/index.js b/index.js | ||
index a680d25dfa98a45a3efec0bfb493500e6e9faa91..c67a7a3ff2c8f6b9009bd18e22b391e8322366be 100644 | ||
--- a/index.js | ||
+++ b/index.js | ||
@@ -4,7 +4,7 @@ exports.run = run; | ||
const runTsc_1 = require("@volar/typescript/lib/quickstart/runTsc"); | ||
const vue = require("@vue/language-core"); | ||
const windowsPathReg = /\\/g; | ||
-function run(tscPath = require.resolve('typescript/lib/tsc')) { | ||
+function run(tscPath = require.resolve('typescript/lib/_tsc')) { | ||
let runExtensions = ['.vue']; | ||
const extensionsChangedException = new Error('extensions changed'); | ||
const main = () => (0, runTsc_1.runTsc)(tscPath, runExtensions, (ts, options) => { |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { config, defineConfig } from '@ntnyq/prettier-config' | ||
|
||
export default defineConfig({ | ||
...config, | ||
|
||
overrides: [ | ||
{ | ||
files: ['**/*.css', '**/*.scss'], | ||
options: { | ||
singleQuote: false, | ||
}, | ||
}, | ||
], | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.