Skip to content

Commit

Permalink
fix(deps): update dependencies (non-major) (#1299)
Browse files Browse the repository at this point in the history
* fix(deps): update dependencies (non-major)

* fix(templates): remove legacy templates and releated e2e tests

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: sabertazimi <sabertazimi@gmail.com>
  • Loading branch information
renovate[bot] and sabertazimi authored Dec 8, 2024
1 parent cbc3009 commit 1dc0560
Show file tree
Hide file tree
Showing 67 changed files with 758 additions and 3,121 deletions.
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ and

[**Documentation**](https://sabertazimi.github.io/bod) |
[**Bod Template**](https://sabertazimi.github.io/bod/bod) |
[Webpack Template](https://sabertazimi.github.io/bod/webpack) |
[JSX Template](https://sabertazimi.github.io/bod/@sabertazimi) |
[TSX Template](https://sabertazimi.github.io/bod/@sabertazimi/typescript)
[Webpack Template](https://sabertazimi.github.io/bod/webpack)

## Bod CLI

Expand Down Expand Up @@ -74,8 +72,7 @@ The official React template for [**Bod CLI**](https://github.com/sabertazimi/bod
### Live Demo

- Bod Template [Demo](https://sabertazimi.github.io/bod/bod).
- JSX Template [Demo](https://sabertazimi.github.io/bod/@sabertazimi).
- TSX Template [Demo](https://sabertazimi.github.io/bod/@sabertazimi/typescript).
- Webpack Template [Demo](https://sabertazimi.github.io/bod/webpack).

### Start with Template

Expand Down
62 changes: 0 additions & 62 deletions docs/cra-template-typescript.md

This file was deleted.

40 changes: 0 additions & 40 deletions docs/cra-template.md

This file was deleted.

2 changes: 1 addition & 1 deletion docs/eslint-config-bod.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ authorTitle: Web Developer
authorURL: https://github.com/sabertazimi
authorImageURL: https://github.com/sabertazimi.png
sidebar_label: 'Bod ESLint Configuration'
sidebar_position: 9
sidebar_position: 7
tags: [ESLint]
---

Expand Down
2 changes: 1 addition & 1 deletion docs/eslint-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ authorTitle: Web Developer
authorURL: https://github.com/sabertazimi
authorImageURL: https://github.com/sabertazimi.png
sidebar_label: 'ESLint Configuration'
sidebar_position: 8
sidebar_position: 6
tags: [ESLint]
---

Expand Down
7 changes: 2 additions & 5 deletions docs/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,7 @@ and

[**Documentation**](https://sabertazimi.github.io/bod) |
[**Bod Template**](https://sabertazimi.github.io/bod/bod) |
[Webpack Template](https://sabertazimi.github.io/bod/webpack) |
[JSX Template](https://sabertazimi.github.io/bod/@sabertazimi) |
[TSX Template](https://sabertazimi.github.io/bod/@sabertazimi/typescript)
[Webpack Template](https://sabertazimi.github.io/bod/webpack)

## Bod CLI

Expand Down Expand Up @@ -83,8 +81,7 @@ The official React template for [**Bod CLI**](https://github.com/sabertazimi/bod
### Live Demo

- Bod Template [Demo](https://sabertazimi.github.io/bod/bod).
- JSX Template [Demo](https://sabertazimi.github.io/bod/@sabertazimi).
- TSX Template [Demo](https://sabertazimi.github.io/bod/@sabertazimi/typescript).
- Webpack Template [Demo](https://sabertazimi.github.io/bod/webpack).

### Start with Template

Expand Down
2 changes: 1 addition & 1 deletion docs/react-scripts.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ authorTitle: Web Developer
authorURL: https://github.com/sabertazimi
authorImageURL: https://github.com/sabertazimi.png
sidebar_label: 'Bod Scripts'
sidebar_position: 7
sidebar_position: 5
tags: [React, CLI]
---

Expand Down
2 changes: 1 addition & 1 deletion docs/stylelint-config-bod.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ authorTitle: Web Developer
authorURL: https://github.com/sabertazimi
authorImageURL: https://github.com/sabertazimi.png
sidebar_label: 'Bod StyleLint Configuration'
sidebar_position: 11
sidebar_position: 9
tags: [StyleLint, CSS]
---

Expand Down
2 changes: 1 addition & 1 deletion docs/stylelint-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ authorTitle: Web Developer
authorURL: https://github.com/sabertazimi
authorImageURL: https://github.com/sabertazimi.png
sidebar_label: 'StyleLint Configuration'
sidebar_position: 10
sidebar_position: 8
tags: [StyleLint, CSS]
---

Expand Down
2 changes: 1 addition & 1 deletion docs/webpack-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ authorTitle: Web Developer
authorURL: https://github.com/sabertazimi
authorImageURL: https://github.com/sabertazimi.png
sidebar_label: 'Webpack Template'
sidebar_position: 3
sidebar_position: 4
tags: [React, Webpack, Template]
---

Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "create-bod-app",
"private": true,
"packageManager": "pnpm@9.14.4",
"packageManager": "pnpm@9.15.0",
"description": "Boilerplate CLI App",
"author": "sabertazimi <sabertazimi@gmail.com>",
"license": "MIT",
Expand Down Expand Up @@ -56,18 +56,18 @@
"ci-info": "^4.1.0",
"concurrently": "^9.1.0",
"consola": "^3.2.3",
"dotenv": "^16.4.5",
"dotenv": "^16.4.7",
"eslint": "^9.16.0",
"jest": "^29.7.0",
"lerna": "^8.1.9",
"prettier": "^3.4.1",
"prettier": "^3.4.2",
"semver": "^7.6.3",
"stylelint": "^16.11.0",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"tslib": "^2.8.1",
"typescript": "^5.7.2",
"undici": "^7.0.0",
"undici": "^7.1.0",
"verdaccio": "^6.0.2"
}
}
2 changes: 1 addition & 1 deletion packages/bod/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,6 @@
"@types/inquirer": "^8.2.10",
"ci-info": "^4.1.0",
"rimraf": "^6.0.1",
"type-fest": "^4.29.0"
"type-fest": "^4.30.0"
}
}
28 changes: 0 additions & 28 deletions packages/bod/src/commands/CreateCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,34 +34,6 @@ class CreateCommand extends BaseCommand {
},
],
},
{
name: 'React JSX',
value: 'jsx',
command: 'npm',
args: [
'create',
'react-app@latest',
'--template',
'@sabertazimi/cra-template@latest',
'--scripts-version',
'@sabertazimi/react-scripts@latest',
],
postCommands: [],
},
{
name: 'React TSX',
value: 'tsx',
command: 'npm',
args: [
'create',
'react-app@latest',
'--template',
'@sabertazimi/cra-template-typescript@latest',
'--scripts-version',
'@sabertazimi/react-scripts@latest',
],
postCommands: [],
},
{
name: 'React Framework',
value: 'react',
Expand Down
9 changes: 5 additions & 4 deletions packages/cra-template-bod/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"start": "pnpm template:start",
"test": "CI=true pnpm template:test --coverage",
"watch": "ts-node --project=../../tsconfig.json scripts/watch.ts",
"smoke-test": "pnpm template:start --smoke-test",
"template:build": "react-scripts build",
"template:start": "react-scripts start",
"template:test": "react-scripts test"
Expand All @@ -47,20 +48,20 @@
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-redux": "^9.1.2",
"react-router": "^7.0.1",
"react-router": "^7.0.2",
"web-vitals": "^4.2.4"
},
"devDependencies": {
"@sabertazimi/react-scripts": "workspace:^",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"@testing-library/react": "^16.1.0",
"@testing-library/user-event": "^14.5.2",
"@types/jest": "^29.5.14",
"@types/jest-axe": "^3.5.9",
"@types/node": "^22.10.1",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@types/react": "^18.3.14",
"@types/react-dom": "^18.3.2",
"eslint-config-bod": "workspace:^",
"identity-obj-proxy": "^3.0.0",
"jest-axe": "^9.0.0",
Expand Down
Loading

0 comments on commit 1dc0560

Please sign in to comment.