feat(vue): add ionic vue beta (#22062)

This commit is contained in:
Liam DeBeasi
2020-09-10 15:20:49 -04:00
committed by GitHub
parent 74af3cb50b
commit 5ffa65f84a
48 changed files with 3949 additions and 26 deletions

View File

@@ -10,11 +10,13 @@ const rootDir = path.join(__dirname, '../');
const packages = [
'core',
'docs',
'angular',
'packages/react',
'packages/react-router',
'packages/angular-server'
//'docs',
//'angular',
//'packages/react',
//'packages/react-router',
//'packages/angular-server',
'packages/vue',
'packages/vue-router'
];
function readPkg(project) {
@@ -42,7 +44,7 @@ async function askNpmTag(version) {
type: 'list',
name: 'npmTag',
message: 'Select npm tag or specify a new tag',
choices: ['latest', 'next', 'v4-lts']
choices: ['latest', 'next', 'v4-lts', 'beta']
.concat([
new inquirer.Separator(),
{
@@ -172,7 +174,7 @@ function preparePackage(tasks, package, version, install) {
});
// Link core or react for sub projects
if (package === 'core' || package === 'packages/react') {
if (package === 'core' || package === 'packages/react' || package === 'packages/vue') {
projectTasks.push({
title: `${pkg.name}: npm link`,
task: () => execa('npm', ['link'], { cwd: projectRoot })
@@ -231,7 +233,7 @@ function prepareDevPackage(tasks, package, version) {
task: () => execa('npm', ['run', 'build'], { cwd: projectRoot })
});
if (package === 'core' || package === 'packages/react') {
if (package === 'core' || package === 'packages/react' || package === 'packages/vue') {
projectTasks.push({
title: `${pkg.name}: npm link`,
task: () => execa('npm', ['link'], { cwd: projectRoot })

View File

@@ -86,10 +86,10 @@ function publishGit(tasks, version, changelog, npmTag) {
title: 'Push tags to remove',
task: () => execa('git', ['push', '--follow-tags'], { cwd: common.rootDir })
},
{
/*{
title: 'Publish Github release',
task: () => publishGithub(version, gitTag, changelog, npmTag)
}
}*/
);
}