lwc 7.0.0-alpha.0 → 7.0.0-alpha.1
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/index.d.ts +2 -0
- package/package.json +18 -16
- package/types.d.ts +11 -0
package/index.d.ts
CHANGED
|
@@ -4,4 +4,6 @@
|
|
|
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
|
+
// Importing @lwc/types enables HTML/CSS imports in TypeScript projects
|
|
8
|
+
import '@lwc/types';
|
|
7
9
|
export * from '@lwc/engine-dom';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lwc",
|
|
3
|
-
"version": "7.0.0-alpha.
|
|
3
|
+
"version": "7.0.0-alpha.1",
|
|
4
4
|
"description": "Lightning Web Components (LWC)",
|
|
5
5
|
"homepage": "https://lwc.dev/",
|
|
6
6
|
"repository": {
|
|
@@ -20,21 +20,22 @@
|
|
|
20
20
|
"*.d.ts"
|
|
21
21
|
],
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@lwc/aria-reflection": "7.0.0-alpha.
|
|
24
|
-
"@lwc/babel-plugin-component": "7.0.0-alpha.
|
|
25
|
-
"@lwc/compiler": "7.0.0-alpha.
|
|
26
|
-
"@lwc/engine-core": "7.0.0-alpha.
|
|
27
|
-
"@lwc/engine-dom": "7.0.0-alpha.
|
|
28
|
-
"@lwc/engine-server": "7.0.0-alpha.
|
|
29
|
-
"@lwc/errors": "7.0.0-alpha.
|
|
30
|
-
"@lwc/features": "7.0.0-alpha.
|
|
31
|
-
"@lwc/module-resolver": "7.0.0-alpha.
|
|
32
|
-
"@lwc/rollup-plugin": "7.0.0-alpha.
|
|
33
|
-
"@lwc/shared": "7.0.0-alpha.
|
|
34
|
-
"@lwc/style-compiler": "7.0.0-alpha.
|
|
35
|
-
"@lwc/synthetic-shadow": "7.0.0-alpha.
|
|
36
|
-
"@lwc/template-compiler": "7.0.0-alpha.
|
|
37
|
-
"@lwc/
|
|
23
|
+
"@lwc/aria-reflection": "7.0.0-alpha.1",
|
|
24
|
+
"@lwc/babel-plugin-component": "7.0.0-alpha.1",
|
|
25
|
+
"@lwc/compiler": "7.0.0-alpha.1",
|
|
26
|
+
"@lwc/engine-core": "7.0.0-alpha.1",
|
|
27
|
+
"@lwc/engine-dom": "7.0.0-alpha.1",
|
|
28
|
+
"@lwc/engine-server": "7.0.0-alpha.1",
|
|
29
|
+
"@lwc/errors": "7.0.0-alpha.1",
|
|
30
|
+
"@lwc/features": "7.0.0-alpha.1",
|
|
31
|
+
"@lwc/module-resolver": "7.0.0-alpha.1",
|
|
32
|
+
"@lwc/rollup-plugin": "7.0.0-alpha.1",
|
|
33
|
+
"@lwc/shared": "7.0.0-alpha.1",
|
|
34
|
+
"@lwc/style-compiler": "7.0.0-alpha.1",
|
|
35
|
+
"@lwc/synthetic-shadow": "7.0.0-alpha.1",
|
|
36
|
+
"@lwc/template-compiler": "7.0.0-alpha.1",
|
|
37
|
+
"@lwc/types": "7.0.0-alpha.1",
|
|
38
|
+
"@lwc/wire-service": "7.0.0-alpha.1"
|
|
38
39
|
},
|
|
39
40
|
"lwc": {
|
|
40
41
|
"modules": [
|
|
@@ -62,6 +63,7 @@
|
|
|
62
63
|
"./engine-server": "./engine-server.js",
|
|
63
64
|
"./errors": "./errors.js",
|
|
64
65
|
"./features": "./features.js",
|
|
66
|
+
"./types": "./types.d.ts",
|
|
65
67
|
"./module-resolver": "./module-resolver.js",
|
|
66
68
|
"./rollup-plugin": "./rollup-plugin.js",
|
|
67
69
|
"./shared": "./shared.js",
|
package/types.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2024, Salesforce, 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
|
+
|
|
8
|
+
// @lwc/types is a types-only package, so there is no corresponding JS file here. The package does
|
|
9
|
+
// not have any exports, only module definitions, which is why we are not exporting anything here.
|
|
10
|
+
|
|
11
|
+
import '@lwc/types';
|