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 0884953 commit 90839cf
Show file tree
Hide file tree
Showing 71 changed files with 8,196 additions and 16,436 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.

50 changes: 25 additions & 25 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,38 +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
- restore_cache:
name: Restore Yarn Package Cache
keys:
- v1-yarn-packages-{{ checksum "yarn.lock" }}

- 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
npm config set \
"//registry.npmjs.org/:_authToken=$NPM_TOKEN" \
"registry=https://registry.npmjs.org/"
- run:
name: Install Dependencies
command: yarn install --frozen-lockfile
- save_cache:
name: Save Yarn Package Cache
key: v1-yarn-packages-{{ checksum "yarn.lock" }}
paths:
- ~/.cache/yarn

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

This file was deleted.

7 changes: 7 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/* eslint-env node, es2018 */
module.exports = {
extends: [require.resolve('@jcoreio/toolchain/eslint.config.cjs')],
env: {
es6: 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 90839cf

Please sign in to comment.