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 9, 2023
1 parent bd663b9 commit d6eefa8
Show file tree
Hide file tree
Showing 100 changed files with 16,978 additions and 15,524 deletions.
45 changes: 0 additions & 45 deletions .babelrc

This file was deleted.

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,
}
}
38 changes: 38 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# created by @jcoreio/toolchain-circle

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

steps:
- checkout
- run:
name: Setup NPM Token
command: |
npm config set \
"//registry.npmjs.org/:_authToken=$NPM_TOKEN" \
"registry=https://registry.npmjs.org/"
- run:
name: Corepack enable
command: sudo corepack enable
- run:
name: Install Dependencies
command: pnpm install --frozen-lockfile
- run:
name: Prepublish
command: |
[[ $(netstat -tnlp | grep -F 'circleci-agent') ]] || pnpm run tc prepublish
- run:
name: Release
command: |
[[ $(netstat -tnlp | grep -F 'circleci-agent') ]] || pnpm run tc release
workflows:
build:
jobs:
- build:
context:
- npm-release
- github-release
9 changes: 0 additions & 9 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,
},
}
3 changes: 3 additions & 0 deletions .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
<PROJECT_ROOT>/node_modules/fbjs/.*
<PROJECT_ROOT>/node_modules/.*/fbjs/.*
<PROJECT_ROOT>/node_modules/findup/test/.*
<PROJECT_ROOT>/dist/.*
.*/malformed_package_json/.*
.*/findup/.*

[include]
./src
Expand Down
10 changes: 2 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
coverage
/dist
.nyc_output
node_modules
lib
<<<<<<< HEAD

=======
es
.eslintcache
>>>>>>> 83bcb673fd60bdafcfecf3dbf166a0dcb2a5340b
/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,
}
21 changes: 0 additions & 21 deletions .npmignore

This file was deleted.

20 changes: 0 additions & 20 deletions .travis.yml

This file was deleted.

1 change: 0 additions & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Loading

0 comments on commit d6eefa8

Please sign in to comment.