Compare commits

...

2 Commits

Author SHA1 Message Date
Sean Goedecke 0479ac822e Merge pull request #57 from actions/sgoedecke/package-pkce-lib-properly
Ensure pkce-challenge is bundled in dist instead of treated as external
2025-07-16 17:24:39 +10:00
Sean Goedecke 5a874b9aa1 Ensure pkce-challenge is bundled in dist instead of treated as external 2025-07-16 07:12:45 +00:00
3 changed files with 149 additions and 27305 deletions
Generated Vendored
+133 -27301
View File
File diff suppressed because one or more lines are too long
Generated Vendored
+1 -1
View File
File diff suppressed because one or more lines are too long
+15 -3
View File
@@ -1,5 +1,5 @@
// See: https://rollupjs.org/introduction/
import { builtinModules } from 'node:module'
import commonjs from '@rollup/plugin-commonjs'
import nodeResolve from '@rollup/plugin-node-resolve'
import typescript from '@rollup/plugin-typescript'
@@ -13,10 +13,22 @@ const config = {
format: 'es',
sourcemap: true
},
external: [
...builtinModules,
/^node:/,
'@actions/core',
'@actions/github' // Those are preinstalled on the runner
],
plugins: [
typescript(),
nodeResolve({ preferBuiltins: true }),
commonjs(),
nodeResolve({
preferBuiltins: true,
browser: false,
exportConditions: ['node']
}),
commonjs({
include: /node_modules/
}),
json()
]
}