Skip to content

Commit

Permalink
Merge pull request #659 from lineupjs/release/v4.10.0
Browse files Browse the repository at this point in the history
Release v4.10.0
  • Loading branch information
sgratzl committed Mar 2, 2024
2 parents 13b538c + fdf9f24 commit ce578f8
Show file tree
Hide file tree
Showing 124 changed files with 6,655 additions and 6,620 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
name: ci

on: [push]
on:
- push
- pull_request

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20
- run: npm i -g yarn
- run: yarn config set checksumBehavior ignore
- name: Cache Node.js modules
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
./.yarn/cache
Expand All @@ -30,7 +32,7 @@ jobs:
- run: yarn test:coverage
- run: yarn cy:compile
- run: yarn cy:junit
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-artifacts
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/create_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: main
ssh-key: ${{ secrets.SSH_PRIVATE_KEY }}
Expand All @@ -31,7 +31,7 @@ jobs:
echo -n "::set-output name=next_tag::"
npm version --no-git-tag-version ${{ github.event.inputs.versionName }} --preid ${{ github.event.inputs.preid }}
- name: Create pull request into main
uses: peter-evans/create-pull-request@v5
uses: peter-evans/create-pull-request@v6
with:
branch: release/${{ steps.version.outputs.next_tag }}
commit-message: 'chore: release ${{ steps.version.outputs.next_tag }}'
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/release_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
- uses: actions/setup-node@v3
uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20
- name: Extract version
id: extract_version
run: |
Expand All @@ -32,7 +32,7 @@ jobs:
echo "releasing ${{ steps.extract_version.outputs.version }} with tag ${{ steps.extract_version.outputs.npm_tag }}"
- name: Create Release
id: create_release
uses: release-drafter/release-drafter@v5
uses: release-drafter/release-drafter@v6
env:
GITHUB_TOKEN: ${{ secrets.PRIVATE_GITHUB_TOKEN }}
with:
Expand All @@ -51,14 +51,14 @@ jobs:
needs: create_release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20
- run: npm i -g yarn
- run: yarn config set checksumBehavior ignore
- name: Cache Node.js modules
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
./.yarn/cache
Expand All @@ -75,7 +75,7 @@ jobs:
- run: yarn test:coverage
- run: yarn cy:compile
- run: yarn cy:junit
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-artifacts
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: develop
ssh-key: ${{ secrets.SSH_PRIVATE_KEY }}
Expand Down
4 changes: 0 additions & 4 deletions .stylelintrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,8 @@
"rules": {
"keyframes-name-pattern": null,
"no-descending-specificity": null,
"value-list-comma-newline-after": null,
"declaration-colon-newline-after": null,
"at-rule-no-unknown": null,
"at-rule-empty-line-before": null,
"block-closing-brace-newline-after": null,
"selector-id-pattern": null,
"scss/at-rule-no-unknown": true,
"scss/no-global-function-names": null,
Expand All @@ -21,7 +18,6 @@
"scss/at-function-pattern": null,
"scss/at-if-closing-brace-newline-after": "always-last-in-chain",
"scss/at-if-closing-brace-space-after": "always-intermediate",
"scss/at-import-no-partial-leading-underscore": true,
"scss/at-import-partial-extension-blacklist": null,
"scss/at-import-partial-extension-whitelist": null,
"scss/at-mixin-argumentless-call-parentheses": "always",
Expand Down
874 changes: 0 additions & 874 deletions .yarn/releases/yarn-3.6.1.cjs

This file was deleted.

893 changes: 893 additions & 0 deletions .yarn/releases/yarn-4.0.2.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ packageExtensions:
dependencies:
typescript: ~4.1.5

yarnPath: .yarn/releases/yarn-3.6.1.cjs
yarnPath: .yarn/releases/yarn-4.0.2.cjs
2 changes: 1 addition & 1 deletion cypress/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head lang="en">
<meta charset="UTF-8" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ describe('issue 322', () => {
it('Check for .lu-missing in boxplot renderer', () => {
aggregateAll();

cy.get('.le-tr[data-index="0"] > .lu-renderer-boxplot[data-group="g"]').should('have.class', 'lu-missing');
cy.wait(200)
.get('.le-tr[data-index="0"] > .lu-renderer-boxplot[data-group="g"]')
.wait(200)
.should('have.class', 'lu-missing');
});
});
6 changes: 3 additions & 3 deletions cypress/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
"d3-time",
"d3-time-format",
"detect-browser",
"lodash.get"
]
"lodash.get",
],
},
"include": ["**/*.ts"],
"exclude": ["**/*.d.ts"]
"exclude": ["**/*.d.ts"],
}
2 changes: 1 addition & 1 deletion demo/_after.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head lang="en">
<meta charset="UTF-8" />
Expand Down
2 changes: 1 addition & 1 deletion demo/_before.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head lang="en">
<meta charset="UTF-8" />
Expand Down
2 changes: 1 addition & 1 deletion demo/aggregate.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head lang="en">
<meta charset="UTF-8" />
Expand Down
2 changes: 1 addition & 1 deletion demo/aids.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head lang="en">
<meta charset="UTF-8" />
Expand Down
2 changes: 1 addition & 1 deletion demo/big.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head lang="en">
<meta charset="UTF-8" />
Expand Down
2 changes: 1 addition & 1 deletion demo/big_d.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head lang="en">
<meta charset="UTF-8" />
Expand Down
2 changes: 1 addition & 1 deletion demo/bool.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head lang="en">
<meta charset="UTF-8" />
Expand Down
2 changes: 1 addition & 1 deletion demo/boxplot.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head lang="en">
<meta charset="UTF-8" />
Expand Down
2 changes: 1 addition & 1 deletion demo/builder.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head lang="en">
<meta charset="UTF-8" />
Expand Down
2 changes: 1 addition & 1 deletion demo/builder2.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head lang="en">
<meta charset="UTF-8" />
Expand Down
2 changes: 1 addition & 1 deletion demo/builder3.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head lang="en">
<meta charset="UTF-8" />
Expand Down
2 changes: 1 addition & 1 deletion demo/builder4.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head lang="en">
<meta charset="UTF-8" />
Expand Down
2 changes: 1 addition & 1 deletion demo/categories.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head lang="en">
<meta charset="UTF-8" />
Expand Down
2 changes: 1 addition & 1 deletion demo/column_resize.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head lang="en">
<meta charset="UTF-8" />
Expand Down
2 changes: 1 addition & 1 deletion demo/complex_accessor.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head lang="en">
<meta charset="UTF-8" />
Expand Down
2 changes: 1 addition & 1 deletion demo/custom_column.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head lang="en">
<meta charset="UTF-8" />
Expand Down
2 changes: 1 addition & 1 deletion demo/cypress/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head lang="en">
<meta charset="UTF-8" />
Expand Down
2 changes: 1 addition & 1 deletion demo/dates.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head lang="en">
<meta charset="UTF-8" />
Expand Down
30 changes: 30 additions & 0 deletions demo/deriveLink.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<!doctype html>
<html>
<head lang="en">
<meta charset="UTF-8" />
<title>LineUp Builder Test</title>

