Skip to content

Commit 8ecd8a5

Browse files
author
Taner Aydin
committed
Remove/Replace remaining yarn occurences
1 parent 6bbcf06 commit 8ecd8a5

File tree

5 files changed

+10
-16308
lines changed

5 files changed

+10
-16308
lines changed

.gitignore

+1-3
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ Desktop.ini
2626
# Misc
2727
.env*
2828
npm-debug.log*
29-
yarn-debug.log*
30-
yarn-error.log*
3129

3230
# Cordova iOS
3331
/platforms/ios/build/
@@ -89,4 +87,4 @@ retranslate/rewrite-pos/dist-rewrite-pos.js
8987
/Preview.html
9088
.next
9189
env/*
92-
!env/.gitkeep
90+
!env/.gitkeep

.npmignore

-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ Desktop.ini
2525
# Misc
2626
.env*
2727
npm-debug.log*
28-
yarn-debug.log*
29-
yarn-error.log*
3028

3129
# Cordova iOS
3230
/platforms/ios/build/

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Prepare the environment
1313
cp .env.test .env.development
1414

1515
# npm dependencies
16-
yarn install
16+
npm install
1717

1818
# fastlane dependencies
1919
bundle install
@@ -42,7 +42,7 @@ The web server serves the app as static page, running on the same domain as the
4242
You have to convert SVG graphics to React JS components, e.g. with…
4343

4444
```bash
45-
yarn compile-svgs
45+
npm run compile-svgs
4646
```
4747

4848
Check `package.json`, it defines more scripts that can speed up this task.
@@ -54,7 +54,7 @@ To deploy the web application:
5454
- ask the backend maintainers to include your public SSH key in the authorized deployment keys
5555
- Add hostnames for the staging/production systems to your `/etc/hosts`
5656
- Log in once on the staging/production server
57-
- Deploy the application with `yarn deploy-staging` or `yarn deploy-production`.
57+
- Deploy the application with `npm run deploy-staging` or `npm run deploy-production`.
5858

5959

6060
## Embed/Widget Mode of Wheelmap

retranslate/run.sh

+6-6
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
export NEW_SOURCE_PO=${NEW_SOURCE_PO:-'./public/i18n/en_US.txt'}
33
export NODE_ENV=development
44

5-
# ensure i18n & src folder are clean
5+
# ensure i18n & src folder are clean
66
if [ -n "$(git status --porcelain src public/i18n)" ]
77
then
88
echo "Your repo must be clean. Exiting."
99
exit 1
1010
fi
1111

1212
# build plugin
13-
yarn run babel \
13+
npm run babel \
1414
-f retranslate/babel-plugin-retranslate/.babelrc \
1515
retranslate/babel-plugin-retranslate/src/plugin.js \
1616
-o retranslate/babel-plugin-retranslate/dist-plugin.js
@@ -19,7 +19,7 @@ yarn run babel \
1919
mv retranslate/.babelrc .babelrc
2020

2121
# run plugin on test
22-
yarn run babel \
22+
npm run babel \
2323
-f .babelrc \
2424
src \
2525
--out-dir src
@@ -29,13 +29,13 @@ mv .babelrc retranslate/.babelrc
2929

3030

3131
# build rewrite script
32-
yarn run babel \
32+
npm run babel \
3333
-f retranslate/rewrite-pos/.babelrc \
3434
retranslate/rewrite-pos/rewrite-pos.js \
3535
-o retranslate/rewrite-pos/dist-rewrite-pos.js
3636

3737
# run script
38-
yarn node retranslate/rewrite-pos/dist-rewrite-pos.js
38+
node retranslate/rewrite-pos/dist-rewrite-pos.js
3939

4040
# ignore all changes on non c-3po files
41-
ag -L "ttag" src | (xargs git checkout -- || true)
41+
ag -L "ttag" src | (xargs git checkout -- || true)

0 commit comments

Comments
 (0)