Skip to content
This repository was archived by the owner on Feb 7, 2025. It is now read-only.

Commit 7ea0cb5

Browse files
committed
refactor(all) Reorg/cleanup/remove dead code
Signed-off-by: Jerome Simeon <[email protected]>
1 parent 9e75559 commit 7ea0cb5

File tree

172 files changed

+285
-750
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

172 files changed

+285
-750
lines changed

packages/ui-components/netlify.toml

-5
This file was deleted.

packages/ui-components/prepare.js

-35
This file was deleted.
-3.78 KB
Binary file not shown.

packages/ui-components/public/index.html

-43
This file was deleted.
-5.22 KB
Binary file not shown.
-9.44 KB
Binary file not shown.

packages/ui-components/public/manifest.json

-25
This file was deleted.

packages/ui-components/public/robots.txt

-2
This file was deleted.

packages/ui-components/rollup.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const postcssPlugins = [
3030
];
3131

3232
const config = outputs.map(({ file, format }) => ({
33-
input: 'src/lib/index.js',
33+
input: 'src/index.js',
3434
output: {
3535
file,
3636
format,

packages/ui-components/src/index.js

+12-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
1-
import React from 'react';
2-
import ReactDOM from 'react-dom';
3-
import App from './environment/App';
1+
import ErrorLogger from './ErrorLogger';
2+
import Navigation from './Navigation';
3+
import Library from './Library';
4+
import TextEditor from './TextEditor';
5+
import Tile from './Tile';
46

5-
ReactDOM.render(<App />, document.getElementById('root'));
7+
export {
8+
ErrorLogger,
9+
Navigation,
10+
Library,
11+
TextEditor,
12+
Tile,
13+
};

packages/ui-components/src/lib/index.js

-13
This file was deleted.

packages/ui-concerto/.stylelintrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@
1717
"plugins": [
1818
"stylelint-order"
1919
],
20-
"ignoreFiles": ["src/lib/components/concertoForm.css", "**/*.js"]
20+
"ignoreFiles": ["src/components/concertoForm.css", "**/*.js"]
2121
}

packages/ui-concerto/netlify.toml

-5
This file was deleted.

packages/ui-concerto/package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/ui-concerto/package.json

-4
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,8 @@
1616
"semantic-ui-react": "^0.88.2"
1717
},
1818
"scripts": {
19-
"start": "react-scripts start",
20-
"build:app": "react-scripts build",
2119
"test": "SKIP_PREFLIGHT_CHECK=true react-scripts test --env=jest-environment-jsdom-sixteen",
22-
"eject": "react-scripts eject",
2320
"build": "npx rollup -c --sourcemap",
24-
"build:watch": "npx rollup -c --sourcemap -w",
2521
"build:prod": "npx rollup -c",
2622
"fix:js": "npx eslint --fix ./src/",
2723
"lint:js": "npx eslint ./src/",

packages/ui-concerto/prepare.js

-35
This file was deleted.
-3.78 KB
Binary file not shown.

packages/ui-concerto/public/index.html

-43
This file was deleted.
-5.22 KB
Binary file not shown.
-9.44 KB
Binary file not shown.

packages/ui-concerto/public/manifest.json

-25
This file was deleted.

packages/ui-concerto/public/robots.txt

-2
This file was deleted.

packages/ui-concerto/rollup.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const postcssPlugins = [
3232
];
3333

3434
const config = outputs.map(({ file, format }) => ({
35-
input: 'src/lib/index.js',
35+
input: 'src/index.js',
3636
output: {
3737
file,
3838
format,
File renamed without changes.

packages/ui-concerto/src/index.js

+17-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
1-
import React from 'react';
2-
import ReactDOM from 'react-dom';
3-
import App from './environment/App';
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
import ConcertoFormWrapper from './components/concertoFormWrapper';
15+
import ReactFormVisitor from './reactformvisitor';
16+
import * as Utilities from './utilities';
417

5-
ReactDOM.render(<App />, document.getElementById('root'));
18+
export { ConcertoFormWrapper as ConcertoForm, ReactFormVisitor, Utilities };

packages/ui-concerto/src/lib/index.js

-18
This file was deleted.

packages/ui-concerto/src/setupTests.js

-1
This file was deleted.

packages/ui-contract-editor/netlify.toml

-5
This file was deleted.

packages/ui-contract-editor/prepare.js

-35
This file was deleted.
-3.78 KB
Binary file not shown.

0 commit comments

Comments
 (0)