Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: added types #650

Merged
merged 36 commits into from
Dec 10, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
d73710a
feat: added types
alexander-akait Dec 9, 2021
8e0093b
Merge branch 'master' into feat-added-types
alexander-akait Dec 9, 2021
c89ff76
chore: cleanup
alexander-akait Dec 10, 2021
f1734e5
test: fix
alexander-akait Dec 10, 2021
32b4fd7
chore: refactor
alexander-akait Dec 10, 2021
56386db
chore: refactor
alexander-akait Dec 10, 2021
8ff493f
chore: refactor
alexander-akait Dec 10, 2021
1eef09c
chore: refactor
alexander-akait Dec 10, 2021
db8d619
chore: refactor
alexander-akait Dec 10, 2021
9aef4ad
chore: refactor
alexander-akait Dec 10, 2021
8432930
chore: refactor
alexander-akait Dec 10, 2021
063041d
chore: refactor
alexander-akait Dec 10, 2021
3c9fb33
chore: refactor
alexander-akait Dec 10, 2021
e810ee4
chore: refactor
alexander-akait Dec 10, 2021
9873de9
chore: refactor
alexander-akait Dec 10, 2021
12ec31d
chore: refactor
alexander-akait Dec 10, 2021
f19811a
chore: refactor
alexander-akait Dec 10, 2021
c340ed2
chore: refactor
alexander-akait Dec 10, 2021
1ea2435
chore: refactor
alexander-akait Dec 10, 2021
41ebf9d
chore: refactor
alexander-akait Dec 10, 2021
bdaa101
chore: refactor
alexander-akait Dec 10, 2021
a1ee844
chore: refactor
alexander-akait Dec 10, 2021
ae7b951
chore: refactor
alexander-akait Dec 10, 2021
7af1643
chore: refactor
alexander-akait Dec 10, 2021
52b4f61
chore: refactor
alexander-akait Dec 10, 2021
ca2b306
chore: refactor
alexander-akait Dec 10, 2021
02df5ea
chore: refactor
alexander-akait Dec 10, 2021
5d6c3a1
chore: refactor
alexander-akait Dec 10, 2021
68b6935
chore: refactor
alexander-akait Dec 10, 2021
093ebe7
chore: refactor
alexander-akait Dec 10, 2021
4a6dfbd
chore: refactor
alexander-akait Dec 10, 2021
0f2f405
chore: refactor
alexander-akait Dec 10, 2021
60521f5
chore: refactor
alexander-akait Dec 10, 2021
d99d047
chore: refactor
alexander-akait Dec 10, 2021
2cb4c50
chore: refactor
alexander-akait Dec 10, 2021
3aff348
fix: `package.json`
alexander-akait Dec 10, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion lint-staged.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
"*": ["prettier --write --ignore-unknown"],
"*.{js,ts}": ["eslint --cache --fix"],
"*.{js}": ["eslint --cache --fix"],
};
54 changes: 47 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 9 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,22 @@
"url": "https://opencollective.com/webpack"
},
"main": "dist/cjs.js",
"types": "types/cjs.d.ts",
"engines": {
"node": ">= 12.20.0"
},
"scripts": {
"start": "npm run build -- -w",
"clean": "del-cli dist",
"prebuild": "npm run clean",
"build": "cross-env NODE_ENV=production babel src -d dist --copy-files",
"build:types": "tsc --declaration --emitDeclarationOnly --outDir types && prettier \"types/**/*.ts\" --write && prettier types --write",
"build:code": "cross-env NODE_ENV=production babel src -d dist --copy-files",
"build": "npm-run-all -p \"build:**\"",
"commitlint": "commitlint --from=master",
"security": "npm audit --production",
"lint:prettier": "prettier --list-different .",
"lint:js": "eslint --cache .",
"lint:types": "tsc --pretty --noEmit",
"lint": "npm-run-all -l -p \"lint:**\"",
"test:only": "cross-env NODE_ENV=test jest",
"test:watch": "npm run test:only -- --watch",
Expand Down Expand Up @@ -54,6 +58,9 @@
"@babel/preset-env": "^7.15.0",
"@commitlint/cli": "^15.0.0",
"@commitlint/config-conventional": "^15.0.0",
"@types/glob-parent": "^5.1.1",
"@types/normalize-path": "^3.0.0",
"@types/serialize-javascript": "^5.0.1",
"@webpack-contrib/eslint-config-webpack": "^3.0.0",
"babel-jest": "^27.0.6",
"cross-env": "^7.0.3",
Expand All @@ -72,6 +79,7 @@
"npm-run-all": "^4.1.5",
"prettier": "^2.3.2",
"standard-version": "^9.3.1",
"typescript": "^4.5.2",
"webpack": "^5.64.1"
},
"keywords": [
Expand Down