Skip to content

Commit 0eda000

Browse files
authored
Merge pull request #15 from blwatkins/p5@1.x
p5@1.x - Update dependencies.
2 parents df96434 + 8080868 commit 0eda000

File tree

13 files changed

+625
-586
lines changed

13 files changed

+625
-586
lines changed

.github/dependabot.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ updates:
88
- package-ecosystem: "npm"
99
directory: "/"
1010
schedule:
11-
interval: monthly
11+
interval: weekly
1212
target-branch: "main"
1313
allow:
1414
- dependency-type: "direct"
@@ -49,7 +49,7 @@ updates:
4949
- package-ecosystem: github-actions
5050
directory: "/"
5151
schedule:
52-
interval: monthly
52+
interval: weekly
5353
target-branch: "main"
5454
commit-message:
5555
prefix: "dependabot github-action update"

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515
branches:
1616
- "main"
1717
schedule:
18-
- cron: '0 0 1 * *'
18+
- cron: '0 0 * * 1'
1919

2020
jobs:
2121
analyze:

.github/workflows/node-js.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
strategy:
2121
matrix:
22-
node-version: [ 18.x, 20.x, 22.x ]
22+
node-version: [ 20.x, 22.x ]
2323
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2424

2525
steps:

.node-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v22.12.0
1+
v22.16.0

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@ Write the project's source code in the `src/` directory.
1515
The `src/sketch.ts` file provided contains a simple p5.js program with a black background and a white circle.
1616
This file will be used as the entry point for webpack.
1717

18+
## Installation
19+
20+
```shell
21+
npm install
22+
```
23+
24+
`npm install` will install all the dependencies required to run this project.
25+
1826
## Linting
1927

2028
```shell
@@ -52,13 +60,11 @@ npm run build:prod
5260
npm run dev
5361
```
5462

55-
`npm run dev` will bundle the sketch in development mode,
56-
start a localhost development server (`127.0.0.1:8080`),
57-
and open a new browser window for the `index.html` file bundled with the compiled sketch.
63+
`npm run dev` will bundle the sketch in development mode, start a localhost development server (`127.0.0.1:8080`), and open a new browser window for the `index.html` file bundled with the compiled sketch.
5864

5965
# GitHub Workflows
6066

61-
This template contains a GitHub workflows designed to update project dependencies scan the code for security vulnerabilities every month.
67+
This template contains a GitHub workflows designed to update project dependencies and scan the code for security vulnerabilities every month.
6268

6369
To learn more about Dependabot configurations, visit the
6470
[GitHub Dependabot documentation](https://docs.github.com/en/code-security/dependabot).

assets/style/sketch.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* MIT License
33
*
4-
* Copyright (C) 2024 brittni and the polar bear LLC.
4+
* Copyright (C) 2024-2025 brittni and the polar bear LLC.
55
*
66
* Permission is hereby granted, free of charge, to any person obtaining a copy
77
* of this software and associated documentation files (the "Software"), to deal

eslint.config.js.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* MIT License
33
*
4-
* Copyright (C) 2024 brittni and the polar bear LLC.
4+
* Copyright (C) 2024-2025 brittni and the polar bear LLC.
55
*
66
* Permission is hereby granted, free of charge, to any person obtaining a copy
77
* of this software and associated documentation files (the "Software"), to deal

eslint.config.ts.mjs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* MIT License
33
*
4-
* Copyright (C) 2024 brittni and the polar bear LLC.
4+
* Copyright (C) 2024-2025 brittni and the polar bear LLC.
55
*
66
* Permission is hereby granted, free of charge, to any person obtaining a copy
77
* of this software and associated documentation files (the "Software"), to deal
@@ -48,8 +48,7 @@ export default tsEslint.config(
4848
ecmaVersion: 2022,
4949
sourceType: 'module',
5050
parserOptions: {
51-
projectService: true,
52-
tsconfigRootDir: import.meta.dirname
51+
projectService: true
5352
}
5453
},
5554
rules: {
@@ -207,15 +206,15 @@ export default tsEslint.config(
207206

208207
'@typescript-eslint/consistent-type-definitions': ['error', 'interface'],
209208

210-
'@typescript-eslint/no-explicit-any': 'off',
209+
'@typescript-eslint/no-explicit-any': 'error',
211210

212211
'@typescript-eslint/no-extraneous-class': ['error', {
213212
allowStaticOnly: true
214213
}],
215214

216215
'@typescript-eslint/no-inferrable-types': 'off',
217216

218-
'@typescript-eslint/prefer-for-of': 'off',
217+
'@typescript-eslint/prefer-for-of': 'error',
219218

220219
'@typescript-eslint/restrict-template-expressions': ['error', {
221220
allowNumber: true,

0 commit comments

Comments
 (0)