-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
22a193c
commit 941149b
Showing
389 changed files
with
11,768 additions
and
11,853 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,9 @@ | ||
|
||
{ | ||
"presets": ["next/babel"], | ||
"plugins": [ | ||
[ | ||
"graphql-tag" | ||
] | ||
] | ||
} |
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,12 @@ | ||
.git | ||
.project | ||
.vscode | ||
.settings | ||
.vs_code | ||
.settings | ||
.storybook/ | ||
target/ | ||
node_modules/ | ||
test/ | ||
schema.json | ||
yarn-error.log |
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
/node_modules | ||
/.pnp | ||
.pnp.js | ||
|
||
# testing | ||
/coverage | ||
|
||
# next.js | ||
/.next/ | ||
/out/ | ||
|
||
# production | ||
/build | ||
/target | ||
|
||
# misc | ||
.DS_Store | ||
|
||
# debug | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
# local env files | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local |
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,6 @@ | ||
{ | ||
"file": "./test/mocha.setup.js", | ||
"require": ["./test/babel-register.js", "esm"], | ||
"extension": ["tsx", "js"], | ||
"spec": ["./src/**/*.spec.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.next/ | ||
target/ | ||
node_modules/ |
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,6 @@ | ||
module.exports = { | ||
singleQuote: true, | ||
trailingComma: 'es5', | ||
semi: false, | ||
arrowParens: 'avoid', | ||
} |
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 { configure } from '@storybook/react' | ||
|
||
configure(require.context('../src', true, /\.stories\.(t|j)sx?$/), module) |
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,12 @@ | ||
module.exports = ({ config }) => { | ||
config.module.rules.push({ | ||
test: /\.(ts|tsx)$/, | ||
loader: require.resolve('babel-loader'), | ||
options: { | ||
presets: [require.resolve('babel-preset-react-app')], | ||
}, | ||
}) | ||
|
||
config.resolve.extensions.push('.ts', '.tsx') | ||
return config | ||
} |
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,22 @@ | ||
FROM node:alpine | ||
|
||
RUN adduser -S revelio | ||
RUN mkdir -p /revelio | ||
RUN chown revelio /revelio | ||
|
||
USER revelio | ||
|
||
# Root path for file contents within the container | ||
WORKDIR /revelio | ||
|
||
COPY --chown=revelio:root package.json . | ||
COPY --chown=revelio:root yarn.lock . | ||
RUN yarn install | ||
|
||
COPY --chown=revelio:root . . | ||
|
||
RUN yarn build | ||
|
||
EXPOSE 3000 | ||
|
||
CMD ["yarn", "start"] |
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,2 @@ | ||
/// <reference types="next" /> | ||
/// <reference types="next/types/global" /> |
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,7 @@ | ||
const withTM = require('next-transpile-modules')(['geospatialdraw', 'ol']) // pass the modules you would like to see transpiled | ||
|
||
module.exports = withTM({ | ||
publicRuntimeConfig: { | ||
GRAPHQL_BASE_URL: process.env['GRAPHQL_BASE_URL'], | ||
}, | ||
}) |
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,81 @@ | ||
{ | ||
"name": "@connexta/revelio", | ||
"version": "2.0.0", | ||
"scripts": { | ||
"dev": "next", | ||
"build": "next build", | ||
"build:storybook": "build-storybook -c .storybook -o target/storybook", | ||
"start": "next start", | ||
"fmt": "prettier \"**/*.{js,jsx,ts,tsx,json}\" --write", | ||
"storybook": "start-storybook -p 8081 -c .storybook", | ||
"lint": "eslint .", | ||
"test:prettier": "prettier --check \"**/*.{js,jsx,ts,tsx,json}\"", | ||
"test:mocha": "cross-env NODE_ENV=test mocha", | ||
"test": "yarn test:prettier && yarn lint && yarn test:mocha && yarn build" | ||
}, | ||
"dependencies": { | ||
"@apollo/react-hooks": "3.1.3", | ||
"@apollo/react-ssr": "3.1.3", | ||
"@date-io/moment": "^2.6.0", | ||
"@material-ui/core": "^4.9.11", | ||
"@material-ui/icons": "^4.9.1", | ||
"@material-ui/lab": "^4.0.0-alpha.50", | ||
"@material-ui/pickers": "^3.2.10", | ||
"@storybook/addon-knobs": "^5.3.18", | ||
"apollo-cache-inmemory": "1.6.5", | ||
"apollo-client": "2.6.8", | ||
"apollo-link": "^1.2.14", | ||
"apollo-link-batch-http": "^1.2.14", | ||
"apollo-link-error": "^1.1.13", | ||
"apollo-link-http": "1.5.16", | ||
"apollo-utilities": "^1.3.3", | ||
"geospatialdraw": "0.5.7", | ||
"golden-layout": "^1.5.9", | ||
"graphql": "^14.0.2", | ||
"graphql-tag": "2.10.3", | ||
"immutable": "^4.0.0-rc.12", | ||
"isomorphic-unfetch": "^3.0.0", | ||
"lodash.throttle": "^4.1.1", | ||
"material-table": "^1.57.2", | ||
"moment": "^2.24.0", | ||
"moment-timezone": "^0.5.28", | ||
"next": "latest", | ||
"next-transpile-modules": "^3.3.0", | ||
"ol": "^6.3.1", | ||
"polished": "^3.5.2", | ||
"prop-types": "^15.6.2", | ||
"react": "^16.7.0", | ||
"react-beautiful-dnd": "^13.0.0", | ||
"react-dom": "^16.7.0", | ||
"universal-cookie": "^4.0.3", | ||
"uuid": "^7.0.3" | ||
}, | ||
"license": "ISC", | ||
"devDependencies": { | ||
"@babel/core": "^7.9.0", | ||
"@babel/register": "^7.9.0", | ||
"@storybook/addon-actions": "^5.3.18", | ||
"@storybook/addon-info": "^5.3.18", | ||
"@storybook/react": "^5.3.18", | ||
"@types/react": "^16.9.34", | ||
"@typescript-eslint/parser": "^2.31.0", | ||
"babel-eslint": "^10.1.0", | ||
"babel-loader": "^8.1.0", | ||
"babel-plugin-graphql-tag": "^2.5.0", | ||
"babel-preset-react-app": "^9.1.2", | ||
"chai": "^4.2.0", | ||
"cross-env": "^7.0.2", | ||
"enzyme": "^3.11.0", | ||
"enzyme-adapter-react-16": "^1.15.2", | ||
"eslint": "^6.8.0", | ||
"eslint-plugin-graphql": "^3.1.1", | ||
"eslint-plugin-import": "^2.20.2", | ||
"eslint-plugin-react": "^7.19.0", | ||
"eslint-plugin-react-hooks": "^4.0.0", | ||
"esm": "^3.2.25", | ||
"jsdom": "^16.2.2", | ||
"mocha": "^7.1.2", | ||
"prettier": "^2.0.5", | ||
"typescript": "^3.8.3" | ||
} | ||
} |
File renamed without changes.
6 changes: 3 additions & 3 deletions
6
src/main/webapp/@storybook/react.js → app/src/@storybook/react.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
2 changes: 1 addition & 1 deletion
2
src/main/webapp/@storybook/use-state.js → app/src/@storybook/use-state.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
4 changes: 2 additions & 2 deletions
4
.../webapp/@storybook/with-draw-provider.tsx → app/src/@storybook/with-draw-provider.tsx
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.
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.