Skip to content
This repository has been archived by the owner on Feb 16, 2022. It is now read-only.

Commit

Permalink
Merge pull request #125 from phovea/release-7.0.0
Browse files Browse the repository at this point in the history
Release 7.0.0
  • Loading branch information
Anita Steiner authored Feb 12, 2021
2 parents 9cb0e4a + 9b9dcfa commit 1c32d4a
Show file tree
Hide file tree
Showing 10 changed files with 80 additions and 31 deletions.
47 changes: 38 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
version: 2
jobs:
build:
version: 2.1

executors:
node-executor:
working_directory: ~/phovea
docker:
- image: circleci/node:12.13-buster-browsers

jobs:
build:
executor: node-executor
steps:
- checkout
- run:
Expand All @@ -22,8 +27,7 @@ jobs:
(grep -l '._resolved.: .\(git[^:]*\|bitbucket\):' ./node_modules/*/package.json || true) | xargs -r dirname | xargs -r rm -rf
- save_cache:
key: deps1-{{ .Branch }}-{{ checksum "package.json" }}
paths:
- ./node_modules
paths: ./node_modules
- run:
name: Install npm dependencies from git repositories (always get latest commit)
command: npm install
Expand All @@ -35,8 +39,23 @@ jobs:
command: npm run dist
- store_artifacts:
path: dist
- persist_to_workspace:
root: ~/phovea
paths: .
publish:
executor: node-executor
steps:
- attach_workspace:
at: ~/phovea
- run:
name: Authentication
command: |
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
- run:
name: Publish package
command: npm publish
workflows:
version: 2
version: 2.1
# build-nightly:
# triggers:
# - schedule:
Expand All @@ -47,17 +66,27 @@ workflows:
# - develop
# jobs:
# - build
build-branch:
build-branches-only:
jobs:
- build:
filters:
tags:
ignore: /^v.*/
build-tag:
ignore: /.*/
build-publish-tag:
jobs:
- build:
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/
- publish:
context:
- org-public
requires:
- build
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/
7 changes: 7 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -125,3 +125,10 @@ AUTHORS text
# with the python modules ``pickle``, ``dbm.*``,
# ``shelve``, ``marshal``, ``anydbm``, & ``bsddb``
# (among others).


# Mark compiled files as generated to hide them in PRs
/dist/** linguist-generated=true

# Hide compiled files from git diff and auto-replace them when merging different branches
/dist/** -diff -merge
20 changes: 18 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,28 @@
# general things to ignore
/.tscache
/.idea
/build/
/dist/tsBuildInfoFile
/lib/
*.egg-info/
*.egg
*.py[cod]
__pycache__/
*.so
*~
*.log
*.pot
*.pyc
*.swp
*.lock
# due to using tox and pytest
.tox
.cache
node_modules/
/src/**/*.js
/tests/**/*.js
/src/**/*.map
/tests/**/*.map
/tests/**/*.map
*.css
*.log
/.cache-loader
package-lock.json
1 change: 0 additions & 1 deletion dist/import/Importer.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion dist/import/Importer.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/import/Importer.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ module.exports = {
"__APP_CONTEXT__": "TEST_CONTEXT",
'ts-jest': {
// has to be set to true, otherwise i18n import fails
"tsConfig": {
"tsconfig": {
"esModuleInterop": true,
}
}
Expand Down
24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "phovea_importer",
"description": "Flexible smart and visual data importer for web based visualization",
"homepage": "https://phovea.caleydo.org",
"version": "6.1.0",
"version": "7.0.0",
"author": {
"name": "The Caleydo Team",
"email": "[email protected]",
Expand Down Expand Up @@ -51,24 +51,24 @@
},
"devDependencies": {
"@types/d3": "~3.5.36",
"@types/papaparse": "~5.0.3",
"@types/jest": "~26.0.5",
"@types/papaparse": "~5.2.4",
"@types/jest": "~26.0.20",
"identity-obj-proxy": "~3.0.0",
"jest": "~26.1.0",
"jest": "~26.6.3",
"jest-raw-loader": "~1.0.1",
"rimraf": "~3.0.2",
"shx": "~0.3.2",
"ts-jest": "~26.1.3",
"tslib": "~2.0.0",
"shx": "~0.3.3",
"ts-jest": "~26.4.4",
"tslib": "~2.0.3",
"tslint": "~5.20.1",
"typedoc": "~0.17.8",
"typedoc": "~0.19.2",
"typescript": "~3.9.7"
},
"dependencies": {
"d3": "~3.5.17",
"papaparse": "~5.1.1",
"phovea_core": "^5.0.1",
"phovea_d3": "^5.0.0",
"phovea_ui": "^5.0.0"
"papaparse": "~5.3.0",
"phovea_core": "^6.0.0",
"phovea_d3": "^6.0.0",
"phovea_ui": "^6.0.0"
}
}
3 changes: 0 additions & 3 deletions src/import/Importer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
* Created by Samuel Gratzl on 29.09.2016.
*/

import '../scss/main.scss';
import {BaseUtils} from 'phovea_core';
import {EventHandler} from 'phovea_core';
import {ParserUtils} from './parser';
Expand Down Expand Up @@ -104,5 +103,3 @@ export class Importer extends EventHandler {
$dropZone.on('dragover', over).on('dragleave', over).on('drop', select);
}
}


4 changes: 3 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
"esModuleInterop": false,
"resolveJsonModule": true,
"allowSyntheticDefaultImports": true,
"preserveWatchOutput": true
"preserveWatchOutput": true,
"incremental": true,
"tsBuildInfoFile": "dist/tsBuildInfoFile"
},
"include": [
"src/**/*.ts",
Expand Down

0 comments on commit 1c32d4a

Please sign in to comment.