Skip to content

Commit

Permalink
chore: support installing from a Git repo
Browse files Browse the repository at this point in the history
  • Loading branch information
Nipheris committed Mar 27, 2024
1 parent b0dc8e8 commit 11714ad
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 7 deletions.
9 changes: 8 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
{
"name": "jewel-case",
"version": "0.0.0",
"exports": "./dist/index.mjs",
"bin": {
"jewelcase": "./dist/cli.mjs"
},
"devDependencies": {
"@jest/globals": "^29.3.1",
"@tsconfig/esm": "^1.0.2",
Expand All @@ -21,11 +27,12 @@
"typescript": "^5.0.4"
},
"engines": {
"node": "^18.13.0"
"node": ">=18.13.0"
},
"packageManager": "[email protected]",
"private": true,
"scripts": {
"prepare": "npm run src:build",
"jest": "jest",
"build": "pnpm src:build",
"lint": "pnpm lint:ec && pnpm lint:eslint .",
Expand Down
5 changes: 4 additions & 1 deletion tests/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"extends": "../tsconfig-base.json",
"include": ["**/*.mts"]
"include": ["**/*.mts"],
"compilerOptions": {
"moduleResolution": "node16"
}
}
1 change: 0 additions & 1 deletion tools/package.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ function generatePackage() {
function main() {
try {
generatePackage();
console.log('Successful compiled.');
} catch (err) {
console.error('FAIL:');
console.error(err);
Expand Down
5 changes: 1 addition & 4 deletions tsconfig-base.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,5 @@
"@tsconfig/node18/tsconfig.json",
"@tsconfig/strictest/tsconfig.json",
"@tsconfig/esm/tsconfig.json"
],
"compilerOptions": {
"moduleResolution": "node16"
}
]
}

0 comments on commit 11714ad

Please sign in to comment.