install-vue
Advanced tools
Comparing version 0.0.3-rc to 0.0.4-alpha
{ | ||
"name": "install-vue", | ||
"version": "0.0.3-rc", | ||
"description": "The easiest way to install Vue.js prereleases", | ||
"version": "0.0.4-alpha", | ||
"description": "Install Vue.js prereleases, done correctly", | ||
"type": "module", | ||
@@ -15,3 +15,3 @@ "exports": { | ||
"type": "git", | ||
"url": "git+https://github.com/sodatea/install-vue.git" | ||
"url": "git+https://github.com/haoqunjiang/install-vue.git" | ||
}, | ||
@@ -28,17 +28,18 @@ "keywords": [ | ||
"@clack/prompts": "^0.7.0", | ||
"@tsconfig/node18": "^18.2.2", | ||
"@tsconfig/strictest": "^2.0.2", | ||
"@types/node": "18", | ||
"esbuild": "^0.19.3", | ||
"execa": "^8.0.1", | ||
"picocolors": "^1.0.0", | ||
"prettier": "^3.0.3", | ||
"semver": "^7.5.4" | ||
"@tsconfig/node18": "^18.2.4", | ||
"@tsconfig/strictest": "^2.0.5", | ||
"@types/node": "18.19.59", | ||
"esbuild": "^0.24.0", | ||
"execa": "^9.5.1", | ||
"picocolors": "^1.1.1", | ||
"prettier": "^3.3.3", | ||
"semver": "^7.6.3" | ||
}, | ||
"engines": { | ||
"node": ">= 18.11.0" | ||
"node": ">= 18.19.0" | ||
}, | ||
"prettier": { | ||
"semi": false, | ||
"singleQuote": true | ||
"singleQuote": true, | ||
"printWidth": 100 | ||
}, | ||
@@ -45,0 +46,0 @@ "scripts": { |
# install-vue | ||
> Install Vue in your project, with support for pre-release versions. | ||
> Install Vue.js prereleases, done correctly. | ||
## Usage | ||
To install a canary version of Vue in your project, run: | ||
To install the latest edge release of Vue.js (the released artifacts from the latest commit in [vuejs/core#main](https://github.com/vuejs/core/commits/main/)) in your project, run: | ||
```sh | ||
npx install-vue@canary | ||
npx install-vue@edge | ||
``` | ||
You can replace `canary` with other pre-release version tags, such as `alpha`, `beta`, or `rc`. | ||
Other tags are also available. | ||
It's also possible to install a specific pre-release version so that you can test for some specific bugs: | ||
| command | description | | ||
| -------------------------------- | ----------------------------------------------------------------------------------------------------------- | | ||
| `npx install-vue@edge` | install the latest commit from the main branch. | | ||
| `npx install-vue@pr 12272` | Install the release from a specific PR (e.g. [#12272](https://github.com/vuejs/core/pull/12272)) | | ||
| `npx install-vue@commit 664d2e5` | Install the release from a specific commit (e.g. [664d2e5](https://github.com/vuejs/core/runs/32138997733)) | | ||
| `npx install-vue@alpha` | Install the latest alpha version from npm. | | ||
| `npx install-vue@beta` | Install the latest beta version from npm. | | ||
| `npx install-vue@rc` | Install the latest release candidate version from npm. | | ||
| `npx install-vue@version 3.5.3` | Install a specific Vue.js version from npm. | | ||
```sh | ||
npx install-vue@canary --version 3.20230911.0 | ||
``` | ||
Or | ||
```sh | ||
npx install-vue@beta --version 3.3.0-beta.1 | ||
``` | ||
As Vue.js currently adopts a feature branch approach for minor releases[^1], you can also install a canary version for the next minor release: | ||
```sh | ||
npx install-vue@canary-minor | ||
``` | ||
[^1]: That is, while we continue fixing bugs in the `main` branch, we are also working on new features in the `minor` branch. The `minor` branch will eventually be merged into the `main` branch when the next minor release is ready. | ||
> [!IMPORTANT] | ||
> The `edge`, `commit` and `pr` releases are powered by [pkg.pr.new](https://github.com/stackblitz-labs/pkg.pr.new). The releases will be removed from cloud storage after 6 months, or 30 days without any downloads. So please don't rely on them for production use. |
Sorry, the diff of this file is not supported yet
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
310558
8054
13
27