Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
* Replace yarn to pnpm

* Minor change

* Update dependencies
  • Loading branch information
DirtyRacer1337 authored Jan 5, 2023
1 parent 1620d35 commit 2f2b98b
Show file tree
Hide file tree
Showing 10 changed files with 4,284 additions and 3,647 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
- name: Install Node
uses: actions/setup-node@v3
with:
cache: 'yarn'
cache: 'pnpm'
node-version: '18'

- name: Intall Poetry Dependencies
Expand Down Expand Up @@ -101,7 +101,7 @@ jobs:
- name: Install Node
uses: actions/setup-node@v3
with:
cache: 'yarn'
cache: 'pnpm'
node-version: '18'

- name: Intall Poetry Dependencies
Expand Down Expand Up @@ -223,7 +223,7 @@ jobs:

- uses: actions/setup-node@v3
with:
cache: 'yarn'
cache: 'pnpm'
node-version: '18'

- name: Intall Poetry Dependencies
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ RUN apt-get install -y --no-install-recommends \
&& rm -rf /var/lib/apt/lists/* \
&& rm -Rf /usr/share/doc && rm -Rf /usr/share/man \
&& apt-get clean
RUN npm install --global yarn
RUN npm install --global pnpm

RUN mkdir /work/
COPY . /work
Expand Down
2 changes: 1 addition & 1 deletion namer/web/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ class NamerWebServer(GenericWebServer):
def __init__(self, namer_config: NamerConfig, command_queue: Queue):
self.__namer_config = namer_config
self.__command_queue = command_queue
webroot = "/" if not self.__namer_config.web_root or self.__namer_config.web_root == "" else self.__namer_config.web_root
webroot = '/' if not self.__namer_config.web_root else self.__namer_config.web_root
blueprints = [
web.get_routes(self.__namer_config, self.__command_queue),
api.get_routes(self.__namer_config, self.__command_queue),
Expand Down
24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,31 +12,31 @@
},
"dependencies": {
"@popperjs/core": "^2.11.6",
"bootstrap": "^5.3.0-alpha1",
"bootstrap-icons": "^1.10.2",
"bootstrap": "5.3.0-alpha1",
"bootstrap-icons": "^1.10.3",
"datatables.net": "^1.13.1",
"datatables.net-bs5": "^1.13.1",
"highlight.js": "^11.6.0",
"jquery": "^3.6.1",
"highlight.js": "^11.7.0",
"jquery": "^3.6.3",
"lodash": "^4.17.21"
},
"devDependencies": {
"@babel/core": "^7.20.2",
"@babel/core": "^7.20.12",
"@babel/preset-env": "^7.20.2",
"babel-loader": "^9.1.0",
"babel-loader": "^9.1.2",
"copy-webpack-plugin": "^11.0.0",
"css-loader": "^6.7.2",
"css-loader": "^6.7.3",
"css-minimizer-webpack-plugin": "^4.2.2",
"file-loader": "^6.2.0",
"html-minimizer-webpack-plugin": "^4.3.0",
"mini-css-extract-plugin": "^2.6.1",
"postcss": "^8.4.19",
"postcss-loader": "^7.0.1",
"mini-css-extract-plugin": "^2.7.2",
"postcss": "^8.4.20",
"postcss-loader": "^7.0.2",
"postcss-preset-env": "^7.8.3",
"sass": "^1.56.1",
"sass": "^1.57.1",
"sass-loader": "^13.2.0",
"terser-webpack-plugin": "^5.3.6",
"webpack": "^5.75.0",
"webpack-cli": "^4.10.0"
"webpack-cli": "^5.0.1"
}
}
Loading

0 comments on commit 2f2b98b

Please sign in to comment.