Skip to content

Commit a66ba27

Browse files
committed
0.2.0 - update project configs
Update the project configurations to the newest standard.
1 parent be47986 commit a66ba27

File tree

13 files changed

+58
-44
lines changed

13 files changed

+58
-44
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,14 @@ body:
7171
attributes:
7272
label: Python version
7373
description: >-
74-
e.g. 3.12
74+
e.g. 3.13
7575
validations:
7676
required: true
7777
- type: input
7878
attributes:
7979
label: Dash File Cache version
8080
description: >-
81-
e.g. 0.1.0
81+
e.g. 0.2.0
8282
validations:
8383
required: true
8484

.github/ISSUE_TEMPLATE/docs_request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ body:
3636
attributes:
3737
label: Dash File Cache version
3838
description: >-
39-
e.g. 0.1.0
39+
e.g. 0.2.0
4040
validations:
4141
required: true
4242

.github/ISSUE_TEMPLATE/feature_request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ body:
4444
attributes:
4545
label: Dash File Cache version
4646
description: >-
47-
e.g. 0.1.0
47+
e.g. 0.2.0
4848
validations:
4949
required: true
5050

.github/ISSUE_TEMPLATE/vulnerability_report.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,14 @@ body:
4848
attributes:
4949
label: Python version
5050
description: >-
51-
e.g. 3.12
51+
e.g. 3.13
5252
validations:
5353
required: true
5454
- type: input
5555
attributes:
5656
label: Dash File Cache version
5757
description: >-
58-
e.g. 0.1.0
58+
e.g. 0.2.0
5959
validations:
6060
required: true
6161

.github/PULL_REQUEST_TEMPLATE/pull_request_template.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ body:
3939
attributes:
4040
label: Dash File Cache version
4141
description: >-
42-
e.g. 0.1.0
42+
e.g. 0.2.0
4343
validations:
4444
required: true
4545

.github/workflows/python-package.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
18+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
1919

2020
steps:
2121
- uses: actions/checkout@v4
@@ -25,28 +25,28 @@ jobs:
2525
uses: actions/setup-python@v5
2626
with:
2727
python-version: ${{ matrix.python-version }}
28-
# - name: Set up Node.js 22.x
29-
# uses: actions/setup-node@v4
30-
# with:
31-
# node-version: 22.x
32-
# cache: "npm"
33-
# - name: Enable Corepack and Yarn
34-
# run: |
35-
# npm install -g corepack
36-
# corepack enable
37-
# corepack prepare yarn --activate
38-
# - name: Yarn run install
39-
# run: |
40-
# yarn install
28+
- name: Set up Node.js 22.x
29+
uses: actions/setup-node@v4
30+
with:
31+
node-version: 22.x
32+
cache: "npm"
33+
- name: Enable Corepack and Yarn
34+
run: |
35+
npm install -g corepack
36+
corepack enable
37+
corepack prepare yarn --activate
38+
- name: Yarn run install
39+
run: |
40+
yarn install
4141
- name: Install dependencies
4242
run: |
4343
python -m pip install --upgrade pip
4444
python -m pip install flake8 pytest wheel
4545
if [ -f requirements.txt ]; then python -m pip install -r requirements.txt; fi
4646
if [ -f tests/requirements.txt ]; then python -m pip install -r tests/requirements.txt; fi
47-
# - name: Use Yarn to build component
48-
# run: |
49-
# yarn build
47+
- name: Use Yarn to build component
48+
run: |
49+
yarn build
5050
- name: Lint with flake8
5151
run: |
5252
# stop the build if there are Python syntax errors or undefined names

.github/workflows/python-publish.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -31,28 +31,28 @@ jobs:
3131
uses: actions/setup-python@v5
3232
with:
3333
python-version: "3.x"
34-
# - name: Set up Node.js 22.x
35-
# uses: actions/setup-node@v4
36-
# with:
37-
# node-version: 22.x
38-
# cache: "npm"
39-
# - name: Enable Corepack
40-
# run: |
41-
# npm install -g corepack
42-
# corepack enable
43-
# corepack prepare yarn --activate
44-
# - name: Yarn run install
45-
# run: |
46-
# yarn install
34+
- name: Set up Node.js 22.x
35+
uses: actions/setup-node@v4
36+
with:
37+
node-version: 22.x
38+
cache: "npm"
39+
- name: Enable Corepack
40+
run: |
41+
npm install -g corepack
42+
corepack enable
43+
corepack prepare yarn --activate
44+
- name: Yarn run install
45+
run: |
46+
yarn install
4747
- name: Install dependencies
4848
run: |
4949
python -m pip install --upgrade pip
5050
pip install build wheel
5151
if [ -f requirements.txt ]; then python -m pip install -r requirements.txt; fi
5252
if [ -f requirements-dev.txt ]; then python -m pip install -r requirements-dev.txt; fi
53-
# - name: Use Yarn to build component
54-
# run: |
55-
# yarn build
53+
- name: Use Yarn to build component
54+
run: |
55+
yarn build
5656
- name: Build package
5757
run: python -m build
5858
- name: Publish package distributions to PyPI

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ jspm_packages/
140140
/dash_file_cache/components/package-info.json
141141
!/dash_file_cache/components/__init__.py
142142
!/dash_file_cache/components/__main__.py
143+
!/dash_file_cache/components/typehints.py
143144
/deps
144145
/inst
145146
/man

Changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
3. Update the `.flake8` configurations.
2727
4. Update the `docker` configurations.
2828
5. Remove the unused command `yarn start` from the `package.json`.
29+
6. Update the project configurations to the newest standard.
2930

3031
### 0.1.2 @ 10/13/2024
3132

Dockerfile.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ jspm_packages/
141141
/dash_file_cache/components/package-info.json
142142
!/dash_file_cache/components/__init__.py
143143
!/dash_file_cache/components/__main__.py
144+
!/dash_file_cache/components/typehints.py
144145
/deps
145146
/inst
146147
/man

0 commit comments

Comments
 (0)