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

Add-Kedro viz-Main-Git #21441

Closed
wants to merge 33 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
ad624c9
added kedro-viz
cshaley Aug 11, 2022
1eb40af
fix license name
cshaley Aug 11, 2022
5193171
change dependency version specifications
cshaley Aug 11, 2022
f353a30
update versions
cshaley Sep 28, 2022
83a08af
Added rxm & setuptools
rxm7706 Dec 5, 2022
58a0cd9
Fix Requirements
rxm7706 Dec 5, 2022
93c4ece
License Fix
rxm7706 Dec 5, 2022
a63f1d9
Build Off repo
rxm7706 Dec 6, 2022
200e724
Revert to tarball
rxm7706 Dec 6, 2022
2a57d7b
Update meta.yaml
rxm7706 Dec 6, 2022
cd4b3f8
Merge branch 'conda-forge:main' into Kedro-Viz-Add-setuptools
rxm7706 Dec 21, 2022
da0ee7c
Create package.json
rxm7706 Dec 21, 2022
182e4ac
Update meta.yaml
rxm7706 Dec 21, 2022
8295e1f
Fxi Script
rxm7706 Dec 21, 2022
4b668fa
add yarn
rxm7706 Dec 21, 2022
77e776e
Update meta.yaml
rxm7706 Dec 21, 2022
328eba7
Update meta.yaml
rxm7706 Dec 21, 2022
67beeb9
Update meta.yaml
rxm7706 Dec 21, 2022
027d018
Merge branch 'conda-forge:main' into Kedro-Viz-Add-setuptools
rxm7706 Apr 15, 2023
389a8b5
Update version
rxm7706 Apr 15, 2023
9c4e82c
Update package.json
rxm7706 Apr 15, 2023
e49ce59
Merge branch 'main' into Kedro-Viz-Add-setuptools
rxm7706 Apr 15, 2023
50408fb
Update package.json
rxm7706 Apr 15, 2023
2d35ccd
Update meta.yaml
rxm7706 Apr 15, 2023
80b1d93
Use Src repo
rxm7706 Apr 16, 2023
adbfaf4
Update package.json
rxm7706 Apr 16, 2023
c8714b6
Update package.json
rxm7706 Apr 16, 2023
f1ed0d9
Update meta.yaml
rxm7706 Aug 11, 2023
aca4e9c
Update package.json
rxm7706 Aug 11, 2023
52dde6d
Merge branch 'main' into Kedro-Viz-Add-setuptools
rxm7706 Aug 11, 2023
0099902
Try Reset
rxm7706 Aug 11, 2023
a92f507
Merge branch 'conda-forge:main' into Kedro-Viz-Add-setuptools
rxm7706 Aug 12, 2023
30b7563
NodeJs16
rxm7706 Aug 12, 2023
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
71 changes: 71 additions & 0 deletions recipes/kedro-viz/COPYING.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
=========================
The Kiwi licensing terms
=========================
Kiwi is licensed under the terms of the Modified BSD License (also known as
New or Revised BSD), as follows:

Copyright (c) 2013, Nucleic Development Team

All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

Redistributions in binary form must reproduce the above copyright notice, this
list of conditions and the following disclaimer in the documentation and/or
other materials provided with the distribution.

Neither the name of the Nucleic Development Team nor the names of its
contributors may be used to endorse or promote products derived from this
software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

About Kiwi
----------
Chris Colbert began the Kiwi project in December 2013 in an effort to
create a blisteringly fast UI constraint solver. Chris is still the
project lead.

The Nucleic Development Team is the set of all contributors to the Nucleic
project and its subprojects.

The core team that coordinates development on GitHub can be found here:
http://github.com/nucleic. The current team consists of:

* Chris Colbert

Our Copyright Policy
--------------------
Nucleic uses a shared copyright model. Each contributor maintains copyright
over their contributions to Nucleic. But, it is important to note that these
contributions are typically only changes to the repositories. Thus, the Nucleic
source code, in its entirety is not the copyright of any single person or
institution. Instead, it is the collective copyright of the entire Nucleic
Development Team. If individual contributors want to maintain a record of what
changes/contributions they have specific copyright on, they should indicate
their copyright in the commit message of the change, when they commit the
change to one of the Nucleic repositories.

