-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #63 from EmmanuelDemey/master
zenika
- Loading branch information
Showing
869 changed files
with
3,527 additions
and
19,802 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,15 @@ | ||
language: node_js | ||
node_js: | ||
- 9.10.0 | ||
- 12.8.0 | ||
|
||
cache: yarn | ||
install: | ||
- npm install | ||
- yarn config set registry https://registry.npmjs.org | ||
- yarn install | ||
before_script: | ||
- npm run test:coverage | ||
- yarn test:coverage | ||
script: | ||
- CI=false yarn build-insee | ||
- npm run build-storybook | ||
before_deploy: | ||
- git config --global user.email "[email protected]" | ||
- git config --global user.name "Emmanuel DEMEY" | ||
- export GIT_TAG=$TRAVIS_BRANCH-$TRAVIS_BUILD_NUMBER | ||
- git tag $GIT_TAG -a -m "Generated tag from TravisCI for build $TRAVIS_BUILD_NUMBER" | ||
- git push -q https://${GITHUB_TOKEN}@github.com/$TRAVIS_REPO_SLUG --tags | ||
- tar -zcf ${TRAVIS_BUILD_NUMBER}.tar.gz build | ||
- yarn build-storybook | ||
|
||
deploy: | ||
skip_cleanup: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
REACT_APP_API_BASE_HOST = './api' | ||
|
||
REACT_APP_APPLICATIONS = "classifications,concepts,operations" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
REACT_APP_API_BASE_HOST = 'http://localhost:8081/api' | ||
|
||
REACT_APP_APPLICATIONS = "classifications,concepts,operations" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"extends": ["prettier", "react-app"], | ||
"rules": { | ||
"jsx-a11y/href-no-hash": false | ||
}, | ||
"settings": { | ||
"react": { | ||
"version": "16.3.0" | ||
} | ||
}, | ||
"globals": { | ||
"cy": true, | ||
"Cypress": true | ||
}, | ||
"env": { | ||
"mocha": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import '@storybook/addon-actions/register'; | ||
import '@storybook/addon-links/register'; | ||
import '@storybook/addon-knobs/register'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { configure } from "@storybook/react"; | ||
import "bootstrap/dist/css/bootstrap.css"; | ||
import "react-bootstrap-table/dist/react-bootstrap-table-all.min.css"; | ||
import "app.scss"; | ||
|
||
const requireAll = requireContext => requireContext.keys().map(requireContext); | ||
|
||
const loadStories = () => | ||
requireAll(require.context("js/components", true, /stories\.jsx?$/)); | ||
|
||
configure(loadStories, module); |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,116 @@ | ||
{ | ||
"name": "Bauhaus", | ||
"version": "2.0.0", | ||
"description": "Web application for the management of concepts, classifications and other statistical objects", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/InseeFr/Bauhaus" | ||
}, | ||
"license": "MIT", | ||
"author": "INSEE (http://www.insee.fr)", | ||
"scripts": { | ||
"build": "cross-env NODE_PATH=src/ REACT_APP_VERSION=$npm_package_version REACT_APP_NAME=$npm_package_name react-scripts build", | ||
"build-insee": "cross-env REACT_APP_APPLICATIONS=classifications,concepts NODE_PATH=src/ REACT_APP_VERSION=$npm_package_version REACT_APP_NAME=$npm_package_name REACT_APP_INSEE=true react-scripts build", | ||
"cypress:open": "cypress open", | ||
"cypress:run": "cypress run", | ||
"e2e": "start-server-and-test start http://localhost:3000 cypress:run", | ||
"eject": "react-scripts eject", | ||
"lint": "eslint src", | ||
"start": "cross-env REACT_APP_VERSION=$npm_package_version REACT_APP_NAME=$npm_package_name react-scripts start", | ||
"start-https": "cross-env HTTPS=true REACT_APP_VERSION=$npm_package_version REACT_APP_NAME=$npm_package_name react-scripts start", | ||
"test": "react-scripts test", | ||
"build-storybook": "cross-env NODE_PATH=src/ build-storybook -o built-storybook/storybook", | ||
"start-storybook": "cross-env NODE_PATH=src/ start-storybook -p 9999", | ||
"test:coverage": "cross-env CI=true react-scripts test --coverage --collectCoverageFrom=src/**/*.js --collectCoverageFrom=!src/**/*.spec.js --collectCoverageFrom=!src/**/*.stories.js --collectCoverageFrom=!src/types/*.js" | ||
}, | ||
"prettier": { | ||
"bracketSpacing": true, | ||
"semi": true, | ||
"singleQuote": true, | ||
"trailingComma": "es5", | ||
"useTabs": true | ||
}, | ||
"dependencies": { | ||
"babel-polyfill": "6.26.0", | ||
"bauhaus-library": "^0.0.0", | ||
"bootstrap": "3.4.1", | ||
"create-react-class": "^15.6.3", | ||
"dompurify": "0.8.7", | ||
"draft-js": "0.10.4", | ||
"draft-js-export-html": "1.4.1", | ||
"draft-js-import-html": "1.2.1", | ||
"draftjs-md-converter": "1.1.1", | ||
"file-saver": "1.3.3", | ||
"jwt-decode": "2.2.0", | ||
"keycloak": "1.2.0", | ||
"lodash.deburr": "4.1.0", | ||
"lodash.difference": "4.5.0", | ||
"moment": "2.23.0", | ||
"moment-range": "3.0.3", | ||
"prop-types": "15.7.2", | ||
"react": "16.8.6", | ||
"react-16-bootstrap-date-picker": "5.1.2", | ||
"react-bootstrap": "0.31.5", | ||
"react-bootstrap-table": "4.3.0", | ||
"react-bootstrap-tabs": "1.0.2", | ||
"react-d3-tree": "1.10.3", | ||
"react-dom": "16.8.6", | ||
"react-draft-wysiwyg": "1.12.0", | ||
"react-dropzone": "^10.1.5", | ||
"react-loading": "2.0.3", | ||
"react-modal": "3.1.8", | ||
"react-redux": "7.1.0", | ||
"react-router-dom": "4.3.1", | ||
"react-router-hash-link": "1.2.0", | ||
"react-scripts": "3.0.1", | ||
"react-select": "1.1.0", | ||
"react-sortable-tree": "2.1.0", | ||
"recompose": "0.30.0", | ||
"redux": "4.0.4", | ||
"redux-logger": "3.0.6", | ||
"redux-thunk": "2.3.0" | ||
}, | ||
"devDependencies": { | ||
"@storybook/addon-actions": "5.1.0-rc.1", | ||
"@storybook/addon-knobs": "5.1.0-rc.1", | ||
"@storybook/addon-links": "5.1.0-rc.1", | ||
"@storybook/addons": "5.1.0-rc.1", | ||
"@storybook/react": "5.1.0-rc.1", | ||
"@babel/core": "7.3.3", | ||
"@types/cypress": "1.1.3", | ||
"@types/jest": "24.0.12", | ||
"axe-core": "3.3.1", | ||
"babel-loader": "8.0.5", | ||
"concurrently": "3.5.1", | ||
"coveralls": "3.0.3", | ||
"cross-env": "5.0.1", | ||
"cypress": "3.4.1", | ||
"cypress-axe": "0.5.1", | ||
"cypress-skip-and-only-ui": "^1.1.0", | ||
"enzyme": "3.10.0", | ||
"enzyme-adapter-react-16": "1.14.0", | ||
"eslint-config-prettier": "6.0.0", | ||
"eslint-config-react-app": "4.0.1", | ||
"eslint-plugin-import": "2.18.2", | ||
"eslint-plugin-jsx-a11y": "6.2.3", | ||
"eslint-plugin-react": "7.14.3", | ||
"jest-localstorage-mock": "2.4.0", | ||
"node-sass": "4.12.0", | ||
"prettier": "1.18.2", | ||
"react-test-renderer": "16.8.6", | ||
"start-server-and-test": "1.9.1", | ||
"term-size": "^1.2.0" | ||
}, | ||
"browserslist": [ | ||
">0.2%", | ||
"not dead", | ||
"not ie <= 11", | ||
"not op_mini all" | ||
], | ||
"contributor": [ | ||
{ | ||
"name": "Nicolas Laval", | ||
"email": "[email protected]" | ||
} | ||
] | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
9 changes: 8 additions & 1 deletion
9
src/js/actions/operations/families/item.js → ...rc/js/actions/operations/families/item.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.