Skip to content

Commit 76a6c41

Browse files
committed
🐱 Full Fresh 1.0.0 Release
1 parent 344eb37 commit 76a6c41

File tree

90 files changed

+11675
-13993
lines changed

Some content is hidden

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

90 files changed

+11675
-13993
lines changed

.env.example

Lines changed: 0 additions & 2 deletions
This file was deleted.

.eslintignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
/build
2-
/node_modules
1+
dist

.eslintrc.cjs

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
module.exports = {
2+
env: {
3+
browser: true,
4+
es2021: true
5+
},
6+
extends: [
7+
'plugin:react/recommended',
8+
'plugin:react-hooks/recommended',
9+
'eslint:recommended',
10+
'plugin:@typescript-eslint/recommended',
11+
'plugin:prettier/recommended',
12+
'plugin:tailwindcss/recommended'
13+
],
14+
overrides: [],
15+
parser: '@typescript-eslint/parser',
16+
parserOptions: {
17+
ecmaVersion: 'latest',
18+
sourceType: 'module'
19+
},
20+
plugins: [
21+
'react',
22+
'@typescript-eslint',
23+
'prettier',
24+
'simple-import-sort',
25+
'tailwindcss'
26+
],
27+
rules: {
28+
'prettier/prettier': [
29+
'warn',
30+
{
31+
semi: false,
32+
singleQuote: true,
33+
trailingComma: 'none'
34+
}
35+
],
36+
'simple-import-sort/imports': 'warn',
37+
'simple-import-sort/exports': 'warn',
38+
'react/jsx-curly-brace-presence': [
39+
'warn',
40+
{ props: 'never', children: 'never', propElementValues: 'always' }
41+
],
42+
'react/react-in-jsx-scope': 'off',
43+
'no-undef': 'off',
44+
'no-unused-vars': 'off',
45+
'@typescript-eslint/no-unused-vars': 'error'
46+
},
47+
settings: {
48+
tailwindcss: {
49+
config: 'tailwind.config.cjs'
50+
},
51+
react: {
52+
version: 'detect'
53+
}
54+
}
55+
}

.eslintrc.js

Lines changed: 0 additions & 40 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: 'publish'
2+
on:
3+
push:
4+
branches:
5+
- release
6+
7+
jobs:
8+
publish-tauri:
9+
permissions:
10+
contents: write
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
platform: [macos-latest, ubuntu-20.04, windows-latest]
15+
16+
runs-on: ${{ matrix.platform }}
17+
steps:
18+
- uses: actions/checkout@v3
19+
- uses: pnpm/action-setup@v2
20+
with:
21+
version: 7
22+
- name: setup node
23+
uses: actions/setup-node@v3
24+
with:
25+
node-version: 18
26+
cache: 'pnpm'
27+
- name: setup rust
28+
uses: dtolnay/rust-toolchain@stable
29+
- name: rust cache
30+
uses: swatinem/rust-cache@v2
31+
with:
32+
workspaces: './src-tauri -> target'
33+
- name: install dependencies (ubuntu only)
34+
if: matrix.platform == 'ubuntu-20.04'
35+
run: |
36+
sudo apt-get update
37+
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf
38+
- name: install frontend dependencies
39+
run: pnpm install
40+
- uses: tauri-apps/tauri-action@v0
41+
env:
42+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
43+
with:
44+
tagName: app-v__VERSION__
45+
releaseName: 'Pancake Wizard v__VERSION__'
46+
releaseBody: 'See the assets to download this version and install.'
47+
releaseDraft: true
48+
prerelease: false

