Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update next branch #1063

Merged
merged 53 commits into from
Feb 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
53a44fb
WIP(ssr): add emphasis style in ssr css apache/echarts#18334
Ovilia Mar 14, 2023
2088b3c
Merge branch 'master' into ssr
Ovilia Mar 28, 2023
26abab1
feat(ssr): add style in meta data
Ovilia Mar 31, 2023
4ca836e
fix(svg): duplicate id for background rect with multiple charts
Ovilia Apr 3, 2023
055b4e7
fix(transform): fix `invTransform` may not be reset when updating tra…
plainheart May 14, 2023
1e27245
Merge pull request #1011 from ecomfe/fix-transform
plainheart May 15, 2023
d7005b8
feat(ssr): improve code
Ovilia May 31, 2023
fb4c265
feat(ssr): provide registerSSRDataGetter
Ovilia Jun 13, 2023
87a2848
Merge pull request #1021 from ecomfe/master
Ovilia Jul 3, 2023
d18db01
chore: add release for v5.4.4
jiawulin001 Jul 12, 2023
55a9502
Merge pull request #1022 from jiawulin001/release-dev
Ovilia Jul 12, 2023
58bcfcf
feat: add `lib/all.js` to sideEffects
liuyang0826 Aug 31, 2023
8129bd8
fix(svg): fix assigning style attribute does not work when CSP is enf…
alxnddr Sep 18, 2023
9263428
Merge pull request #1030 from alxnddr/fix-csp-issue
plainheart Sep 22, 2023
997c753
fix(canvas): remove `__painter` from `Layer` and inject `painter` in …
plainheart Sep 22, 2023
8288aa6
Merge pull request #1032 from ecomfe/fix-canvas-layer-painter
plainheart Sep 23, 2023
ac1bc40
Merge pull request #1029 from liuyang0826/patch-2
plainheart Sep 23, 2023
5e9add1
feat(matrix): allow rotating relative to a point different than the o…
ChepteaCatalin Sep 23, 2023
97f6e72
Merge pull request #1034 from ChepteaCatalin/fix-1033
Ovilia Sep 25, 2023
894f408
fix: detect node21.1.0
Uzlopak Nov 2, 2023
401e314
Merge pull request #1036 from Uzlopak/node-21
plainheart Nov 2, 2023
a78b088
fix(ssr): remove a not used method
Ovilia Nov 16, 2023
1ee4156
fix(svg): remove id
Ovilia Nov 16, 2023
8c6b137
fix: el null check
Ovilia Nov 16, 2023
78f84fd
Merge pull request #999 from ecomfe/ssr
Ovilia Nov 16, 2023
2c11063
Merge pull request #1002 from ecomfe/fix-18194
plainheart Nov 16, 2023
e8cc0f9
fix: avoid errors when executing unfinished operations after calling …
yechunxi Dec 19, 2023
0b21ebd
fix: add missing disposed check for some methods and fix format flaw
plainheart Dec 20, 2023
52e5155
chore: fix typo
plainheart Dec 20, 2023
c4fc3e0
Merge pull request #1031 from yechunxi/master
plainheart Dec 20, 2023
cd1f473
fix(type): make the last two parameters `ellipsis` & `options` of the…
plainheart Dec 31, 2023
03d4cec
fix(svg): skip to set SSR attributes with `undefined` values
plainheart Jan 2, 2024
e7caf87
Merge pull request #1048 from ecomfe/fix/svg-ssr/skip-undefined-attri…
Ovilia Jan 3, 2024
d53f1c8
Merge pull request #1047 from ecomfe/types/truncateText
Ovilia Jan 3, 2024
f3b0784
feat: change to default ESM package. For developer testing and node u…
100pah Jan 15, 2024
565dac5
[lint] enable comma-dangle, which has been deprecated in eslint.
100pah Jan 22, 2024
dbf1bd5
Merge pull request #1051 from ecomfe/module_default_esm
Ovilia Jan 22, 2024
926abff
Merge pull request #1052 from ecomfe/master
Ovilia Jan 23, 2024
a9ffe73
fix: fix lint problems and add ci workflow
Ovilia Jan 23, 2024
935a0b9
fix: invTransform NPE due to #1011
Ovilia Jan 23, 2024
bf48dff
Merge pull request #1053 from ecomfe/release-dev
Ovilia Jan 24, 2024
6c7a330
fix: (1) fix that some old version bundler (like rollup) do not recog…
100pah Jan 24, 2024
eb9b1c4
Merge branch 'release' into module_default_esm_fix
100pah Jan 24, 2024
477b8a2
Merge pull request #1056 from ecomfe/module_default_esm_fix
Ovilia Jan 25, 2024
0c06ffb
fix: silent should not be depend on ignoreClip
Ovilia Jan 25, 2024
a906563
Merge pull request #1057 from ecomfe/release-dev
Ovilia Jan 25, 2024
d392250
chore: fix a few typos
striezel Jan 29, 2024
5762228
chore(workflow): update actions/checkout + actions/setup-node to v4
striezel Jan 29, 2024
9d845e2
Merge pull request #1059 from striezel-stash/fix-typos
plainheart Jan 29, 2024
4d5dbfe
Merge pull request #1060 from striezel-stash/actions-update
plainheart Jan 29, 2024
b4aa98a
chore: release 5.5.0
Ovilia Jan 30, 2024
223035d
Merge pull request #1061 from ecomfe/release-dev
Ovilia Jan 30, 2024
466328f
Merge pull request #1062 from ecomfe/release
Ovilia Jan 30, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
91 changes: 91 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
name: Node CI

