Skip to content

Commit

Permalink
Merge branch 'dev' into user-profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
Manwe-777 committed Oct 2, 2023
2 parents dec554a + 823fd48 commit 750ca7e
Show file tree
Hide file tree
Showing 118 changed files with 84,224 additions and 1,907 deletions.
7 changes: 4 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

# dependencies
/node_modules
/tooldb-worker/node_modules
/.pnp
.pnp.js

Expand All @@ -21,12 +22,12 @@
ipfs
.idea

/public/worker.js

npm-debug.log*
yarn-debug.log*
yarn-error.log*
build-storybook.log
storybook-static/**
src/info.json
dist-worker
dist-worker
dist-cards-worker
dist-tooldb-worker
4 changes: 2 additions & 2 deletions worker-tsconfig.json → cards-worker-tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
],
"module": "commonjs",
"sourceMap": false,
"outDir": "./dist-worker",
"outDir": "./dist-cards-worker",
"downlevelIteration": true,
"strict": true,
"moduleResolution": "classic",
Expand All @@ -18,4 +18,4 @@
"include": [
"src/cards-worker"
]
}
}
21 changes: 11 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 9 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mtgatool-desktop",
"version": "6.2.13",
"version": "6.3.8",
"private": true,
"main": "public/electron.js",
"homepage": "./",
Expand All @@ -22,7 +22,7 @@
"lodash": "^4.17.21",
"match-sorter": "^6.3.0",
"mathjs": "^9.3.0",
"mtgatool-db": "^2.1.4",
"mtgatool-db": "^2.1.6",
"mtgatool-shared": "^2.2.0",
"qrcode": "^1.5.1",
"queue": "^6.0.2",
Expand All @@ -46,13 +46,15 @@
"zlib": "^1.0.5"
},
"scripts": {
"start": "npm run build:worker && nf start -p 3001",
"start": "npm run build:workers && nf start -p 3001",
"cm": "git-cz",
"build:worker": "tsc --p worker-tsconfig.json && browserify ./dist-worker/cards-worker/collectionDataWorker.js --standalone worker > ./dist-worker/index.js && uglifyjs ./dist-worker/index.js -c > ./public/worker/index.js",
"build:tooldb-worker": "tsc --p tooldb-worker-tsconfig.json && browserify ./dist-tooldb-worker/toolDbWorker.js --standalone tooldbworker > ./public/tooldb-worker/index.js",
"build:cards-worker": "tsc --p cards-worker-tsconfig.json && browserify ./dist-cards-worker/cards-worker/collectionDataWorker.js --standalone cardsworker > ./dist-cards-worker/index.js && uglifyjs ./dist-cards-worker/index.js -c > ./public/cards-worker/index.js",
"build:workers": "npm run build:tooldb-worker && npm run build:cards-worker",
"react-start": "node generateInfo.js && craco start",
"react-build": "craco build",
"start:web": "npm run build:worker && craco start --config craco.web.config.js",
"build:web": "npm run build:worker && craco build --config craco.web.config.js",
"start:web": "npm run build:workers && craco start --config craco.web.config.js",
"build:web": "npm run build:workers && craco build --config craco.web.config.js",
"jest-server": "http-server ./build -p 3000",
"jest:watch": "craco test --env=jsdom",
"jest:ci": "craco test --env=jsdom --watchAll=false --testPathIgnorePatterns \"src/__tests__/\"",
Expand All @@ -64,7 +66,7 @@
"electron-start": "node src/start-react",
"release": "npm run electron-rebuild && npm run react-build && electron-builder --publish=always",
"build:nopublish": "electron-builder --x64 --publish=never",
"build": "npm run build:worker && npm run electron-rebuild && npm run react-build && npm run build:nopublish",
"build": "npm run build:workers && npm run electron-rebuild && npm run react-build && npm run build:nopublish",
"electron-rebuild": "electron-rebuild",
"semantic-release": "semantic-release",
"install:ci": "npm install && npm install @craco/craco"
Expand Down
Empty file added public/cards-worker/empty.txt
Empty file.
1 change: 1 addition & 0 deletions public/cards-worker/index.js

Large diffs are not rendered by default.

Empty file added public/tooldb-worker/empty.txt
Empty file.
Loading

0 comments on commit 750ca7e

Please sign in to comment.