Skip to content

Commit

Permalink
chore: remove scripts and run from root
Browse files Browse the repository at this point in the history
  • Loading branch information
segunadebayo committed Nov 21, 2021
1 parent de40a73 commit f9f349c
Show file tree
Hide file tree
Showing 32 changed files with 112 additions and 2,429 deletions.
1 change: 0 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"bracketSpacing": true,
"jsxBracketSameLine": false,
"jsxSingleQuote": false,
"printWidth": 120,
"proseWrap": "always",
Expand Down
10 changes: 4 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
"dev": "yarn buildr --dev",
"watch": "yarn buildr --dev --watch",
"build:bundle": "yarn buildr",
"build:types": "ultra -r --silent --filter \"@ui-machines/*\" --build",
"prepare": "husky install && yarn dev",
"build:types": "ultra -r --silent --filter \"@ui-machines/*\" \"tsc src/index.ts --declaration --emitDeclarationOnly --target es2018 --outDir dist --skipLibCheck --moduleResolution node --strict false\"",
"prebuild": "ultra -r --silent --filter \"@ui-machines/*\" \"rm -rf dist\"",
"build": "yarn build:types && yarn build:bundle",
"start:react": "cd examples/next-ts && yarn dev",
"start:vue": "cd examples/vue-ts && yarn dev",
Expand All @@ -26,12 +28,8 @@
"gen:machine": "ts-node scripts/generate-machine.ts",
"gen:util": "ts-node scripts/generate-util.ts",
"lint": "npm-run-all lint:**",
"lint:code": "eslint . --ext .js,.jsx,.ts,.tsx -c .eslintrc",
"lint:pkgs": "manypkg check",
"lint:types": "tsc --noEmit --incremental",
"pkg": "manypkg run",
"lint:code": "eslint packages --ext .ts",
"postinstall": "patch-package",
"prepare:": "husky install",
"release": "changeset publish",
"test": "jest --maxWorkers=50%",
"test:ci": "jest --runInBand"
Expand Down
3 changes: 0 additions & 3 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,5 @@
},
"devDependencies": {
"@ui-machines/utils": "^0.0.0"
},
"scripts": {
"build": "tsc src/index.ts --declaration --emitDeclarationOnly --target es2018 --outDir dist --skipLibCheck --moduleResolution node --strict false"
}
}
3 changes: 0 additions & 3 deletions packages/frameworks/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,5 @@
},
"peerDependencies": {
"react": ">=16.8.6"
},
"scripts": {
"build": "tsc src/index.ts --declaration --emitDeclarationOnly --target es2018 --outDir dist --skipLibCheck --moduleResolution node --strict false"
}
}
3 changes: 0 additions & 3 deletions packages/frameworks/solid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,5 @@
},
"peerDependencies": {
"solid-js": ">=1.1.3"
},
"scripts": {
"build": "tsc src/index.ts --declaration --emitDeclarationOnly --target es2018 --outDir dist --skipLibCheck --moduleResolution node --strict false"
}
}
3 changes: 0 additions & 3 deletions packages/frameworks/svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,5 @@
},
"peerDependencies": {
"svelte": "^3.38.2"
},
"scripts": {
"build": "tsc src/index.ts --declaration --emitDeclarationOnly --target es2018 --outDir dist --skipLibCheck --moduleResolution node --strict false"
}
}
3 changes: 0 additions & 3 deletions packages/frameworks/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,5 @@
"peerDependencies": {
"vue": ">=3.0.0",
"@vue/runtime-dom": ">=3.2.0"
},
"scripts": {
"build": "tsc src/index.ts --declaration --emitDeclarationOnly --target es2018 --outDir dist --skipLibCheck --moduleResolution node --strict false"
}
}
3 changes: 0 additions & 3 deletions packages/machines/accordion/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,5 @@
"@ui-machines/utils": "^0.0.0",
"@ui-machines/dom-utils": "^0.0.0",
"@ui-machines/types": "^0.0.0"
},
"scripts": {
"build": "tsc src/index.ts --declaration --emitDeclarationOnly --target es2018 --outDir dist --skipLibCheck --moduleResolution node --strict false"
}
}
3 changes: 0 additions & 3 deletions packages/machines/combobox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,5 @@
"@ui-machines/utils": "^0.0.0",
"@ui-machines/dom-utils": "^0.0.0",
"@ui-machines/types": "^0.0.0"
},
"scripts": {
"build": "tsc src/index.ts --declaration --emitDeclarationOnly --target es2018 --outDir dist --skipLibCheck --moduleResolution node --strict false"
}
}
3 changes: 0 additions & 3 deletions packages/machines/dialog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,5 @@
"@ui-machines/utils": "^0.0.0",
"@ui-machines/dom-utils": "^0.0.0",
"@ui-machines/types": "^0.0.0"
},
"scripts": {
"build": "tsc src/index.ts --declaration --emitDeclarationOnly --target es2018 --outDir dist --skipLibCheck --moduleResolution node --strict false"
}
}
3 changes: 0 additions & 3 deletions packages/machines/editable/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,5 @@
"devDependencies": {
"@ui-machines/dom-utils": "^0.0.0",
"@ui-machines/types": "^0.0.0"
},
"scripts": {
"build": "tsc src/index.ts --declaration --emitDeclarationOnly --target es2018 --outDir dist --skipLibCheck --moduleResolution node --strict false"
}
}
3 changes: 0 additions & 3 deletions packages/machines/menu/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,5 @@
"@ui-machines/dom-utils": "^0.0.0",
"@ui-machines/rect-utils": "^0.0.0",
"@ui-machines/types": "^0.0.0"
},
"scripts": {
"build": "tsc src/index.ts --declaration --emitDeclarationOnly --target es2018 --outDir dist --skipLibCheck --moduleResolution node --strict false"
}
}
3 changes: 0 additions & 3 deletions packages/machines/number-input/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,5 @@
"@ui-machines/rect-utils": "^0.0.0",
"@ui-machines/number-utils": "^0.0.0",
"@ui-machines/types": "^0.0.0"
},
"scripts": {
"build": "tsc src/index.ts --declaration --emitDeclarationOnly --target es2018 --outDir dist --skipLibCheck --moduleResolution node --strict false"
}
}
3 changes: 0 additions & 3 deletions packages/machines/pin-input/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,5 @@
"@ui-machines/utils": "^0.0.0",
"@ui-machines/dom-utils": "^0.0.0",
"@ui-machines/types": "^0.0.0"
},
"scripts": {
"build": "tsc src/index.ts --declaration --emitDeclarationOnly --target es2018 --outDir dist --skipLibCheck --moduleResolution node --strict false"
}
}
3 changes: 0 additions & 3 deletions packages/machines/popover/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,5 @@
"@ui-machines/utils": "^0.0.0",
"@ui-machines/dom-utils": "^0.0.0",
"@ui-machines/types": "^0.0.0"
},
"scripts": {
"build": "tsc src/index.ts --declaration --emitDeclarationOnly --target es2018 --outDir dist --skipLibCheck --moduleResolution node --strict false"
}
}
3 changes: 0 additions & 3 deletions packages/machines/pressable/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,5 @@
"@ui-machines/utils": "^0.0.0",
"@ui-machines/dom-utils": "^0.0.0",
"@ui-machines/types": "^0.0.0"
},
"scripts": {
"build": "tsc src/index.ts --declaration --emitDeclarationOnly --target es2018 --outDir dist --skipLibCheck --moduleResolution node --strict false"
}
}
3 changes: 0 additions & 3 deletions packages/machines/range-slider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,5 @@
"@ui-machines/utils": "^0.0.0",
"@ui-machines/dom-utils": "^0.0.0",
"@ui-machines/types": "^0.0.0"
},
"scripts": {
"build": "tsc src/index.ts --declaration --emitDeclarationOnly --target es2018 --outDir dist --skipLibCheck --moduleResolution node --strict false"
}
}
3 changes: 0 additions & 3 deletions packages/machines/rating/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,5 @@
"@ui-machines/utils": "^0.0.0",
"@ui-machines/dom-utils": "^0.0.0",
"@ui-machines/types": "^0.0.0"
},
"scripts": {
"build": "tsc src/index.ts --declaration --emitDeclarationOnly --target es2018 --outDir dist --skipLibCheck --moduleResolution node --strict false"
}
}
3 changes: 0 additions & 3 deletions packages/machines/slider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,5 @@
"@ui-machines/number-utils": "^0.0.0",
"@ui-machines/dom-utils": "^0.0.0",
"@ui-machines/types": "^0.0.0"
},
"scripts": {
"build": "tsc src/index.ts --declaration --emitDeclarationOnly --target es2018 --outDir dist --skipLibCheck --moduleResolution node --strict false"
}
}
3 changes: 0 additions & 3 deletions packages/machines/split-view/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,5 @@
"@ui-machines/number-utils": "^0.0.0",
"@ui-machines/rect-utils": "^0.0.0",
"@ui-machines/types": "^0.0.0"
},
"scripts": {
"build": "tsc src/index.ts --declaration --emitDeclarationOnly --target es2018 --outDir dist --skipLibCheck --moduleResolution node --strict false"
}
}
3 changes: 0 additions & 3 deletions packages/machines/tabs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,5 @@
"@ui-machines/number-utils": "^0.0.0",
"@ui-machines/rect-utils": "^0.0.0",
"@ui-machines/types": "^0.0.0"
},
"scripts": {
"build": "tsc src/index.ts --declaration --emitDeclarationOnly --target es2018 --outDir dist --skipLibCheck --moduleResolution node --strict false"
}
}
3 changes: 0 additions & 3 deletions packages/machines/tags-input/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,5 @@
"@ui-machines/utils": "^0.0.0",
"@ui-machines/dom-utils": "^0.0.0",
"@ui-machines/types": "^0.0.0"
},
"scripts": {
"build": "tsc src/index.ts --declaration --emitDeclarationOnly --target es2018 --outDir dist --skipLibCheck --moduleResolution node --strict false"
}
}
3 changes: 0 additions & 3 deletions packages/machines/toast/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,5 @@
"@ui-machines/utils": "^0.0.0",
"@ui-machines/dom-utils": "^0.0.0",
"@ui-machines/types": "^0.0.0"
},
"scripts": {
"build": "tsc src/index.ts --declaration --emitDeclarationOnly --target es2018 --outDir dist --skipLibCheck --moduleResolution node --strict false"
}
}
3 changes: 0 additions & 3 deletions packages/machines/tooltip/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,5 @@
"@ui-machines/utils": "^0.0.0",
"@ui-machines/dom-utils": "^0.0.0",
"@ui-machines/types": "^0.0.0"
},
"scripts": {
"build": "tsc src/index.ts --declaration --emitDeclarationOnly --target es2018 --outDir dist --skipLibCheck --moduleResolution node --strict false"
}
}
3 changes: 0 additions & 3 deletions packages/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,5 @@
},
"bugs": {
"url": "https://github.com/chakra-ui/ui-machines/issues"
},
"scripts": {
"build": "tsc src/index.ts --declaration --emitDeclarationOnly --target es2018 --outDir dist --skipLibCheck --moduleResolution node --strict false"
}
}
3 changes: 0 additions & 3 deletions packages/utilities/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,5 @@
},
"bugs": {
"url": "https://github.com/chakra-ui/ui-machines/issues"
},
"scripts": {
"build": "tsc src/index.ts --declaration --emitDeclarationOnly --target es2018 --outDir dist --skipLibCheck --moduleResolution node --strict false"
}
}
3 changes: 0 additions & 3 deletions packages/utilities/dom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,5 @@
},
"bugs": {
"url": "https://github.com/chakra-ui/ui-machines/issues"
},
"scripts": {
"build": "tsc src/index.ts --declaration --emitDeclarationOnly --target es2018 --outDir dist --skipLibCheck --moduleResolution node --strict false"
}
}
3 changes: 0 additions & 3 deletions packages/utilities/number/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,5 @@
},
"bugs": {
"url": "https://github.com/chakra-ui/ui-machines/issues"
},
"scripts": {
"build": "tsc src/index.ts --declaration --emitDeclarationOnly --target es2018 --outDir dist --skipLibCheck --moduleResolution node --strict false"
}
}
3 changes: 0 additions & 3 deletions packages/utilities/rect/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,5 @@
},
"bugs": {
"url": "https://github.com/chakra-ui/ui-machines/issues"
},
"scripts": {
"build": "tsc src/index.ts --declaration --emitDeclarationOnly --target es2018 --outDir dist --skipLibCheck --moduleResolution node --strict false"
}
}
Loading

0 comments on commit f9f349c

Please sign in to comment.