Skip to content

Commit

Permalink
chore(release): publish 3.5.0-theta.1 --tag=theta
Browse files Browse the repository at this point in the history
  • Loading branch information
ZakaryCode committed Jul 1, 2022
1 parent e74ee43 commit f694f31
Show file tree
Hide file tree
Showing 56 changed files with 64 additions and 64 deletions.
3 changes: 3 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,11 @@ module.exports = {
'react/jsx-uses-vars': 'warn',
'react/prop-types': 0,
'react/no-find-dom-node': 0,
quotes: ['error', 'single', { avoidEscape: true, allowTemplateLiterals: true }],
semi: ['error', 'never'],
'simple-import-sort/imports': 'error',
'simple-import-sort/exports': 'error',
'space-before-function-paren': ['error', 'always'],
'standard/no-callback-literal': 0
},
env: {
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,13 @@ jobs:
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-
- name: install
uses: pnpm/action-setup@v2.1.0
uses: pnpm/action-setup@v2.2.2
with:
version: 7.4.0
version: 7.4
run_install: |
- recursive: true
args: [--frozen-lockfile]
- name: build
run: pnpm run build
- name: lint
run: pnpm run lint
- name: build
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:

env:
CI: true
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
jobs:
publish:
name: Publish
Expand Down Expand Up @@ -95,7 +96,7 @@ jobs:
# ------------------ If git tag already exists, skip -------------

- name: Git tag verification
if: steps.tag_check.outputs.exists_tag != 'false'
if: steps.tag_check.outputs.exists_tag == false
uses: andymckay/cancel-action@0.2

# Bootstrap project
Expand All @@ -106,11 +107,10 @@ jobs:
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-
- name: install
uses: pnpm/action-setup@v2.1.0
uses: pnpm/action-setup@v2.2.2
with:
version: 7.4.0
version: 7.4
run_install: |
- recursive: true
args: [--frozen-lockfile]
Expand Down Expand Up @@ -138,9 +138,9 @@ jobs:
- name: Publish
run: |
if [ '${{ github.event_name }}' == 'pull_request' ] ; then
pnpm -r --filter=./packages/* exec pnpm publish
pnpm publish --publish-branch=${{ env.BRANCH_NAME }} -r
elif [ '${{ github.event_name }}' == 'push' ] ; then
pnpm -r --filter=./packages/* exec pnpm publish ${{ env.PUBLISH_PARAMS }}
pnpm publish --publish-branch=${{ env.BRANCH_NAME }} -r ${{ env.PUBLISH_PARAMS }}
fi
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "taro",
"version": "3.5.0-theta.0",
"version": "3.5.0-theta.1",
"description": "开放式跨端跨框架开发解决方案",
"homepage": "https://github.com/NervJS/taro#readme",
"author": "O2Team",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "babel-plugin-transform-react-jsx-to-rn-stylesheet",
"version": "3.5.0-theta.0",
"version": "3.5.0-theta.1",
"description": "Transform stylesheet selector to style in JSX Elements.",
"license": "MIT",
"main": "dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-plugin-transform-taroapi/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "babel-plugin-transform-taroapi",
"version": "3.5.0-theta.0",
"version": "3.5.0-theta.1",
"main": "dist/index.js",
"scripts": {
"build": "tsc"
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-preset-taro/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "babel-preset-taro",
"version": "3.5.0-theta.0",
"version": "3.5.0-theta.1",
"description": "> TODO: description",
"author": "yuche <i@yuche.me>",
"homepage": "https://github.com/nervjs/taro/tree/master/packages/babel-preset-taro#readme",
Expand Down
2 changes: 1 addition & 1 deletion packages/css-to-react-native/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "taro-css-to-react-native",
"description": "Convert CSS text to a React Native stylesheet object",
"version": "3.5.0-theta.0",
"version": "3.5.0-theta.1",
"main": "dist/index.js",
"license": "MIT",
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config-taro/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-config-taro",
"version": "3.5.0-theta.0",
"version": "3.5.0-theta.1",
"description": "Taro specific linting rules for ESLint",
"main": "index.js",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion packages/postcss-html-transform/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "postcss-html-transform",
"version": "3.5.0-theta.0",
"version": "3.5.0-theta.1",
"description": "transform html tag name selector",
"main": "index.js",
"author": "drchan",
Expand Down
2 changes: 1 addition & 1 deletion packages/postcss-plugin-constparse/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "postcss-plugin-constparse",
"version": "3.5.0-theta.0",
"version": "3.5.0-theta.1",
"description": "parse constants defined in config",
"main": "index.js",
"author": "Simba",
Expand Down
2 changes: 1 addition & 1 deletion packages/postcss-pxtransform/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "postcss-pxtransform",
"version": "3.5.0-theta.0",
"version": "3.5.0-theta.1",
"description": "PostCSS plugin px 转小程序 rpx及h5 rem 单位",
"keywords": [
"postcss",
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tarojs/shared",
"version": "3.5.0-theta.0",
"version": "3.5.0-theta.1",
"description": "> TODO: description",
"author": "yuche <i@yuche.me>",
"homepage": "https://github.com/nervjs/taro/tree/master/packages/shared#readme",
Expand Down
2 changes: 1 addition & 1 deletion packages/stylelint-config-taro-rn/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "stylelint-config-taro-rn",
"version": "3.5.0-theta.0",
"version": "3.5.0-theta.1",
"description": "Shareable stylelint config for React Native CSS modules",
"main": "index.js",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion packages/stylelint-taro-rn/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "stylelint-taro-rn",
"description": "A collection of React Native specific rules for stylelint",
"version": "3.5.0-theta.0",
"version": "3.5.0-theta.1",
"main": "dist/index.js",
"files": [
"dist",
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-alipay/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tarojs/plugin-platform-alipay",
"version": "3.5.0-theta.0",
"version": "3.5.0-theta.1",
"description": "支付宝小程序平台插件",
"author": "Chen-jj",
"homepage": "https://github.com/nervjs/taro/tree/master/packages/taro-alipay#readme",
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tarojs/api",
"version": "3.5.0-theta.0",
"version": "3.5.0-theta.1",
"description": "Taro common API",
"author": "yuche <i@yuche.me>",
"homepage": "https://github.com/nervjs/taro/tree/master/packages/api#readme",
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tarojs/cli",
"version": "3.5.0-theta.0",
"version": "3.5.0-theta.1",
"description": "cli tool for taro",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-components-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tarojs/components-react",
"version": "3.5.0-theta.0",
"version": "3.5.0-theta.1",
"description": "",
"main:h5": "src/index.js",
"main": "dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-components-rn/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tarojs/components-rn",
"version": "3.5.0-theta.0",
"version": "3.5.0-theta.1",
"description": "多端解决方案基础组件(RN)",
"main": "./dist/index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tarojs/components",
"version": "3.5.0-theta.0",
"version": "3.5.0-theta.1",
"description": "",
"browser": "dist/index.js",
"main:h5": "dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-extend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tarojs/extend",
"version": "3.5.0-theta.0",
"version": "3.5.0-theta.1",
"description": "Taro extend functionality",
"author": "yuche <i@yuche.me>",
"homepage": "https://github.com/nervjs/taro/tree/master/packages/taro-extend#readme",
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-h5/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tarojs/taro-h5",
"version": "3.5.0-theta.0",
"version": "3.5.0-theta.1",
"description": "Taro h5 framework",
"browser": "dist/index.esm.js",
"main:h5": "dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-helper/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tarojs/helper",
"version": "3.5.0-theta.0",
"version": "3.5.0-theta.1",
"description": "Taro Helper",
"main": "index.js",
"types": "types/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-jd/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tarojs/plugin-platform-jd",
"version": "3.5.0-theta.0",
"version": "3.5.0-theta.1",
"description": "京东小程序平台插件",
"author": "Chen-jj",
"homepage": "https://github.com/nervjs/taro/tree/master/packages/taro-jd#readme",
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-loader/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tarojs/taro-loader",
"version": "3.5.0-theta.0",
"version": "3.5.0-theta.1",
"description": "> TODO: description",
"author": "yuche <i@yuche.me>",
"homepage": "https://github.com/nervjs/taro/tree/master/packages/taro-loader#readme",
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-mini-runner/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tarojs/mini-runner",
"version": "3.5.0-theta.0",
"version": "3.5.0-theta.1",
"description": "Mini app runner for taro",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-plugin-html/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tarojs/plugin-html",
"version": "3.5.0-theta.0",
"version": "3.5.0-theta.1",
"description": "Taro 小程序端支持使用 HTML 标签的插件",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-plugin-mini-ci/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tarojs/plugin-mini-ci",
"version": "3.5.0-theta.0",
"version": "3.5.0-theta.1",
"description": "Taro 小程序端构建后支持CI(持续集成)的插件",
"keywords": [
"Taro",
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-plugin-react-devtools/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tarojs/plugin-react-devtools",
"version": "3.5.0-theta.0",
"version": "3.5.0-theta.1",
"description": "Taro 小程序端支持使用 React DevTools 的插件",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-plugin-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tarojs/plugin-framework-react",
"version": "3.5.0-theta.0",
"version": "3.5.0-theta.1",
"description": "React/Preact/Nerv 框架插件",
"author": "drchan",
"homepage": "https://github.com/nervjs/taro",
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-plugin-vue-devtools/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tarojs/plugin-vue-devtools",
"version": "3.5.0-theta.0",
"version": "3.5.0-theta.1",
"description": "Taro 小程序端支持使用 Vue DevTools 的插件",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-plugin-vue2/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tarojs/plugin-framework-vue2",
"version": "3.5.0-theta.0",
"version": "3.5.0-theta.1",
"description": "Vue2 框架插件",
"author": "drchan",
"homepage": "https://github.com/nervjs/taro",
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-plugin-vue3/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tarojs/plugin-framework-vue3",
"version": "3.5.0-theta.0",
"version": "3.5.0-theta.1",
"description": "Vue3 框架插件",
"author": "drchan",
"homepage": "https://github.com/nervjs/taro",
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-qq/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tarojs/plugin-platform-qq",
"version": "3.5.0-theta.0",
"version": "3.5.0-theta.1",
"description": "QQ 小程序平台插件",
"author": "Chen-jj",
"homepage": "https://github.com/nervjs/taro/tree/master/packages/taro-qq#readme",
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tarojs/react",
"version": "3.5.0-theta.0",
"version": "3.5.0-theta.1",
"description": "like react-dom, but for mini apps.",
"author": "yuche <i@yuche.me>",
"homepage": "https://github.com/nervjs/taro/tree/master/packages/taro-react#readme",
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-rn-runner/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tarojs/rn-runner",
"version": "3.5.0-theta.0",
"version": "3.5.0-theta.1",
"description": "ReactNative build tool for taro",
"main": "index.js",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-rn-style-transformer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tarojs/rn-style-transformer",
"version": "3.5.0-theta.0",
"version": "3.5.0-theta.1",
"description": "提供Taro RN 统一处理样式文件能力",
"main": "dist/index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-rn-supporter/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tarojs/rn-supporter",
"version": "3.5.0-theta.0",
"version": "3.5.0-theta.1",
"description": "Taro rn supporter",
"main": "dist/index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-rn-transformer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tarojs/rn-transformer",
"version": "3.5.0-theta.0",
"version": "3.5.0-theta.1",
"description": "Taro RN 入口文件处理",
"main": "dist/index.js",
"types": "./src/types/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-rn/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tarojs/taro-rn",
"version": "3.5.0-theta.0",
"version": "3.5.0-theta.1",
"description": "Taro RN framework",
"main": "dist/index.js",
"typings": "types/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-router-rn/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tarojs/router-rn",
"version": "3.5.0-theta.0",
"version": "3.5.0-theta.1",
"description": "Taro-router-rn",
"main": "dist/index.js",
"typings": "src/index.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-router/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tarojs/router",
"version": "3.5.0-theta.0",
"version": "3.5.0-theta.1",
"description": "Taro-router",
"browser": "dist/index.esm.js",
"main:h5": "dist/index.js",
Expand Down
Loading

0 comments on commit f694f31

Please sign in to comment.