Skip to content

Commit afd2dce

Browse files
JustinBeckwithalexander-fenster
authored andcommitted
chore: ignore package-lock.json (#93)
* chore: ignore package-log.json * remove locky * renovateeee
1 parent 296acfb commit afd2dce

File tree

4 files changed

+2
-13442
lines changed

4 files changed

+2
-13442
lines changed

packages/google-cloud-language/.circleci/config.yml

+1-16
Original file line numberDiff line numberDiff line change
@@ -59,18 +59,7 @@ jobs:
5959
- image: 'node:6'
6060
user: node
6161
steps: &unit_tests_steps
62-
- checkout
63-
- run: &remove_package_lock
64-
name: Remove package-lock.json if needed.
65-
command: |
66-
WORKFLOW_NAME=`python .circleci/get_workflow_name.py`
67-
echo "Workflow name: $WORKFLOW_NAME"
68-
if [ "$WORKFLOW_NAME" = "nightly" ]; then
69-
echo "Nightly build detected, removing package-lock.json."
70-
rm -f package-lock.json samples/package-lock.json
71-
else
72-
echo "Not a nightly build, skipping this step."
73-
fi
62+
- checkout
7463
- run: &npm_install_and_link
7564
name: Install and link the module
7665
command: |-
@@ -97,7 +86,6 @@ jobs:
9786
user: node
9887
steps:
9988
- checkout
100-
- run: *remove_package_lock
10189
- run: *npm_install_and_link
10290
- run: &samples_npm_install_and_link
10391
name: Link the module being tested to the samples.
@@ -118,7 +106,6 @@ jobs:
118106
user: node
119107
steps:
120108
- checkout
121-
- run: *remove_package_lock
122109
- run: *npm_install_and_link
123110
- run:
124111
name: Build documentation.
@@ -129,7 +116,6 @@ jobs:
129116
user: node
130117
steps:
131118
- checkout
132-
- run: *remove_package_lock
133119
- run:
134120
name: Decrypt credentials.
135121
command: |
@@ -156,7 +142,6 @@ jobs:
156142
user: node
157143
steps:
158144
- checkout
159-
- run: *remove_package_lock
160145
- run:
161146
name: Decrypt credentials.
162147
command: |

packages/google-cloud-language/.circleci/get_workflow_name.py

-67
This file was deleted.

packages/google-cloud-language/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ out/
77
system-test/secrets.js
88
system-test/*key.json
99
*.lock
10+
package-lock.json

0 commit comments

Comments
 (0)