Skip to content

Commit

Permalink
chore: bump deps
Browse files Browse the repository at this point in the history
IMPORTANT: hexo-renderer-marked must be pinned at 0.3.x since we rely
on syntax that only works with this version range.
  • Loading branch information
yyx990803 committed Aug 3, 2022
1 parent 1aa9552 commit 63bcef5
Show file tree
Hide file tree
Showing 7 changed files with 4,505 additions and 5,399 deletions.
3 changes: 2 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ new_post_name: :title.md # File name of new posts
default_layout: post
auto_spacing: false # Add spaces between asian characters and western characters
titlecase: false # Transform title into titlecase
external_link: true # Open external links in new tab
external_link:
enable: true # Open external links in new tab
max_open_file: 100
multi_thread: true
filename_case: 0
Expand Down
26 changes: 12 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "v2.vuejs.org",
"private": true,
"hexo": {
"version": "3.8.0"
"version": "6.2.0"
},
"scripts": {
"dev": "node _scripts/sync-sponsors.js && hexo server",
Expand All @@ -14,20 +14,18 @@
},
"dependencies": {
"axios": "^0.27.2",
"hexo": "^3.6.0",
"hexo-deployer-git": "0.3.1",
"hexo": "^6.2.0",
"hexo-generator-alias": "git+https://github.com/chrisvfritz/vuejs.org-hexo-generator-alias.git",
"hexo-generator-archive": "^0.1.5",
"hexo-generator-category": "^0.1.3",
"hexo-generator-feed": "^1.2.2",
"hexo-generator-index": "^0.2.1",
"hexo-generator-tag": "^0.2.0",
"hexo-offline": "^1.0.0",
"hexo-renderer-ejs": "^0.3.1",
"hexo-renderer-marked": "^0.3.0",
"hexo-renderer-stylus": "^0.3.3",
"hexo-server": "^0.3.1",
"hexo-generator-archive": "^1.0.0",
"hexo-generator-category": "^1.0.0",
"hexo-generator-feed": "^3.0.0",
"hexo-generator-index": "^2.0.0",
"hexo-generator-tag": "^1.0.0",
"hexo-renderer-ejs": "^2.0.0",
"hexo-renderer-marked": "^0.3.2",
"hexo-renderer-stylus": "^2.1.0",
"hexo-server": "^3.0.0",
"hoek": "^6.1.2",
"js-yaml": "^4.1.0"
}
}
}
14 changes: 7 additions & 7 deletions src/v2/guide/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
title: Installation
type: guide
order: 1
vue_version: 2.7.0
gz_size: "36.75"
vue_version: 2.7.8
gz_size: "37.32"
---

### Compatibility Note
Expand Down Expand Up @@ -41,20 +41,20 @@ Simply download and include with a script tag. `Vue` will be registered as a glo
For prototyping or learning purposes, you can use the latest version with:

``` html
<script src="https://cdn.jsdelivr.net/npm/[email protected].0/dist/vue.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].8/dist/vue.js"></script>
```

For production, we recommend linking to a specific version number and build to avoid unexpected breakage from newer versions:

``` html
<script src="https://cdn.jsdelivr.net/npm/[email protected].0"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].8"></script>
```

If you are using native ES Modules, there is also an ES Modules compatible build:

``` html
<script type="module">
import Vue from 'https://cdn.jsdelivr.net/npm/[email protected].0/dist/vue.esm.browser.js'
import Vue from 'https://cdn.jsdelivr.net/npm/[email protected].8/dist/vue.esm.browser.js'
</script>
```