<link href="./LineUpJS.css" rel="stylesheet" />
<link href="./demo.css" rel="stylesheet" />
</head>
<body>
<script src="./LineUpJS.js"></script>

<script>
window.onload = function () {
const arr = [];
const cats = ['c1', 'c2', 'c3'];
for (let i = 0; i < 100; ++i) {
arr.push({
s: 'Row ' + i,
a: Math.random() * 10,
cat: cats[Math.floor(Math.random() * 3)],
link: `https://duck.com/?q=${i}`,
d: new Date(Date.now() - Math.floor(Math.random() * 1000000000000)),
});
}
const lineup = LineUpJS.asTaggle(document.body, arr);
};
</script>
</body>
</html>
2 changes: 1 addition & 1 deletion demo/dialog.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head lang="en">
<meta charset="UTF-8" />
Expand Down
2 changes: 1 addition & 1 deletion demo/dump.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head lang="en">
<meta charset="UTF-8" />
Expand Down
2 changes: 1 addition & 1 deletion demo/fontawesome.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head lang="en">
<meta charset="UTF-8" />
Expand Down
2 changes: 1 addition & 1 deletion demo/frozen.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head lang="en">
<meta charset="UTF-8" />
Expand Down
2 changes: 1 addition & 1 deletion demo/group.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head lang="en">
<meta charset="UTF-8" />
Expand Down
2 changes: 1 addition & 1 deletion demo/group3.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head lang="en">
<meta charset="UTF-8" />
Expand Down
2 changes: 1 addition & 1 deletion demo/grouping.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head lang="en">
<meta charset="UTF-8" />
Expand Down
2 changes: 1 addition & 1 deletion demo/grouping_no_propagate.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head lang="en">
<meta charset="UTF-8" />
Expand Down
2 changes: 1 addition & 1 deletion demo/hierarchy.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head lang="en">
<meta charset="UTF-8" />
Expand Down
2 changes: 1 addition & 1 deletion demo/htmlLabel.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head lang="en">
<meta charset="UTF-8" />
Expand Down
2 changes: 1 addition & 1 deletion demo/image.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head lang="en">
<meta charset="UTF-8" />
Expand Down
2 changes: 1 addition & 1 deletion demo/injection.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head lang="en">
<meta charset="UTF-8" />
Expand Down
2 changes: 1 addition & 1 deletion demo/invert_mapping.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head lang="en">
<meta charset="UTF-8" />
Expand Down
2 changes: 1 addition & 1 deletion demo/lazy_loaded_test.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head lang="en">
<meta charset="UTF-8" />
Expand Down
2 changes: 1 addition & 1 deletion demo/link.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head lang="en">
<meta charset="UTF-8" />
Expand Down
Loading

0 comments on commit ce578f8

Please sign in to comment.