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

Compare commits

...

4 Commits

Author SHA1 Message Date
dependabot-preview[bot]
46c7efdad0
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-07-18 02:20:19 +00:00
ef8d07e77b Upgrade Elixir and remove .buildpacks 2021-07-17 21:18:37 -05:00
1106b35be0 Upgrade elixir and add Dockerfile 2021-07-17 21:13:53 -05:00
c0d1ffee3a Get Webpack compiling the Sass 2021-07-12 11:14:49 -05:00
11 changed files with 37 additions and 13 deletions

View File

@ -1,4 +0,0 @@
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.3
elixir 1.11.4
python 2.7.14
nodejs 10.16.0
erlang 23.2.3

1
Dockerfile Normal file
View File

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

View File

@ -1,5 +1,5 @@
.search-input {
background-image: url("/images/search-icon.svg");
background-image: url("../static/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("/images/#{$piece}_#{$colour}.svg");
background-image: url("../static/images/#{$piece}_#{$colour}.svg");
}
}
}

View File

@ -7,6 +7,8 @@ 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"
"watch": "webpack --mode development --watch-stdin"
},
"dependencies": {
"@babel/polyfill": "^7.12.1",
@ -19,7 +19,8 @@
"react-dom": "^17.0.2",
"react-redux": "^7.2.4",
"redux": "^4.1.0",
"redux-watch": "^1.2.0"
"redux-watch": "^1.2.0",
"url-loader": "^4.1.1"
},
"devDependencies": {
"@babel/core": "^7.14.6",

View File

@ -31,9 +31,21 @@ 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,6 +3123,9 @@ 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"
@ -4172,6 +4175,15 @@ 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.3",
elixir: "~> 1.11.4",
elixirc_paths: elixirc_paths(Mix.env()),
compilers: [:phoenix, :gettext] ++ Mix.compilers(),
build_embedded: Mix.env() == :prod,
@ -42,7 +42,7 @@ defmodule Chess.Mixfile do
{:credo, "~> 1.0", only: [:dev, :test]},
{:ecto_sql, "~> 3.0"},
{:formulator, "~> 0.1.6"},
{:gettext, "~> 0.16.0"},
{:gettext, "~> 0.18.2"},
{:guardian, "~> 1.0"},
{:jason, "~> 1.0"},
{:phoenix, "~> 1.5.7"},

View File

@ -17,7 +17,7 @@
"elixir_make": {:hex, :elixir_make, "0.6.2", "7dffacd77dec4c37b39af867cedaabb0b59f6a871f89722c25b28fcd4bd70530", [:mix], [], "hexpm", "03e49eadda22526a7e5279d53321d1cced6552f344ba4e03e619063de75348d9"},
"file_system": {:hex, :file_system, "0.2.10", "fb082005a9cd1711c05b5248710f8826b02d7d1784e7c3451f9c1231d4fc162d", [:mix], [], "hexpm", "41195edbfb562a593726eda3b3e8b103a309b733ad25f3d642ba49696bf715dc"},
"formulator": {:hex, :formulator, "0.1.8", "eb43e1646828edb6614c2cf9c269d55b3d970414684f1e0290734d22c4936af4", [:mix], [{:gettext, ">= 0.11.0", [hex: :gettext, repo: "hexpm", optional: false]}, {:phoenix_html, "~> 2.4", [hex: :phoenix_html, repo: "hexpm", optional: false]}], "hexpm", "dae3ff05743db0e31ef722e6e6ef7ed32836a65c422979e4c09b7c2f0494cf2c"},
"gettext": {:hex, :gettext, "0.16.1", "e2130b25eebcbe02bb343b119a07ae2c7e28bd4b146c4a154da2ffb2b3507af2", [:mix], [], "hexpm", "dd3a7ea5e3e87ee9df29452dd9560709b4c7cc8141537d0b070155038d92bdf1"},
"gettext": {:hex, :gettext, "0.18.2", "7df3ea191bb56c0309c00a783334b288d08a879f53a7014341284635850a6e55", [:mix], [], "hexpm", "f9f537b13d4fdd30f3039d33cb80144c3aa1f8d9698e47d7bcbcc8df93b1f5c5"},
"guardian": {:hex, :guardian, "1.2.1", "bdc8dd3dbf0fb7216cb6f91c11831faa1a64d39cdaed9a611e37f2413e584983", [:mix], [{:jose, "~> 1.8", [hex: :jose, repo: "hexpm", optional: false]}, {:phoenix, "~> 1.3", [hex: :phoenix, repo: "hexpm", optional: true]}, {:plug, "~> 1.3.3 or ~> 1.4", [hex: :plug, repo: "hexpm", optional: true]}], "hexpm", "723fc404edfb7bd5cba4cd83329b352037f102aa97468f44e58ac7f47c136a98"},
"hackney": {:hex, :hackney, "1.17.4", "99da4674592504d3fb0cfef0db84c3ba02b4508bae2dff8c0108baa0d6e0977c", [:rebar3], [{:certifi, "~>2.6.1", [hex: :certifi, repo: "hexpm", optional: false]}, {:idna, "~>6.1.0", [hex: :idna, repo: "hexpm", optional: false]}, {:metrics, "~>1.0.0", [hex: :metrics, repo: "hexpm", optional: false]}, {:mimerl, "~>1.1", [hex: :mimerl, repo: "hexpm", optional: false]}, {:parse_trans, "3.3.1", [hex: :parse_trans, repo: "hexpm", optional: false]}, {:ssl_verify_fun, "~>1.1.0", [hex: :ssl_verify_fun, repo: "hexpm", optional: false]}, {:unicode_util_compat, "~>0.7.0", [hex: :unicode_util_compat, repo: "hexpm", optional: false]}], "hexpm", "de16ff4996556c8548d512f4dbe22dd58a587bf3332e7fd362430a7ef3986b16"},
"httpoison": {:hex, :httpoison, "1.8.0", "6b85dea15820b7804ef607ff78406ab449dd78bed923a49c7160e1886e987a3d", [:mix], [{:hackney, "~> 1.17", [hex: :hackney, repo: "hexpm", optional: false]}], "hexpm", "28089eaa98cf90c66265b6b5ad87c59a3729bea2e74e9d08f9b51eb9729b3c3a"},