-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into jonjanego-patch-1
- Loading branch information
Showing
31 changed files
with
2,284 additions
and
6,549 deletions.
There are no files selected for viewing
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
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 was deleted.
Oops, something went wrong.
This file was deleted.
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
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,31 @@ | ||
{ | ||
"$schema": "node_modules/@biomejs/biome/configuration_schema.json", | ||
"files": { | ||
"ignoreUnknown": true | ||
}, | ||
"formatter": { | ||
"enabled": true, | ||
"indentStyle": "space" | ||
}, | ||
"javascript": { | ||
"formatter": { | ||
"quoteStyle": "single", | ||
"semicolons": "asNeeded", | ||
"trailingComma": "none" | ||
} | ||
}, | ||
"linter": { | ||
"enabled": true, | ||
"rules": { | ||
"recommended": true | ||
} | ||
}, | ||
"organizeImports": { | ||
"enabled": true | ||
}, | ||
"vcs": { | ||
"clientKind": "git", | ||
"enabled": true, | ||
"useIgnoreFile": 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
import { main } from './npm-detector' | ||
import { main } from './npm-detector.js' | ||
|
||
main() |
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
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,27 +1,23 @@ | ||
{ | ||
"name": "@github/npm-dependency-submission-example", | ||
"version": "1.0.0", | ||
"private": true, | ||
"description": "[UNPUBLISHED PACKAGE!] Example using the Dependency Submission Toolkit and npm list", | ||
"main": "index.ts", | ||
"dependencies": { | ||
"@github/dependency-submission-toolkit": "file:../", | ||
"packageurl-js": "^0.0.6" | ||
}, | ||
"type": "module", | ||
"scripts": { | ||
"build": "tsc", | ||
"test": "jest", | ||
"test:watch": "jest --watch", | ||
"package": "ncc build --source-map --license licenses.txt --out action-dist", | ||
"all": "npm run test && npm run build && npm run package" | ||
"all": "npm run type-check && npm run build && npm run test", | ||
"build": "ncc build index.ts --source-map --license=LICENSE.txt --out dist", | ||
"test": "vitest run", | ||
"test:watch": "vitest watch", | ||
"type-check": "tsc" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/github/dependency-submission-toolkit.git" | ||
}, | ||
"author": "", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/github/dependency-submission-toolkit/issues" | ||
"dependencies": { | ||
"@github/dependency-submission-toolkit": "file:../", | ||
"packageurl-js": "^1.2.1" | ||
}, | ||
"homepage": "https://github.com/github/dependency-submission-toolkit#readme" | ||
"devDependencies": { | ||
"@tsconfig/strictest": "^2.0.2", | ||
"@vercel/ncc": "^0.38.1", | ||
"typescript": "^5.3.3", | ||
"vitest": "^1.1.3" | ||
} | ||
} |
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,19 +1,11 @@ | ||
{ | ||
"compilerOptions": { | ||
"target": "es6", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */ | ||
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */ | ||
"outDir": "./dist", /* Redirect output structure to the directory. */ | ||
"strict": true, /* Enable all strict type-checking options. */ | ||
"noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */ | ||
"esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ | ||
"skipLibCheck": true, | ||
"sourceMap": true, | ||
"paths": { | ||
"@github/dependency-submission-toolkit": ["../src"] | ||
} | ||
"isolatedModules": true, | ||
"module": "ESNext", | ||
"moduleDetection": "force", | ||
"moduleResolution": "Bundler", | ||
"noEmit": true | ||
}, | ||
"exclude": [ | ||
"dist", | ||
"*.test.ts" | ||
] | ||
"exclude": ["dist", "node_modules"], | ||
"extends": "@tsconfig/strictest/tsconfig.json" | ||
} |
Oops, something went wrong.