-
Notifications
You must be signed in to change notification settings - Fork 397
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bd7a8b5
commit 3204be7
Showing
56 changed files
with
1,196 additions
and
1,093 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,44 +25,44 @@ | |
"release:version": "./scripts/release/version.js" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.19.1", | ||
"@babel/preset-env": "^7.19.1", | ||
"@commitlint/cli": "^17.1.2", | ||
"@babel/core": "^7.20.2", | ||
"@babel/preset-env": "^7.20.2", | ||
"@commitlint/cli": "^17.2.0", | ||
"@lwc/eslint-plugin-lwc-internal": "link:./scripts/eslint-plugin", | ||
"@lwc/jest-utils-lwc-internals": "link:./scripts/jest/utils", | ||
"@rollup/plugin-node-resolve": "^14.1.0", | ||
"@rollup/plugin-replace": "^4.0.0", | ||
"@rollup/plugin-typescript": "^8.5.0", | ||
"@types/babel__core": "^7.1.19", | ||
"@types/babel__core": "^7.1.20", | ||
"@types/glob": "^8.0.0", | ||
"@types/jest": "^29.0.3", | ||
"@types/node": "^18.7.18", | ||
"@typescript-eslint/eslint-plugin": "^5.37.0", | ||
"@typescript-eslint/parser": "^5.37.0", | ||
"@types/jest": "^29.2.2", | ||
"@types/node": "^18.11.9", | ||
"@typescript-eslint/eslint-plugin": "^5.42.1", | ||
"@typescript-eslint/parser": "^5.42.1", | ||
"babel-plugin-tester": "^10.1.0", | ||
"bundlesize": "^0.18.1", | ||
"es5-proxy-compat": "^0.22.4", | ||
"eslint": "^8.23.1", | ||
"eslint": "^8.27.0", | ||
"eslint-plugin-import": "^2.26.0", | ||
"eslint-plugin-jest": "^27.0.4", | ||
"eslint-plugin-jest": "^27.1.4", | ||
"execa": "^6.1.0", | ||
"fs-extra": "^10.1.0", | ||
"glob": "^8.0.3", | ||
"husky": "^8.0.1", | ||
"husky": "^8.0.2", | ||
"is-ci": "^3.0.1", | ||
"isbinaryfile": "^5.0.0", | ||
"jest": "^29.0.3", | ||
"jest-environment-jsdom": "^29.0.3", | ||
"jest": "^29.3.0", | ||
"jest-environment-jsdom": "^29.3.0", | ||
"lint-staged": "^13.0.3", | ||
"nx": "14.7.6", | ||
"prettier": "^2.7.1", | ||
"rollup": "^2.79.0", | ||
"rollup-plugin-compat": "^0.22.4", | ||
"terser": "^5.15.0", | ||
"ts-jest": "^29.0.1", | ||
"tslib": "^2.4.0", | ||
"typescript": "4.8.3", | ||
"workerpool": "^6.2.0" | ||
"terser": "^5.15.1", | ||
"ts-jest": "^29.0.3", | ||
"tslib": "^2.4.1", | ||
"typescript": "4.8.4", | ||
"workerpool": "^6.3.1" | ||
}, | ||
"lint-staged": { | ||
"**/*.{js,mjs,ts}": "eslint", | ||
|
@@ -82,10 +82,8 @@ | |
}, | ||
"resolutions": { | ||
"//": [ | ||
"jasmine-core: Freezing jasmine version used in Karma test suite. jasmine-core@4 drops support for IE11.", | ||
"iltorb: Native module used by bundlesize which slows down yarn install and may fail on some envs. Not needed." | ||
"jasmine-core: Freezing jasmine version used in Karma test suite. jasmine-core@4 drops support for IE11." | ||
], | ||
"jasmine-core": "3.10.1", | ||
"iltorb": "npm:@stdlib/[email protected]" | ||
"jasmine-core": "3.10.1" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 0 additions & 3 deletions
3
..._tests__/fixtures/api-decorator/does-not-throw-error-if-property-name-is-data/expected.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,15 @@ | ||
import { registerDecorators as _registerDecorators, registerComponent as _registerComponent } from "lwc"; | ||
import _tmpl from "./test.html"; | ||
|
||
class Test { | ||
data; | ||
} | ||
|
||
_registerDecorators(Test, { | ||
publicProps: { | ||
data: { | ||
config: 0 | ||
} | ||
} | ||
}); | ||
|
||
export default _registerComponent(Test, { | ||
tmpl: _tmpl | ||
}); |
3 changes: 0 additions & 3 deletions
3
...s__/fixtures/api-decorator/does-not-throw-if-property-name-prefixed-with-aria/expected.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,15 @@ | ||
import { registerDecorators as _registerDecorators, registerComponent as _registerComponent } from "lwc"; | ||
import _tmpl from "./test.html"; | ||
|
||
class Test { | ||
ariaDescribedBy; | ||
} | ||
|
||
_registerDecorators(Test, { | ||
publicProps: { | ||
ariaDescribedBy: { | ||
config: 0 | ||
} | ||
} | ||
}); | ||
|
||
export default _registerComponent(Test, { | ||
tmpl: _tmpl | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 0 additions & 4 deletions
4
...ugin-component/src/__tests__/fixtures/api-decorator/transforms-public-getters/expected.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,17 @@ | ||
import { registerDecorators as _registerDecorators, registerComponent as _registerComponent } from "lwc"; | ||
import _tmpl from "./test.html"; | ||
|
||
class Test { | ||
get publicGetter() { | ||
return 1; | ||
} | ||
|
||
} | ||
|
||
_registerDecorators(Test, { | ||
publicProps: { | ||
publicGetter: { | ||
config: 1 | ||
} | ||
} | ||
}); | ||
|
||
export default _registerComponent(Test, { | ||
tmpl: _tmpl | ||
}); |
4 changes: 0 additions & 4 deletions
4
...ugin-component/src/__tests__/fixtures/api-decorator/transforms-public-methods/expected.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,11 @@ | ||
import { registerDecorators as _registerDecorators, registerComponent as _registerComponent } from "lwc"; | ||
import _tmpl from "./test.html"; | ||
|
||
class Test { | ||
foo() {} | ||
|
||
} | ||
|
||
_registerDecorators(Test, { | ||
publicMethods: ["foo"] | ||
}); | ||
|
||
export default _registerComponent(Test, { | ||
tmpl: _tmpl | ||
}); |
3 changes: 0 additions & 3 deletions
3
...plugin-component/src/__tests__/fixtures/api-decorator/transforms-public-props/expected.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,15 @@ | ||
import { registerDecorators as _registerDecorators, registerComponent as _registerComponent } from "lwc"; | ||
import _tmpl from "./test.html"; | ||
|
||
class Test { | ||
test = 1; | ||
} | ||
|
||
_registerDecorators(Test, { | ||
publicProps: { | ||
test: { | ||
config: 0 | ||
} | ||
} | ||
}); | ||
|
||
export default _registerComponent(Test, { | ||
tmpl: _tmpl | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 0 additions & 6 deletions
6
...fixtures/api-decorator/w-9927596-public-property-with-duplicate-getter-setter/expected.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,17 @@ | ||
import { registerDecorators as _registerDecorators, registerComponent as _registerComponent } from "lwc"; | ||
import _tmpl from "./test.html"; | ||
|
||
class Text { | ||
foo = 1; | ||
|
||
get foo() {} | ||
|
||
set foo(value) {} | ||
|
||
} | ||
|
||
_registerDecorators(Text, { | ||
publicProps: { | ||
foo: { | ||
config: 0 | ||
} | ||
} | ||
}); | ||
|
||
export default _registerComponent(Text, { | ||
tmpl: _tmpl | ||
}); |
Oops, something went wrong.