Skip to content

Commit

Permalink
chore: fix packagejson typings
Browse files Browse the repository at this point in the history
  • Loading branch information
aladdin-add committed Aug 30, 2021
1 parent 9f0436c commit 92e4de8
Show file tree
Hide file tree
Showing 4 changed files with 610 additions and 999 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:
types: [opened, synchronize, reopened]
push:
branches: [master]
branches: [main]

jobs:
lint-and-dedupe:
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@
"tiny-glob": "^0.2.6",
"ts-jest": "^27.0.3",
"tslib": "^2.3.0",
"type-fest": "^2.1.0",
"typescript": "^4"
},
"devDependencies": {
Expand All @@ -112,11 +113,11 @@
"cssnano": "^4.1.10",
"doctoc": "^1.4.0",
"husky": "^4.2.2",
"release-it": "^14.11.5",
"pretty-quick": "^2.0.0",
"react": "^16.8.6",
"react-dom": "^16.13.0",
"react-is": "^16.13.0",
"release-it": "^14.11.5",
"rollup-plugin-postcss": "^2.5.0",
"styled-components": "^5.0.1",
"tiny-invariant": "^1.1.0",
Expand Down
5 changes: 4 additions & 1 deletion src/templates/template.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@ import { PackageJson } from 'type-fest';
interface Template {
dependencies: string[];
name: string;
packageJson: PackageJson;
packageJson: PackageJson & {
husky?: any;
prettier?: any;
};
}

0 comments on commit 92e4de8

Please sign in to comment.