Expand Down Expand Up @@ -84,7 +84,7 @@ Vue provides an [official CLI](https://github.com/vuejs/vue-cli) for quickly sca

## Explanation of Different Builds

In the [`dist/` directory of the NPM package](https://cdn.jsdelivr.net/npm/[email protected].0/dist/) you will find many different builds of Vue.js. Here's an overview of the difference between them:
In the [`dist/` directory of the NPM package](https://cdn.jsdelivr.net/npm/[email protected].8/dist/) you will find many different builds of Vue.js. Here's an overview of the difference between them:

| | UMD | CommonJS | ES Module (for bundlers) | ES Module (for browsers) |
| --- | --- | --- | --- | --- |
Expand All @@ -101,7 +101,7 @@ In the [`dist/` directory of the NPM package](https://cdn.jsdelivr.net/npm/vue@2

- **Runtime**: code that is responsible for creating Vue instances, rendering and patching virtual DOM, etc. Basically everything minus the compiler.

- **[UMD](https://github.com/umdjs/umd)**: UMD builds can be used directly in the browser via a `<script>` tag. The default file from jsDelivr CDN at [https://cdn.jsdelivr.net/npm/[email protected].0](https://cdn.jsdelivr.net/npm/[email protected].0) is the Runtime + Compiler UMD build (`vue.js`).
- **[UMD](https://github.com/umdjs/umd)**: UMD builds can be used directly in the browser via a `<script>` tag. The default file from jsDelivr CDN at [https://cdn.jsdelivr.net/npm/[email protected].8](https://cdn.jsdelivr.net/npm/[email protected].8) is the Runtime + Compiler UMD build (`vue.js`).

- **[CommonJS](http://wiki.commonjs.org/wiki/Modules/1.1)**: CommonJS builds are intended for use with older bundlers like [browserify](http://browserify.org/) or [webpack 1](https://webpack.github.io). The default file for these bundlers (`pkg.main`) is the Runtime only CommonJS build (`vue.runtime.common.js`).

Expand Down
38 changes: 18 additions & 20 deletions themes/vue/_config.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
site_description: Vue.js - The Progressive JavaScript Framework
google_analytics: UA-46852172-1
root_domain: vuejs.org
vue_version: 2.7.0
vue_version: 2.7.8
# START SPONSORS
special:
- name: HBuilder
url: https://www.dcloud.io/hbuilderx.html?hmsr=vue-en&hmpl=&hmcu=&hmkw=&hmci=
img: hbuilder.png
description: An IDE for Vue
- name: uni-app
url: https://uniapp.dcloud.io/?hmsr=vueen&hmpl=&hmcu=&hmkw=&hmci=
img: uni_app.png?v2
description: Cross-Platform for Vue
platinum:
- name: VueMastery
url: https://www.vuemastery.com/
Expand Down Expand Up @@ -45,6 +45,10 @@ platinum:
- name: CodeDict
url: https://code-dict.com
img: codedict.svg
- name: vuejs.de Conf
url: >-
https://conf.vuejs.de/?utm_source=vuejs-vite&utm_medium=referral&utm_campaign=sponsoring
img: vuejs_de_conf.svg
platinum_china:
- name: HBuilder
url: https://www.dcloud.io/hbuilderx.html?hmsr=vue-en&hmpl=&hmcu=&hmkw=&hmci=
Expand All @@ -59,15 +63,9 @@ gold:
- name: HTML Burger
url: https://htmlburger.com
img: html_burger.png
- name: Neds
url: https://neds.com.au/
img: neds.png
- name: Tidelift
url: https://tidelift.com/subscription/npm/vue
img: tidelift.png
- name: Firestick Tricks
url: https://www.firesticktricks.com/
img: firestick_tricks.png
- name: Intygrate
url: https://intygrate.com/
img: intygrate.png
Expand Down Expand Up @@ -125,15 +123,18 @@ gold:
- name: Cypress.io
url: https://cypress.io
img: cypress_io.svg
- name: QuickBooks Tool Hub
url: https://quickbookstoolhub.com
img: quickbooks_tool_hub.png
- name: Snyk
url: https://snyk.co/vuejs
img: snyk.png?v2
- name: Handsontable - JavaScript Data Grid
url: https://handsontable.com/
img: handsontable___javascript_data_grid.svg
- name: 1Tool
url: https://www.1tool.com
img: 1tool.png
- name: LearnVue
url: https://learnvue.co
img: learnvue.png
- name: Quickbooks tool hub
url: https://quickbookstoolhub.com
img: quickbooks_tool_hub.png
silver:
- name: Draxlr
url: https://www.draxlr.com
Expand Down Expand Up @@ -179,9 +180,6 @@ bronze:
- name: RStudio
url: https://rstudio.com
img: rstudio.png
- name: Custouch Marketing Automation
url: http://www.custouch.com
img: custouch_marketing_automation.png
- name: Darkhorse Analytics
url: https://www.darkhorseanalytics.com/
img: darkhorse_analytics.png
Expand Down
Loading

0 comments on commit 63bcef5

Please sign in to comment.