File tree Expand file tree Collapse file tree 6 files changed +19739
-14125
lines changed Expand file tree Collapse file tree 6 files changed +19739
-14125
lines changed Original file line number Diff line number Diff line change 1
1
node_modules
2
- package-lock.json
3
2
composer.phar
4
3
composer.lock
5
4
.env. * .php
Original file line number Diff line number Diff line change 7
7
- " 12"
8
8
9
9
dist : xenial
10
- cache : yarn
10
+ cache : npm
11
11
12
12
matrix :
13
13
fast_finish : true
@@ -19,8 +19,8 @@ matrix:
19
19
- node_js : " 12"
20
20
21
21
script :
22
- - yarn test:ci
23
- - yarn build
22
+ - npm run test:ci
23
+ - npm run build
24
24
25
25
jobs :
26
26
include :
Original file line number Diff line number Diff line change @@ -8,12 +8,11 @@ if [ -d .git ]; then
8
8
cd " $( git rev-parse --show-toplevel) "
9
9
fi
10
10
11
- if ! type yarn > /dev/null
11
+ if ! type npm > /dev/null
12
12
then
13
13
cat << EOF
14
- yarn is not installed, please install Node.js, npm and yarn .
14
+ npm is not installed, please install Node.js and npm .
15
15
Read more on Node.js official website: https://nodejs.org
16
- And for yarn package manager at: https://yarnpkg.com/en/
17
16
Setup will not be run
18
17
EOF
19
18
exit 0
@@ -29,14 +28,13 @@ if [ ! -f .sequelizerc ]; then
29
28
fi
30
29
31
30
echo " install packages"
32
- yarn install --pure-lockfile
33
- yarn install --production=false --pure-lockfile
31
+ npm install
34
32
35
33
cat << EOF
36
34
37
35
38
36
Edit the following config file to setup CodiMD server and client.
39
- Read more info at https://github.com/hackmdio /codimd#configuration-files
37
+ Read more info at https://hackmd.io/c /codimd-documentation/%2Fs%2Fcodimd-configuration
40
38
41
39
* config.json -- CodiMD config
42
40
* .sequelizerc -- db config
Original file line number Diff line number Diff line change @@ -5,14 +5,13 @@ COPY --chown=hackmd:hackmd . .
5
5
RUN set -xe && \
6
6
git reset --hard && \
7
7
git clean -fx && \
8
- yarn install && \
9
- yarn build && \
10
- yarn install --production=true && \
8
+ npm install && \
9
+ npm run build && \
11
10
cp ./deployments/docker-entrypoint.sh ./ && \
12
11
cp .sequelizerc.example .sequelizerc && \
13
12
rm -rf .git .gitignore .travis.yml .dockerignore .editorconfig .babelrc .mailmap .sequelizerc.example \
14
13
test docs contribute \
15
- yarn. lock webpack.prod.js webpack.htmlexport.js webpack.dev.js webpack.common.js \
14
+ package- lock.json webpack.prod.js webpack.htmlexport.js webpack.dev.js webpack.common.js \
16
15
config.json.example README.md CONTRIBUTING.md AUTHORS
17
16
18
17
FROM hackmdio/runtime:1.0.6
You can’t perform that action at this time.
0 commit comments