Skip to content

Commit b34f727

Browse files
build(deps-dev): bump the theoretically-non-breaking group with 19 updates (#4977)
* build(deps-dev): bump the theoretically-non-breaking group with 19 updates Bumps the theoretically-non-breaking group with 19 updates: | Package | From | To | | --- | --- | --- | | [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) | `9.15.0` | `9.16.0` | | [@nx/js](https://github.com/nrwl/nx/tree/HEAD/packages/js) | `20.1.3` | `20.1.4` | | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `22.9.3` | `22.10.1` | | [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8) | `2.1.5` | `2.1.7` | | [@vitest/eslint-plugin](https://github.com/vitest-dev/eslint-plugin-vitest) | `1.1.10` | `1.1.14` | | [@vitest/ui](https://github.com/vitest-dev/vitest/tree/HEAD/packages/ui) | `2.1.5` | `2.1.7` | | [eslint](https://github.com/eslint/eslint) | `9.15.0` | `9.16.0` | | [globals](https://github.com/sindresorhus/globals) | `15.12.0` | `15.13.0` | | [magic-string](https://github.com/rich-harris/magic-string) | `0.30.13` | `0.30.14` | | [nx](https://github.com/nrwl/nx/tree/HEAD/packages/nx) | `20.1.3` | `20.1.4` | | [prettier](https://github.com/prettier/prettier) | `3.3.3` | `3.4.1` | | [rollup](https://github.com/rollup/rollup) | `4.27.4` | `4.28.0` | | [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) | `8.15.0` | `8.16.0` | | [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) | `2.1.5` | `2.1.7` | | [@types/jasmine](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jasmine) | `5.1.4` | `5.1.5` | | [@wdio/cli](https://github.com/webdriverio/webdriverio/tree/HEAD/packages/wdio-cli) | `9.3.1` | `9.4.1` | | [@wdio/local-runner](https://github.com/webdriverio/webdriverio/tree/HEAD/packages/wdio-local-runner) | `9.3.1` | `9.4.1` | | [@wdio/sauce-service](https://github.com/webdriverio/webdriverio/tree/HEAD/packages/wdio-sauce-service) | `9.3.1` | `9.4.1` | | [webdriverio](https://github.com/webdriverio/webdriverio/tree/HEAD/packages/webdriverio) | `9.3.1` | `9.4.1` | Updates `@eslint/js` from 9.15.0 to 9.16.0 - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/commits/v9.16.0/packages/js) Updates `@nx/js` from 20.1.3 to 20.1.4 - [Release notes](https://github.com/nrwl/nx/releases) - [Commits](https://github.com/nrwl/nx/commits/20.1.4/packages/js) Updates `@types/node` from 22.9.3 to 22.10.1 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Updates `@vitest/coverage-v8` from 2.1.5 to 2.1.7 - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Commits](https://github.com/vitest-dev/vitest/commits/v2.1.7/packages/coverage-v8) Updates `@vitest/eslint-plugin` from 1.1.10 to 1.1.14 - [Release notes](https://github.com/vitest-dev/eslint-plugin-vitest/releases) - [Commits](vitest-dev/eslint-plugin-vitest@v1.1.10...v1.1.14) Updates `@vitest/ui` from 2.1.5 to 2.1.7 - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Commits](https://github.com/vitest-dev/vitest/commits/v2.1.7/packages/ui) Updates `eslint` from 9.15.0 to 9.16.0 - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](eslint/eslint@v9.15.0...v9.16.0) Updates `globals` from 15.12.0 to 15.13.0 - [Release notes](https://github.com/sindresorhus/globals/releases) - [Commits](sindresorhus/globals@v15.12.0...v15.13.0) Updates `magic-string` from 0.30.13 to 0.30.14 - [Changelog](https://github.com/Rich-Harris/magic-string/blob/master/CHANGELOG.md) - [Commits](Rich-Harris/magic-string@v0.30.13...v0.30.14) Updates `nx` from 20.1.3 to 20.1.4 - [Release notes](https://github.com/nrwl/nx/releases) - [Commits](https://github.com/nrwl/nx/commits/20.1.4/packages/nx) Updates `prettier` from 3.3.3 to 3.4.1 - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](prettier/prettier@3.3.3...3.4.1) Updates `rollup` from 4.27.4 to 4.28.0 - [Release notes](https://github.com/rollup/rollup/releases) - [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md) - [Commits](rollup/rollup@v4.27.4...v4.28.0) Updates `typescript-eslint` from 8.15.0 to 8.16.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.16.0/packages/typescript-eslint) Updates `vitest` from 2.1.5 to 2.1.7 - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Commits](https://github.com/vitest-dev/vitest/commits/v2.1.7/packages/vitest) Updates `@types/jasmine` from 5.1.4 to 5.1.5 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jasmine) Updates `@wdio/cli` from 9.3.1 to 9.4.1 - [Release notes](https://github.com/webdriverio/webdriverio/releases) - [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md) - [Commits](https://github.com/webdriverio/webdriverio/commits/v9.4.1/packages/wdio-cli) Updates `@wdio/local-runner` from 9.3.1 to 9.4.1 - [Release notes](https://github.com/webdriverio/webdriverio/releases) - [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md) - [Commits](https://github.com/webdriverio/webdriverio/commits/v9.4.1/packages/wdio-local-runner) Updates `@wdio/sauce-service` from 9.3.1 to 9.4.1 - [Release notes](https://github.com/webdriverio/webdriverio/releases) - [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md) - [Commits](https://github.com/webdriverio/webdriverio/commits/v9.4.1/packages/wdio-sauce-service) Updates `webdriverio` from 9.3.1 to 9.4.1 - [Release notes](https://github.com/webdriverio/webdriverio/releases) - [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md) - [Commits](https://github.com/webdriverio/webdriverio/commits/v9.4.1/packages/webdriverio) --- updated-dependencies: - dependency-name: "@eslint/js" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: theoretically-non-breaking - dependency-name: "@nx/js" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: theoretically-non-breaking - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: theoretically-non-breaking - dependency-name: "@vitest/coverage-v8" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: theoretically-non-breaking - dependency-name: "@vitest/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: theoretically-non-breaking - dependency-name: "@vitest/ui" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: theoretically-non-breaking - dependency-name: eslint dependency-type: direct:development update-type: version-update:semver-minor dependency-group: theoretically-non-breaking - dependency-name: globals dependency-type: direct:development update-type: version-update:semver-minor dependency-group: theoretically-non-breaking - dependency-name: magic-string dependency-type: direct:development update-type: version-update:semver-patch dependency-group: theoretically-non-breaking - dependency-name: nx dependency-type: direct:development update-type: version-update:semver-patch dependency-group: theoretically-non-breaking - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-minor dependency-group: theoretically-non-breaking - dependency-name: rollup dependency-type: direct:development update-type: version-update:semver-minor dependency-group: theoretically-non-breaking - dependency-name: typescript-eslint dependency-type: direct:development update-type: version-update:semver-minor dependency-group: theoretically-non-breaking - dependency-name: vitest dependency-type: direct:development update-type: version-update:semver-patch dependency-group: theoretically-non-breaking - dependency-name: "@types/jasmine" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: theoretically-non-breaking - dependency-name: "@wdio/cli" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: theoretically-non-breaking - dependency-name: "@wdio/local-runner" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: theoretically-non-breaking - dependency-name: "@wdio/sauce-service" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: theoretically-non-breaking - dependency-name: webdriverio dependency-type: direct:development update-type: version-update:semver-minor dependency-group: theoretically-non-breaking ... Signed-off-by: dependabot[bot] <[email protected]> * chore(prettier): apply fixes from version bump --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Will Harney <[email protected]>
1 parent 19d2b7f commit b34f727

File tree

23 files changed

+626
-617
lines changed

23 files changed

+626
-617
lines changed

.github/ISSUE_TEMPLATE/Bug_report.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ versions < 0.17: "lwc-engine": "0.16.8"
4242
versions >= 0.17: "lwc-engine": "0.17.2"
4343
-->
4444

45-
- LWC: x.x.x
45+
- LWC: x.x.x
4646

4747
**Possible Solution**
4848

.github/PULL_REQUEST_TEMPLATE.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
Remove the incorrect item for the list.
1414
-->
1515

16-
- 😮‍💨 No, it does not introduce a breaking change.
17-
- 💔 Yes, it does introduce a breaking change.
16+
- 😮‍💨 No, it does not introduce a breaking change.
17+
- 💔 Yes, it does introduce a breaking change.
1818

1919
<!-- If yes, please describe the impact and migration path for existing applications. -->
2020

@@ -33,8 +33,8 @@
3333
Remove the incorrect item from the list.
3434
-->
3535

36-
- 🤞 No, it does not introduce an observable change.
37-
- 🔬 Yes, it does include an observable change.
36+
- 🤞 No, it does not introduce an observable change.
37+
- 🔬 Yes, it does include an observable change.
3838

3939
<!-- If yes, please describe the anticipated observable changes. -->
4040

CODE_OF_CONDUCT.md

+14-14
Original file line numberDiff line numberDiff line change
@@ -35,23 +35,23 @@ socioeconomic status, or other similar personal characteristics.
3535
Examples of behavior that contributes to creating a positive environment
3636
include:
3737

38-
- Using welcoming and inclusive language
39-
- Being respectful of differing viewpoints and experiences
40-
- Gracefully accepting constructive criticism
41-
- Focusing on what is best for the community
42-
- Showing empathy toward other community members
38+
- Using welcoming and inclusive language
39+
- Being respectful of differing viewpoints and experiences
40+
- Gracefully accepting constructive criticism
41+
- Focusing on what is best for the community
42+
- Showing empathy toward other community members
4343

4444
Examples of unacceptable behavior by participants include:
4545

46-
- The use of sexualized language or imagery and unwelcome sexual attention or
47-
advances
48-
- Personal attacks, insulting/derogatory comments, or trolling
49-
- Public or private harassment
50-
- Publishing, or threatening to publish, others' private information—such as
51-
a physical or electronic address—without explicit permission
52-
- Other conduct which could reasonably be considered inappropriate in a
53-
professional setting
54-
- Advocating for or encouraging any of the above behaviors
46+
- The use of sexualized language or imagery and unwelcome sexual attention or
47+
advances
48+
- Personal attacks, insulting/derogatory comments, or trolling
49+
- Public or private harassment
50+
- Publishing, or threatening to publish, others' private information—such as
51+
a physical or electronic address—without explicit permission
52+
- Other conduct which could reasonably be considered inappropriate in a
53+
professional setting
54+
- Advocating for or encouraging any of the above behaviors
5555

5656
## Our Responsibilities
5757

CONTRIBUTING.md

+36-36
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22

33
We want to encourage the developer community to contribute to Lightning Web Components. This guide has instructions to install, build, test and contribute to the framework.
44

5-
- [Requirements](#requirements)
6-
- [Installation](#installation)
7-
- [Building LWC](#building-lwc)
8-
- [Testing](#testing)
9-
- [Git Workflow](#git-workflow)
5+
- [Requirements](#requirements)
6+
- [Installation](#installation)
7+
- [Building LWC](#building-lwc)
8+
- [Testing](#testing)
9+
- [Git Workflow](#git-workflow)
1010

1111
Before you start, familiarize yourself with [Lightning Web Components](https://lwc.dev/guide/introduction).
1212

1313
## Requirements
1414

15-
- [Node](https://nodejs.org/)
16-
- [Yarn](https://yarnpkg.com/)
15+
- [Node](https://nodejs.org/)
16+
- [Yarn](https://yarnpkg.com/)
1717

1818
This project uses [Volta](https://volta.sh/) to ensure that all the contributors share the same version of `Node` and `Yarn` for development. If you are considering making frequent contributions to this project, we recommend installing this tool as well. Otherwise, check the `volta` field in `package.json` to see which versions to use.
1919

@@ -94,8 +94,8 @@ Test fixtures are file-based tests that are executed using a helper called [`tes
9494

9595
When developing LWC, use integration testing to ensure functionality is correctly reflected in the browser. This repo has two integration test suites.
9696

97-
- @lwc/integration-karma: Contains all integration tests that can run with javascript only. For information about usage and contribution, refer to this [documentation][integration-karma-readme].
98-
- @lwc/integration-tests: Contains all other integration tests that require web driver API support (e.g., focus, keyboard navigation). For information about usage and contribution, refer to this [documentation][integration-test-readme].
97+
- @lwc/integration-karma: Contains all integration tests that can run with javascript only. For information about usage and contribution, refer to this [documentation][integration-karma-readme].
98+
- @lwc/integration-tests: Contains all other integration tests that require web driver API support (e.g., focus, keyboard navigation). For information about usage and contribution, refer to this [documentation][integration-test-readme].
9999

100100
To run the Karma tests from the root:
101101

@@ -132,7 +132,7 @@ This will check that the minified bundle sizes don't exceed our thresholds. Our
132132

133133
LWC relies on type annotations.
134134

135-
- Make sure your editor supports [typescript](https://www.typescriptlang.org/).
135+
- Make sure your editor supports [typescript](https://www.typescriptlang.org/).
136136

137137
### ESLint
138138

@@ -297,36 +297,36 @@ If the commit reverts a previous commit, it should begin with `revert: `, follow
297297

298298
Must be one of the following:
299299

300-
- **build**: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
301-
- **chore**: Other changes that don't modify src or test files
302-
- **ci**: Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)
303-
- **docs**: Documentation only changes
304-
- **feat**: A new feature
305-
- **fix**: A bug fix
306-
- **perf**: A code change that improves performance
307-
- **refactor**: A code change that neither fixes a bug nor adds a feature
308-
- **revert**: Reverts a previous commit
309-
- **style**: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
310-
- **test**: Adding missing tests or correcting existing tests
300+
- **build**: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
301+
- **chore**: Other changes that don't modify src or test files
302+
- **ci**: Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)
303+
- **docs**: Documentation only changes
304+
- **feat**: A new feature
305+
- **fix**: A bug fix
306+
- **perf**: A code change that improves performance
307+
- **refactor**: A code change that neither fixes a bug nor adds a feature
308+
- **revert**: Reverts a previous commit
309+
- **style**: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
310+
- **test**: Adding missing tests or correcting existing tests
311311

312312
#### Commit Scope
313313

314314
The scope should be the name of the npm package affected, as perceived by the person reading the changelog.
315315

316316
There are currently a few exceptions to the "use package name" rule:
317317

318-
- **packaging**: used for changes that change the npm package layout in all of our packages, e.g. public path changes, package.json changes done to all packages, d.ts file/format changes, changes to bundles, etc.
319-
- **changelog**: used for updating the release notes in CHANGELOG.md
320-
- **lwc docs**: used for docs related changes within the lwc/docs directory of the repo
321-
- none/empty string: useful for `style`, `test` and `refactor` changes that are done across all packages (e.g. `style: add missing semicolons`)
318+
- **packaging**: used for changes that change the npm package layout in all of our packages, e.g. public path changes, package.json changes done to all packages, d.ts file/format changes, changes to bundles, etc.
319+
- **changelog**: used for updating the release notes in CHANGELOG.md
320+
- **lwc docs**: used for docs related changes within the lwc/docs directory of the repo
321+
- none/empty string: useful for `style`, `test` and `refactor` changes that are done across all packages (e.g. `style: add missing semicolons`)
322322

323323
#### Commit Subject
324324

325325
The subject contains a succinct description of the change:
326326

327-
- use the imperative, present tense: "change" not "changed" nor "changes"
328-
- don't capitalize first letter
329-
- no dot (.) at the end
327+
- use the imperative, present tense: "change" not "changed" nor "changes"
328+
- don't capitalize first letter
329+
- no dot (.) at the end
330330

331331
#### Commit Body
332332

@@ -350,17 +350,17 @@ The footer should contain any information about **Breaking Changes** and is also
350350

351351
**Potential pitfalls:** When submitting changes to the LWC framework, there are several important considerations to keep in mind to ensure that your changes are reviewed & accepted.
352352

353-
- The LWC framework makes strong guarantees about backwards compatibility to those that use our framework. Any changes that compromise these guarantees are unlikely to be accepted as-is.
354-
- If your change causes a test to fail in unit or integration tests, it is unlikely that your submission will be accepted as-is.
355-
- Certain parts of the codebase are particularly susceptible to breaking changes. This includes the browser runtime (`engine-core` and `engine-dom`), as well as the compiler (`compiler`, `style-compiler`, `template-compiler`).
356-
- Some areas of the codebase are less mature and undergoing active development. Areas related to SSR, including the server-side runtime (`engine-server`), fall under this category.
353+
- The LWC framework makes strong guarantees about backwards compatibility to those that use our framework. Any changes that compromise these guarantees are unlikely to be accepted as-is.
354+
- If your change causes a test to fail in unit or integration tests, it is unlikely that your submission will be accepted as-is.
355+
- Certain parts of the codebase are particularly susceptible to breaking changes. This includes the browser runtime (`engine-core` and `engine-dom`), as well as the compiler (`compiler`, `style-compiler`, `template-compiler`).
356+
- Some areas of the codebase are less mature and undergoing active development. Areas related to SSR, including the server-side runtime (`engine-server`), fall under this category.
357357

358358
**Definition of done:** Especially when making large changes to the codebase, certain complementary work must be undertaken for the desired changes to be considered. When making a submission please adhere to the following:
359359

360-
- All pre-existing unit- & integration- tests must pass.
361-
- If you modify a pre-existing test to accommodate your changes, a thorough reasoning must be proactively provided in the PR.
362-
- Test coverage should not decline – if you add code paths, add corresponding tests.
363-
- If your tests have the potential to negatively impact performance, provide a before & after comparison of performance using the test collateral provided in the repo.
360+
- All pre-existing unit- & integration- tests must pass.
361+
- If you modify a pre-existing test to accommodate your changes, a thorough reasoning must be proactively provided in the PR.
362+
- Test coverage should not decline – if you add code paths, add corresponding tests.
363+
- If your tests have the potential to negatively impact performance, provide a before & after comparison of performance using the test collateral provided in the repo.
364364

365365
It's also worth noting that not all submissions will be accepted, even if all the above criteria are met. There may be constraints in the larger Salesforce ecosystem that prevent certain changes. If your submission is likely to change large parts of the codebase, please open an issue preemptively so that the design can be discussed.
366366

package.json

+14-14
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@
3434
},
3535
"devDependencies": {
3636
"@commitlint/cli": "^19.6.0",
37-
"@eslint/js": "9.15.0",
37+
"@eslint/js": "9.16.0",
3838
"@lwc/eslint-plugin-lwc-internal": "link:./scripts/eslint-plugin",
3939
"@lwc/test-utils-lwc-internals": "link:./scripts/test-utils",
40-
"@nx/js": "20.1.3",
40+
"@nx/js": "20.1.4",
4141
"@rollup/plugin-commonjs": "^28.0.1",
4242
"@rollup/plugin-inject": "^5.0.5",
4343
"@rollup/plugin-node-resolve": "^15.3.0",
@@ -47,31 +47,31 @@
4747
"@swc/core": "~1.9.3",
4848
"@swc/helpers": "~0.5.15",
4949
"@types/babel__core": "^7.20.5",
50-
"@types/node": "^22.9.3",
51-
"@vitest/coverage-v8": "^2.1.5",
52-
"@vitest/eslint-plugin": "^1.1.10",
53-
"@vitest/ui": "^2.1.5",
50+
"@types/node": "^22.10.1",
51+
"@vitest/coverage-v8": "^2.1.7",
52+
"@vitest/eslint-plugin": "^1.1.14",
53+
"@vitest/ui": "^2.1.7",
5454
"bytes": "^3.1.2",
5555
"es-module-lexer": "^1.5.4",
56-
"eslint": "9.15.0",
56+
"eslint": "9.16.0",
5757
"eslint-config-flat-gitignore": "^0.3.0",
5858
"eslint-plugin-header": "^3.1.1",
5959
"eslint-plugin-import": "^2.31.0",
6060
"glob": "^11.0.0",
61-
"globals": "^15.12.0",
61+
"globals": "^15.13.0",
6262
"husky": "^9.1.7",
6363
"isbinaryfile": "^5.0.4",
6464
"jsdom": "^25.0.1",
6565
"lint-staged": "^15.2.10",
66-
"magic-string": "^0.30.13",
67-
"nx": "20.1.3",
68-
"prettier": "^3.3.3",
69-
"rollup": "^4.27.4",
66+
"magic-string": "^0.30.14",
67+
"nx": "20.1.4",
68+
"prettier": "^3.4.1",
69+
"rollup": "^4.28.0",
7070
"terser": "^5.36.0",
7171
"tslib": "^2.8.1",
7272
"typescript": "5.4.5",
73-
"typescript-eslint": "8.15.0",
74-
"vitest": "^2.1.5"
73+
"typescript-eslint": "8.16.0",
74+
"vitest": "^2.1.7"
7575
},
7676
"lint-staged": {
7777
"*.{js,mjs,ts}": "eslint",

packages/@lwc/babel-plugin-component/README.md

+17-17
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44

55
This babel plugin does the following transform:
66

7-
- Global decorator transform:
8-
- Transform `@api` decorator to `publicProperties` and `publicMethods` static properties.
9-
- Transform `@wire` decorator to `wire` static property.
10-
- Transform `@track` decorator to `track` static property.
11-
- LWC component class sugar syntax:
12-
- Check for misspelled lifecycle hooks.
13-
- Import and inject `render` from a collocated template if a component class doesn't already implement a `render` method.
14-
- Optimization:
15-
- If the compiler inject the default template a component, it will also wire the template style to the component.
7+
- Global decorator transform:
8+
- Transform `@api` decorator to `publicProperties` and `publicMethods` static properties.
9+
- Transform `@wire` decorator to `wire` static property.
10+
- Transform `@track` decorator to `track` static property.
11+
- LWC component class sugar syntax:
12+
- Check for misspelled lifecycle hooks.
13+
- Import and inject `render` from a collocated template if a component class doesn't already implement a `render` method.
14+
- Optimization:
15+
- If the compiler inject the default template a component, it will also wire the template style to the component.
1616

1717
## Installation
1818

@@ -42,11 +42,11 @@ const { code } = babel.transformSync(source, {
4242

4343
## Options
4444

45-
- `name` (type: `string`, optional) - name of the component, e.g. `foo` in `x/foo`.
46-
- `namespace` (type: `string`, optional) - namepace of the component, e.g. `x` in `x/foo`.
47-
- `isExplicitImport` (type: `boolean`, optional) - true if this is an explicit import.
48-
- `dynamicImports` (type: `object`, optional) - see below:
49-
- `loader` (type: `string`, optional) - loader to use at runtime.
50-
- `strictSpecifier` (type: `boolean`, optional) - true if a strict specifier should be used.
51-
- `instrumentation` (type: `InstrumentationObject`, optional) - instrumentation object to gather metrics and non-error logs for internal use. See the `@lwc/errors` package for details on the interface.
52-
- `apiVersion` (type: `number`, optional) - API version to associate with the compiled component.
45+
- `name` (type: `string`, optional) - name of the component, e.g. `foo` in `x/foo`.
46+
- `namespace` (type: `string`, optional) - namepace of the component, e.g. `x` in `x/foo`.
47+
- `isExplicitImport` (type: `boolean`, optional) - true if this is an explicit import.
48+
- `dynamicImports` (type: `object`, optional) - see below:
49+
- `loader` (type: `string`, optional) - loader to use at runtime.
50+
- `strictSpecifier` (type: `boolean`, optional) - true if a strict specifier should be used.
51+
- `instrumentation` (type: `InstrumentationObject`, optional) - instrumentation object to gather metrics and non-error logs for internal use. See the `@lwc/errors` package for details on the interface.
52+
- `apiVersion` (type: `number`, optional) - API version to associate with the compiled component.

0 commit comments

Comments
 (0)