Skip to content

Commit

Permalink
switch to dts-cli
Browse files Browse the repository at this point in the history
tsdx maintainer gave up on it in favour of a paid solution.
ref: jaredpalmer/tsdx#1058
  • Loading branch information
maximousblk authored Sep 13, 2021
1 parent 6ecbc44 commit fa678fb
Show file tree
Hide file tree
Showing 4 changed files with 1,514 additions and 1,988 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node: ["12.x", "14.x", "16.x"]
node: ["14.x", "16.x"]

steps:
- name: Checkout repo
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node: ["12.x", "14.x", "16.x"]
node: ["14.x", "16.x"]

steps:
- name: Checkout repo
Expand Down
41 changes: 22 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,18 @@
"url": "http://maximousblk.me/"
},
"engines": {
"node": ">=12"
"node": ">=14"
},
"scripts": {
"all": "yarn fmt && yarn lint && yarn build && yarn test && yarn size && yarn sb:build",
"clean": "rimraf dist node_modules static CHANGELOG.md",
"start": "tsdx watch --format esm",
"build": "tsdx build --format esm",
"test": "tsdx test --passWithNoTests",
"lint": "tsdx lint src test",
"clean": "rimraf dist static node_modules CHANGELOG.md",
"start": "dts watch --format esm",
"build": "dts build --format esm",
"test": "dts test --passWithNoTests",
"lint": "dts lint src test",
"fmt": "prettier --check .",
"fmt:fix": "prettier --write .",
"prepare": "tsdx build",
"prepare": "yarn build",
"size": "size-limit",
"size:analyze": "size-limit --why",
"sb": "start-storybook -p 6006",
Expand All @@ -42,9 +42,12 @@
},
"husky": {
"hooks": {
"pre-commit": "tsdx lint"
"pre-commit": "dts lint"
}
},
"jest": {
"testEnvironment": "jsdom"
},
"size-limit": [
{
"path": "dist/ui.esm.js",
Expand All @@ -53,7 +56,7 @@
],
"dependencies": {
"@chakra-ui/icons": "^1.0.15",
"@chakra-ui/react": "^1.6.6",
"@chakra-ui/react": "^1.6.7",
"@chakra-ui/theme-tools": "^1.2.0",
"@emotion/react": "^11.4.1",
"@emotion/styled": "^11.3.0",
Expand All @@ -63,31 +66,31 @@
"react-icons": "^4.2.0"
},
"devDependencies": {
"@babel/core": "^7.15.0",
"@babel/core": "^7.15.5",
"@size-limit/preset-small-lib": "^5.0.3",
"@storybook/addon-a11y": "^6.3.7",
"@storybook/addon-essentials": "^6.3.7",
"@storybook/addon-a11y": "^6.3.8",
"@storybook/addon-essentials": "^6.3.8",
"@storybook/addon-info": "^5.3.21",
"@storybook/addon-links": "^6.3.7",
"@storybook/addons": "^6.3.7",
"@storybook/react": "^6.3.7",
"@storybook/addon-links": "^6.3.8",
"@storybook/addons": "^6.3.8",
"@storybook/react": "^6.3.8",
"@storybook/theming": "^6.3.8",
"@svgr/webpack": "^5.5.0",
"@types/react": "^17.0.19",
"@types/react": "^17.0.20",
"@types/react-dom": "^17.0.9",
"babel-loader": "^8.2.2",
"dts-cli": "^0.17.0",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^7.0.2",
"prettier": "^2.3.2",
"prettier": "^2.4.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-is": "^17.0.2",
"rimraf": "^3.0.2",
"size-limit": "^5.0.3",
"storybook-addon-performance": "^0.16.1",
"tsdx": "^0.14.1",
"tslib": "^2.3.1",
"typescript": "^4.3.5"
"typescript": "^4.4.3"
},
"peerDependencies": {
"react": ">=16"
Expand Down
Loading

0 comments on commit fa678fb

Please sign in to comment.