With this in mind, the following banner should be used in any source code file
to indicate the copyright and license terms:

#------------------------------------------------------------------------------
# Copyright (c) 2013, Nucleic Development Team & H. Rutjes.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file COPYING.txt, distributed with this software.
#------------------------------------------------------------------------------
64 changes: 64 additions & 0 deletions recipes/kedro-viz/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{% set name = "kedro-viz-main" %}
{% set version = "6.3.4" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
git_url: https://github.com/kedro-org/kedro-viz
git_tag: main
git_depth: 1

build:
noarch: python
script: rm -rf build package/build package/dist package/kedro_viz/html pip-wheel-metadata package/kedro_viz.egg-info
script: npm run build
script: cp -R build package/kedro_viz/html
script: cd package && {{ PYTHON }} -m pip install . -vv
number: 0

requirements:
host:
- python >=3.7,<3.11
- pip
- nodejs >16.0,<17.0
run:
- python >=3.7,<3.11
- semver >=2.10.0,<4.0.0
- kedro >=0.18.10
- ipython >=7.0.0,<9.0
- fastapi >=0.73.0,<0.96.0
- fsspec >=2021.4,<2024.1
- aiofiles ==22.1.0 # pinned
- uvicorn >=0.22.0,<0.23.0
- watchgod >=0.8.2,<0.9.0
- plotly >=4.0
- pandas >=1.3
- sqlalchemy >=1.4,<3.0
- strawberry-graphql >=0.192.0,<1.0
- networkx >=2.5
- orjson >=3.9,<4
- secure >=0.3.0

test:
imports:
- kedro_viz
commands:
- pip check
requires:
- pip

about:
home: https://github.com/kedro-org/kedro-viz
summary: Kedro-Viz helps visualise Kedro data and analytics pipelines
license: Apache-2.0
license_file:
- COPYING.txt
- LICENSE.md

extra:
recipe-maintainers:
- cshaley
- rxm7706
- astrojuanlu
166 changes: 166 additions & 0 deletions recipes/kedro-viz/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,166 @@
{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would force us to keep this package.json and the one upstream in sync, can't we get it from the repository?

"name": "@quantumblack/kedro-viz",
"version": "6.3.4",
"description": "Kedro-Viz is an interactive development tool for building data science pipelines with Kedro.",
"main": "lib/components/app/index.js",
"files": [
"lib"
],
"homepage": ".",
"repository": {
"type": "git",
"url": "https://github.com/kedro-org/kedro-viz.git"
},
"proxy": "http://localhost:4142/",
"scripts": {
"build": "npm run build:css && react-scripts build",
"build:css": "sass --no-source-map src/.",
"postbuild": "rm -rf build/api",
"start": "REACT_APP_DATA_SOURCE=$DATA npm-run-all -p start:css start:app start:lib",
"start:app": "PORT=4141 react-scripts start",
"start:css": "npm run build:css && sass --no-source-map --watch src/.",
"start:lib": "rm -rf lib && babel src --out-dir lib --copy-files --watch",
"lib": "npm-run-all -s lib:clean lib:copy lib:webpack lib:babel lib:prune",
"lib:clean": "rm -rf lib",
"lib:copy": "cp -rf src lib",
"lib:webpack": "webpack --config webpack.lib.js",
"lib:babel": "babel lib --out-dir lib",
"lib:prune": "find lib -type f -name '*.test.*' -delete && find lib -type f -name '*.scss' -delete",
"lib-test": "npm-run-all -s lib lib-test:setup lib-test:serve",
"lib-test:setup": "node ./tools/test-lib/setup.js",
"lib-test:serve": "node ./tools/test-lib/serve.js",
"format": "prettier --write \"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}\"",
"lint": "npm-run-all -p lint:js lint:scss",
"lint:js": "eslint src/ --fix",
"lint:scss": "stylelint 'src/**/*.scss' --fix",
"prepublishOnly": "npm-run-all -s test:ci lint build lib",
"test": "react-scripts test --env=jsdom",
"test:coverage": "npm test -- --coverage --watchAll=false",
"test:ci": "npm test -- --watchAll=false --maxWorkers=2",
"test:debug": "react-scripts --inspect-brk test --runInBand --no-cache",
"cy:dev": "cypress open",
"cy:test": "./cypress/support/cy.start.sh local",
"cy:ci": "./cypress/support/cy.start.sh ci",
"eject": "react-scripts eject",
"snyk-protect": "snyk protect",
"snyk-test": "snyk test -prune-repeated-subdependencies"
},
"dependencies": {
"@apollo/client": "^3.5.6",
"@emotion/react": "^11.10.6",
"@emotion/styled": "^11.10.6",
"@graphql-tools/schema": "7.1.5",
"@mui/icons-material": "^5.11.9",
"@mui/lab": "^5.0.0-alpha.120",
"@mui/material": "^5.11.10",
"@mui/styles": "^5.11.9",
"batching-toposort": "^1.2.0",
"classnames": "^2.3.1",
"d3": "^7.6.1",
"d3-fetch": "^2.0.0",
"d3-interpolate": "^2.0.1",
"d3-interpolate-path": "^2.2.3",
"d3-scale": "^3.3.0",
"d3-selection": "^2.0.0",
"d3-shape": "^2.1.0",
"d3-transition": "^2.0.0",
"d3-zoom": "^2.0.0",
"dayjs": "^1.10.7",
"deepmerge": "^4.2.2",
"fetch-mock": "^9.11.0",
"fishery": "^1.4.0",
"graphql": "^15.8.0",
"graphql-type-json": "^0.3.2",
"highlight.js": "^10.7.3",
"kiwi.js": "^1.1.3",
"lodash.debounce": "^4.0.8",
"lodash.noop": "^3.0.1",
"lodash.sortby": "^4.7.0",
"plotly.js-dist-min": "^1.58.4",
"react-content-loader": "^6.2.0",
"react-csv": "^2.2.2",
"react-custom-scrollbars-2": "^4.5.0",
"react-json-view": "^1.21.3",
"react-plotly.js": "^2.5.1",
"react-redux": "^7.2.6",
"react-router": "^5.2.1",
"react-router-dom": "^5.3.0",
"react-test-renderer": "^17.0.2",
"redux": "^4.1.2",
"redux-mock-store": "^1.5.4",
"redux-thunk": "^2.4.1",
"redux-watch": "^1.2.0",
"reselect": "^4.1.5",
"seedrandom": "^3.0.5",
"sinon": "^12.0.1",
"subscriptions-transport-ws": "^0.11.0",
"svg-crowbar": "^0.6.5",
"what-input": "^5.2.10"
},
"peerDependencies": {
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"devDependencies": {
"@babel/cli": "^7.14.5",
"@babel/core": "^7.14.6",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^11.2.7",
"@testing-library/user-event": "^12.8.3",
"@wojtekmaj/enzyme-adapter-react-17": "^0.8.0",
"canvas": "^2.7.0",
"cypress": "^12.14.0",
"enzyme": "^3.11.0",
"eslint-plugin-cypress": "^2.13.3",
"graphqlviz": "^4.0.1",
"husky": "^4.3.8",
"lint-staged": "^10.5.4",
"npm-run-all": "^4.1.5",
"prettier": "^2.3.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-error-overlay": "^6.0.9",
"react-scripts": "^4.0.3",
"sass": "^1.54.4",
"snyk": "^1.639.0",
"stylelint": "^15.10.1",
"stylelint-config-prettier": "^8.0.2",
"stylelint-config-standard": "^34.0.0",
"stylelint-config-standard-scss": "^10.0.0",
"stylelint-order": "^6.0.3",
"stylelint-prettier": "^1.2.0",
"webpack-cli": "^4.7.2",
"workerize-loader": "^1.3.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm run test:ci"
}
},
"lint-staged": {
"src/**/*.scss": [
"stylelint --fix"
],
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"prettier --single-quote --write"
],
"src/**/*.{js,jsx,ts,tsx}": [
"eslint src/ --fix"
]
},
"jest": {
"transformIgnorePatterns": [
"/node_modules/(?!d3|d3-array|internmap|delaunator|robust-predicates)"
]
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"snyk": true
}