@code4rena/skeleton
Advanced tools
Comparing version
@@ -48,19 +48,19 @@ "use strict"; | ||
}), | ||
postinstall: "tap build", | ||
}, | ||
tap: { | ||
coverage: true, | ||
ts: true, | ||
}, | ||
types: "lib/index.d.ts", | ||
devDependencies: { | ||
"@tsconfig/node18": "^18.0.0", | ||
"@tsconfig/node20": "^20.0.0", | ||
"@types/node": "^18.0.0", | ||
"@types/tap": "^15.0.0", | ||
"@typescript-eslint/eslint-plugin": "^6.0.0", | ||
"@typescript-eslint/parser": "^6.0.0", | ||
"eslint": "^8.0.0", | ||
"tap": "^16.0.0", | ||
"tap": "^18.7.0", | ||
"ts-node": "^10.0.0", | ||
"typescript": "^5.0.0" | ||
}, | ||
removeDependencies: [ | ||
"@types/tap", | ||
"@tsconfig/node18" | ||
] | ||
}), | ||
@@ -67,0 +67,0 @@ "tsconfig.json": (0, code_skeleton_1.json)({ |
{ | ||
"name": "@code4rena/skeleton", | ||
"version": "1.2.1", | ||
"version": "2.0.0-0", | ||
"description": "", | ||
@@ -16,3 +16,4 @@ "main": "lib/index.js", | ||
"preskeleton:verify": "npm run prepack", | ||
"skeleton:verify": "code-skeleton verify" | ||
"skeleton:verify": "code-skeleton verify", | ||
"postinstall": "tap build" | ||
}, | ||
@@ -26,10 +27,14 @@ "keywords": [], | ||
"devDependencies": { | ||
"@tsconfig/node18": "^18.0.0", | ||
"@istanbuljs/esm-loader-hook": "^0.2.0", | ||
"@tapjs/esbuild-kit": "^1.1.19", | ||
"@tapjs/sinon": "^1.1.18", | ||
"@tapjs/tsx": "^1.1.19", | ||
"@tsconfig/node20": "^20.0.0", | ||
"@types/mustache": "^4.0.0", | ||
"@types/node": "^18.0.0", | ||
"@types/tap": "^15.0.0", | ||
"@types/sinon": "^17.0.3", | ||
"@typescript-eslint/eslint-plugin": "^6.0.0", | ||
"@typescript-eslint/parser": "^6.0.0", | ||
"eslint": "^8.0.0", | ||
"tap": "^16.0.0", | ||
"tap": "^18.7.0", | ||
"ts-node": "^10.0.0", | ||
@@ -59,7 +64,3 @@ "typescript": "5.2.2" | ||
"lib/content/**" | ||
], | ||
"tap": { | ||
"coverage": true, | ||
"ts": true | ||
} | ||
] | ||
} |
@@ -11,2 +11,12 @@ ## a `code-skeleton` config for code4rena usage | ||
**Important Note** on '@tsconfig/node18/tsconfig.json' not found, and Tap: | ||
There is currently an [issue](https://github.com/tapjs/tapjs/issues/976) in ts-node that causes a loading problem when combined with Tap.js. There is a [recommended](https://github.com/tapjs/tapjs/issues/976#issuecomment-1824784507) workaround for this. Once you update your skeleton, swap out these plugins: | ||
``` | ||
npx tap plugin add @tapjs/tsx | ||
npx tap plugin rm @tapjs/typescript | ||
``` | ||
### CI | ||
@@ -13,0 +23,0 @@ In your projects `package.json` you can set custom CI variables to extend the default workflow. The following configuration will add a Postgres service to the test job, as well as inject the `DOTENV_KEY` environment variables for dotenv vault usage. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
19028
3.36%53
23.26%14
40%2
100%1
Infinity%