-
Notifications
You must be signed in to change notification settings - Fork 2
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
8b426b3
commit 093219d
Showing
61 changed files
with
9,923 additions
and
9,480 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: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,7 @@ | ||
/* eslint-env node, es2018 */ | ||
module.exports = { | ||
extends: [require.resolve('@jcoreio/toolchain/eslint.config.cjs')], | ||
env: { | ||
es2017: true, | ||
}, | ||
} |
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
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,14 +1,4 @@ | ||
/coverage | ||
/.nyc_output | ||
/dist | ||
.nyc_output | ||
node_modules | ||
/lib | ||
/es | ||
.eslintcache | ||
*.js | ||
*.js.flow | ||
*.ts | ||
!/flow-typed/**/*.js | ||
!/src/**/*.js | ||
!/src/**/*.ts | ||
!/test/**/*.js | ||
!/.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 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
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
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
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
Oops, something went wrong.