Skip to content

Commit

Permalink
Improve build tooling (#2775)
Browse files Browse the repository at this point in the history
* build: upgrade yarn

* build: yarn formatted yarnrc

* docs: documentation update

* build: add version check build step

* build: replace clean/build scripts with just-scripts

* build: use a gulp-based build system

* build: make watch task consistent

* build: move rollup deps to build pkg

* build: remove shx from top, push it into docsite

* build: delete old watch script

* build: remove unnecessary lage command

* build: pkg updates

* build: define changeset

* build: move version check outside of long build loop

* build: move babel plugin to build pkg; break out dotfiles

* build: add plugin-proposal-optional-chaining to babel stack

* build: restore pipeline name to prevent build loops from parent pkg

* build: work on pnp mode

* build: get unit tests running in pnp

* build: yarn config updates

* build: pnpify some sdks, get tests running without a build

* build: describe peer deps more completele in react-dnd

* build: remove unnecessary devDeps from html5-backend; improve peerDeps

* build: remove cra-test

* build: use react 17-rc.3

* build: get docsite running

* build: use yarn zero-install

* build: remove pipeline script

* build: use --topological-dev in build_all

* build: correct hoist-non-react-statics import

* build: remove SDI from react-dnd

* build: revert sdi for now

* build: revert react, get tests running
  • Loading branch information
darthtrevino committed Oct 15, 2020
1 parent 5ff9fbf commit d6fc37a
Show file tree
Hide file tree
Showing 2,706 changed files with 3,592 additions and 4,988 deletions.
30 changes: 0 additions & 30 deletions .eslintrc

This file was deleted.

30 changes: 30 additions & 0 deletions .eslintrc.json
@@ -0,0 +1,30 @@
{
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "react-hooks", "no-for-of-loops"],
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
"prettier",
"prettier/@typescript-eslint"
],
"settings": {
"react": {
"version": "16.8"
}
},
"env": {
"browser": true,
"jest": true,
"es6": true,
"node": true
},
"rules": {
"no-for-of-loops/no-for-of-loops": 2,
"react/prop-types": 0,

// TODO: re-enable
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/explicit-module-boundary-types": 0
}
}
3 changes: 3 additions & 0 deletions .github/workflows/node-ci.yml
Expand Up @@ -18,6 +18,9 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- name: Changelog Chcek
run: yarn version check

- run: yarn install
name: Install Dependencies

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -17,4 +17,5 @@ test-results.xml
!.yarn/plugins
!.yarn/sdks
!.yarn/versions
!.yarn/cache
.pnp.*
6 changes: 6 additions & 0 deletions .huskyrc.json
@@ -0,0 +1,6 @@
{
"hooks": {
"pre-commit": "run-s precommit:lint precommit:format",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
3 changes: 3 additions & 0 deletions .lintstagedrc.json
@@ -0,0 +1,3 @@
{
"*.{ts,tsx}": ["eslint --fix", "prettier"]
}
1 change: 0 additions & 1 deletion .npmrc

This file was deleted.

22 changes: 22 additions & 0 deletions .prettierrc.json
@@ -0,0 +1,22 @@
{
"semi": false,
"singleQuote": true,
"trailingComma": "all",
"useTabs": true,
"overrides": [
{
"files": "*.md",
"options": {
"useTabs": false,
"trailingComma": "none"
}
},
{
"files": "*.json",
"options": {
"useTabs": false,
"tabWidth": 2
}
}
]
}
6 changes: 5 additions & 1 deletion .vscode/extensions.json
@@ -1,3 +1,7 @@
{
"recommendations": ["dbaeumer.vscode-eslint", "esbenp.prettier-vscode"]
"recommendations": [
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"arcanis.vscode-zipfs"
]
}
34 changes: 20 additions & 14 deletions .vscode/settings.json
@@ -1,16 +1,22 @@
{
"search.exclude": {
"**/node_modules": true,
"**/bower_components": true
},
"editor.tabSize": 2,
"[markdown]": {
"editor.formatOnSave": true
},
"[typescript]": {
"editor.formatOnSave": true
},
"[typescriptreact]": {
"editor.formatOnSave": true
}
"search.exclude": {
"**/node_modules": true,
"**/bower_components": true,
"**/.yarn": true,
"**/.pnp.*": true
},
"editor.tabSize": 2,
"[markdown]": {
"editor.formatOnSave": true
},
"[typescript]": {
"editor.formatOnSave": true
},
"[typescriptreact]": {
"editor.formatOnSave": true
},
"eslint.nodePath": ".yarn/sdks",
"prettier.prettierPath": ".yarn/sdks/prettier/index.js",
"typescript.tsdk": ".yarn/sdks/typescript/lib",
"typescript.enablePromptUseWorkspaceTsdk": true
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit d6fc37a

Please sign in to comment.