Compare commits

...

7 Commits
v0.3.1 ... main

Author SHA1 Message Date
7c2cdcece3 build: v0.4.0 2024-11-01 07:27:53 +03:00
bc0c1b0c83 build: update dependencies 2024-11-01 07:27:53 +03:00
1127e27a8b build: v0.3.1 2024-04-04 07:52:52 +03:00
d789e3d931 fix: fix yarn fallback auth token 2024-04-04 07:52:52 +03:00
9c2f521f65 build: v0.3.0 2024-04-04 07:36:36 +03:00
13f748a2d7 feat: add git publishing action 2024-04-04 07:36:36 +03:00
13f9939c6d feat: add prepack script 2024-04-04 07:36:36 +03:00
7 changed files with 3235 additions and 1737 deletions

View File

@ -1,5 +1,7 @@
name: Test name: Test
run-name: ${{ github.actor }} 🚀 run-name: Linting and typechecking 🚀
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
on: on:
push: push:
pull_request: pull_request:

20
.github/workflows/publishing.yml vendored Normal file
View File

@ -0,0 +1,20 @@
name: Publish Package
run-name: Publishing Package to npmjs registry
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
on:
release:
types: [published]
jobs:
publishing:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'yarn'
registry-url: 'https://registry.npmjs.org'
- run: yarn
- run: yarn npm publish

View File

@ -1,3 +1,7 @@
nodeLinker: node-modules nodeLinker: node-modules
yarnPath: .yarn/releases/yarn-4.1.1.cjs yarnPath: .yarn/releases/yarn-4.1.1.cjs
npmPublishRegistry: "https://registry.npmjs.org"
npmAuthToken: ${NODE_AUTH_TOKEN-fallback}

View File

