-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5db714f
commit 90a86d6
Showing
52 changed files
with
7,201 additions
and
15,807 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, | ||
}, | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.