@patternfly/documentation-framework 2.0.0-alpha.26 → 2.0.0-alpha.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # 2.0.0-alpha.27 (2023-04-25)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **docs:** Update static dir and fix null loading ([#3505](https://github.com/patternfly/patternfly-org/issues/3505)) ([e65a1b2](https://github.com/patternfly/patternfly-org/commit/e65a1b21ae7671322adcbcef1ada69436fd07802))
12
+
13
+
14
+
15
+
16
+
6
17
  # 2.0.0-alpha.26 (2023-04-21)
7
18
 
8
19
  **Note:** Version bump only for package @patternfly/documentation-framework
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@patternfly/documentation-framework",
3
3
  "description": "A framework to build documentation for PatternFly.",
4
- "version": "2.0.0-alpha.26",
4
+ "version": "2.0.0-alpha.27",
5
5
  "author": "Red Hat",
6
6
  "license": "MIT",
7
7
  "private": false,
@@ -49,6 +49,7 @@
49
49
  "mini-css-extract-plugin": "2.7.5",
50
50
  "monaco-editor": "0.34.1",
51
51
  "monaco-editor-webpack-plugin": "7.0.1",
52
+ "null-loader": "4.0.1",
52
53
  "parse-entities": "2.0.0",
53
54
  "path-browserify": "1.0.1",
54
55
  "postcss": "7.0.32",
@@ -84,11 +85,11 @@
84
85
  },
85
86
  "peerDependencies": {
86
87
  "@patternfly/patternfly": "^5.0.0-alpha.37",
87
- "@patternfly/react-code-editor": "^5.0.0-alpha.54",
88
- "@patternfly/react-core": "^5.0.0-alpha.53",
89
- "@patternfly/react-table": "^5.0.0-alpha.54",
88
+ "@patternfly/react-code-editor": "^5.0.0-alpha.76",
89
+ "@patternfly/react-core": "^5.0.0-alpha.75",
90
+ "@patternfly/react-table": "^5.0.0-alpha.77",
90
91
  "react": "^17.0.0 || ^18.0.0",
91
92
  "react-dom": "^17.0.0 || ^18.0.0"
92
93
  },
93
- "gitHead": "b4005924630aa54f87fa95322d5332611a948bdd"
94
+ "gitHead": "215aaf8979392b7b91f053b04b6c2a742227da0c"
94
95
  }
@@ -6,7 +6,7 @@ const { getConfig } = require('./helpers');
6
6
  const { watchMD } = require('../md/parseMD');
7
7
 
8
8
  function startWebpackDevServer(webpackConfig) {
9
- webpackConfig.devServer.static.publicPath = webpackConfig.output.publicPath;
9
+ webpackConfig.devServer.static = false;
10
10
  const { port } = webpackConfig.devServer;
11
11
  const compiler = webpack(webpackConfig);
12
12
  const server = new WebpackDevServer(webpackConfig.devServer, compiler);
@@ -82,6 +82,7 @@ const clientConfig = async (env, argv) => {
82
82
  rules: [
83
83
  {
84
84
  test: /\.css$/,
85
+ exclude: reactCSSRegex,
85
86
  use: [
86
87
  {
87
88
  loader: MiniCssExtractPlugin.loader,
@@ -105,6 +106,10 @@ const clientConfig = async (env, argv) => {
105
106
  }
106
107
  ]
107
108
  },
109
+ {
110
+ test: reactCSSRegex,
111
+ use: 'null-loader'
112
+ },
108
113
  ]
109
114
  },
110
115
  plugins: [
@@ -28,25 +28,12 @@ const serverConfig = async (env, argv) => {
28
28
  rules: [
29
29
  {
30
30
  test: /\.css$/,
31
- use: [
32
- {
33
- loader: 'css-loader'
34
- },
35
- {
36
- loader: 'postcss-loader',
37
- options: {
38
- postcssOptions: {
39
- plugins: [
40
- require('autoprefixer')({
41
- env: '>0.25%, not ie 11, not op_mini all',
42
- flexbox: false,
43
- grid: false
44
- })
45
- ]
46
- }
47
- }
48
- }
49
- ]
31
+ use: 'null-loader'
32
+ },
33
+ // This does weird things to document
34
+ {
35
+ test: /(novnc-core|@novnc\/novnc)\/.*\.js/,
36
+ use: 'null-loader'
50
37
  },
51
38
  ]
52
39
  },