-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Experiment with ESM module, failed miserably. Fallback everything to CJS.
- Loading branch information
Showing
13 changed files
with
49,417 additions
and
69,077 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
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,9 @@ | ||
export default { | ||
clearMocks: true, | ||
moduleFileExtensions: ["js", "ts"], | ||
testMatch: ["**/*.test.ts"], | ||
transform: { | ||
"^.+\\.ts$": "ts-jest" | ||
}, | ||
verbose: true | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@plasmo/bpp", | ||
"version": "0.0.0", | ||
"version": "1.0.0", | ||
"private": true, | ||
"description": "Browser Plugin Publisher", | ||
"main": "lib/main.js", | ||
|
@@ -9,7 +9,8 @@ | |
"format": "prettier --write **/*.ts", | ||
"format-check": "prettier --check **/*.ts", | ||
"lint": "eslint src/**/*.ts", | ||
"package": "ncc build --license licenses.txt", | ||
"package": "esbuild lib/main.js --platform=node --bundle --outfile=dist/index.js", | ||
"#package-ncc": "ncc build --license license.txt", | ||
"test": "jest", | ||
"all": "npm run build && npm run format && npm run lint && npm run package && npm test" | ||
}, | ||
|
@@ -27,23 +28,24 @@ | |
"author": "Plasmo Corp. <[email protected]>", | ||
"license": "ISC", | ||
"dependencies": { | ||
"@actions/core": "^1.6.0" | ||
"@actions/core": "^1.6.0", | ||
"@plasmo-corp/web-ext-deploy": "^0.9.0" | ||
}, | ||
"devDependencies": { | ||
"@jest/globals": "^27.5.1", | ||
"@types/node": "^17.0.16", | ||
"@typescript-eslint/eslint-plugin": "^5.11.0", | ||
"@typescript-eslint/parser": "^5.11.0", | ||
"@vercel/ncc": "^0.33.1", | ||
"eslint": "^8.8.0", | ||
"@types/node": "^17.0.18", | ||
"@typescript-eslint/eslint-plugin": "^5.12.0", | ||
"@typescript-eslint/parser": "^5.12.0", | ||
"@vercel/ncc": "^0.33.3", | ||
"esbuild": "^0.14.22", | ||
"eslint": "^8.9.0", | ||
"eslint-config-prettier": "^8.3.0", | ||
"eslint-plugin-jest": "^26.1.0", | ||
"eslint-plugin-jest": "^26.1.1", | ||
"eslint-plugin-prettier": "^4.0.0", | ||
"jest": "^27.5.1", | ||
"js-yaml": "^4.1.0", | ||
"prettier": "2.5.1", | ||
"ts-jest": "^27.1.3", | ||
"typescript": "^4.5.5", | ||
"web-ext-deploy": "^0.7.14" | ||
"typescript": "4.5.5" | ||
} | ||
} |
Oops, something went wrong.