-
Notifications
You must be signed in to change notification settings - Fork 13
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
08ff837
commit abd8583
Showing
13 changed files
with
458 additions
and
188 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 |
---|---|---|
@@ -1,3 +1,13 @@ | ||
{ | ||
"extends": ["@salesforce/eslint-config-lwc/recommended"] | ||
} | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"sourceType": "module" | ||
}, | ||
|
||
"plugins": ["jest", "@typescript-eslint", "import"], | ||
"extends": ["eslint:recommended", "plugin:@typescript-eslint/eslint-recommended"], | ||
"rules": { | ||
"no-unused-vars": "off", | ||
"@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "^_" }] | ||
} | ||
} |
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,6 +1,6 @@ | ||
*.log | ||
.DS_Store | ||
dist/*.js | ||
dist | ||
node_modules | ||
coverage | ||
.vscode |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"printWidth": 100, | ||
"singleQuote": true, | ||
"tabWidth": 4 | ||
} |
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,65 +1,73 @@ | ||
{ | ||
"name": "@salesforce/wire-service-jest-util", | ||
"version": "4.0.2", | ||
"description": "Utility library emit test data through @wire adapters in Lightning web component tests", | ||
"license": "MIT", | ||
"main": "dist/wire-service-jest-util.common.js", | ||
"module": "dist/wire-service-jest-util.es.js", | ||
"files": [ | ||
"dist/*" | ||
], | ||
"scripts": { | ||
"prepare": "yarn build", | ||
"check-license-headers": "node ./scripts/checkLicenseHeaders.js", | ||
"clean": "rimraf dist node_modules", | ||
"lint": "eslint src", | ||
"build": "rollup -c ./rollup.config.mjs", | ||
"test": "jest --coverage", | ||
"release:version": "npm version", | ||
"release:publish": "npm publish --access public --registry=https://registry.npmjs.org", | ||
"release:publish:ci": "node ./scripts/release/publish.js" | ||
}, | ||
"keywords": [ | ||
"lwc", | ||
"wire-service", | ||
"@wire", | ||
"jest", | ||
"testing" | ||
], | ||
"repository": "https://github.com/salesforce/wire-service-jest-util", | ||
"peerDependencies": { | ||
"@lwc/engine-dom": ">=2.0.0" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.22.10", | ||
"@babel/plugin-proposal-class-properties": "^7.18.6", | ||
"@lwc/compiler": "^3.1.3", | ||
"@lwc/engine-dom": "^3.1.3", | ||
"@lwc/eslint-plugin-lwc": "^1.6.3", | ||
"@lwc/jest-preset": "^13.0.0", | ||
"@lwc/synthetic-shadow": "^3.1.3", | ||
"@rollup/plugin-babel": "^6.0.3", | ||
"@salesforce/eslint-config-lwc": "^3.5.2", | ||
"@salesforce/eslint-plugin-lightning": "^1.0.0", | ||
"eslint": "^8.46.0", | ||
"eslint-plugin-import": "^2.28.0", | ||
"eslint-plugin-jest": "^27.2.3", | ||
"isbinaryfile": "^5.0.0", | ||
"jest": "^29.6.2", | ||
"jest-environment-jsdom": "^29.6.2", | ||
"rimraf": "^5.0.1", | ||
"rollup": "^3.28.0" | ||
}, | ||
"lwc": { | ||
"modules": [ | ||
{ | ||
"name": "wire-service-jest-util", | ||
"path": "dist/wire-service-jest-util.es.js" | ||
} | ||
] | ||
}, | ||
"volta": { | ||
"node": "18.18.0", | ||
"yarn": "1.22.19" | ||
} | ||
"name": "@salesforce/wire-service-jest-util", | ||
"version": "4.0.2", | ||
"description": "Utility library emit test data through @wire adapters in Lightning web component tests", | ||
"license": "MIT", | ||
"main": "dist/wire-service-jest-util.common.js", | ||
"module": "dist/wire-service-jest-util.es.js", | ||
"files": [ | ||
"dist/*", | ||
"types.d.ts" | ||
], | ||
"types": "dist/dts/index.d.ts", | ||
"scripts": { | ||
"prepare": "yarn build", | ||
"check-license-headers": "node ./scripts/checkLicenseHeaders.js", | ||
"clean": "rimraf dist node_modules", | ||
"lint": "eslint src", | ||
"build": "rollup -c ./rollup.config.mjs", | ||
"test": "jest --coverage", | ||
"release:version": "npm version", | ||
"release:publish": "npm publish --access public --registry=https://registry.npmjs.org", | ||
"release:publish:ci": "node ./scripts/release/publish.js" | ||
}, | ||
"keywords": [ | ||
"lwc", | ||
"wire-service", | ||
"@wire", | ||
"jest", | ||
"testing" | ||
], | ||
"repository": "https://github.com/salesforce/wire-service-jest-util", | ||
"peerDependencies": { | ||
"@lwc/engine-dom": ">=2.0.0" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.22.10", | ||
"@babel/plugin-proposal-class-properties": "^7.18.6", | ||
"@lwc/compiler": "^3.1.3", | ||
"@lwc/engine-dom": "^3.1.3", | ||
"@lwc/eslint-plugin-lwc": "^1.6.3", | ||
"@lwc/jest-preset": "^13.0.0", | ||
"@lwc/synthetic-shadow": "^3.1.3", | ||
"@rollup/plugin-babel": "^6.0.3", | ||
"@rollup/plugin-typescript": "^11.1.5", | ||
"eslint": "^8.46.0", | ||
"eslint-plugin-import": "^2.28.0", | ||
"eslint-plugin-jest": "^27.2.3", | ||
"isbinaryfile": "^5.0.0", | ||
"jest": "^29.6.2", | ||
"jest-environment-jsdom": "^29.6.2", | ||
"rimraf": "^5.0.1", | ||
"rollup": "^3.28.0", | ||
"tslib": "^2.6.2", | ||
"typescript": "^5.2.2" | ||
}, | ||
"lwc": { | ||
"modules": [ | ||
{ | ||
"name": "wire-service-jest-util", | ||
"path": "dist/wire-service-jest-util.es.js" | ||
} | ||
] | ||
}, | ||
"volta": { | ||
"node": "18.18.0", | ||
"yarn": "1.22.19" | ||
}, | ||
"dependencies": { | ||
"@types/jest": "^29.5.6", | ||
"@typescript-eslint/eslint-plugin": "^6.8.0", | ||
"@typescript-eslint/parser": "^6.8.0" | ||
} | ||
} |
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
Oops, something went wrong.