@ -1,4 +1,74 @@
# ksv741 React Scripts # ksv741 React Scripts
## [0.4.0](https://github.com/ksv741/react-scripts/compare/v0.1.0...v0.4.0) (2024-11-01)
### ⚠ BREAKING CHANGES
* remove `port` option, use `devServer` option instead
### 🚀 New Features
* add `devServer` option ([8246f41](https://github.com/ksv741/react-scripts/commit/8246f41ddef884782e335d28cd04c0a0bca2326a))
* add dotenv support ([61f5834](https://github.com/ksv741/react-scripts/commit/61f58340ee4d6edc1514bdf35ebaff20fadce14f))
* add editor config ([ae98853](https://github.com/ksv741/react-scripts/commit/ae98853b51409da005a31528367b25e7ba241015))
* add git publishing action ([13f748a](https://github.com/ksv741/react-scripts/commit/13f748a2d79efff245d279c3e50b6e8113978029))
* add github actions ([b7b77c2](https://github.com/ksv741/react-scripts/commit/b7b77c2e80bd604d55a4e26ee1d05e8d640d8a3e))
* add husky, commit linting ([affd0c0](https://github.com/ksv741/react-scripts/commit/affd0c02185aa2585f654c8da46c9a77c49a5499))
* add prepack script ([13f9939](https://github.com/ksv741/react-scripts/commit/13f9939c6d74f6d2bf6eaa09989ca2a98f27650b))
* update README.md ([b67c8ca](https://github.com/ksv741/react-scripts/commit/b67c8ca19ca13deb8794244e57af3070f84d5256))
### 🛠️ Bug Fixes
* add inks ([6674e6a](https://github.com/ksv741/react-scripts/commit/6674e6ac22f0f4cf66897668b4014d52bad68aa6))
* fix checking package function ([3e7e77c](https://github.com/ksv741/react-scripts/commit/3e7e77c111034a5817e71da55414acc376efc1c9))
* fix loading loaders ([b0cba07](https://github.com/ksv741/react-scripts/commit/b0cba07f671048b92198668dfaf5bd73acc2cdc7))
* fix resolve dependency of dependencies ([f01b1d2](https://github.com/ksv741/react-scripts/commit/f01b1d2ec9fe5a73b133533f7ce433bfc8ba212d))
* fix yarn fallback auth token ([d789e3d](https://github.com/ksv741/react-scripts/commit/d789e3d9319ba1a1fa12f642a7e2c4edc115537f))
* **loaders:** enable usage esm modules ([0a759e6](https://github.com/ksv741/react-scripts/commit/0a759e63985a9f6f3f34855615c0524c7c22f9b7))
* **loaders:** fix css modules ([bfb61db](https://github.com/ksv741/react-scripts/commit/bfb61db6a8e9a4858e2fbc443ad313c3f18b79ce))
* **loaders:** fix loaders module resolution ([fa6d0d7](https://github.com/ksv741/react-scripts/commit/fa6d0d701e3b21f0a7fbb5f87e794a4ce3689533))
* **plugins:** disable eslint with version lower 8.0.0 ([c000c72](https://github.com/ksv741/react-scripts/commit/c000c7283099cdd98d63c8df50ca920db2565dc0))
* **plugins:** fix global process variable ([11fc2d4](https://github.com/ksv741/react-scripts/commit/11fc2d47a7a8b727ccf8419e444191fc90e448c2))
### [0.3.1](https://github.com/ksv741/react-scripts/compare/v0.3.0...v0.3.1) (2024-04-04)
### 🛠️ Bug Fixes
* fix yarn fallback auth token ([ea7ce25](https://github.com/ksv741/react-scripts/commit/ea7ce25f834e88b43e9bf22e8d6bde19b25da7ba))
## [0.3.0](https://github.com/ksv741/react-scripts/compare/v0.1.0...v0.3.0) (2024-04-04)
### ⚠ BREAKING CHANGES
* remove `port` option, use `devServer` option instead
### 🛠️ Bug Fixes
* add inks ([6674e6a](https://github.com/ksv741/react-scripts/commit/6674e6ac22f0f4cf66897668b4014d52bad68aa6))
* fix checking package function ([3e7e77c](https://github.com/ksv741/react-scripts/commit/3e7e77c111034a5817e71da55414acc376efc1c9))
* fix loading loaders ([b0cba07](https://github.com/ksv741/react-scripts/commit/b0cba07f671048b92198668dfaf5bd73acc2cdc7))
* fix resolve dependency of dependencies ([f01b1d2](https://github.com/ksv741/react-scripts/commit/f01b1d2ec9fe5a73b133533f7ce433bfc8ba212d))
* **loaders:** enable usage esm modules ([0a759e6](https://github.com/ksv741/react-scripts/commit/0a759e63985a9f6f3f34855615c0524c7c22f9b7))
* **loaders:** fix css modules ([bfb61db](https://github.com/ksv741/react-scripts/commit/bfb61db6a8e9a4858e2fbc443ad313c3f18b79ce))
* **loaders:** fix loaders module resolution ([fa6d0d7](https://github.com/ksv741/react-scripts/commit/fa6d0d701e3b21f0a7fbb5f87e794a4ce3689533))
* **plugins:** disable eslint with version lower 8.0.0 ([c000c72](https://github.com/ksv741/react-scripts/commit/c000c7283099cdd98d63c8df50ca920db2565dc0))
* **plugins:** fix global process variable ([11fc2d4](https://github.com/ksv741/react-scripts/commit/11fc2d47a7a8b727ccf8419e444191fc90e448c2))
### 🚀 New Features
* add `devServer` option ([8246f41](https://github.com/ksv741/react-scripts/commit/8246f41ddef884782e335d28cd04c0a0bca2326a))
* add dotenv support ([61f5834](https://github.com/ksv741/react-scripts/commit/61f58340ee4d6edc1514bdf35ebaff20fadce14f))
* add editor config ([ae98853](https://github.com/ksv741/react-scripts/commit/ae98853b51409da005a31528367b25e7ba241015))
* add git publishing action ([3440e0d](https://github.com/ksv741/react-scripts/commit/3440e0d7d9911c97b188cb5ca7f81a081d4ddcf7))
* add github actions ([b7b77c2](https://github.com/ksv741/react-scripts/commit/b7b77c2e80bd604d55a4e26ee1d05e8d640d8a3e))
* add husky, commit linting ([affd0c0](https://github.com/ksv741/react-scripts/commit/affd0c02185aa2585f654c8da46c9a77c49a5499))
* add prepack script ([3bbbea7](https://github.com/ksv741/react-scripts/commit/3bbbea7b2a0f2f8f135f5e2d87a9387d2a62daa8))
* update README.md ([b67c8ca](https://github.com/ksv741/react-scripts/commit/b67c8ca19ca13deb8794244e57af3070f84d5256))
## [0.2.0](https://github.com/ksv741/react-scripts/compare/v0.1.0...v0.2.0) (2024-04-04) ## [0.2.0](https://github.com/ksv741/react-scripts/compare/v0.1.0...v0.2.0) (2024-04-04)

0
bin/scripts.js Normal file → Executable file
View File

View File

@ -1,6 +1,6 @@
{ {
"name": "ksv741-react-scripts", "name": "ksv741-react-scripts",
"version": "0.2.0", "version": "0.4.0",
"description": "Webpack configuration for easy creating React applications", "description": "Webpack configuration for easy creating React applications",
"main": "./dist/index.js", "main": "./dist/index.js",
"types": "./dist/index.d.ts", "types": "./dist/index.d.ts",
@ -15,6 +15,7 @@
}, },
"scripts": { "scripts": {
"prepare": "rm -rf dist && tsc && tsc-alias", "prepare": "rm -rf dist && tsc && tsc-alias",
"prepack": "rm -rf dist && tsc && tsc-alias",
"typecheck": "tsc --noEmit", "typecheck": "tsc --noEmit",
"lint": "eslint --ignore-pattern node_modules --color src", "lint": "eslint --ignore-pattern node_modules --color src",
"release": "standard-version" "release": "standard-version"
@ -41,57 +42,57 @@
"author": "Sergey <ksv741@gmail.com> Krylov", "author": "Sergey <ksv741@gmail.com> Krylov",
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"@babel/core": "7.24.0", "@babel/core": "7.26.0",
"@babel/preset-env": "7.24.0", "@babel/preset-env": "7.26.0",
"@babel/preset-react": "7.23.3", "@babel/preset-react": "7.25.9",
"@babel/preset-typescript": "7.23.3", "@babel/preset-typescript": "7.26.0",
"@pmmmwh/react-refresh-webpack-plugin": "0.5.11", "@pmmmwh/react-refresh-webpack-plugin": "0.5.15",
"@svgr/webpack": "8.1.0", "@svgr/webpack": "8.1.0",
"@swc/core": "1.4.0", "@swc/core": "1.7.42",
"babel-loader": "9.1.3", "babel-loader": "9.2.1",
"copy-webpack-plugin": "12.0.2", "copy-webpack-plugin": "12.0.2",
"cross-spawn": "7.0.3", "cross-spawn": "7.0.3",
"css-loader": "6.10.0", "css-loader": "7.1.2",
"css-minimizer-webpack-plugin": "6.0.0", "css-minimizer-webpack-plugin": "7.0.0",
"dotenv": "16.4.5", "dotenv": "16.4.5",
"dotenv-expand": "11.0.6", "dotenv-expand": "11.0.6",
"esbuild-loader": "4.0.3", "esbuild-loader": "4.2.2",
"eslint-webpack-plugin": "4.0.1", "eslint-webpack-plugin": "4.2.0",
"fork-ts-checker-webpack-plugin": "9.0.2", "fork-ts-checker-webpack-plugin": "9.0.2",
"html-webpack-plugin": "5.6.0", "html-webpack-plugin": "5.6.3",
"mini-css-extract-plugin": "2.8.0", "mini-css-extract-plugin": "2.9.2",
"postcss": "8.4.35", "postcss": "8.4.47",
"postcss-loader": "8.1.0", "postcss-loader": "8.1.1",
"postcss-preset-env": "9.3.0", "postcss-preset-env": "10.0.8",
"process": "0.11.10", "process": "0.11.10",
"react-refresh": "0.14.0", "react-refresh": "0.14.2",
"sass": "1.70.0", "sass": "1.80.5",
"sass-loader": "14.1.0", "sass-loader": "16.0.3",
"semver": "7.6.0", "semver": "7.6.3",
"style-loader": "3.3.4", "style-loader": "4.0.0",
"swc-loader": "0.2.6", "swc-loader": "0.2.6",
"terser-webpack-plugin": "5.3.10", "terser-webpack-plugin": "5.3.10",
"ts-loader": "9.5.1", "ts-loader": "9.5.1",
"ts-node": "10.9.2", "ts-node": "10.9.2",
"tsc-alias": "1.8.8", "tsc-alias": "1.8.10",
"tsconfig-paths-webpack-plugin": "4.1.0", "tsconfig-paths-webpack-plugin": "4.1.0",
"webpack": "5.90.1", "webpack": "5.96.0",
"webpack-bundle-analyzer": "4.10.1", "webpack-bundle-analyzer": "4.10.2",
"webpack-cli": "5.1.4", "webpack-cli": "5.1.4",
"webpack-dev-server": "5.0.0" "webpack-dev-server": "5.1.0"
}, },
"devDependencies": { "devDependencies": {
"@commitlint/cli": "19.2.1", "@commitlint/cli": "19.5.0",
"@commitlint/config-conventional": "19.1.0", "@commitlint/config-conventional": "19.5.0",
"@types/node": "20.11.17", "@types/node": "22.8.6",
"@types/sass-loader": "8.0.8", "@types/sass-loader": "8.0.9",
"@types/webpack-bundle-analyzer": "4.7.0", "@types/webpack-bundle-analyzer": "4.7.0",
"eslint": "8.57.0", "eslint": "8.57.0",
"eslint-config-ksv741": "0.0.1", "eslint-config-ksv741": "0.0.1",
"husky": "9.0.11", "husky": "9.1.6",
"lint-staged": "15.2.2", "lint-staged": "15.2.10",
"standard-version": "9.5.0", "standard-version": "9.5.0",
"typescript": "5.3.3" "typescript": "5.6.3"
}, },
"peerDependencies": { "peerDependencies": {
"eslint": ">=8.0.0", "eslint": ">=8.0.0",

4807
yarn.lock

File diff suppressed because it is too large Load Diff