lwc 2.49.1 → 3.0.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.
Files changed (118) hide show
  1. package/README.md +18 -8
  2. package/aria-reflection.d.ts +7 -0
  3. package/aria-reflection.js +7 -0
  4. package/babel-plugin-component.d.ts +7 -0
  5. package/babel-plugin-component.js +7 -0
  6. package/compiler.d.ts +7 -0
  7. package/compiler.js +7 -0
  8. package/engine-core.d.ts +7 -0
  9. package/engine-core.js +7 -0
  10. package/engine-dom.d.ts +7 -0
  11. package/engine-dom.js +7 -0
  12. package/engine-server.d.ts +7 -0
  13. package/engine-server.js +7 -0
  14. package/errors.d.ts +7 -0
  15. package/errors.js +7 -0
  16. package/features.d.ts +7 -0
  17. package/features.js +7 -0
  18. package/{types.d.ts → index.d.ts} +1 -1
  19. package/index.js +2 -85
  20. package/module-resolver.d.ts +7 -0
  21. package/module-resolver.js +7 -0
  22. package/package.json +42 -29
  23. package/rollup-plugin.d.ts +7 -0
  24. package/rollup-plugin.js +7 -0
  25. package/shared.d.ts +7 -0
  26. package/shared.js +7 -0
  27. package/style-compiler.d.ts +7 -0
  28. package/style-compiler.js +7 -0
  29. package/synthetic-shadow.d.ts +7 -0
  30. package/synthetic-shadow.js +7 -0
  31. package/template-compiler.d.ts +7 -0
  32. package/template-compiler.js +7 -0
  33. package/wire-service.d.ts +7 -0
  34. package/wire-service.js +7 -0
  35. package/dist/engine-dom/esm/es2017/engine-dom.js +0 -8391
  36. package/dist/engine-dom/esm/es2017/engine-dom.js.map +0 -1
  37. package/dist/engine-dom/iife/es2017/engine-dom.js +0 -8429
  38. package/dist/engine-dom/iife/es2017/engine-dom.js.map +0 -1
  39. package/dist/engine-dom/iife/es2017/engine-dom.min.js +0 -2
  40. package/dist/engine-dom/iife/es2017/engine-dom.min.js.map +0 -1
  41. package/dist/engine-dom/iife/es2017/engine-dom_debug.js +0 -6912
  42. package/dist/engine-dom/iife/es2017/engine-dom_debug.js.map +0 -1
  43. package/dist/engine-dom/iife/es5/engine-dom.js +0 -8815
  44. package/dist/engine-dom/iife/es5/engine-dom.js.map +0 -1
  45. package/dist/engine-dom/iife/es5/engine-dom.min.js +0 -2
  46. package/dist/engine-dom/iife/es5/engine-dom.min.js.map +0 -1
  47. package/dist/engine-dom/iife/es5/engine-dom_debug.js +0 -7325
  48. package/dist/engine-dom/iife/es5/engine-dom_debug.js.map +0 -1
  49. package/dist/engine-dom/umd/es2017/engine-dom.js +0 -8430
  50. package/dist/engine-dom/umd/es2017/engine-dom.js.map +0 -1
  51. package/dist/engine-dom/umd/es2017/engine-dom.min.js +0 -2
  52. package/dist/engine-dom/umd/es2017/engine-dom.min.js.map +0 -1
  53. package/dist/engine-dom/umd/es2017/engine-dom_debug.js +0 -6913
  54. package/dist/engine-dom/umd/es2017/engine-dom_debug.js.map +0 -1
  55. package/dist/engine-dom/umd/es5/engine-dom.js +0 -8816
  56. package/dist/engine-dom/umd/es5/engine-dom.js.map +0 -1
  57. package/dist/engine-dom/umd/es5/engine-dom.min.js +0 -2
  58. package/dist/engine-dom/umd/es5/engine-dom.min.js.map +0 -1
  59. package/dist/engine-dom/umd/es5/engine-dom_debug.js +0 -7326
  60. package/dist/engine-dom/umd/es5/engine-dom_debug.js.map +0 -1
  61. package/dist/engine-server/commonjs/es2017/engine-server.js +0 -14541
  62. package/dist/engine-server/commonjs/es2017/engine-server.js.map +0 -1
  63. package/dist/engine-server/commonjs/es2017/engine-server.min.js +0 -2
  64. package/dist/engine-server/commonjs/es2017/engine-server.min.js.map +0 -1
  65. package/dist/engine-server/esm/es2017/engine-server.js +0 -14517
  66. package/dist/engine-server/esm/es2017/engine-server.js.map +0 -1
  67. package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +0 -4757
  68. package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js.map +0 -1
  69. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +0 -4762
  70. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js.map +0 -1
  71. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.min.js +0 -49
  72. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.min.js.map +0 -1
  73. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +0 -4574
  74. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js.map +0 -1
  75. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +0 -4737
  76. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js.map +0 -1
  77. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.min.js +0 -49
  78. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.min.js.map +0 -1
  79. package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +0 -4538
  80. package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js.map +0 -1
  81. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +0 -4764
  82. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js.map +0 -1
  83. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.min.js +0 -49
  84. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.min.js.map +0 -1
  85. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +0 -4576
  86. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js.map +0 -1
  87. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +0 -4739
  88. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js.map +0 -1
  89. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.min.js +0 -49
  90. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.min.js.map +0 -1
  91. package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +0 -4540
  92. package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js.map +0 -1
  93. package/dist/wire-service/esm/es2017/wire-service.js +0 -195
  94. package/dist/wire-service/esm/es2017/wire-service.js.map +0 -1
  95. package/dist/wire-service/iife/es2017/wire-service.js +0 -204
  96. package/dist/wire-service/iife/es2017/wire-service.js.map +0 -1
  97. package/dist/wire-service/iife/es2017/wire-service.min.js +0 -2
  98. package/dist/wire-service/iife/es2017/wire-service.min.js.map +0 -1
  99. package/dist/wire-service/iife/es2017/wire-service_debug.js +0 -204
  100. package/dist/wire-service/iife/es2017/wire-service_debug.js.map +0 -1
  101. package/dist/wire-service/iife/es5/wire-service.js +0 -247
  102. package/dist/wire-service/iife/es5/wire-service.js.map +0 -1
  103. package/dist/wire-service/iife/es5/wire-service.min.js +0 -2
  104. package/dist/wire-service/iife/es5/wire-service.min.js.map +0 -1
  105. package/dist/wire-service/iife/es5/wire-service_debug.js +0 -247
  106. package/dist/wire-service/iife/es5/wire-service_debug.js.map +0 -1
  107. package/dist/wire-service/umd/es2017/wire-service.js +0 -205
  108. package/dist/wire-service/umd/es2017/wire-service.js.map +0 -1
  109. package/dist/wire-service/umd/es2017/wire-service.min.js +0 -2
  110. package/dist/wire-service/umd/es2017/wire-service.min.js.map +0 -1
  111. package/dist/wire-service/umd/es2017/wire-service_debug.js +0 -205
  112. package/dist/wire-service/umd/es2017/wire-service_debug.js.map +0 -1
  113. package/dist/wire-service/umd/es5/wire-service.js +0 -248
  114. package/dist/wire-service/umd/es5/wire-service.js.map +0 -1
  115. package/dist/wire-service/umd/es5/wire-service.min.js +0 -2
  116. package/dist/wire-service/umd/es5/wire-service.min.js.map +0 -1
  117. package/dist/wire-service/umd/es5/wire-service_debug.js +0 -248
  118. package/dist/wire-service/umd/es5/wire-service_debug.js.map +0 -1