.gitignore

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,26 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
pnpm-debug.log*
8+
lerna-debug.log*
9+
110
node_modules
2-
.env
11+
dist
12+
dist-ssr
13+
*.local
14+
15+
# Editor directories and files
16+
.vscode/*
17+
!.vscode/extensions.json
18+
.idea
319
.DS_Store
4-
build
20+
*.suo
21+
*.ntvs*
22+
*.njsproj
23+
*.sln
24+
*.sw?
25+
26+
src/types/contracts

LICENSE

Lines changed: 7 additions & 86 deletions
Original file line numberDiff line numberDiff line change
@@ -1,92 +1,13 @@
1-
Business Source License 1.1
1+
BSD 3-Clause License
22

3-
License text copyright (c) 2017 MariaDB Corporation Ab, All Rights Reserved.
4-
"Business Source License" is a trademark of MariaDB Corporation Ab.
3+
Copyright (c) 2023, Egor Gavrilov
54

6-
---
5+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
76

8-
Parameters
7+
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
98

10-
Licensor: Egor Gavrilov
9+
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
1110

12-
Licensed Work: PancakeSwap Prediction Winner
13-
The Licensed Work is (c) 2021 Egor Gavrilov
11+
Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
1412

15-
---
16-
17-
Terms
18-
19-
The Licensor hereby grants you the right to copy, modify, create derivative
20-
works, redistribute, and make non-production use of the Licensed Work. The
21-
Licensor may make an Additional Use Grant, above, permitting limited
22-
production use.
23-
24-
Effective on the Change Date, or the fourth anniversary of the first publicly
25-
available distribution of a specific version of the Licensed Work under this
26-
License, whichever comes first, the Licensor hereby grants you rights under
27-
the terms of the Change License, and the rights granted in the paragraph
28-
above terminate.
29-
30-
If your use of the Licensed Work does not comply with the requirements
31-
currently in effect as described in this License, you must purchase a
32-
commercial license from the Licensor, its affiliated entities, or authorized
33-
resellers, or you must refrain from using the Licensed Work.
34-
35-
All copies of the original and modified Licensed Work, and derivative works
36-
of the Licensed Work, are subject to this License. This License applies
37-
separately for each version of the Licensed Work and the Change Date may vary
38-
for each version of the Licensed Work released by Licensor.
39-
40-
You must conspicuously display this License on each original or modified copy
41-
of the Licensed Work. If you receive the Licensed Work in original or
42-
modified form from a third party, the terms and conditions set forth in this
43-
License apply to your use of that work.
44-
45-
Any use of the Licensed Work in violation of this License will automatically
46-
terminate your rights under this License for the current and all other
47-
versions of the Licensed Work.
48-
49-
This License does not grant you any right in any trademark or logo of
50-
Licensor or its affiliates (provided that you may use a trademark or logo of
51-
Licensor as expressly required by this License).
52-
53-
TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON
54-
AN "AS IS" BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS,
55-
EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF
56-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND
57-
TITLE.
58-
59-
MariaDB hereby grants you permission to use this License’s text to license
60-
your works, and to refer to it using the trademark "Business Source License",
61-
as long as you comply with the Covenants of Licensor below.
62-
63-
---
64-
65-
Covenants of Licensor
66-
67-
In consideration of the right to use this License’s text and the "Business
68-
Source License" name and trademark, Licensor covenants to MariaDB, and to all
69-
other recipients of the licensed work to be provided by Licensor:
70-
71-
1. To specify as the Change License the GPL Version 2.0 or any later version,
72-
or a license that is compatible with GPL Version 2.0 or a later version,
73-
where "compatible" means that software provided under the Change License can
74-
be included in a program with software provided under GPL Version 2.0 or a
75-
later version. Licensor may specify additional Change Licenses without
76-
limitation.
77-
78-
2. To either: (a) specify an additional grant of rights to use that does not
79-
impose any additional restriction on the right granted in this License, as
80-
the Additional Use Grant; or (b) insert the text "None".
81-
82-
3. To specify a Change Date.
83-
84-
4. Not to modify this License in any other way.
85-
86-
---
87-
88-
Notice
89-
90-
The Business Source License (this document, or the "License") is not an Open
91-
Source license. However, the Licensed Work will eventually be made available
92-
under an Open Source License, as stated in this License.
13+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

0 commit comments

Comments
 (0)