Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: itchio/itch
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v21.0.3
Choose a base ref
...
head repository: itchio/itch
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Loading
Showing 1,205 changed files with 94,670 additions and 59,895 deletions.
28 changes: 14 additions & 14 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"plugins": [
"syntax-async-functions",
"transform-strict-mode",
"transform-function-bind",
"transform-es2015-modules-commonjs",
"transform-object-rest-spread",
["transform-async-to-module-method", {
"module": "bluebird",
"method": "coroutine"
}]
],
"presets": [
"react"
]
"plugins": [["transform-node-env-inline"]],
"env": {
"development": {
"plugins": [
[
"transform-async-to-module-method",
{
"module": "bluebird",
"method": "coroutine"
}
]
]
}
}
}
16 changes: 16 additions & 0 deletions .compilerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"application/javascript": {
"passthrough": true
},
"text/typescript": {
"target": "es2017",
"lib": ["dom", "es6"],
"module": "commonjs",
"noUnusedLocals": true,
"inlineSourceMap": true,
"inlineSources": true,
"jsx": "react",
"allowJs": true,
"skipLibCheck": true
}
}
52 changes: 52 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: "build"

on: [push, pull_request]

env:
SKIP_CODESIGN: 1

jobs:
build-linux:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@master

- name: test
run: |
npm ci
- name: release
run: |
node release/package-all.js --os linux --arch amd64
build-windows:
runs-on: windows-latest

steps:
- uses: actions/checkout@master

- name: test
run: |
npm ci
- name: release
run: |
node release/package-all.js --os windows --arch amd64
build-macos:
runs-on: macos-latest

steps:
- uses: actions/checkout@master
- uses: actions/setup-go@v5
with:
go-version: '^1.22.1'

- name: test
run: |
npm ci
- name: release
run: |
node release/package-all.js --os darwin --arch amd64
62 changes: 62 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
name: "CodeQL"

on:
push:
branches: [master]
pull_request:
# The branches below must be a subset of the branches above
branches: [master]
schedule:
- cron: '0 17 * * 5'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
# Override automatic language detection by changing the below list
# Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']
language: ['javascript', 'go']
# Learn more...
# https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection

steps:
- name: Checkout repository
uses: actions/checkout@v2

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
30 changes: 23 additions & 7 deletions .gitignore
100644 → 100755
Original file line number Diff line number Diff line change
@@ -3,17 +3,27 @@
/docs/node_modules
config.json
npm-debug.log
/.cache

# build artifacts
/*.dmg
/*.zip
/*.app
/app
/test
/tests
/tmp
/screenshots
/.tscache
/.awcache
*.map
tmp
*.tmp.txt
/butler
*.exe
/artifacts

# capsule stuff
/*.mp4

# coverage
/coverage
@@ -24,6 +34,9 @@ tmp
/build
/cache
/stage*
/app*
/dist*
/prefix*
/deb-stage
/rpm-stage
/aur-stage
@@ -33,12 +46,15 @@ tmp
/*.app
/*.dmg

# ruby-specific stuff
/.bundle
/vendor/bundle

# updated locales stuff
/app/static/locales/*.remote.json
# integration tests temp
.chromedriver
*.log.txt

# OS-specific junk
.DS_Store

# golang-specific stuff
/gopath

# webpack stuff
stats.json
Loading