package/README.md CHANGED
@@ -44,15 +44,9 @@ export default class Counter extends LightningElement {
44
44
 
45
45
  ## Supported Browsers
46
46
 
47
- | Browser | Version |
48
- | ----------------------------- | ------- |
49
- | Microsoft® Internet Explorer® | IE 11\* |
50
- | Microsoft® Edge | Latest |
51
- | Google Chrome™ | Latest |
52
- | Mozilla® Firefox® | Latest |
53
- | Apple® Safari® | 12.x+ |
47
+ LWC supports [all browsers supported in Salesforce Lightning Experience](https://help.salesforce.com/s/articleView?id=sf.getstart_browsers_sfx.htm&type=5).
54
48
 
55
- For IE 11, LWC uses compatibility mode. Code is transpiled down to ES5 and the required polyfills are added. To develop components that run in IE 11, follow the [compatibility mode](https://github.com/salesforce/eslint-plugin-lwc#compat-performance) linting rules.
49
+ As of LWC v3.0.0, Microsoft® Internet Explorer® 11 is no longer supported.
56
50
 
57
51
  ## Docs, Recipes, & Support
58
52
 
@@ -65,3 +59,19 @@ When filing a bug, it's useful to use [playground.lwc.dev](https://playground.lw
65
59
  ## Release Notes
66
60
 
67
61
  Changes are documented at [github.com/salesforce/lwc/releases](https://github.com/salesforce/lwc/releases).
62
+
63
+ ## The `lwc` package
64
+
65
+ This package (`lwc`) is a convenience package that re-exports all packages that might be used for LWC component development. Installing it also installs the core `@lwc/*` packages.
66
+
67
+ For example, to use `@lwc/engine-server` from this package, you can do:
68
+
69
+ ```js
70
+ import { renderComponent } from 'lwc/engine-server';
71
+ ```
72
+
73
+ This is equivalent to:
74
+
75
+ ```js
76
+ import { renderComponent } from '@lwc/engine-server';
77
+ ```
@@ -0,0 +1,7 @@
1
+ /*
2
+ * Copyright (c) 2023, salesforce.com, inc.
3
+ * All rights reserved.
4
+ * SPDX-License-Identifier: MIT
5
+ * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
6
+ */
7
+ export type * from '@lwc/aria-reflection';
@@ -0,0 +1,7 @@
1
+ /*
2
+ * Copyright (c) 2023, salesforce.com, inc.
3
+ * All rights reserved.
4
+ * SPDX-License-Identifier: MIT
5
+ * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
6
+ */
7
+ export * from '@lwc/aria-reflection';
@@ -0,0 +1,7 @@
1
+ /*
2
+ * Copyright (c) 2023, salesforce.com, inc.
3
+ * All rights reserved.
4
+ * SPDX-License-Identifier: MIT
5
+ * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
6
+ */
7
+ export type * from '@lwc/babel-plugin-component';
@@ -0,0 +1,7 @@
1
+ /*
2
+ * Copyright (c) 2023, salesforce.com, inc.
3
+ * All rights reserved.
4
+ * SPDX-License-Identifier: MIT
5
+ * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
6
+ */
7
+ export * from '@lwc/babel-plugin-component';
package/compiler.d.ts ADDED
@@ -0,0 +1,7 @@
1
+ /*
2
+ * Copyright (c) 2023, salesforce.com, inc.
3
+ * All rights reserved.
4
+ * SPDX-License-Identifier: MIT
5
+ * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
6
+ */
7
+ export type * from '@lwc/compiler';
package/compiler.js ADDED
@@ -0,0 +1,7 @@
1
+ /*
2
+ * Copyright (c) 2023, salesforce.com, inc.
3
+ * All rights reserved.
4
+ * SPDX-License-Identifier: MIT
5
+ * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
6
+ */
7
+ export * from '@lwc/compiler';
@@ -0,0 +1,7 @@
1
+ /*
2
+ * Copyright (c) 2023, salesforce.com, inc.
3
+ * All rights reserved.
4
+ * SPDX-License-Identifier: MIT
5
+ * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
6
+ */
7
+ export type * from '@lwc/engine-core';
package/engine-core.js ADDED
@@ -0,0 +1,7 @@
1
+ /*
2
+ * Copyright (c) 2023, salesforce.com, inc.
3
+ * All rights reserved.
4
+ * SPDX-License-Identifier: MIT
5
+ * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
6
+ */
7
+ export * from '@lwc/engine-core';
@@ -0,0 +1,7 @@
1
+ /*
2
+ * Copyright (c) 2023, salesforce.com, inc.
3
+ * All rights reserved.
4
+ * SPDX-License-Identifier: MIT
5
+ * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
6
+ */
7
+ export type * from '@lwc/engine-dom';
package/engine-dom.js ADDED
@@ -0,0 +1,7 @@
1
+ /*
2
+ * Copyright (c) 2023, salesforce.com, inc.
3
+ * All rights reserved.
4
+ * SPDX-License-Identifier: MIT
5
+ * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
6
+ */
7
+ export * from '@lwc/engine-dom';
@@ -0,0 +1,7 @@
1
+ /*
2
+ * Copyright (c) 2023, salesforce.com, inc.
3
+ * All rights reserved.
4
+ * SPDX-License-Identifier: MIT
5
+ * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
6
+ */
7
+ export type * from '@lwc/engine-server';
@@ -0,0 +1,7 @@
1
+ /*
2
+ * Copyright (c) 2023, salesforce.com, inc.
3
+ * All rights reserved.
4
+ * SPDX-License-Identifier: MIT
5
+ * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
6
+ */
7
+ export * from '@lwc/engine-server';
package/errors.d.ts ADDED
@@ -0,0 +1,7 @@
1
+ /*
2
+ * Copyright (c) 2023, salesforce.com, inc.
3
+ * All rights reserved.
4
+ * SPDX-License-Identifier: MIT
5
+ * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
6
+ */
7
+ export type * from '@lwc/errors';
package/errors.js ADDED
@@ -0,0 +1,7 @@
1
+ /*
2
+ * Copyright (c) 2023, salesforce.com, inc.
3
+ * All rights reserved.
4
+ * SPDX-License-Identifier: MIT
5
+ * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
6
+ */
7
+ export * from '@lwc/errors';
package/features.d.ts ADDED
@@ -0,0 +1,7 @@
1
+ /*
2
+ * Copyright (c) 2023, salesforce.com, inc.
3
+ * All rights reserved.
4
+ * SPDX-License-Identifier: MIT
5
+ * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
6
+ */
7
+ export type * from '@lwc/features';
package/features.js ADDED
@@ -0,0 +1,7 @@
1
+ /*
2
+ * Copyright (c) 2023, salesforce.com, inc.
3
+ * All rights reserved.
4
+ * SPDX-License-Identifier: MIT
5
+ * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
6
+ */
7
+ export * from '@lwc/features';
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2018, salesforce.com, inc.
2
+ * Copyright (c) 2023, salesforce.com, inc.
3
3
  * All rights reserved.
4
4
  * SPDX-License-Identifier: MIT
5
5
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
package/index.js CHANGED
@@ -1,90 +1,7 @@
1
1
  /*
2
- * Copyright (c) 2018, salesforce.com, inc.
2
+ * Copyright (c) 2023, salesforce.com, inc.
3
3
  * All rights reserved.
4
4
  * SPDX-License-Identifier: MIT
5
5
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
6
6
  */
7
- const fs = require('fs');
8
- const path = require('path');
9
-
10
- const DEBUG_SUFFIX = '_debug';
11
- const PROD_SUFFIX = '.min';
12
-
13
- function getVersion() {
14
- const pkgPath = path.join(__dirname, './package.json');
15
- const pkgSrc = fs.readFileSync(pkgPath, 'utf8');
16
- const pkg = JSON.parse(pkgSrc);
17
- return pkg.version;
18
- }
19
-
20
- const MODULES = new Set(['engine-dom', 'engine-server', 'synthetic-shadow', 'wire-service']);
21
- const FORMATS = new Set(['iife', 'umd', 'esm']);
22
- const TARGETS = new Set(['es5', 'es2017']);
23
- const MODES = new Set(['dev', 'prod', 'prod_debug']);
24
-
25
- const DEFAULT_FORMAT = 'esm';
26
- const DEFAULT_TARGET = 'es2017';
27
- const DEFAULT_MODE = 'dev';
28
-
29
- function validateArgs(name, format, target, mode) {
30
- if (!MODULES.has(name)) {
31
- throw new Error(
32
- `Invalid module name "${name}". Available module names: ${Array.from(MODULES.keys())}`
33
- );
34
- }
35
-
36
- if (!FORMATS.has(format)) {
37
- throw new Error(
38
- `Invalid format "${name}". Available formats: ${Array.from(FORMATS.keys())}`
39
- );
40
- }
41
-
42
- if (!TARGETS.has(target)) {
43
- throw new Error(
44
- `Invalid target "${target}". Available targets: ${Array.from(TARGETS.keys())}`
45
- );
46
- }
47
-
48
- if (!MODES.has(mode)) {
49
- throw new Error(`Invalid mode "${mode}". Available modes: ${Array.from(MODES.keys())}`);
50
- }
51
- }
52
-
53
- function getModule(name, format = DEFAULT_FORMAT, target = DEFAULT_TARGET, mode = DEFAULT_MODE) {
54
- const distPath = getModulePath(name, format, target, mode);
55
- return fs.readFileSync(distPath, 'utf8');
56
- }
57
-
58
- function getModulePath(
59
- name,
60
- format = DEFAULT_FORMAT,
61
- target = DEFAULT_TARGET,
62
- mode = DEFAULT_MODE
63
- ) {
64
- validateArgs(name, format, target, mode);
65
- let distPath;
66
- // The default is on the package itself (naming convention is set)
67
- if (format === DEFAULT_FORMAT && target === DEFAULT_TARGET && mode === DEFAULT_MODE) {
68
- distPath = require.resolve(`@lwc/${name}/dist/${name}.js`);
69
-
70
- // Otherwise is on dist of this package
71
- } else if (mode === 'prod') {
72
- distPath = path.join(__dirname, 'dist', name, format, target, `${name}${PROD_SUFFIX}.js`);
73
- } else if (mode === 'prod_debug') {
74
- distPath = path.join(__dirname, 'dist', name, format, target, `${name}${DEBUG_SUFFIX}.js`);
75
- } else {
76
- distPath = path.join(__dirname, 'dist', name, format, target, `${name}.js`);
77
- }
78
-
79
- if (!fs.existsSync(distPath)) {
80
- throw new Error(`Module path "${distPath}" for module ${name} not found`);
81
- }
82
-
83
- return distPath;
84
- }
85
-
86
- module.exports = {
87
- getVersion,
88
- getModule,
89
- getModulePath,
90
- };
7
+ export * from '@lwc/engine-dom';
@@ -0,0 +1,7 @@
1
+ /*
2
+ * Copyright (c) 2023, salesforce.com, inc.
3
+ * All rights reserved.
4
+ * SPDX-License-Identifier: MIT
5
+ * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
6
+ */
7
+ export type * from '@lwc/module-resolver';
@@ -0,0 +1,7 @@
1
+ /*
2
+ * Copyright (c) 2023, salesforce.com, inc.
3
+ * All rights reserved.
4
+ * SPDX-License-Identifier: MIT
5
+ * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
6
+ */
7
+ export * from '@lwc/module-resolver';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lwc",
3
- "version": "2.49.1",
3
+ "version": "3.0.0",
4
4
  "description": "Lightning Web Components (LWC)",
5
5
  "homepage": "https://lwc.dev/",
6
6
  "repository": {
@@ -12,49 +12,62 @@
12
12
  "url": "https://github.com/salesforce/lwc/issues"
13
13
  },
14
14
  "main": "index.js",
15
- "module": "dist/engine-dom/esm/es2017/engine-dom.js",
16
- "typings": "types.d.ts",
15
+ "type": "module",
16
+ "typings": "index.d.ts",
17
17
  "license": "MIT",
18
- "scripts": {
19
- "build": "node scripts/build.js",
20
- "dev": "node scripts/build.js --watch"
21
- },
22
18
  "files": [
23
- "dist/",
24
- "index.js",
25
- "types.d.ts"
19
+ "*.js",
20
+ "*.d.ts"
26
21
  ],
22
+ "dependencies": {
23
+ "@lwc/aria-reflection": "3.0.0",
24
+ "@lwc/babel-plugin-component": "3.0.0",
25
+ "@lwc/compiler": "3.0.0",
26
+ "@lwc/engine-core": "3.0.0",
27
+ "@lwc/engine-dom": "3.0.0",
28
+ "@lwc/engine-server": "3.0.0",
29
+ "@lwc/errors": "3.0.0",
30
+ "@lwc/features": "3.0.0",
31
+ "@lwc/module-resolver": "3.0.0",
32
+ "@lwc/rollup-plugin": "3.0.0",
33
+ "@lwc/shared": "3.0.0",
34
+ "@lwc/style-compiler": "3.0.0",
35
+ "@lwc/synthetic-shadow": "3.0.0",
36
+ "@lwc/template-compiler": "3.0.0",
37
+ "@lwc/wire-service": "3.0.0"
38
+ },
27
39
  "lwc": {
28
40
  "modules": [
29
41
  {
30
42
  "name": "lwc",
31
- "path": "dist/engine-dom/esm/es2017/engine-dom.js"
43
+ "path": "engine-dom.js"
32
44
  },
33
45
  {
34
46
  "name": "@lwc/synthetic-shadow",
35
- "path": "dist/synthetic-shadow/esm/es2017/synthetic-shadow.js"
47
+ "path": "synthetic-shadow.js"
36
48
  },
37
49
  {
38
50
  "name": "@lwc/wire-service",
39
- "path": "dist/synthetic-shadow/esm/es2017/wire-service.js"
51
+ "path": "wire-service.js"
40
52
  }
41
53
  ]
42
54
  },
43
- "dependencies": {
44
- "@lwc/compiler": "2.49.1",
45
- "@lwc/engine-dom": "2.49.1",
46
- "@lwc/engine-server": "2.49.1",
47
- "@lwc/features": "2.49.1",
48
- "@lwc/synthetic-shadow": "2.49.1",
49
- "@lwc/wire-service": "2.49.1"
50
- },
51
- "nx": {
52
- "targets": {
53
- "build": {
54
- "outputs": [
55
- "./dist"
56
- ]
57
- }
58
- }
55
+ "exports": {
56
+ ".": "./index.js",
57
+ "./aria-reflection": "./aria-reflection.js",
58
+ "./babel-plugin-component": "./babel-plugin-component.js",
59
+ "./compiler": "./compiler.js",
60
+ "./engine-core": "./engine-core.js",
61
+ "./engine-dom": "./engine-dom.js",
62
+ "./engine-server": "./engine-server.js",
63
+ "./errors": "./errors.js",
64
+ "./features": "./features.js",
65
+ "./module-resolver": "./module-resolver.js",
66
+ "./rollup-plugin": "./rollup-plugin.js",
67
+ "./shared": "./shared.js",
68
+ "./style-compiler": "./style-compiler.js",
69
+ "./synthetic-shadow": "./synthetic-shadow.js",
70
+ "./template-compiler": "./template-compiler.js",
71
+ "./wire-service": "./wire-service.js"
59
72
  }
60
73
  }
@@ -0,0 +1,7 @@
1
+ /*
2
+ * Copyright (c) 2023, salesforce.com, inc.
3
+ * All rights reserved.
4
+ * SPDX-License-Identifier: MIT
5
+ * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
6
+ */
7
+ export type * from '@lwc/rollup-plugin';
@@ -0,0 +1,7 @@
1
+ /*
2
+ * Copyright (c) 2023, salesforce.com, inc.
3
+ * All rights reserved.
4
+ * SPDX-License-Identifier: MIT
5
+ * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
6
+ */
7
+ export * from '@lwc/rollup-plugin';
package/shared.d.ts ADDED
@@ -0,0 +1,7 @@
1
+ /*
2
+ * Copyright (c) 2023, salesforce.com, inc.
3
+ * All rights reserved.
4
+ * SPDX-License-Identifier: MIT
5
+ * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
6
+ */
7
+ export type * from '@lwc/shared';
package/shared.js ADDED
@@ -0,0 +1,7 @@
1
+ /*
2
+ * Copyright (c) 2023, salesforce.com, inc.
3
+ * All rights reserved.
4
+ * SPDX-License-Identifier: MIT
5
+ * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
6
+ */
7
+ export * from '@lwc/shared';
@@ -0,0 +1,7 @@
1
+ /*
2
+ * Copyright (c) 2023, salesforce.com, inc.
3
+ * All rights reserved.
4
+ * SPDX-License-Identifier: MIT
5
+ * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
6
+ */
7
+ export type * from '@lwc/style-compiler';
@@ -0,0 +1,7 @@
1
+ /*
2
+ * Copyright (c) 2023, salesforce.com, inc.
3
+ * All rights reserved.
4
+ * SPDX-License-Identifier: MIT
5
+ * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
6
+ */
7
+ export * from '@lwc/style-compiler';
@@ -0,0 +1,7 @@
1
+ /*
2
+ * Copyright (c) 2023, salesforce.com, inc.
3
+ * All rights reserved.
4
+ * SPDX-License-Identifier: MIT
5
+ * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
6
+ */
7
+ export type * from '@lwc/synthetic-shadow';
@@ -0,0 +1,7 @@
1
+ /*
2
+ * Copyright (c) 2023, salesforce.com, inc.
3
+ * All rights reserved.
4
+ * SPDX-License-Identifier: MIT
5
+ * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
6
+ */
7
+ export * from '@lwc/synthetic-shadow';
@@ -0,0 +1,7 @@
1
+ /*
2
+ * Copyright (c) 2023, salesforce.com, inc.
3
+ * All rights reserved.
4
+ * SPDX-License-Identifier: MIT
5
+ * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
6
+ */
7
+ export type * from '@lwc/template-compiler';
@@ -0,0 +1,7 @@
1
+ /*
2
+ * Copyright (c) 2023, salesforce.com, inc.
3
+ * All rights reserved.
4
+ * SPDX-License-Identifier: MIT
5
+ * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
6
+ */
7
+ export * from '@lwc/template-compiler';
@@ -0,0 +1,7 @@
1
+ /*
2
+ * Copyright (c) 2023, salesforce.com, inc.
3
+ * All rights reserved.
4
+ * SPDX-License-Identifier: MIT
5
+ * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
6
+ */
7
+ export type * from '@lwc/wire-service';
@@ -0,0 +1,7 @@
1
+ /*
2
+ * Copyright (c) 2023, salesforce.com, inc.
3
+ * All rights reserved.
4
+ * SPDX-License-Identifier: MIT
5
+ * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
6
+ */
7
+ export * from '@lwc/wire-service';