Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update html/js libraries via npm #1993

Merged
merged 5 commits into from Jun 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
24 changes: 24 additions & 0 deletions .github/workflows/npm-updates.yml
@@ -0,0 +1,24 @@
name: Npm Updates

on:
pull_request:
paths:
- 'package.json'

jobs:
npm_update:
runs-on: ubuntu-20.04

steps:
- name: checkout actions
uses: actions/checkout@v2
- name: Use Node.js 16
uses: actions/setup-node@v1
with:
node-version: 16.x
- name: Npm update
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This Github Action will run npm and autocommit the changes.

run: |
npm update --omit=dev --ignore-scripts
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: npm updates
3 changes: 0 additions & 3 deletions .gitmodules
Expand Up @@ -4,6 +4,3 @@
[submodule "submodules/privacy-grade"]
path = submodules/privacy-grade
url = https://github.com/duckduckgo/privacy-grade
[submodule "submodules/autofill"]
path = submodules/autofill
url = https://github.com/duckduckgo/duckduckgo-autofill
2 changes: 1 addition & 1 deletion app/build.gradle
Expand Up @@ -36,7 +36,7 @@ android {
main {
java {
resources {
srcDirs += files("$projectDir/../submodules/autofill/dist/".toString())
srcDirs += files("$projectDir/../node_modules/@duckduckgo/autofill/dist/".toString())
srcDirs += files("$projectDir/../submodules/".toString())
}
}
Expand Down
38 changes: 38 additions & 0 deletions node_modules/.package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 27 additions & 0 deletions node_modules/@duckduckgo/autofill/.eslintrc

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions node_modules/@duckduckgo/autofill/.gitattributes

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions node_modules/@duckduckgo/autofill/.github/dependabot.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

42 changes: 42 additions & 0 deletions node_modules/@duckduckgo/autofill/.github/workflows/tests.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/@duckduckgo/autofill/.nvmrc

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

110 changes: 110 additions & 0 deletions node_modules/@duckduckgo/autofill/Gruntfile.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.