mirror of
https://github.com/LukeHagar/stats-action.git
synced 2025-12-06 04:21:26 +00:00
Adjusted build steps
This commit is contained in:
4
.gitignore
vendored
4
.gitignore
vendored
@@ -1,3 +1,3 @@
|
||||
node_modules
|
||||
.env
|
||||
|
||||
lib
|
||||
.env
|
||||
@@ -2,4 +2,4 @@ name: "profile-stats"
|
||||
description: "retrieve github profile stats and save locally to repo for further processing"
|
||||
runs:
|
||||
using: "node20"
|
||||
main: "./build/index.js"
|
||||
main: "./dist/index.js"
|
||||
|
||||
45367
dist/index.js
vendored
Normal file
45367
dist/index.js
vendored
Normal file
File diff suppressed because one or more lines are too long
3
dist/package.json
vendored
Normal file
3
dist/package.json
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"type": "module"
|
||||
}
|
||||
@@ -7,14 +7,14 @@
|
||||
"@actions/github": "^6.0.0",
|
||||
"@octokit/action": "^6.0.7",
|
||||
"@octokit/plugin-paginate-graphql": "^4.0.0",
|
||||
"@vercel/ncc": "^0.38.1",
|
||||
"dotenv": "^16.4.5",
|
||||
"octokit": "^3.1.2",
|
||||
"typescript": "^5.3.3",
|
||||
"vite": "^5.1.4"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "vite build && node ./build/dist/github-profile-stats.js",
|
||||
"build": "vite build"
|
||||
"build": "tsc && ncc build lib/index.js"
|
||||
},
|
||||
"type": "module",
|
||||
"devDependencies": {
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"rootDir": "src",
|
||||
"outDir": "./build",
|
||||
"outDir": "lib",
|
||||
"paths": {
|
||||
"@/*": ["./src/*"],
|
||||
"@@/*": ["./*"],
|
||||
"@@/*": ["./*"]
|
||||
},
|
||||
"target": "ESNext",
|
||||
"useDefineForClassFields": true,
|
||||
@@ -19,8 +19,8 @@
|
||||
"noUnusedParameters": true,
|
||||
"noImplicitReturns": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"types": ["node"],
|
||||
"types": ["node"]
|
||||
},
|
||||
"include": ["src"],
|
||||
"exclude": ["**/*.test.ts", "node_modules", "test/**", ".history/**"],
|
||||
"exclude": ["**/*.test.ts", "node_modules", "test/**", ".history/**"]
|
||||
}
|
||||
|
||||
@@ -485,6 +485,11 @@
|
||||
dependencies:
|
||||
undici-types "~5.26.4"
|
||||
|
||||
"@vercel/ncc@^0.38.1":
|
||||
version "0.38.1"
|
||||
resolved "https://registry.yarnpkg.com/@vercel/ncc/-/ncc-0.38.1.tgz#13f08738111e1d9e8a22fd6141f3590e54d9a60e"
|
||||
integrity sha512-IBBb+iI2NLu4VQn3Vwldyi2QwaXt5+hTyh58ggAMoCGE6DJmPvwL3KPBWcJl1m9LYPChBLE980Jw+CS4Wokqxw==
|
||||
|
||||
aggregate-error@^3.1.0:
|
||||
version "3.1.0"
|
||||
resolved "https://registry.yarnpkg.com/aggregate-error/-/aggregate-error-3.1.0.tgz#92670ff50f5359bdb7a3e0d40d0ec30c5737687a"
|
||||
|
||||
Reference in New Issue
Block a user