Skip to content

Commit 1f4415a

Browse files
committed
feat: add TS type defs
1 parent ae7699d commit 1f4415a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+9578
-12141
lines changed

.babelrc.cjs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/* eslint-env node, es2018 */
2+
module.exports = function (api) {
3+
const base = require('@jcoreio/toolchain-esnext/.babelrc.cjs')(api)
4+
return {
5+
...base,
6+
}
7+
}

.babelrc.js

Lines changed: 0 additions & 29 deletions
This file was deleted.

.circleci/config.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# created by @jcoreio/toolchain-circle
2+
3+
version: 2.1
4+
jobs:
5+
build:
6+
docker:
7+
- image: cimg/node:20.3.0
8+
9+
steps:
10+
- checkout
11+
- run:
12+
name: Setup NPM Token
13+
command: |
14+
npm config set \
15+
"//registry.npmjs.org/:_authToken=$NPM_TOKEN" \
16+
"registry=https://registry.npmjs.org/"
17+
- run:
18+
name: Corepack enable
19+
command: sudo corepack enable
20+
- run:
21+
name: Install Dependencies
22+
command: pnpm install --frozen-lockfile
23+
- run:
24+
name: Prepublish
25+
command: |
26+
[[ $(netstat -tnlp | grep -F 'circleci-agent') ]] || pnpm run tc prepublish
27+
- run:
28+
name: Release
29+
command: |
30+
[[ $(netstat -tnlp | grep -F 'circleci-agent') ]] || pnpm run tc release
31+
32+
workflows:
33+
build:
34+
jobs:
35+
- build:
36+
context:
37+
- npm-release
38+
- github-release

.eslintrc

Lines changed: 0 additions & 15 deletions
This file was deleted.

.eslintrc.cjs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/* eslint-env node, es2018 */
2+
module.exports = {
3+
extends: [require.resolve('@jcoreio/toolchain/eslint.config.cjs')],
4+
env: {
5+
es6: true,
6+
},
7+
}

.flowconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66
<PROJECT_ROOT>/node_modules/.*/tests?/.*\.json
77
<PROJECT_ROOT>/node_modules/immutable/dist/immutable.js.flow
88
<PROJECT_ROOT>/node_modules/.*/config-chain/.*
9+
<PROJECT_ROOT>/node_modules/.*/es-abstract/.*
10+
<PROJECT_ROOT>/dist/.*
11+
.*/malformed_package_json/.*
12+
13+
[declarations]
14+
<PROJECT_ROOT>/node_modules/.*/redux-form/.*
915

1016
[include]
1117
./src

.gitignore

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
.eslintcache
1+
/dist
22
.nyc_output
3-
coverage
4-
es
5-
lib
63
node_modules
4+
/coverage

.mocharc.cjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/* eslint-env node, es2018 */
2+
const base = require('@jcoreio/toolchain-mocha/.mocharc.cjs')
3+
module.exports = {
4+
...base,
5+
}

.npmignore

Lines changed: 0 additions & 19 deletions
This file was deleted.

.prettierrc

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)