@nx/webpack 23.0.0 → 23.1.0-beta.0

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/README.md CHANGED
@@ -7,13 +7,12 @@
7
7
 
8
8
  <div style="text-align: center;">
9
9
 
10
- [![CircleCI](https://circleci.com/gh/nrwl/nx.svg?style=svg)](https://circleci.com/gh/nrwl/nx)
11
10
  [![License](https://img.shields.io/npm/l/@nx/workspace.svg?style=flat-square)]()
12
11
  [![NPM Version](https://badge.fury.io/js/nx.svg)](https://www.npmjs.com/package/nx)
13
12
  [![Semantic Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=flat-square)]()
14
13
  [![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
15
- [![Join the chat at https://gitter.im/nrwl-nx/community](https://badges.gitter.im/nrwl-nx/community.svg)](https://gitter.im/nrwl-nx/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
16
14
  [![Join us on the Official Nx Discord Server](https://img.shields.io/discord/1143497901675401286?label=discord)](https://go.nx.dev/community)
15
+ [![Nx Sandboxing](https://staging.nx.app/workspaces/62d013ea0852fe0a2df74438/sandbox-badge.svg)](https://nx.dev/docs/features/ci-features/sandboxing)
17
16
 
18
17
  </div>
19
18
 
@@ -1,8 +1,8 @@
1
1
  import { ExecutorContext } from '@nx/devkit';
2
2
  import { TargetOptions, WebSsrDevServerOptions } from './schema';
3
3
  export declare function ssrDevServerExecutor(options: WebSsrDevServerOptions, context: ExecutorContext): AsyncGenerator<{
4
- baseUrl: string;
5
4
  success: boolean;
6
5
  options: TargetOptions;
6
+ baseUrl: string;
7
7
  }, void, unknown>;
8
8
  export default ssrDevServerExecutor;
@@ -1,18 +1,5 @@
1
1
  import { NormalizedNxAppWebpackPluginOptions } from '../nx-app-webpack-plugin-options';
2
2
  export declare function createLoaderFromCompiler(options: NormalizedNxAppWebpackPluginOptions): {
3
- test: RegExp;
4
- loader: string;
5
- exclude: RegExp;
6
- options: {
7
- cwd: string;
8
- emitDecoratorMetadata: boolean;
9
- isModern: boolean;
10
- isTest: boolean;
11
- envName: string;
12
- cacheDirectory: boolean;
13
- cacheCompression: boolean;
14
- };
15
- } | {
16
3
  test: RegExp;
17
4
  loader: string;
18
5
  exclude: RegExp;
@@ -42,6 +29,7 @@ export declare function createLoaderFromCompiler(options: NormalizedNxAppWebpack
42
29
  loader: string;
43
30
  exclude: RegExp;
44
31
  options: {
32
+ jsc?: undefined;
45
33
  configFile: string;
46
34
  transpileOnly: boolean;
47
35
  experimentalWatchApi: boolean;
@@ -50,6 +38,18 @@ export declare function createLoaderFromCompiler(options: NormalizedNxAppWebpack
50
38
  after: any;
51
39
  afterDeclarations: any;
52
40
  };
53
- jsc?: undefined;
41
+ };
42
+ } | {
43
+ test: RegExp;
44
+ loader: string;
45
+ exclude: RegExp;
46
+ options: {
47
+ cwd: string;
48
+ emitDecoratorMetadata: boolean;
49
+ isModern: boolean;
50
+ isTest: boolean;
51
+ envName: string;
52
+ cacheDirectory: boolean;
53
+ cacheCompression: boolean;
54
54
  };
55
55
  };
@@ -21,53 +21,53 @@ export declare function getCommonLoadersForCssModules(options: NormalizedNxAppWe
21
21
  } | {
22
22
  loader: string;
23
23
  options: {
24
- implementation: any;
25
- postcssOptions: PostcssOptions;
26
24
  modules?: undefined;
27
25
  importLoaders?: undefined;
26
+ implementation: any;
27
+ postcssOptions: PostcssOptions;
28
28
  };
29
29
  })[];
30
30
  export declare function getCommonLoadersForGlobalCss(options: NormalizedNxAppWebpackPluginOptions, includePaths: string[]): ({
31
- loader: any;
32
31
  options?: undefined;
32
+ loader: any;
33
33
  } | {
34
34
  loader: string;
35
35
  options: {
36
- url: boolean;
37
36
  implementation?: undefined;
38
37
  postcssOptions?: undefined;
38
+ url: boolean;
39
39
  };
40
40
  } | {
41
41
  loader: string;
42
42
  options: {
43
+ url?: undefined;
43
44
  implementation: any;
44
45
  postcssOptions: PostcssOptions;
45
- url?: undefined;
46
46
  };
47
47
  })[];
48
48
  export declare function getCommonLoadersForGlobalStyle(options: NormalizedNxAppWebpackPluginOptions, includePaths: string[]): ({
49
49
  loader: any;
50
50
  options: {
51
- esModule: boolean;
52
- url?: undefined;
53
51
  implementation?: undefined;
54
52
  postcssOptions?: undefined;
53
+ url?: undefined;
54
+ esModule: boolean;
55
55
  };
56
56
  } | {
57
57
  loader: string;
58
58
  options: {
59
- url: boolean;
60
- esModule?: undefined;
61
59
  implementation?: undefined;
62
60
  postcssOptions?: undefined;
61
+ esModule?: undefined;
62
+ url: boolean;
63
63
  };
64
64
  } | {
65
65
  loader: string;
66
66
  options: {
67
+ url?: undefined;
68
+ esModule?: undefined;
67
69
  implementation: any;
68
70
  postcssOptions: PostcssOptions;
69
- esModule?: undefined;
70
- url?: undefined;
71
71
  };
72
72
  })[];
73
73
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/webpack",
3
- "version": "23.0.0",
3
+ "version": "23.1.0-beta.0",
4
4
  "private": false,
5
5
  "type": "commonjs",
6
6
  "files": [
@@ -118,8 +118,8 @@
118
118
  "tslib": "^2.3.0",
119
119
  "webpack-node-externals": "^3.0.0",
120
120
  "webpack-subresource-integrity": "^5.1.0",
121
- "@nx/devkit": "23.0.0",
122
- "@nx/js": "23.0.0"
121
+ "@nx/js": "23.1.0-beta.0",
122
+ "@nx/devkit": "23.1.0-beta.0"
123
123
  },
124
124
  "peerDependencies": {
125
125
  "webpack": "^5.0.0",
@@ -138,7 +138,7 @@
138
138
  }
139
139
  },
140
140
  "devDependencies": {
141
- "nx": "23.0.0"
141
+ "nx": "23.1.0-beta.0"
142
142
  },
143
143
  "publishConfig": {
144
144
  "access": "public"