-
Notifications
You must be signed in to change notification settings - Fork 4
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
9ab8ff4
commit adafb6e
Showing
59 changed files
with
18,396 additions
and
18,194 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,38 +1,38 @@ | ||
version: 2 | ||
# created by @jcoreio/toolchain-circle | ||
|
||
version: 2.1 | ||
jobs: | ||
build: | ||
docker: | ||
- image: circleci/node:8 | ||
- 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 |
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: { | ||
es6: 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,10 +1,4 @@ | ||
.eslintcache | ||
/dist | ||
.nyc_output | ||
coverage | ||
es | ||
node_modules | ||
.eslintcache | ||
/*.js | ||
/*.js.flow | ||
!/.babelrc.js | ||
!/webpack.config.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,6 @@ | ||
/* eslint-env node, es2018 */ | ||
const base = require('@jcoreio/toolchain-mocha/.mocharc.cjs') | ||
module.exports = { | ||
...base, | ||
exit: true, | ||
} |
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
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,29 +1,29 @@ | ||
<!doctype html> | ||
<!DOCTYPE html> | ||
|
||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta httpEquiv="X-UA-Compatible" content="IE=edge,chrome=1"> | ||
<meta name="description" content=""> | ||
<meta | ||
name="viewport" | ||
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" | ||
> | ||
<title>react-view-slider</title> | ||
<style type="text/css"> | ||
body { | ||
background-color: #fafafa; | ||
} | ||
.loading { | ||
position: absolute; | ||
text-align: center; | ||
width: 100%; | ||
top: 10%; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div id="root"><h1 class="loading">Loading...</h1></div> | ||
<script src="bundle.js"></script> | ||
</body> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta httpEquiv="X-UA-Compatible" content="IE=edge,chrome=1" /> | ||
<meta name="description" content="" /> | ||
<meta | ||
name="viewport" | ||
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" | ||
/> | ||
<title>react-view-slider</title> | ||
<style type="text/css"> | ||
body { | ||
background-color: #fafafa; | ||
} | ||
.loading { | ||
position: absolute; | ||
text-align: center; | ||
width: 100%; | ||
top: 10%; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div id="root"><h1 class="loading">Loading...</h1></div> | ||
<script src="bundle.js"></script> | ||
</body> | ||
</html> |
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
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.