[~] Refactor
This commit is contained in:
parent
3163641646
commit
a67d765569
10
deps/greasyfork/.editorconfig
vendored
Normal file
10
deps/greasyfork/.editorconfig
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
root = true
|
||||
|
||||
[*]
|
||||
end_of_line = lf
|
||||
insert_final_newline = true
|
||||
|
||||
[*.{js,json,yml}]
|
||||
charset = utf-8
|
||||
indent_style = space
|
||||
indent_size = 2
|
4
deps/greasyfork/.gitattributes
vendored
Normal file
4
deps/greasyfork/.gitattributes
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
/.yarn/** linguist-vendored
|
||||
/.yarn/releases/* binary
|
||||
/.yarn/plugins/**/* binary
|
||||
/.pnp.* binary linguist-generated
|
13
deps/greasyfork/.gitignore
vendored
Normal file
13
deps/greasyfork/.gitignore
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
.yarn/*
|
||||
!.yarn/patches
|
||||
!.yarn/plugins
|
||||
!.yarn/releases
|
||||
!.yarn/sdks
|
||||
!.yarn/versions
|
||||
|
||||
# Swap the comments on the following lines if you wish to use zero-installs
|
||||
# In that case, don't forget to run `yarn config set enableGlobalCache false`!
|
||||
# Documentation here: https://yarnpkg.com/features/caching#zero-installs
|
||||
|
||||
#!.yarn/cache
|
||||
.pnp.*
|
1
deps/greasyfork/README.md
vendored
Normal file
1
deps/greasyfork/README.md
vendored
Normal file
@ -0,0 +1 @@
|
||||
# greasyfork
|
4
deps/greasyfork/package.json
vendored
Normal file
4
deps/greasyfork/package.json
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"name": "greasyfork",
|
||||
"packageManager": "yarn@4.4.0"
|
||||
}
|
12
deps/greasyfork/yarn.lock
vendored
Normal file
12
deps/greasyfork/yarn.lock
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
# This file is generated by running "yarn install" inside your project.
|
||||
# Manual changes might be lost - proceed with caution!
|
||||
|
||||
__metadata:
|
||||
version: 8
|
||||
cacheKey: 10c0
|
||||
|
||||
"greasyfork@workspace:.":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "greasyfork@workspace:."
|
||||
languageName: unknown
|
||||
linkType: soft
|
@ -1 +1,15 @@
|
||||
FROM node as base
|
||||
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
|
||||
RUN \
|
||||
apt-get update -yy && \
|
||||
apt-get install \
|
||||
tini zsh less tree \
|
||||
-yy
|
||||
RUN chsh -s /usr/bin/zsh
|
||||
WORKDIR /app/deps/greasyfork
|
||||
|
||||
ENTRYPOINT ["tini", "--"]
|
||||
CMD ["bash", "/app/docker/js/init.sh"]
|
||||
# CMD ["sleep", "999999999999999999"]
|
||||
|
@ -5,5 +5,8 @@ services:
|
||||
context: .
|
||||
dockerfile: ./docker/js/Dockerfile
|
||||
volumes:
|
||||
- ./d1/:/app/d1/:ro
|
||||
- ./tmp/cache/:/app/tmp/cache/:ro
|
||||
- ./deps/greasyfork:/app/deps/greasyfork:rw
|
||||
- ./tmp/cache/js/root-cache:/root/.cache:rw
|
||||
- ./tmp/cache/js/root-yarn:/root/.yarn:rw
|
||||
- ./docker/js:/app/docker/js:ro
|
||||
- ./tmp/cache/js:/app/tmp/cache/js:ro
|
||||
|
5
docker/js/init.sh
Normal file
5
docker/js/init.sh
Normal file
@ -0,0 +1,5 @@
|
||||
corepack enable
|
||||
corepack install
|
||||
# yarn init -2
|
||||
export EDITOR=vim
|
||||
exec /usr/bin/zsh -l
|
Loading…
Reference in New Issue
Block a user