mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
chore: unsupport nuxt-legacy
This commit is contained in:
parent
20836d9341
commit
797a4ce6a8
@ -1,73 +0,0 @@
|
||||
# Change Log
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
# [2.5.0](https://github.com/nuxt/nuxt.js/compare/v2.4.5...v2.5.0) (2019-03-21)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **pkg:** add missing dependencies ([665f15a](https://github.com/nuxt/nuxt.js/commit/665f15a))
|
||||
* **webpack:** always resolve core-js to v3 ([#5307](https://github.com/nuxt/nuxt.js/issues/5307)) ([65c1f86](https://github.com/nuxt/nuxt.js/commit/65c1f86))
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* support core-js 3 ([#5291](https://github.com/nuxt/nuxt.js/issues/5291)) ([d094c4a](https://github.com/nuxt/nuxt.js/commit/d094c4a))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.4.4](https://github.com/nuxt/nuxt.js/compare/v2.4.3...v2.4.4) (2019-02-26)
|
||||
|
||||
**Note:** Version bump only for package nuxt-legacy
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.4.3](https://github.com/nuxt/nuxt.js/compare/v2.4.2...v2.4.3) (2019-02-06)
|
||||
|
||||
**Note:** Version bump only for package nuxt-legacy
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.4.2](https://github.com/nuxt/nuxt.js/compare/v2.4.1...v2.4.2) (2019-01-30)
|
||||
|
||||
**Note:** Version bump only for package nuxt-legacy
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.4.1](https://github.com/nuxt/nuxt.js/compare/v2.4.0...v2.4.1) (2019-01-30)
|
||||
|
||||
**Note:** Version bump only for package nuxt-legacy
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [2.4.0](https://github.com/nuxt/nuxt.js/compare/v2.3.4...v2.4.0) (2019-01-28)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **dist:** use -edge suffix to require cli ([98c1922](https://github.com/nuxt/nuxt.js/commit/98c1922))
|
||||
* **pkg:** move opencollective dependency nuxt and nuxt-legacy ([#4415](https://github.com/nuxt/nuxt.js/issues/4415)) ([f680e36](https://github.com/nuxt/nuxt.js/commit/f680e36))
|
||||
* exit with proper error code on errors ([#4806](https://github.com/nuxt/nuxt.js/issues/4806)) ([a7ba73e](https://github.com/nuxt/nuxt.js/commit/a7ba73e))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.3.4](https://github.com/nuxt/nuxt.js/compare/v2.3.2...v2.3.4) (2018-11-26)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **pkg:** move opencollective dependency nuxt and nuxt-legacy ([#4415](https://github.com/nuxt/nuxt.js/issues/4415)) ([4a85c03](https://github.com/nuxt/nuxt.js/commit/4a85c03))
|
@ -1,3 +0,0 @@
|
||||
# nuxt-legacy
|
||||
|
||||
> Legacy build of Nuxt.js for Node.js < 8.0.0
|
@ -1,34 +0,0 @@
|
||||
#!/usr/bin/env node
|
||||
|
||||
require('core-js')
|
||||
require('regenerator-runtime/runtime')
|
||||
|
||||
require('@babel/register')({
|
||||
presets: [
|
||||
[ '@babel/env', { targets: { node: 'current' } } ]
|
||||
],
|
||||
plugins: [
|
||||
'@babel/plugin-syntax-dynamic-import'
|
||||
],
|
||||
ignore: [
|
||||
(path) => {
|
||||
// Transpile known packages
|
||||
if (/(@nuxt|@nuxtjs)[\\/]|proper-lockfile|webpack|vue-app/.test(path)) {
|
||||
return false
|
||||
}
|
||||
// Ignore everything else inside node_modules
|
||||
if (/node_modules/.test(path)) {
|
||||
return true
|
||||
}
|
||||
// Transpile project files
|
||||
return false
|
||||
}
|
||||
]
|
||||
})
|
||||
|
||||
const suffix = require('../package.json').name.includes('-edge') ? '-edge' : ''
|
||||
require('@nuxt/cli' + suffix).run()
|
||||
.catch((error) => {
|
||||
require('consola').fatal(error)
|
||||
process.exit(2)
|
||||
})
|
@ -1,23 +0,0 @@
|
||||
export default {
|
||||
build: false,
|
||||
hooks: {
|
||||
async 'build:done'(pkg) {
|
||||
const mono = pkg.load('../..')
|
||||
const nuxt = pkg.load('../nuxt')
|
||||
|
||||
await pkg.copyFilesFrom(mono, [
|
||||
'LICENSE'
|
||||
])
|
||||
|
||||
pkg.copyFieldsFrom(nuxt, [
|
||||
'license',
|
||||
'repository',
|
||||
'contributors',
|
||||
'keywords',
|
||||
'collective'
|
||||
])
|
||||
|
||||
await pkg.writePackage()
|
||||
}
|
||||
}
|
||||
}
|
@ -1,74 +0,0 @@
|
||||
{
|
||||
"name": "nuxt-legacy",
|
||||
"version": "2.5.0",
|
||||
"description": "Legacy build of Nuxt.js for Node.js < 8.0.0",
|
||||
"keywords": [
|
||||
"nuxt",
|
||||
"nuxt.js",
|
||||
"nuxtjs",
|
||||
"ssr",
|
||||
"vue",
|
||||
"vue isomorphic",
|
||||
"vue server side",
|
||||
"vue ssr",
|
||||
"vue universal",
|
||||
"vue versatile",
|
||||
"vue.js",
|
||||
"vuejs"
|
||||
],
|
||||
"homepage": "https://github.com/nuxt/nuxt.js#readme",
|
||||
"repository": "nuxt/nuxt.js",
|
||||
"license": "MIT",
|
||||
"contributors": [
|
||||
{
|
||||
"name": "Sebastien Chopin (@Atinux)"
|
||||
},
|
||||
{
|
||||
"name": "Alexandre Chopin (@alexchopin)"
|
||||
},
|
||||
{
|
||||
"name": "Pooya Parsa (@pi0)"
|
||||
},
|
||||
{
|
||||
"name": "Clark Du (@clarkdo)"
|
||||
},
|
||||
{
|
||||
"name": "Jonas Galvez (@galvez)"
|
||||
},
|
||||
{
|
||||
"name": "Alexander Lichter (@manniL)"
|
||||
},
|
||||
{
|
||||
"name": "Dmitry Molotkov (@aldarund)"
|
||||
},
|
||||
{
|
||||
"name": "Kevin Marrec (@kevinmarrec)"
|
||||
}
|
||||
],
|
||||
"files": [
|
||||
"bin"
|
||||
],
|
||||
"bin": "bin/nuxt-legacy.js",
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.4.0",
|
||||
"@babel/preset-env": "^7.4.2",
|
||||
"@babel/register": "^7.4.0",
|
||||
"@nuxt/builder": "2.5.0",
|
||||
"@nuxt/cli": "2.5.0",
|
||||
"@nuxt/core": "2.5.0",
|
||||
"@nuxt/generator": "2.5.0",
|
||||
"@nuxt/loading-screen": "^0.1.2",
|
||||
"@nuxt/opencollective": "^0.2.1",
|
||||
"@nuxt/webpack": "2.5.0",
|
||||
"core-js": "^2.6.5",
|
||||
"regenerator-runtime": "^0.13.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=6.0.0",
|
||||
"npm": ">=3.0.0"
|
||||
},
|
||||
"collective": {
|
||||
"url": "https://opencollective.com/nuxtjs",
|
||||
"logoUrl": "https://opencollective.com/nuxtjs/logo.txt?reverse=true&variant=variant2"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user