Skip to content

Commit

Permalink
feat: add TS type defs
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards1211 committed Nov 8, 2023
1 parent 5db714f commit 90a86d6
Show file tree
Hide file tree
Showing 52 changed files with 7,201 additions and 15,807 deletions.
7 changes: 7 additions & 0 deletions .babelrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/* eslint-env node, es2018 */
module.exports = function (api) {
const base = require('@jcoreio/toolchain-esnext/.babelrc.cjs')(api)
return {
...base,
}
}
28 changes: 0 additions & 28 deletions .babelrc.js

This file was deleted.

44 changes: 24 additions & 20 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,38 @@
version: 2
# created by @jcoreio/toolchain-circle

version: 2.1
jobs:
build:
docker:
- image: circleci/node:12.16
- image: cimg/node:20.3.0

steps:
- checkout

- run:
name: Setup NPM Token
command: |
yarn config set registry "https://registry.npmjs.org/"
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc
echo "registry=https://registry.npmjs.org/" >> .npmrc
# https://github.com/atlassian/react-beautiful-dnd/issues/1007#issuecomment-446415426
npm config set \
"//registry.npmjs.org/:_authToken=$NPM_TOKEN" \
"registry=https://registry.npmjs.org/"
- run:
name: Workaround for Flow crashing
command: echo "server.max_workers=1" >> .flowconfig

name: Corepack enable
command: sudo corepack enable
- run:
name: Install Dependencies
command: yarn install --frozen-lockfile

command: pnpm install --frozen-lockfile
- run:
name: build
command: yarn run prepublishOnly
- run:
name: upload test coverage
command: yarn codecov
name: Prepublish
command: |
[[ $(netstat -tnlp | grep -F 'circleci-agent') ]] || pnpm run tc prepublish
- run:
name: release
command: yarn run semantic-release
name: Release
command: |
[[ $(netstat -tnlp | grep -F 'circleci-agent') ]] || pnpm run tc release
workflows:
build:
jobs:
- build:
context:
- npm-release
- github-release
15 changes: 0 additions & 15 deletions .eslintrc

This file was deleted.

9 changes: 9 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/* eslint-env node, es2018 */
module.exports = {
extends: [require.resolve('@jcoreio/toolchain/eslint.config.cjs')],
env: {
es6: true,
commonjs: true,
'shared-node-browser': true,
},
}
18 changes: 0 additions & 18 deletions .flowconfig

This file was deleted.

9 changes: 2 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
coverage
/dist
.nyc_output
node_modules
lib
es
.eslintcache
/*.js
/*.js.flow
!/.babelrc.js
/coverage
5 changes: 5 additions & 0 deletions .mocharc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/* eslint-env node, es2018 */
const base = require('@jcoreio/toolchain-mocha/.mocharc.cjs')
module.exports = {
...base,
}
12 changes: 0 additions & 12 deletions .npmignore

This file was deleted.

136 changes: 0 additions & 136 deletions flow-typed/npm/@commitlint/cli_vx.x.x.js

This file was deleted.

33 changes: 0 additions & 33 deletions flow-typed/npm/@commitlint/config-conventional_vx.x.x.js

This file was deleted.

33 changes: 0 additions & 33 deletions flow-typed/npm/@jedwards1211/eslint-config-flow_vx.x.x.js

This file was deleted.

Loading

0 comments on commit 90a86d6

Please sign in to comment.