1
0
mirror of https://github.com/danbee/chess synced 2025-03-04 08:39:06 +00:00

Compare commits

..

1 Commits

Author SHA1 Message Date
dependabot-preview[bot]
8efe918bde
Bump gettext from 0.16.1 to 0.18.2
Bumps [gettext](https://github.com/elixir-gettext/gettext) from 0.16.1 to 0.18.2.
- [Release notes](https://github.com/elixir-gettext/gettext/releases)
- [Changelog](https://github.com/elixir-gettext/gettext/blob/master/CHANGELOG.md)
- [Commits](https://github.com/elixir-gettext/gettext/compare/v0.16.1...v0.18.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-06-24 20:42:46 +00:00
10 changed files with 11 additions and 35 deletions

4
.buildpacks Normal file
View File

@ -0,0 +1,4 @@
https://github.com/gigalixir/gigalixir-buildpack-clean-cache.git
https://github.com/HashNuke/heroku-buildpack-elixir
https://github.com/gjaldon/heroku-buildpack-phoenix-static
https://github.com/gigalixir/gigalixir-buildpack-distillery.git

View File

@ -1,4 +1,4 @@
elixir 1.11.4
elixir 1.11.3
python 2.7.14
nodejs 10.16.0
erlang 23.2.3

View File

@ -1 +0,0 @@
FROM elixir:1.11.4

View File

@ -1,5 +1,5 @@
.search-input {
background-image: url("../static/images/search-icon.svg");
background-image: url("/images/search-icon.svg");
background-position: center right 0.5rem;
background-repeat: no-repeat;
border: 1px solid $base-border-color;

View File

@ -103,7 +103,7 @@
@each $colour in $colours {
@each $piece in $pieces {
&.square--#{$colour}.square--#{$piece}::before {
background-image: url("../static/images/#{$piece}_#{$colour}.svg");
background-image: url("/images/#{$piece}_#{$colour}.svg");
}
}
}

View File

@ -7,8 +7,6 @@ import React from "react";
import ReactDOM from "react-dom";
import { createStore } from "redux";
import css from "../css/app.scss";
import Game from "./components/game";
import OpponentFinder from "./components/opponent-finder";
import chessBoardReducer from "./reducers/chess-board";

View File

@ -4,7 +4,7 @@
"license": "MIT",
"scripts": {
"deploy": "webpack --mode production",
"watch": "webpack --mode development --watch-stdin"
"watch": "webpack --mode development --watch"
},
"dependencies": {
"@babel/polyfill": "^7.12.1",
@ -19,8 +19,7 @@
"react-dom": "^17.0.2",
"react-redux": "^7.2.4",
"redux": "^4.1.0",
"redux-watch": "^1.2.0",
"url-loader": "^4.1.1"
"redux-watch": "^1.2.0"
},
"devDependencies": {
"@babel/core": "^7.14.6",

View File

@ -31,21 +31,9 @@ module.exports = (env, options) => {
},
},
{
test: /\.s?css$/,
test: /\.[s]?css$/,
use: [MiniCssExtractPlugin.loader, "css-loader", "sass-loader"],
},
{
test: /\.(png|jpg|gif|svg)$/i,
use: [
{
loader: "url-loader",
options: {
limit: 8192,
name: "[name].[hash:7].[ext]",
},
},
],
},
],
},
plugins: [

View File

@ -3123,9 +3123,6 @@ performance-now@^2.1.0:
"phoenix_html@file:../deps/phoenix_html":
version "2.14.3"
"phoenix_live_view@file:../deps/phoenix_live_view":
version "0.15.3"
picomatch@^2.2.1, picomatch@^2.2.3:
version "2.3.0"
resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.0.tgz#f1f061de8f6a4bf022892e2d128234fb98302972"
@ -4175,15 +4172,6 @@ uri-js@^4.2.2:
dependencies:
punycode "^2.1.0"
url-loader@^4.1.1:
version "4.1.1"
resolved "https://registry.yarnpkg.com/url-loader/-/url-loader-4.1.1.tgz#28505e905cae158cf07c92ca622d7f237e70a4e2"
integrity sha512-3BTV812+AVHHOJQO8O5MkWgZ5aosP7GnROJwvzLS9hWDj00lZ6Z0wNak423Lp9PBZN05N+Jk/N5Si8jRAlGyWA==
dependencies:
loader-utils "^2.0.0"
mime-types "^2.1.27"
schema-utils "^3.0.0"
util-deprecate@^1.0.2, util-deprecate@~1.0.1:
version "1.0.2"
resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf"

View File

@ -5,7 +5,7 @@ defmodule Chess.Mixfile do
[
app: :chess,
version: "0.2.0",
elixir: "~> 1.11.4",
elixir: "~> 1.11.3",
elixirc_paths: elixirc_paths(Mix.env()),
compilers: [:phoenix, :gettext] ++ Mix.compilers(),
build_embedded: Mix.env() == :prod,