Skip to content

Commit

Permalink
clean and fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
redallen committed Jun 6, 2019
1 parent 363d793 commit 14f7491
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 63 deletions.
6 changes: 3 additions & 3 deletions packages/patternfly-4/react-charts/package.json
Expand Up @@ -38,9 +38,9 @@
"scripts": {
"build": "yarn build:babel && yarn build:types && node ./scripts/copyTS.js",
"build:babel": "concurrently 'yarn build:babel:cjs' 'yarn build:babel:esm && yarn build:babel:umd'",
"build:babel:cjs": "cross-env BABEL_ENV=production:cjs babel src --out-dir dist/js --extensions '.js,.ts,.tsx' -q",
"build:babel:esm": "cross-env BABEL_ENV=production:esm babel src --out-dir dist/esm --extensions '.js,.ts,.tsx' -q",
"build:babel:umd": "cross-env BABEL_ENV=production:umd babel dist/esm --out-dir dist/umd --plugins transform-es2015-modules-umd --extensions '.js,.ts,.tsx' -q",
"build:babel:cjs": "babel src --out-dir dist/js --extensions '.js,.ts,.tsx' -q",
"build:babel:esm": "babel src --out-dir dist/esm --extensions '.js,.ts,.tsx' -q",
"build:babel:umd": "babel dist/esm --out-dir dist/umd --plugins transform-es2015-modules-umd --extensions '.js,.ts,.tsx' -q",
"build:types": "tsc -p tsconfig.gen-dts.json",
"clean": "rimraf dist",
"develop": "yarn build:babel:esm --skip-initial-build --watch --verbose --source-maps",
Expand Down
Expand Up @@ -13,6 +13,7 @@ import * as ReactStyledSystem from '@patternfly/react-styled-system';
import * as ReactStyles from '@patternfly/react-styles';
import * as ReactTable from '@patternfly/react-table';
import * as ReactTokens from '@patternfly/react-tokens';
import * as ReactTopology from '@patternfly/react-topology';

import './live-edit.scss';

Expand Down Expand Up @@ -46,7 +47,8 @@ export class LiveEdit extends React.Component {
...ReactStyledSystem,
...ReactStyles,
...ReactTable,
...ReactTokens
...ReactTokens,
...ReactTopology
}
: {};
this.scope = {
Expand Down
5 changes: 0 additions & 5 deletions packages/patternfly-4/react-topology/.babelrc

This file was deleted.

5 changes: 5 additions & 0 deletions packages/patternfly-4/react-topology/.babelrc.js
@@ -0,0 +1,5 @@
const coreConfig = require('../react-core/.babelrc.js');

module.exports = {
...coreConfig
}
13 changes: 5 additions & 8 deletions packages/patternfly-4/react-topology/package.json
Expand Up @@ -2,10 +2,6 @@
"name": "@patternfly/react-topology",
"version": "2.5.11",
"description": "This library provides a set of React topology view components for use with the PatternFly 4",
"main": "dist/js/index.js",
"module": "dist/esm/index.js",
"types": "dist/js/index.d.ts",
"sideEffects": false,
"publishConfig": {
"access": "public",
"tag": "prerelease"
Expand All @@ -26,7 +22,7 @@
},
"homepage": "https://github.com/patternfly/patternfly-react/tree/master/packages/patternfly-4/react-topology#readme",
"dependencies": {
"@patternfly/patternfly": "2.6.5",
"@patternfly/patternfly": "2.8.2",
"@patternfly/react-core": "^3.16.10",
"@patternfly/react-icons": "^3.8.1",
"@patternfly/react-styles": "^3.2.0",
Expand All @@ -40,14 +36,15 @@
"scripts": {
"build": "yarn typecheck && yarn build:babel && yarn build:types && node ./scripts/copyTS.js && node ./build/copyStyles.js",
"build:babel": "concurrently 'yarn build:babel:esm && yarn build:babel:umd' 'yarn build:babel:cjs'",
"build:babel:cjs": "babel src --out-dir dist/js -q",
"build:babel:esm": "babel src --out-dir dist/esm -q",
"build:babel:cjs": "babel src --out-dir dist/js --extensions '.js,.ts,.tsx' -q",
"build:babel:esm": "babel src --out-dir dist/esm --extensions '.js,.ts,.tsx' -q",
"build:babel:umd": "babel dist/esm --out-dir dist/umd --plugins transform-es2015-modules-umd --extensions '.js,.ts,.tsx' -q",
"build:types": "tsc -p tsconfig.gen-dts.json",
"clean": "rimraf dist",
"develop": "yarn build:babel:esm --skip-initial-build --watch --verbose",
"lint:ts": "tslint -p tsconfig.typecheck.json",
"typecheck": "tsc -p tsconfig.typecheck.json" },
"typecheck": "tsc -p tsconfig.typecheck.json"
},
"devDependencies": {
"@patternfly/react-tokens": "^2.5.1",
"css": "^2.2.3",
Expand Down
6 changes: 0 additions & 6 deletions packages/patternfly-4/react-topology/tsconfig.jest.json

This file was deleted.

40 changes: 0 additions & 40 deletions packages/patternfly-4/react-topology/tslint.json

This file was deleted.

0 comments on commit 14f7491

Please sign in to comment.