Skip to content

Commit

Permalink
Merge pull request #13 from patternfly/fix-openshift-errors
Browse files Browse the repository at this point in the history
fix(build): address build discrepancies
  • Loading branch information
dlabaj authored Jan 27, 2023
2 parents 7b52023 + 58eaf0f commit 631f092
Show file tree
Hide file tree
Showing 6 changed files with 4,286 additions and 24 deletions.
12 changes: 6 additions & 6 deletions packages/module/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@patternfly/react-log-viewer",
"version": "4.87.97",
"description": "Terminal renderer",
"main": "dist/esm/index.js",
"main": "dist/main/index.js",
"module": "dist/esm/index.js",
"publishConfig": {
"access": "public",
Expand All @@ -28,11 +28,12 @@
},
"homepage": "https://github.com/patternfly/react-log-viewer#readme",
"dependencies": {
"@patternfly/react-core": "^4.273.0",
"@patternfly/react-icons": "^4.93.3",
"@patternfly/react-styles": "^4.92.3",
"@patternfly/react-core": "^4.273.1",
"@patternfly/react-icons": "^4.93.4",
"@patternfly/react-styles": "^4.92.4",
"memoize-one": "^5.1.0",
"resize-observer-polyfill": "^1.5.1"
"resize-observer-polyfill": "^1.5.1",
"tslib":"^2.0.0"
},
"peerDependencies": {
"react": "^16.8 || ^17 || ^18",
Expand All @@ -42,7 +43,6 @@
"@patternfly/documentation-framework": "^1.2.55",
"@patternfly/patternfly": "^4.217.1",
"@patternfly/react-table": "^4.111.4",
"@patternfly/react-styles": "4.92.3",
"@patternfly/react-code-editor": "^4.82.26",
"rimraf": "^2.6.2",
"typescript": "^4.7.4",
Expand Down
19 changes: 18 additions & 1 deletion packages/module/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,15 @@
/* Visit https://aka.ms/tsconfig.json to read more about this file */

/* Basic Options */
"assumeChangesOnlyAffectDirectDependencies": true,
"incremental": true, /* Enable incremental compilation */
"target": "es2015" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', 'ES2021', or 'ESNEXT'. */,
"module": "es2015" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */,
"jsx": "react" /* Specify JSX code generation: 'preserve', 'react-native', 'react', 'react-jsx' or 'react-jsxdev'. */,
"lib": [
"es2015",
"dom"
],
"declaration": true /* Generates corresponding '.d.ts' file. */,
"declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
"sourceMap": true, /* Generates corresponding '.map' file. */
Expand All @@ -19,6 +24,18 @@
"forceConsistentCasingInFileNames": true, /* Disallow inconsistently-cased references to the same file. */
"strictNullChecks": false,
"isolatedModules": true,
"importHelpers": true,
"composite": true,
"plugins": [
{ "transform": "transformer-cjs-imports" }
],
"tsBuildInfoFile": "dist/esm.tsbuildinfo"
},
"include": ["./src/*", "./src/**/*", "tsconfig.cjs.json"]
"include": ["./src/*", "./src/**/*", "tsconfig.cjs.json"],
"exclude": [
"**/**.test.tsx",
"**/**.test.ts",
"**/examples/**",
"**/__mocks__/**"
]
}
Loading

0 comments on commit 631f092

Please sign in to comment.