on:
pull_request:
types: [opened, reopened, synchronize]

concurrency:
# Note that the `teardown-pr-preview` workflow needs the same group name
# to cancel the running `ci` workflows
group: ${{ github.workflow }}-${{ github.event.number }}
cancel-in-progress: true

jobs:
lint:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x]

steps:
- name: Fetch commit count
env:
PR_COMMIT_COUNT: ${{ github.event.pull_request.commits }}
run: |
echo "FETCH_DEPTH=$(($PR_COMMIT_COUNT + 1))" >> $GITHUB_ENV

- uses: actions/checkout@v4
with:
fetch-depth: ${{ env.FETCH_DEPTH }}

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: Cache node modules
id: cache-dep
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
path: node_modules
key: ${{ runner.os }}-lint-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}

- name: Install dependencies
if: steps.cache-dep.outputs.cache-hit != 'true'
run: npm ci

- name: Collect changed files
run: |
mkdir ~/tmp/
git diff ${{ github.event.pull_request.base.sha }} ${{ github.sha }} --diff-filter=ACM --name-only --relative '*src/**/*.ts' > ~/tmp/changed_files
echo -e "Changed files: \n$(cat ~/tmp/changed_files)"

- name: Lint
run: npx eslint $(cat ~/tmp/changed_files)

build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x]

steps:
- uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: Cache node modules
id: cache-dep
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
path: node_modules
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}

- name: Install dependencies
if: steps.cache-dep.outputs.cache-hit != 'true'
run: npm ci

- name: Unit Test
run: npm run test

- name: Build release
run: npm run release
4 changes: 2 additions & 2 deletions .github/workflows/nightly-next.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ jobs:
node-version: [16.x]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: next

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
registry-url: https://registry.npmjs.org/
- name: Setup and publish nightly
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
node-version: [16.x]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
registry-url: https://registry.npmjs.org/
- name: Setup and publish nightly
Expand Down
12 changes: 0 additions & 12 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ZRender

A lightweight graphic library which provides 2d draw for [Apache ECharts](https://github.com/apache/echarts).

[![Build Status](https://travis-ci.com/ecomfe/zrender.svg?branch=master)](https://travis-ci.com/ecomfe/zrender) [![](https://img.shields.io/npm/dw/zrender.svg?label=npm%20downloads&style=flat)](https://www.npmjs.com/package/zrender) ![Commits Since 4.0.0](https://img.shields.io/github/commits-since/ecomfe/zrender/4.0.0.svg?colorB=%234c1&style=flat)
[![](https://img.shields.io/github/actions/workflow/status/ecomfe/zrender/ci.yml)]() [![](https://img.shields.io/npm/dw/zrender.svg?label=npm%20downloads&style=flat)](https://www.npmjs.com/package/zrender) ![Commits Since 4.0.0](https://img.shields.io/github/commits-since/ecomfe/zrender/4.0.0.svg?colorB=%234c1&style=flat)

## Documentation

Expand Down
3 changes: 3 additions & 0 deletions build/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"type": "commonjs"
}
3 changes: 3 additions & 0 deletions dist/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"type": "commonjs"
}
Loading
Loading