Skip to content

Commit 5baec1f

Browse files
Necmttnhaoqunjiang
andauthored
chore: fix common misspelling errors (#5694)
Co-authored-by: Haoqun Jiang <[email protected]>
1 parent ee41812 commit 5baec1f

File tree

13 files changed

+17
-17
lines changed

13 files changed

+17
-17
lines changed

CHANGELOG.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1754,7 +1754,7 @@ Most of the following new features and bugfixes also applies to v3.8.0
17541754
* [#1531](https://github.com/vuejs/vue-cli/pull/1531) support PNPM as a package manager ([@robertkruis](https://github.com/robertkruis))
17551755
* [#3790](https://github.com/vuejs/vue-cli/pull/3790) fix PNPM compatibility issues during scaffolding ([@sodatea](https://github.com/sodatea))
17561756
* `@vue/cli-plugin-eslint`, `@vue/cli-service`
1757-
* [#3572](https://github.com/vuejs/vue-cli/pull/3572) add 3rd option to `lintOnSave` to support 'default' behaviour (Closes [#3552](https://github.com/vuejs/vue-cli/issues/3552)) ([@LinusBorg](https://github.com/LinusBorg))
1757+
* [#3572](https://github.com/vuejs/vue-cli/pull/3572) add 3rd option to `lintOnSave` to support 'default' behavior (Closes [#3552](https://github.com/vuejs/vue-cli/issues/3552)) ([@LinusBorg](https://github.com/LinusBorg))
17581758
* `@vue/cli-plugin-unit-jest`
17591759
* [#3589](https://github.com/vuejs/vue-cli/pull/3589) add jest typeahead plugin ([@sodatea](https://github.com/sodatea))
17601760

@@ -3351,7 +3351,7 @@ will need to explicitly install `typescript` in your project.
33513351
* **ui:** improved remote preset checking ([0ba5e09](https://github.com/vuejs/vue-cli/commit/0ba5e09))
33523352
* **ui:** list item hover background more subtle ([a5bb260](https://github.com/vuejs/vue-cli/commit/a5bb260))
33533353
* **ui:** more spacing in status bar ([80a847f](https://github.com/vuejs/vue-cli/commit/80a847f))
3354-
* **ui:** project create detials: bigger grid gap ([cfed833](https://github.com/vuejs/vue-cli/commit/cfed833))
3354+
* **ui:** project create details: bigger grid gap ([cfed833](https://github.com/vuejs/vue-cli/commit/cfed833))
33553355
* **ui:** project creation not reset ([9efdfaf](https://github.com/vuejs/vue-cli/commit/9efdfaf))
33563356
* **ui:** remove console.log ([04d76a2](https://github.com/vuejs/vue-cli/commit/04d76a2))
33573357
* **ui:** reset webpack.config.js service on correct CWD, closes [#1555](https://github.com/vuejs/vue-cli/issues/1555) ([dc2f8e8](https://github.com/vuejs/vue-cli/commit/dc2f8e8))
@@ -4241,7 +4241,7 @@ sepcify the default mode for a registered command, the plugins should expose
42414241
* **ui:** PluginAdd tab check ([ca01d95](https://github.com/vuejs/vue-cli/commit/ca01d95))
42424242
* **ui:** pormpts remove result in answers when disabled ([a29a3b4](https://github.com/vuejs/vue-cli/commit/a29a3b4))
42434243
* **ui:** stderr new lines + selected task status color ([b949406](https://github.com/vuejs/vue-cli/commit/b949406))
4244-
* **ui:** progress handler should not throw error (casuing process to exit) ([3d4d8f0](https://github.com/vuejs/vue-cli/commit/3d4d8f0))
4244+
* **ui:** progress handler should not throw error (causing process to exit) ([3d4d8f0](https://github.com/vuejs/vue-cli/commit/3d4d8f0))
42454245
* **ui:** ProjectNav padding ([4fd8885](https://github.com/vuejs/vue-cli/commit/4fd8885))
42464246
* **ui:** ProjectNavButton tooltip delay ([131cc46](https://github.com/vuejs/vue-cli/commit/131cc46))
42474247
* **ui:** prompt margins ([100a12e](https://github.com/vuejs/vue-cli/commit/100a12e))
@@ -4317,7 +4317,7 @@ sepcify the default mode for a registered command, the plugins should expose
43174317

43184318
#### Bug Fixes
43194319

4320-
* **ui:** deps + dahsboard plugin ([a628b43](https://github.com/vuejs/vue-cli/commit/a628b43))
4320+
* **ui:** deps + dashboard plugin ([a628b43](https://github.com/vuejs/vue-cli/commit/a628b43))
43214321
* **ui:** display 0 instead of NaN ([21d3e94](https://github.com/vuejs/vue-cli/commit/21d3e94))
43224322
#### Features
43234323

docs/config/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ In v3 this means the opposite of `css.requireModuleExtension`.
257257
By default, only files that ends in `*.module.[ext]` are treated as CSS modules. Setting this to `false` will allow you to drop `.module` in the filenames and treat all `*.(css|scss|sass|less|styl(us)?)` files as CSS modules.
258258

259259
::: tip
260-
If you have customized CSS Modules configurations in `css.loaderOptions.css`, then the `css.requireModuleExtension` field must be explictly configured to `true` or `false`, otherwise we can't be sure whether you want to apply these options to all CSS files or not.
260+
If you have customized CSS Modules configurations in `css.loaderOptions.css`, then the `css.requireModuleExtension` field must be explicitly configured to `true` or `false`, otherwise we can't be sure whether you want to apply these options to all CSS files or not.
261261
:::
262262

263263
See also: [Working with CSS > CSS Modules](../guide/css.md#css-modules)

docs/dev-guide/ui-localization.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Translate the standard UI
44

5-
To make collaboration and synchronisation easier, the English source locale from the `dev` branch is automatically imported to [Transifex](https://www.transifex.com/vuejs/vue-cli/dashboard/), a platform for collaborative translation.
5+
To make collaboration and synchronization easier, the English source locale from the `dev` branch is automatically imported to [Transifex](https://www.transifex.com/vuejs/vue-cli/dashboard/), a platform for collaborative translation.
66

77
For existing languages, you can [sign up as a translator](https://www.transifex.com/vuejs/vue-cli/dashboard/).
88
For new languages, you can [request the new language](https://www.transifex.com/vuejs/vue-cli/dashboard/) after signing up.

docs/guide/deployment.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ pages: # the job must be named pages
130130
- npm run build
131131
- mv public public-vue # GitLab Pages hooks on the public folder
132132
- mv dist public # rename the dist folder (result of npm run build)
133-
# optionally, you can activate gzip support wih the following line:
133+
# optionally, you can activate gzip support with the following line:
134134
- find public -type f -regex '.*\.\(htm\|html\|txt\|text\|js\|css\)$' -exec gzip -f -k {} \;
135135
artifacts:
136136
paths:

packages/@vue/babel-preset-app/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ module.exports = (context, options = {}) => {
9595
const plugins = []
9696
const defaultEntryFiles = JSON.parse(process.env.VUE_CLI_ENTRY_FILES || '[]')
9797

98-
// Though in the vue-cli repo, we only use the two envrionment variables
98+
// Though in the vue-cli repo, we only use the two environment variables
9999
// for tests, users may have relied on them for some features,
100100
// dropping them may break some projects.
101101
// So in the following blocks we don't directly test the `NODE_ENV`.

packages/@vue/cli-plugin-e2e-nightwatch/__tests__/lib/globals-generated.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* This file is copied during the test inside the project folder and used to inpsect the results
2+
* This file is copied during the test inside the project folder and used to inspect the results
33
*/
44
const fs = require('fs')
55

packages/@vue/cli-plugin-eslint/generator/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ module.exports = (api, { config, lintOn = [] }, rootOptions, invoking) => {
4343
pkg.gitHooks = {
4444
'pre-commit': 'lint-staged'
4545
}
46-
const extentions = require('../eslintOptions').extensions(api)
46+
const extensions = require('../eslintOptions').extensions(api)
4747
.map(ext => ext.replace(/^\./, '')) // remove the leading `.`
4848
pkg['lint-staged'] = {
49-
[`*.{${extentions.join(',')}}`]: ['vue-cli-service lint', 'git add']
49+
[`*.{${extensions.join(',')}}`]: ['vue-cli-service lint', 'git add']
5050
}
5151
}
5252

packages/@vue/cli-plugin-typescript/__tests__/tsPluginTSLint.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ test('should be able to fix mixed line endings', async () => {
106106
await write('src/bad.vue', buf)
107107

108108
// Try twice to fix the file.
109-
// For now, it will fail the first time, which corresponds to the behaviour of tslint.
109+
// For now, it will fail the first time, which corresponds to the behavior of tslint.
110110
try {
111111
await run('vue-cli-service lint -- src/bad.vue')
112112
} catch (e) { }

packages/@vue/cli-service/lib/config/terserOptions.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ module.exports = options => ({
1919
toplevel: false,
2020
typeofs: false,
2121

22-
// a few flags with noticable gains/speed ratio
22+
// a few flags with noticeable gains/speed ratio
2323
// numbers based on out of the box vendor bundle
2424
booleans: true, // 0.7kb
2525
if_return: true, // 0.4kb

packages/@vue/cli-service/lib/util/resolveLoaderError.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ exports.transformer = error => {
2020
const match = message.match(re)
2121
if (match) {
2222
return Object.assign({}, error, {
23-
// type is necessary to avoid being printed as defualt error
23+
// type is necessary to avoid being printed as default error
2424
// by friendly-error-webpack-plugin
2525
type,
2626
shortMessage: msg(error, match)

packages/@vue/cli/__tests__/invoke.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ test('invoking a plugin that renames files', async () => {
150150
expect(project.has('src/main.js')).toBe(false)
151151
})
152152

153-
test('should prompt if invoking in a git repository with uncommited changes', async () => {
153+
test('should prompt if invoking in a git repository with uncommitted changes', async () => {
154154
delete process.env.VUE_CLI_SKIP_DIRTY_GIT_PROMPT
155155
const project = await create('invoke-dirty', {
156156
plugins: {

packages/@vue/cli/lib/GeneratorAPI.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ class GeneratorAPI {
227227
warnIncompatibleVersions: true
228228
}
229229

230-
// this condition statement is added for compatiblity reason, because
230+
// this condition statement is added for compatibility reason, because
231231
// in version 4.0.0 to 4.1.2, there's no `options` object, but a `forceNewVersion` flag
232232
if (typeof options === 'boolean') {
233233
extendOptions.warnIncompatibleVersions = !options

packages/@vue/cli/lib/util/confirmIfGitDirty.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ module.exports = async function confirmIfGitDirty (context) {
2121
return true
2222
}
2323

24-
warn(`There are uncommited changes in the current repository, it's recommended to commit or stash them first.`)
24+
warn(`There are uncommitted changes in the current repository, it's recommended to commit or stash them first.`)
2525
const { ok } = await inquirer.prompt([
2626
{
2727
name: 'ok',

0 commit comments

Comments
 (0)