Skip to content

Commit 2e83ddc

Browse files
authored
Merge pull request #11 from bugparty/dev
the first release with basic todo functions
2 parents 5b522f6 + 69328ca commit 2e83ddc

Some content is hidden

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

82 files changed

+37092
-9785
lines changed

.babelrc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"presets": [
3+
[
4+
"@babel/preset-env",
5+
{ "targets": { "browsers": ["last 3 versions", "safari >= 6"] } },
6+
"@babel/preset-react"
7+
8+
]
9+
],
10+
"plugins": [["@babel/plugin-proposal-class-properties"]]
11+
}

.github/workflows/ci_test.yml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3+
4+
name: CI tests
5+
6+
on:
7+
push:
8+
branches: [ dev ]
9+
pull_request:
10+
branches: [ dev ]
11+
12+
jobs:
13+
build:
14+
15+
runs-on: ubuntu-latest
16+
17+
strategy:
18+
matrix:
19+
node-version: [14.x]
20+
21+
steps:
22+
- uses: actions/checkout@v2
23+
- name: Use Node.js ${{ matrix.node-version }}
24+
uses: actions/setup-node@v1
25+
with:
26+
node-version: ${{ matrix.node-version }}
27+
- name: Cache node modules
28+
uses: actions/cache@v2
29+
env:
30+
cache-name: cache-node-modules
31+
with:
32+
# npm cache files are stored in `~/.npm` on Linux/macOS
33+
path: ~/.npm
34+
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('package-lock.json') }}
35+
restore-keys: |
36+
${{ runner.os }}-build-${{ env.cache-name }}-
37+
${{ runner.os }}-build-
38+
${{ runner.os }}-
39+
- name: Install Dependencies
40+
run: npm ci
41+
- name: Run tests
42+
run: npm run test
43+
- name: Build Release
44+
run: npm run build
45+
- name: Publish
46+
uses: cloudflare/[email protected]
47+
with:
48+
apiToken: ${{ secrets.CF_API_TOKEN }}
49+

.github/workflows/deploy_pages.yml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3+
4+
name: test n deploy
5+
6+
on:
7+
push:
8+
branches: [ master ]
9+
pull_request:
10+
branches: [ master ]
11+
12+
jobs:
13+
build:
14+
15+
runs-on: ubuntu-latest
16+
17+
strategy:
18+
matrix:
19+
node-version: [12.x]
20+
21+
steps:
22+
- uses: actions/checkout@v2
23+
- name: Use Node.js ${{ matrix.node-version }}
24+
uses: actions/setup-node@v1
25+
with:
26+
node-version: ${{ matrix.node-version }}
27+
- name: Cache node modules
28+
uses: actions/cache@v2
29+
env:
30+
cache-name: cache-node-modules
31+
with:
32+
# npm cache files are stored in `~/.npm` on Linux/macOS
33+
path: ~/.npm
34+
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('package-lock.json') }}
35+
restore-keys: |
36+
${{ runner.os }}-build-${{ env.cache-name }}-
37+
${{ runner.os }}-build-
38+
${{ runner.os }}-
39+
40+
- name: Install Dependencies
41+
run: npm ci
42+
43+
- name: Run tests
44+
run: npm run test
45+
- name: Build
46+
run: npm run pages
47+
48+
# - name: Deploy 🚀
49+
# uses: peaceiris/[email protected]
50+
# with:
51+
# personal_token: ${{ secrets.ACCESS_TOKEN }}
52+
# external_repository: bugparty/pomotodo_page
53+
# publish_branch: gh-pages # The branch the action should deploy to.
54+
# publish_dir: build # The folder the action should deploy.
55+
# disable_nojekyll: true

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
22
#idea
33
.idea/workspace.xml
4+
.idea/jsLibraryMappings.xmli
45
# dependencies
56
/node_modules
67
/.pnp
@@ -22,3 +23,4 @@
2223
npm-debug.log*
2324
yarn-debug.log*
2425
yarn-error.log*
26+
.env

.idea/codeStyles/Project.xml

Lines changed: 58 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/codeStyles/codeStyleConfig.xml

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/inspectionProfiles/Project_Default.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/jsLibraryMappings.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/shelf/add_import_export.xml

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.prettierrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

0 commit comments

Comments
 (0)