Skip to content

Commit a2f6b2e

Browse files
authored
Merge pull request #2 from factorio-item-browser/feature/load-from-savegame
feature/load-from-savegame
2 parents 11f7708 + e73abe0 commit a2f6b2e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+12925
-7493
lines changed

.env.development

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
# The lifetime of items in the cache, in seconds.
22
CACHE_LIFETIME=60
33

4-
# The URI to the Portal API server.
5-
PORTAL_API_URI=http://localhost:8070
4+
# The link to the project's discord server.
5+
DISCORD_LINK=https://discord.gg/
66

77
# The interval for checking the setting status when data is unavailable.
88
INTERVAL_CHECK_SETTING_STATUS=60
9+
10+
# The URI to the Portal API server.
11+
PORTAL_API_URI=http://localhost:8070

.eslintrc

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,18 @@
22
"parser": "babel-eslint",
33
"extends": [
44
"eslint:recommended",
5-
"plugin:react/recommended"
5+
"plugin:react/recommended",
6+
"plugin:jest/recommended"
67
],
78
"plugins": [
89
"react",
9-
"prettier"
10+
"prettier",
11+
"jest"
1012
],
1113
"env": {
1214
"browser": true,
13-
"es6": true
15+
"es6": true,
16+
"jest/globals": true
1417
},
1518
"globals": {
1619
"process": true

.travis.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
language: node_js
2+
node_js:
3+
- 14
4+
5+
install:
6+
- npm install
7+
8+
script:
9+
- jest
10+
- eslint src --ext js,jsx
11+
- webpack --mode production

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# Changelog
22

3+
## 1.1.0 - 2020-06-12
4+
5+
### Added
6+
7+
- Link to the Discord server to the footer.
8+
9+
### Changed
10+
11+
- Adding a setting now requires a savegame to be selected, not the mod-list.json file anymore.
12+
- Arrangement of boxes and explanations on settings/new page.
13+
314
## 1.0.0 - 2020-05-22
415

516
- Initial release of the portal frontend project.

Makefile

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,25 @@
1-
.PHONY: help build check fix install start update
1+
.PHONY: help build fix install start test update
22

33
help: ## Show this help.
44
@fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##//'
55

66
build: ## Installs the dependencies of the project.
7-
npm run build
7+
npm run --silent build
88

99
check: ## Checks the source for eslint or code style violations.
10-
npm run check
10+
npm run --silent check
1111

1212
fix: ## Tries to fix code style issues.
13-
npm run fix
13+
npm run --silent fix
1414

1515
install: ## Installs the dependencies of the project.
1616
npm install
1717

1818
start: ## Starts the development server with hot reloading.
1919
npm start
2020

21+
test: ## Runs the tests of the project.
22+
npm run --silent test
23+
2124
update: ## Installs the dependencies of the project.
2225
npm update

0 commit comments

Comments
 (0)