Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
33 changes: 0 additions & 33 deletions .eslintrc.js

This file was deleted.

12 changes: 6 additions & 6 deletions .github/disable_dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
version: 2
updates:
# Maintain dependencies for GitHub Actions
- package-ecosystem: 'github-actions'
directory: '/'
- package-ecosystem: "github-actions"
directory: "/"
target-branch: dev
schedule:
interval: 'weekly'
interval: "weekly"
# Maintain dependencies for npm
- package-ecosystem: 'npm'
directory: '/'
- package-ecosystem: "npm"
directory: "/"
target-branch: dev
schedule:
interval: 'weekly'
interval: "weekly"
29 changes: 6 additions & 23 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,31 +6,16 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v5
- uses: actions/setup-node@v5
with:
node-version: 16
- name: Cache Node.js modules
uses: actions/cache@v2
with:
path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS
key: ${{ runner.OS }}-node2-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.OS }}-node2-
${{ runner.OS }}-
- name: copy example secret
run: cp src/secrets.example.ts src/secrets.ts
- name: create secrets from action secret
env:
LICENSE_INFO: ${{ secrets.LICENSE_KEY }}
if: env.LICENSE_INFO != null
run: |
echo '${{ env.LICENSE_INFO }}' > src/secrets.ts
node-version: lts/*
cache: npm
- run: npm ci
- run: npm run build --if-present
- run: npm run build
- run: npm run build:preview
- run: npm test
- run: npm run lint
- run: npm run alint
- run: |
mkdir -p public/integrations/powerbi
cp dist/upsetjs_venn.pbiviz public/integrations/powerbi/
Expand All @@ -44,7 +29,6 @@ jobs:
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
external_repository: upsetjs/upsetjs.github.io
publish_branch: main
publish_dir: ./public
Expand All @@ -64,7 +48,6 @@ jobs:
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
external_repository: upsetjs/upsetjs.github.io
publish_branch: main
publish_dir: ./public
Expand Down
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ node_modules
/build
/webpack.statistics*
/keys
/src/secrets.ts
*.bak.json
*.bak.json
.eslintcache
10 changes: 9 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
src/secrets.ts
*.png
*.svg
*.pbix
.editorconfig
.eslintignore
.prettierignore
.gitattributes
.gitignore
*.resjson
6 changes: 0 additions & 6 deletions .prettierrc.js

This file was deleted.

24 changes: 12 additions & 12 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"version": "0.1.0",
"configurations": [
{
"name": "Debugger",
"type": "chrome",
"request": "attach",
"port": 9222,
"sourceMaps": true,
"webRoot": "${cwd}/"
}
]
}
"version": "0.1.0",
"configurations": [
{
"name": "Debugger",
"type": "chrome",
"request": "attach",
"port": 9222,
"sourceMaps": true,
"webRoot": "${cwd}/"
}
]
}
80 changes: 37 additions & 43 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,47 +1,41 @@
{
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[yaml]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.formatOnSave": true,
"editor.formatOnType": true,
"eslint.enable": true,
"files.associations": {
"*.resjson": "json"
},
"json.schemas": [
{
"fileMatch": ["/pbiviz.json"],
"url": "./node_modules/powerbi-visuals-api/schema.pbiviz.json"
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
{
"fileMatch": ["/capabilities.json"],
"url": "./node_modules/powerbi-visuals-api/schema.capabilities.json"
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[yaml]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.formatOnSave": true,
"editor.formatOnType": true,
"eslint.enable": true,
"files.associations": {
"*.resjson": "json"
},
"json.schemas": [
{
"fileMatch": [
"/pbiviz.json"
],
"url": "./node_modules/powerbi-visuals-api/schema.pbiviz.json"
},
{
"fileMatch": [
"/capabilities.json"
],
"url": "./node_modules/powerbi-visuals-api/schema.capabilities.json"
},
{
"fileMatch": [
"/dependencies.json"
],
"url": "./node_modules/powerbi-visuals-api/schema.dependencies.json"
}
],
"search.exclude": {
"typings": true
},
"typescript.tsdk": "node_modules\\typescript\\lib"
{
"fileMatch": ["/dependencies.json"],
"url": "./node_modules/powerbi-visuals-api/schema.dependencies.json"
}
],
"search.exclude": {
"typings": true
},
"typescript.tsdk": "node_modules\\typescript\\lib"
}
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ If you want to use UpSet.js for a commercial application or in a commercial envi

### Open-source license

> Copyright (C) 2021 Samuel Gratzl (sam@sgratzl.com)
> Copyright (C) 2025 Samuel Gratzl (sam@sgratzl.com)

### GNU AFFERO GENERAL PUBLIC LICENSE

Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ see also https://docs.microsoft.com/en-us/power-bi/developer/visuals/environment

```sh
npm i
cp src/secrets.example.json src/secrets.json
npm run pbiviz -- --install-cert
```

Expand Down
Loading