Upgrade Node and deps
This commit is contained in:
parent
02fce6694f
commit
5ba3016557
5 changed files with 955 additions and 933 deletions
|
@ -1,9 +1,7 @@
|
||||||
FROM node:13.6.0-alpine3.11
|
FROM node:14.0.0
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
RUN apk add --update git python make g++
|
|
||||||
|
|
||||||
COPY package.json package.json
|
COPY package.json package.json
|
||||||
COPY yarn.lock yarn.lock
|
COPY yarn.lock yarn.lock
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
FROM node:13.6.0-alpine3.11
|
FROM node:14.0.0
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
RUN apk add --update git python make g++
|
|
||||||
|
|
||||||
ENV PORT 3000
|
ENV PORT 3000
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|
||||||
|
|
18
package.json
18
package.json
|
@ -21,7 +21,7 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/cli": "^7.10.1",
|
"@babel/cli": "^7.10.1",
|
||||||
"@babel/core": "^7.10.2",
|
"@babel/core": "^7.10.2",
|
||||||
"@babel/polyfill": "^7.8.7",
|
"@babel/polyfill": "^7.10.1",
|
||||||
"@babel/preset-env": "^7.10.2",
|
"@babel/preset-env": "^7.10.2",
|
||||||
"@babel/register": "^7.10.1",
|
"@babel/register": "^7.10.1",
|
||||||
"@sentry/node": "^5.17.0",
|
"@sentry/node": "^5.17.0",
|
||||||
|
@ -30,29 +30,29 @@
|
||||||
"bluebird": "^3.7.2",
|
"bluebird": "^3.7.2",
|
||||||
"bulma": "^0.9.0",
|
"bulma": "^0.9.0",
|
||||||
"co": "~4.6.0",
|
"co": "~4.6.0",
|
||||||
"css-loader": "^3.4.2",
|
"css-loader": "^3.6.0",
|
||||||
"debug": "^4.1.1",
|
"debug": "^4.1.1",
|
||||||
"ejs": "^3.1.3",
|
"ejs": "^3.1.3",
|
||||||
"file-loader": "^6.0.0",
|
"file-loader": "^6.0.0",
|
||||||
"iso8601-duration": "^1.1.1",
|
"iso8601-duration": "^1.1.1",
|
||||||
"kcors": "^2.2.1",
|
"kcors": "^2.2.1",
|
||||||
"koa": "^2.11.0",
|
"koa": "^2.12.1",
|
||||||
"koa-bodyparser": "^4.3.0",
|
"koa-bodyparser": "^4.3.0",
|
||||||
"koa-compress": "~4.0.1",
|
"koa-compress": "~4.0.1",
|
||||||
"koa-favicon": "~2.1.0",
|
"koa-favicon": "~2.1.0",
|
||||||
"koa-logger": "~3.2.1",
|
"koa-logger": "~3.2.1",
|
||||||
"koa-route": "~3.2.0",
|
"koa-route": "~3.2.0",
|
||||||
"koa-static": "^5.0.0",
|
"koa-static": "^5.0.0",
|
||||||
"koa-views": "^6.2.1",
|
"koa-views": "^6.3.0",
|
||||||
"kue": "^0.11.6",
|
"kue": "^0.11.6",
|
||||||
"mini-css-extract-plugin": "^0.9.0",
|
"mini-css-extract-plugin": "^0.9.0",
|
||||||
"mocha-esm": "^1.1.1",
|
"mocha-esm": "^1.1.1",
|
||||||
"node-sass": "^4.14.1",
|
"node-sass": "^4.14.1",
|
||||||
"nodebrainz": "^2.1.1",
|
"nodebrainz": "^2.1.1",
|
||||||
"pg": "^7.18.2",
|
"pg": "^8.2.1",
|
||||||
"playmusic": "^2.3.0",
|
"playmusic": "^2.3.0",
|
||||||
"sass-loader": "^8.0.2",
|
"sass-loader": "^8.0.2",
|
||||||
"sequelize": "^5.21.12",
|
"sequelize": "^5.21.13",
|
||||||
"sequelize-cli-esm": "^5.0.6",
|
"sequelize-cli-esm": "^5.0.6",
|
||||||
"spotify-web-api-node": "^4.0.0",
|
"spotify-web-api-node": "^4.0.0",
|
||||||
"superagent": "^5.2.2",
|
"superagent": "^5.2.2",
|
||||||
|
@ -69,9 +69,9 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"concurrently": "^5.1.0",
|
"concurrently": "^5.1.0",
|
||||||
"eslint": "^6.8.0",
|
"eslint": "^7.2.0",
|
||||||
"eslint-config-airbnb-base": "^14.1.0",
|
"eslint-config-airbnb-base": "^14.2.0",
|
||||||
"eslint-plugin-import": "^2.20.1",
|
"eslint-plugin-import": "^2.21.2",
|
||||||
"istanbul": "^0.4.0",
|
"istanbul": "^0.4.0",
|
||||||
"mocha": "^8.0.1",
|
"mocha": "^8.0.1",
|
||||||
"nodemon": "^2.0.4",
|
"nodemon": "^2.0.4",
|
||||||
|
|
|
@ -3,7 +3,7 @@ import lookup from '../lib/lookup.js';
|
||||||
|
|
||||||
describe('Search with url', function(){
|
describe('Search with url', function(){
|
||||||
it('should find album by url', async function (){
|
it('should find album by url', async function (){
|
||||||
const result = await lookup('https://play.google.com/music/listen#/album/Bz6wrjczddcj5hurijsv6ohdoay');
|
const result = await lookup('https://play.google.com/music/m/Bw2bwajaddrgr5vakp3vluqothq');
|
||||||
result.name.should.equal('Phase 5');
|
result.name.should.equal('Breaking');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue