Skip to content

Commit 9f7dbb4

Browse files
committed
ignore e2e package.json and yarn.lock
1 parent cc395ed commit 9f7dbb4

File tree

4 files changed

+8
-28
lines changed

4 files changed

+8
-28
lines changed

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,8 @@ node_modules
44
coverage.lcov
55
coverage
66
.DS_Store
7-
dist*
7+
dist*
8+
tests/e2e/node-js/package.json
9+
tests/e2e/node-js/yarn.lock
10+
tests/e2e/typescript/package.json
11+
tests/e2e/typescript/yarn.lock

test-e2e.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
npm pack
22
cd tests/e2e/node-js
3-
yarn install
3+
yarn init --yes
44
echo "Installing local bundle from TAR in NodeJS project"
55
yarn add ../../../imagekit*.tgz
66
node index.js;test_result=$?
@@ -11,7 +11,8 @@ fi
1111
echo "Final bundle working in NodeJS project"
1212

1313
cd ../typescript
14-
yarn install
14+
yarn init --yes
15+
yarn add typescript --dev
1516
echo "Installing local bundle from TAR in Typescript project"
1617
yarn add ../../../imagekit*.tgz
1718
npx tsc && node index.js;test_result=$?

tests/e2e/node-js/package.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

tests/e2e/typescript/package.json

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)