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: merge master into next #19937

Merged
merged 26 commits into from
May 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
c539b1f
fix(pie): fix `endAngle` is not applied on the empty circle
plainheart Feb 24, 2024
6439551
Merge pull request #19642 from apache/fix/pie-endAngle-emptyCircle
Ovilia Feb 26, 2024
2e010c7
test: update dataset-layout.html (#19373)
miracleren Feb 27, 2024
1e02706
chore: ignore some unused dirs and files from npm
plainheart Mar 9, 2024
7d25313
chore: update deps & install and test typescript versions >=3.5
plainheart Mar 9, 2024
cdf0c72
chore: update workflow deps
plainheart Mar 9, 2024
492a3f2
chore: update workflow deps
plainheart Mar 9, 2024
f9f3249
chore: update workflow deps
plainheart Mar 9, 2024
12c555c
Merge pull request #19697 from apache/update-workflow-deps
Ovilia Mar 11, 2024
bd7a582
Merge pull request #19696 from apache/test-dts
Ovilia Mar 11, 2024
c576f0c
Merge pull request #19695 from apache/npmignore
Ovilia Mar 11, 2024
29c0f9d
feat(sankey): Add sankey chart itemStyle.borderRadius support.
deft-v Mar 27, 2024
1ad9a08
Georoam supports the totalZoom parameter
zhaoxinggang Apr 16, 2024
697e798
Merge pull request #19837 from zhaoxinggang/master
Ovilia Apr 16, 2024
e23a407
fix: detectValue & parseDataValue not crashing with BigInt
zettca Apr 17, 2024
bdc5d4f
Merge pull request #19847 from zettca/fix/bigint
Ovilia Apr 29, 2024
96f4a5f
feat(time): add meridian template
maurodesouza May 1, 2024
4515cd3
fix: aria throws error in SSR (#19191)
OverflowCat May 4, 2024
872ac99
chore(aria): add TODO comment for SSR support
plainheart May 6, 2024
832cc51
Merge pull request #19892 from OverflowCat/master
plainheart May 6, 2024
3cdc703
Merge pull request #19888 from polzmann/feat/add-meridian-template-to…
plainheart May 6, 2024
f12a3c7
fix(marker): fix marker label formatter can't get series information.
plainheart May 7, 2024
ea0da63
fix(series): add non-null check for `seriesData.getLinkedData`.
plainheart May 7, 2024
2a2a6e4
Merge pull request #19901 from apache/fix/seriesModel-getLinkedData-NPE
Ovilia May 8, 2024
7e4c703
Merge pull request #19898 from apache/fix/marker/label-formatter-call…
Ovilia May 9, 2024
75dd430
Merge pull request #19763 from deftliang/fix-sankey-radius
Ovilia May 9, 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
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:

- name: Cache node modules
id: cache-dep
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-node-modules
with:
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:

- name: Cache node modules
id: cache-dep
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-node-modules
with:
Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:
rm -f *.tgz
echo -e "Dist files: \n$(ls -l)"

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: ${{ steps.save-pr-data.outcome == 'success' }}
with:
name: pr_preview
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
steps:
- name: Determine if workflow build job is successful
id: check-build-success
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
result-encoding: string
script: |
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/source-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV

- name: Cache node modules
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-node-modules
with:
Expand All @@ -44,7 +44,7 @@ jobs:
--out tmp/materials

- name: Archive materials
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: apache-echarts-${{env.RELEASE_VERSION}}-release-materials
path: |
Expand Down Expand Up @@ -72,15 +72,15 @@ jobs:

# Get RELEASE_NOTE.txt and pack it into zip.
- name: Download materials
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: apache-echarts-${{env.RELEASE_VERSION}}-release-materials

# TODO Check release version is RC

# Archive before run others to avoid packing unknown files.
- name: Archive source release
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: apache-echarts-${{env.RELEASE_VERSION}}-src
path: |
Expand Down Expand Up @@ -123,7 +123,7 @@ jobs:
echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV

- name: Download source release
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: apache-echarts-${{env.RELEASE_VERSION}}-src
path: tmp/echarts
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
if: ${{ github.repository_owner == 'apache' }}
steps:
- name: Close Stale Issues
uses: actions/stale@v6
uses: actions/stale@v9
with:
days-before-stale: 730
days-before-close: 7
Expand Down
3 changes: 3 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
/benchmark
/src
/ssr/client/src
/extension-src
/build
/tsconfig.json
.DS_Store
Thumbs.db
Desktop.ini
Expand Down
27 changes: 14 additions & 13 deletions build/testDts.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,18 @@
*/

const { TypeScriptVersion } = require('@definitelytyped/typescript-versions');
const {
cleanTypeScriptInstalls,
installAllTypeScriptVersions,
typeScriptPath
} = require('@definitelytyped/utils');
const { typeScriptPath, install } = require('@definitelytyped/utils');
const { runTsCompile } = require('./pre-publish');
const globby = require('globby');
const semver = require('semver');

const MIN_VERSION = '3.5.0';

async function installTs() {
// await cleanTypeScriptInstalls();
await installAllTypeScriptVersions();
const tsVersions = getTypeScriptVersions();
for (const version of tsVersions) {
await install(version);
}
}

async function runTests() {
Expand All @@ -52,11 +50,8 @@ async function runTests() {
};
const testsList = await globby(__dirname + '/../test/types/*.ts');

for (let version of TypeScriptVersion.shipped) {
if (semver.lt(version + '.0', MIN_VERSION)) {
continue;
}

const tsVersions = getTypeScriptVersions();
for (const version of tsVersions) {
console.log(`Testing ts version ${version}`);
const ts = require(typeScriptPath(version));
await runTsCompile(ts, compilerOptions, testsList);
Expand All @@ -65,11 +60,17 @@ async function runTests() {
}
}

function getTypeScriptVersions() {
return TypeScriptVersion.unsupported
.concat(TypeScriptVersion.shipped)
.filter(version => semver.gte(version + '.0', MIN_VERSION));
}

async function main() {
await installTs();
await runTests();
}

module.exports = main;

main();
main();
Loading
Loading