Commit 69c9f2f
committed
Fix module version, switch to ncc
Having node_modules in the repo is problematic. For one thing,
dependabot updates dependencies in package.json, but the old versions of
modules are still there in node_modules.
To fix this, let's switch away from having node_modules in the repo to
using ncc, as they recommend in [1] and [2].
Fix package version in package.json while we're at it.
This commit is mostly auto-generated, the only manual edited files are
package.json and .gitignore. Here is the workflow (using npm 8.9.12):
$EDITOR package.json
$EDITOR .gitignore
git add .gitignore
git rm -rf node_modules
rm package-lock.json
npm i
npm i @actions/core # bump actions/core version
git add dist
git commit
NOTE that this also upgrades @actions/core to the latest 1.x release
(which is 1.10.x at the moment), which probably fixes the issue of GHA
warning about the use of deprecated set-output command. This happens
because ^1.0.9 means "latest 1.x" in npm.
[1] https://github.com/actions/javascript-action/tree/main
[2] https://docs.github.com/en/actions/creating-actions/creating-a-javascript-action
Signed-off-by: Kir Kolyshkin <[email protected]>1 parent 3efc138 commit 69c9f2f
File tree
546 files changed
+32108
-212321
lines changed- dist
- node_modules
- .bin
- @actions
- core
- lib
- github
- lib
- http-client
- @octokit
- auth-token
- dist-node
- dist-src
- dist-types
- dist-web
- endpoint
- dist-node
- dist-src
- util
- dist-types
- util
- dist-web
- node_modules/universal-user-agent
- dist-node
- dist-src
- dist-types
- dist-web
- graphql
- dist-node
- dist-src
- dist-types
- dist-web
- plugin-paginate-rest
- dist-node
- dist-src
- dist-types
- dist-web
- plugin-request-log
- dist-node
- dist-src
- dist-types
- dist-web
- plugin-rest-endpoint-methods
- dist-node
- dist-src
- generated
- dist-types
- generated
- dist-web
- request-error
- dist-node
- dist-src
- dist-types
- dist-web
- request
- dist-node
- dist-src
- dist-types
- dist-web
- node_modules/universal-user-agent
- dist-node
- dist-src
- dist-types
- dist-web
- rest
- lib
- node_modules/@octokit/request-error
- dist-node
- dist-src
- dist-types
- dist-web
- plugins
- authentication-deprecated
- authentication
- pagination
- validate
- types
- src
- generated
- @types/node
- ts3.2
- ts3.5
- ts3.7
- atob-lite
- before-after-hook
- lib
- btoa-lite
- cross-spawn
- lib
- util
- deprecation
- dist-node
- dist-src
- dist-types
- dist-web
- end-of-stream
- execa
- lib
- get-stream
- is-plain-object
- is-stream
- isexe
- test
- isobject
- lodash.get
- lodash.set
- lodash.uniq
- macos-release
- nice-try
- src
- node-fetch
- lib
- npm-run-path
- octokit-pagination-methods
- lib
- once
- os-name
- p-finally
- path-key
- pump
- semver
- bin
- shebang-command
- shebang-regex
- signal-exit
- strip-eof
- tunnel
- .idea
- lib
- universal-user-agent
- dist-node
- dist-src
- dist-types
- dist-web
- which
- bin
- windows-release
- wrappy
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
546 files changed
+32108
-212321
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
0 commit comments