mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-04-06 03:59:53 +08:00
Merge branch 'next' of https://github.com/WeBankFinTech/fes.js into next
This commit is contained in:
commit
e8dd5a54b3
23
.github/workflows/release-notes.mjs
vendored
Executable file
23
.github/workflows/release-notes.mjs
vendored
Executable file
@ -0,0 +1,23 @@
|
|||||||
|
#!/usr/bin/env node
|
||||||
|
|
||||||
|
import { readFileSync, writeFileSync } from "fs";
|
||||||
|
const tag = process.argv[2].replace("v", "");
|
||||||
|
const log = readFileSync("./CHANGELOG.md", { encoding: "utf-8" }).split("\n");
|
||||||
|
let result = "";
|
||||||
|
let inScope = false;
|
||||||
|
const regex = new RegExp(`^#+ \\[${tag}`);
|
||||||
|
for (let i = 0; i < log.length; i++) {
|
||||||
|
if (regex.test(log[i])) {
|
||||||
|
inScope = true;
|
||||||
|
result += log[i];
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
if (inScope && /^#+ \[/.test(log[i])) {
|
||||||
|
inScope = false;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
if(inScope){
|
||||||
|
result += `\n${log[i]}`;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
writeFileSync(`notes-v${tag}.md`, result)
|
77
.github/workflows/release.yml
vendored
77
.github/workflows/release.yml
vendored
@ -1,53 +1,30 @@
|
|||||||
name: Release
|
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags: ["v*"]
|
tags:
|
||||||
|
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
|
||||||
|
|
||||||
|
name: Create Release
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
github_release:
|
build:
|
||||||
name: Trigger GitHub release
|
name: Create Release
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout the new tag
|
- name: Checkout code
|
||||||
uses: actions/checkout@v1.0.0
|
uses: actions/checkout@master
|
||||||
|
- name: Get the release version from the tag
|
||||||
- name: Get tag info
|
shell: bash
|
||||||
id: tags
|
if: env.RELEASE_VERSION == ''
|
||||||
uses: babel/actions/get-release-tags@v2
|
run: |
|
||||||
|
echo "RELEASE_VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
|
||||||
- name: Generate the changelog
|
- name: Generate Release Notes
|
||||||
id: changelog
|
run: |
|
||||||
uses: ./.github/actions/generate-changelog
|
./.github/workflows/release-notes.mjs ${{ env.RELEASE_VERSION }}
|
||||||
with:
|
cat notes-${{ env.RELEASE_VERSION }}.md
|
||||||
from: ${{ steps.tags.outputs.old }}
|
- name: Create Release for Tag
|
||||||
to: ${{ steps.tags.outputs.new }}
|
id: release_tag
|
||||||
env:
|
uses: softprops/action-gh-release@v1
|
||||||
GITHUB_AUTH: ${{ secrets.ACCESS_TOKEN }}
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
|
||||||
- name: Create a draft GitHub release
|
with:
|
||||||
uses: babel/actions/publish-github-release@v2
|
body_path: notes-${{ env.RELEASE_VERSION }}.md
|
||||||
with:
|
|
||||||
tag: ${{ steps.tags.outputs.new }}
|
|
||||||
changelog: ${{ steps.changelog.outputs.changelog }}
|
|
||||||
token: ${{ secrets.ACCESS_TOKEN }}
|
|
||||||
|
|
||||||
- name: Check if releasing from master
|
|
||||||
id: is_master
|
|
||||||
uses: babel/actions/ref-matches-branch@v2
|
|
||||||
with:
|
|
||||||
name: master
|
|
||||||
|
|
||||||
- name: Update CHANGELOG.md
|
|
||||||
if: steps.is_master.outputs.result == 1
|
|
||||||
uses: babel/actions/update-changelog@v2
|
|
||||||
with:
|
|
||||||
changelog: ${{ steps.changelog.outputs.changelog }}
|
|
||||||
|
|
||||||
- name: Commit CHANGELOG.md
|
|
||||||
if: steps.is_master.outputs.result == 1
|
|
||||||
run: |
|
|
||||||
git add CHANGELOG.md
|
|
||||||
git -c user.name="wanchun" -c user.email="445436867@qq.com" \
|
|
||||||
commit -m "Add ${{ steps.tags.outputs.new }} to CHANGELOG.md [skip ci]" --no-verify --quiet
|
|
||||||
git push "https://wanchun:${{ secrets.ACCESS_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git" master
|
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
# [3.0.0-beta.18](https://github.com/WeBankFinTech/fes.js/compare/v3.0.0-beta.17...v3.0.0-beta.18) (2022-08-17)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# [3.0.0-beta.17](https://github.com/WeBankFinTech/fes.js/compare/v3.0.0-beta.16...v3.0.0-beta.17) (2022-08-15)
|
# [3.0.0-beta.17](https://github.com/WeBankFinTech/fes.js/compare/v3.0.0-beta.16...v3.0.0-beta.17) (2022-08-15)
|
||||||
|
|
||||||
|
|
||||||
|
@ -68,7 +68,7 @@ fes-template
|
|||||||
"@fesjs/plugin-monaco-editor": "^3.0.0-beta.0",
|
"@fesjs/plugin-monaco-editor": "^3.0.0-beta.0",
|
||||||
"@fesjs/plugin-windicss": "^3.0.0-beta.0",
|
"@fesjs/plugin-windicss": "^3.0.0-beta.0",
|
||||||
"@fesjs/fes-design": "^0.5.0",
|
"@fesjs/fes-design": "^0.5.0",
|
||||||
"vue": "^3.0.5",
|
"vue": "^3.2.37",
|
||||||
"vuex": "^4.0.0"
|
"vuex": "^4.0.0"
|
||||||
},
|
},
|
||||||
"private": true
|
"private": true
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "fes.js",
|
"name": "fes.js",
|
||||||
"version": "3.0.0-beta.17",
|
"version": "3.0.0-beta.18",
|
||||||
"description": "一个好用的前端管理台快速开发框架",
|
"description": "一个好用的前端管理台快速开发框架",
|
||||||
"preferGlobal": true,
|
"preferGlobal": true,
|
||||||
"private": true,
|
"private": true,
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@fesjs/create-fes-app",
|
"name": "@fesjs/create-fes-app",
|
||||||
"version": "3.0.0-beta.6",
|
"version": "3.0.0-beta.7",
|
||||||
"description": "create a app base on fes.js",
|
"description": "create a app base on fes.js",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"files": [
|
"files": [
|
||||||
|
@ -40,7 +40,6 @@
|
|||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/compiler-sfc": "^3.2.6",
|
|
||||||
"@webank/eslint-config-webank": "^1.0.2",
|
"@webank/eslint-config-webank": "^1.0.2",
|
||||||
"@ttou/postcss-px-to-viewport": "1.1.1"
|
"@ttou/postcss-px-to-viewport": "1.1.1"
|
||||||
},
|
},
|
||||||
@ -49,7 +48,7 @@
|
|||||||
"@fesjs/plugin-icon": "^3.0.0-beta.0",
|
"@fesjs/plugin-icon": "^3.0.0-beta.0",
|
||||||
"@fesjs/plugin-request": "^3.0.0-beta.5",
|
"@fesjs/plugin-request": "^3.0.0-beta.5",
|
||||||
"@fesjs/builder-webpack": "^3.0.0-beta.0",
|
"@fesjs/builder-webpack": "^3.0.0-beta.0",
|
||||||
"vue": "^3.2.6",
|
"vue": "^3.2.37",
|
||||||
"core-js": "^3.19.2"
|
"core-js": "^3.19.2"
|
||||||
},
|
},
|
||||||
"private": true
|
"private": true
|
||||||
|
@ -43,7 +43,6 @@
|
|||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/compiler-sfc": "^3.2.6",
|
|
||||||
"@webank/eslint-config-webank": "^1.0.2"
|
"@webank/eslint-config-webank": "^1.0.2"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
@ -54,7 +53,7 @@
|
|||||||
"@fesjs/plugin-enums": "^3.0.0-beta.0",
|
"@fesjs/plugin-enums": "^3.0.0-beta.0",
|
||||||
"@fesjs/fes-design": "^0.5.0",
|
"@fesjs/fes-design": "^0.5.0",
|
||||||
"@fesjs/builder-webpack": "^3.0.0-beta.0",
|
"@fesjs/builder-webpack": "^3.0.0-beta.0",
|
||||||
"vue": "^3.2.6",
|
"vue": "^3.2.37",
|
||||||
"core-js": "^3.19.2"
|
"core-js": "^3.19.2"
|
||||||
},
|
},
|
||||||
"private": true
|
"private": true
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@fesjs/fes": "^3.0.0-beta.0",
|
"@fesjs/fes": "^3.0.0-beta.0",
|
||||||
"vue": "^3.0.5"
|
"vue": "^3.2.37"
|
||||||
},
|
},
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
"*.{js,jsx,vue,ts}": [
|
"*.{js,jsx,vue,ts}": [
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@fesjs/builder-vite",
|
"name": "@fesjs/builder-vite",
|
||||||
"version": "3.0.0-beta.10",
|
"version": "3.0.0-beta.11",
|
||||||
"description": "@fesjs/builder-vite",
|
"description": "@fesjs/builder-vite",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"files": [
|
"files": [
|
||||||
@ -42,7 +42,6 @@
|
|||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@fesjs/fes": "^3.0.0-beta.0",
|
"@fesjs/fes": "^3.0.0-beta.0",
|
||||||
"@vue/compiler-sfc": "^3.0.5",
|
|
||||||
"core-js": "^3.19.2"
|
"core-js": "^3.19.2"
|
||||||
},
|
},
|
||||||
"typings": "./types.d.ts"
|
"typings": "./types.d.ts"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@fesjs/builder-webpack",
|
"name": "@fesjs/builder-webpack",
|
||||||
"version": "3.0.0-beta.5",
|
"version": "3.0.0-beta.6",
|
||||||
"description": "@fesjs/builder-webpack",
|
"description": "@fesjs/builder-webpack",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"types": "lib/index.d.ts",
|
"types": "lib/index.d.ts",
|
||||||
@ -64,7 +64,6 @@
|
|||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@fesjs/fes": "^3.0.0-beta.0",
|
"@fesjs/fes": "^3.0.0-beta.0",
|
||||||
"@vue/compiler-sfc": "^3.0.5",
|
|
||||||
"core-js": "^3.19.2"
|
"core-js": "^3.19.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@fesjs/plugin-access",
|
"name": "@fesjs/plugin-access",
|
||||||
"version": "3.0.0-beta.5",
|
"version": "3.0.0-beta.6",
|
||||||
"description": "@fesjs/plugin-access",
|
"description": "@fesjs/plugin-access",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"files": [
|
"files": [
|
||||||
@ -33,7 +33,7 @@
|
|||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@fesjs/fes": "^3.0.0-beta.0",
|
"@fesjs/fes": "^3.0.0-beta.0",
|
||||||
"vue": "^3.0.5",
|
"vue": "^3.2.37",
|
||||||
"vue-router": "^4.0.1"
|
"vue-router": "^4.0.1"
|
||||||
},
|
},
|
||||||
"typings": "./types.d.ts"
|
"typings": "./types.d.ts"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@fesjs/plugin-enums",
|
"name": "@fesjs/plugin-enums",
|
||||||
"version": "3.0.0-beta.5",
|
"version": "3.0.0-beta.6",
|
||||||
"description": "@fesjs/plugin-enums",
|
"description": "@fesjs/plugin-enums",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"files": [
|
"files": [
|
||||||
@ -29,7 +29,7 @@
|
|||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@fesjs/fes": "^3.0.0-beta.0",
|
"@fesjs/fes": "^3.0.0-beta.0",
|
||||||
"vue": "^3.0.5"
|
"vue": "^3.2.37"
|
||||||
},
|
},
|
||||||
"typings": "./types.d.ts"
|
"typings": "./types.d.ts"
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@fesjs/plugin-icon",
|
"name": "@fesjs/plugin-icon",
|
||||||
"version": "3.0.0-beta.4",
|
"version": "3.0.0-beta.5",
|
||||||
"description": "@fesjs/plugin-icon",
|
"description": "@fesjs/plugin-icon",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"files": [
|
"files": [
|
||||||
@ -28,7 +28,7 @@
|
|||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.5"
|
"vue": "^3.2.37"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"svgo": "^2.3.1"
|
"svgo": "^2.3.1"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@fesjs/plugin-layout",
|
"name": "@fesjs/plugin-layout",
|
||||||
"version": "5.0.0-beta.10",
|
"version": "5.0.0-beta.11",
|
||||||
"description": "@fesjs/plugin-layout",
|
"description": "@fesjs/plugin-layout",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"files": [
|
"files": [
|
||||||
@ -33,7 +33,7 @@
|
|||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@fesjs/fes": "^3.0.0-beta.0",
|
"@fesjs/fes": "^3.0.0-beta.0",
|
||||||
"@fesjs/fes-design": "^0.5.0",
|
"@fesjs/fes-design": "^0.5.0",
|
||||||
"vue": "^3.0.5",
|
"vue": "^3.2.37",
|
||||||
"vue-router": "^4.0.1"
|
"vue-router": "^4.0.1"
|
||||||
},
|
},
|
||||||
"typings": "./types.d.ts"
|
"typings": "./types.d.ts"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@fesjs/plugin-locale",
|
"name": "@fesjs/plugin-locale",
|
||||||
"version": "4.0.0-beta.5",
|
"version": "4.0.0-beta.6",
|
||||||
"description": "@fesjs/plugin-locale",
|
"description": "@fesjs/plugin-locale",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"files": [
|
"files": [
|
||||||
@ -34,7 +34,7 @@
|
|||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@fesjs/fes": "^3.0.0-beta.0",
|
"@fesjs/fes": "^3.0.0-beta.0",
|
||||||
"@fesjs/fes-design": "^0.5.0",
|
"@fesjs/fes-design": "^0.5.0",
|
||||||
"vue": "^3.0.5"
|
"vue": "^3.2.37"
|
||||||
},
|
},
|
||||||
"typings": "./types.d.ts"
|
"typings": "./types.d.ts"
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@fesjs/plugin-model",
|
"name": "@fesjs/plugin-model",
|
||||||
"version": "3.0.0-beta.4",
|
"version": "3.0.0-beta.5",
|
||||||
"description": "@fesjs/plugin-model",
|
"description": "@fesjs/plugin-model",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"files": [
|
"files": [
|
||||||
@ -32,7 +32,7 @@
|
|||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@fesjs/fes": "^3.0.0-beta.0",
|
"@fesjs/fes": "^3.0.0-beta.0",
|
||||||
"vue": "^3.0.5"
|
"vue": "^3.2.37"
|
||||||
},
|
},
|
||||||
"typings": "./types.d.ts"
|
"typings": "./types.d.ts"
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@fesjs/plugin-monaco-editor",
|
"name": "@fesjs/plugin-monaco-editor",
|
||||||
"version": "3.0.0-beta.5",
|
"version": "3.0.0-beta.6",
|
||||||
"description": "@fesjs/plugin-monaco-editor",
|
"description": "@fesjs/plugin-monaco-editor",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"files": [
|
"files": [
|
||||||
@ -34,7 +34,7 @@
|
|||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@fesjs/fes": "^3.0.0-beta.0",
|
"@fesjs/fes": "^3.0.0-beta.0",
|
||||||
"vue": "^3.0.5"
|
"vue": "^3.2.37"
|
||||||
},
|
},
|
||||||
"typings": "./types.d.ts"
|
"typings": "./types.d.ts"
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@fesjs/plugin-pinia",
|
"name": "@fesjs/plugin-pinia",
|
||||||
"version": "3.0.0-beta.4",
|
"version": "3.0.0-beta.5",
|
||||||
"description": "@fesjs/plugin-pinia",
|
"description": "@fesjs/plugin-pinia",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"files": [
|
"files": [
|
||||||
@ -33,7 +33,7 @@
|
|||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@fesjs/fes": "^3.0.0-beta.0",
|
"@fesjs/fes": "^3.0.0-beta.0",
|
||||||
"pinia": "^2.0.11",
|
"pinia": "^2.0.11",
|
||||||
"vue": "^3.0.5"
|
"vue": "^3.2.37"
|
||||||
},
|
},
|
||||||
"typings": "./types.d.ts"
|
"typings": "./types.d.ts"
|
||||||
}
|
}
|
||||||
|
@ -45,7 +45,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fesjs/fes": "^2.0.0",
|
"@fesjs/fes": "^2.0.0",
|
||||||
"@fesjs/builder-webpack": "^1.0.0",
|
"@fesjs/builder-webpack": "^1.0.0",
|
||||||
"vue": "^3.0.5",
|
"vue": "^3.2.37",
|
||||||
"@fesjs/fes-design": "^0.5.0"
|
"@fesjs/fes-design": "^0.5.0"
|
||||||
},
|
},
|
||||||
"private": true
|
"private": true
|
||||||
|
@ -44,7 +44,7 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fesjs/fes": "^2.0.0",
|
"@fesjs/fes": "^2.0.0",
|
||||||
"vue": "^3.0.5",
|
"vue": "^3.2.37",
|
||||||
"@fesjs/fes-design": "^0.5.0"
|
"@fesjs/fes-design": "^0.5.0"
|
||||||
},
|
},
|
||||||
"private": true
|
"private": true
|
||||||
|
@ -44,7 +44,7 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fesjs/fes": "^2.0.0",
|
"@fesjs/fes": "^2.0.0",
|
||||||
"vue": "^3.0.5",
|
"vue": "^3.2.37",
|
||||||
"@fesjs/fes-design": "^0.1.10"
|
"@fesjs/fes-design": "^0.1.10"
|
||||||
},
|
},
|
||||||
"private": true
|
"private": true
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@fesjs/plugin-qiankun",
|
"name": "@fesjs/plugin-qiankun",
|
||||||
"version": "3.0.0-beta.8",
|
"version": "3.0.0-beta.9",
|
||||||
"description": "@fesjs/plugin-qiankun",
|
"description": "@fesjs/plugin-qiankun",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"files": [
|
"files": [
|
||||||
@ -42,7 +42,7 @@
|
|||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@fesjs/fes": "^3.0.0-beta.0",
|
"@fesjs/fes": "^3.0.0-beta.0",
|
||||||
"@fesjs/fes-design": "^0.5.0",
|
"@fesjs/fes-design": "^0.5.0",
|
||||||
"vue": "^3.0.5"
|
"vue": "^3.2.37"
|
||||||
},
|
},
|
||||||
"typings": "./types.d.ts"
|
"typings": "./types.d.ts"
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@fesjs/plugin-request",
|
"name": "@fesjs/plugin-request",
|
||||||
"version": "3.0.0-beta.7",
|
"version": "3.0.0-beta.8",
|
||||||
"description": "@fesjs/plugin-request",
|
"description": "@fesjs/plugin-request",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"files": [
|
"files": [
|
||||||
@ -29,7 +29,7 @@
|
|||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@fesjs/fes": "^3.0.0-beta.0",
|
"@fesjs/fes": "^3.0.0-beta.0",
|
||||||
"vue": "^3.0.5"
|
"vue": "^3.2.37"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fesjs/utils": "^3.0.0-beta.0",
|
"@fesjs/utils": "^3.0.0-beta.0",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@fesjs/plugin-vuex",
|
"name": "@fesjs/plugin-vuex",
|
||||||
"version": "3.0.0-beta.5",
|
"version": "3.0.0-beta.6",
|
||||||
"description": "@fesjs/plugin-vuex",
|
"description": "@fesjs/plugin-vuex",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"files": [
|
"files": [
|
||||||
@ -32,7 +32,7 @@
|
|||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@fesjs/fes": "^3.0.0-beta.0",
|
"@fesjs/fes": "^3.0.0-beta.0",
|
||||||
"vue": "^3.0.5",
|
"vue": "^3.2.37",
|
||||||
"vuex": "^4.0.0"
|
"vuex": "^4.0.0"
|
||||||
},
|
},
|
||||||
"typings": "./types.d.ts"
|
"typings": "./types.d.ts"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@fesjs/plugin-watermark",
|
"name": "@fesjs/plugin-watermark",
|
||||||
"version": "3.0.0-beta.4",
|
"version": "3.0.0-beta.5",
|
||||||
"description": "@fesjs/plugin-watermark",
|
"description": "@fesjs/plugin-watermark",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"files": [
|
"files": [
|
||||||
@ -33,7 +33,7 @@
|
|||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@fesjs/fes": "^3.0.0-beta.0",
|
"@fesjs/fes": "^3.0.0-beta.0",
|
||||||
"vue": "^3.0.5"
|
"vue": "^3.2.37"
|
||||||
},
|
},
|
||||||
"typings": "./types.d.ts"
|
"typings": "./types.d.ts"
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@fesjs/plugin-windicss",
|
"name": "@fesjs/plugin-windicss",
|
||||||
"version": "3.0.0-beta.5",
|
"version": "3.0.0-beta.6",
|
||||||
"description": "@fesjs/plugin-windicss",
|
"description": "@fesjs/plugin-windicss",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"files": [
|
"files": [
|
||||||
@ -28,7 +28,7 @@
|
|||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.5"
|
"vue": "^3.2.37"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"vite-plugin-windicss": "^1.8.3",
|
"vite-plugin-windicss": "^1.8.3",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@fesjs/preset-built-in",
|
"name": "@fesjs/preset-built-in",
|
||||||
"version": "3.0.0-beta.10",
|
"version": "3.0.0-beta.11",
|
||||||
"description": "@fesjs/preset-built-in",
|
"description": "@fesjs/preset-built-in",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"types": "lib/index.d.ts",
|
"types": "lib/index.d.ts",
|
||||||
@ -33,8 +33,7 @@
|
|||||||
"express": "^4.17.3"
|
"express": "^4.17.3"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.5",
|
"vue": "^3.2.37"
|
||||||
"@vue/compiler-sfc": "^3.0.5"
|
|
||||||
},
|
},
|
||||||
"typings": "./types.d.ts"
|
"typings": "./types.d.ts"
|
||||||
}
|
}
|
||||||
|
@ -15,7 +15,6 @@ export default function () {
|
|||||||
// bundle configs
|
// bundle configs
|
||||||
require.resolve('./plugins/features/alias'),
|
require.resolve('./plugins/features/alias'),
|
||||||
require.resolve('./plugins/features/autoprefixer'),
|
require.resolve('./plugins/features/autoprefixer'),
|
||||||
require.resolve('./plugins/features/checkVuePackage'),
|
|
||||||
require.resolve('./plugins/features/define'),
|
require.resolve('./plugins/features/define'),
|
||||||
require.resolve('./plugins/features/dynamicImport'),
|
require.resolve('./plugins/features/dynamicImport'),
|
||||||
require.resolve('./plugins/features/globalCSS'),
|
require.resolve('./plugins/features/globalCSS'),
|
||||||
|
@ -1,27 +0,0 @@
|
|||||||
import { chalk, semver } from '@fesjs/utils';
|
|
||||||
|
|
||||||
export default (api) => {
|
|
||||||
api.describe({
|
|
||||||
key: 'checkVuePackage',
|
|
||||||
config: {
|
|
||||||
schema(joi) {
|
|
||||||
return joi.object();
|
|
||||||
},
|
|
||||||
default: {},
|
|
||||||
},
|
|
||||||
});
|
|
||||||
|
|
||||||
api.onStart(() => {
|
|
||||||
// eslint-disable-next-line import/no-extraneous-dependencies
|
|
||||||
const vuePkg = require('vue/package.json');
|
|
||||||
const vueCompilerPkg = require('@vue/compiler-sfc/package.json');
|
|
||||||
if (!semver.satisfies(vuePkg.version, `~${vueCompilerPkg.version.replace(/\d+$/, '0')}`, { includePrerelease: true })) {
|
|
||||||
console.log(
|
|
||||||
chalk.red(
|
|
||||||
`You are using vue@${vuePkg.version}, requires @vue/compiler-sfc@${vuePkg.version}.\nPlease upgrade your @vue/compiler-sfc@${vueCompilerPkg.version} version.`,
|
|
||||||
),
|
|
||||||
);
|
|
||||||
process.exit(1);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
};
|
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@fesjs/runtime",
|
"name": "@fesjs/runtime",
|
||||||
"version": "3.0.0-beta.3",
|
"version": "3.0.0-beta.4",
|
||||||
"description": "@fesjs/runtime",
|
"description": "@fesjs/runtime",
|
||||||
"main": "es/index.js",
|
"main": "es/index.js",
|
||||||
"module": "es/index.js",
|
"module": "es/index.js",
|
||||||
@ -27,7 +27,7 @@
|
|||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.5"
|
"vue": "^3.2.37"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"vue-router": "^4.0.1"
|
"vue-router": "^4.0.1"
|
||||||
|
@ -40,15 +40,14 @@
|
|||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@ttou/postcss-px-to-viewport": "1.1.4",
|
"@ttou/postcss-px-to-viewport": "1.1.4"
|
||||||
"@vue/compiler-sfc": "^3.2.2"
|
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fesjs/fes": "^3.0.0-beta.0",
|
"@fesjs/fes": "^3.0.0-beta.0",
|
||||||
"@fesjs/plugin-icon": "^3.0.0-beta.0",
|
"@fesjs/plugin-icon": "^3.0.0-beta.0",
|
||||||
"@fesjs/plugin-request": "^3.0.0-beta.0",
|
"@fesjs/plugin-request": "^3.0.0-beta.0",
|
||||||
"@fesjs/builder-webpack": "^3.0.0-beta.0",
|
"@fesjs/builder-webpack": "^3.0.0-beta.0",
|
||||||
"vue": "^3.2.2"
|
"vue": "^3.2.37"
|
||||||
},
|
},
|
||||||
"private": true
|
"private": true
|
||||||
}
|
}
|
@ -61,8 +61,8 @@
|
|||||||
"@fesjs/plugin-windicss": "^3.0.0-beta.0",
|
"@fesjs/plugin-windicss": "^3.0.0-beta.0",
|
||||||
"cssnano": "^5.1.12",
|
"cssnano": "^5.1.12",
|
||||||
"pinia": "^2.0.11",
|
"pinia": "^2.0.11",
|
||||||
"vue": "^3.0.5",
|
"vue": "^3.2.37",
|
||||||
"vuex": "^4.0.0"
|
"vuex": "^4.0.0"
|
||||||
},
|
},
|
||||||
"private": true
|
"private": true
|
||||||
}
|
}
|
@ -57,9 +57,9 @@
|
|||||||
"@fesjs/plugin-monaco-editor": "^3.0.0-beta.0",
|
"@fesjs/plugin-monaco-editor": "^3.0.0-beta.0",
|
||||||
"@fesjs/plugin-windicss": "^3.0.0-beta.0",
|
"@fesjs/plugin-windicss": "^3.0.0-beta.0",
|
||||||
"@fesjs/plugin-pinia": "^3.0.0-beta.0",
|
"@fesjs/plugin-pinia": "^3.0.0-beta.0",
|
||||||
"@fesjs/plugin-watermark": "^3.0.0-beta.0",
|
"@fesjs/plugin-watermark": "^3.0.0-beta.0",
|
||||||
"@fesjs/fes-design": "^0.5.0",
|
"@fesjs/fes-design": "^0.5.0",
|
||||||
"vue": "^3.0.5",
|
"vue": "^3.2.37",
|
||||||
"vuex": "^4.0.0",
|
"vuex": "^4.0.0",
|
||||||
"pinia": "^2.0.11"
|
"pinia": "^2.0.11"
|
||||||
},
|
},
|
||||||
|
@ -43,7 +43,7 @@ async function publishPackage(pkg, runIfNotDry) {
|
|||||||
stdio: 'pipe',
|
stdio: 'pipe',
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
console.log(chalk.green(`Successfully published ${pkg.name}@${pkg.newVersion}`));
|
console.log('Successfully published :', chalk.green(`${pkg.name}@${pkg.newVersion}`));
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
if (e.stderr.match(/previously published/)) {
|
if (e.stderr.match(/previously published/)) {
|
||||||
console.log(chalk.red(`Skipping already published: ${pkg.name}`));
|
console.log(chalk.red(`Skipping already published: ${pkg.name}`));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user