Skip to content

Commit 95202c4

Browse files
committed
Reconfiguration of the fork into a stand-alone library
1 parent 5f4da38 commit 95202c4

File tree

18 files changed

+865
-1953
lines changed

18 files changed

+865
-1953
lines changed

.README/logo-dr-pogodin-studio.svg

Lines changed: 25 additions & 0 deletions
Loading

.README/sponsor.svg

Lines changed: 19 additions & 0 deletions
Loading

.circleci/config.yml

Lines changed: 39 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,47 @@
1-
version: 2
2-
jobs:
3-
build:
4-
docker:
5-
- image: cimg/node:18.17.1
1+
defaults: &defaults
2+
docker:
3+
- image: cimg/node:lts
64

5+
version: 2.1
6+
jobs:
7+
test:
8+
<<: *defaults
79
steps:
810
- checkout
9-
1011
- restore_cache:
11-
keys:
12-
- deps-{{ checksum "package.json" }}
13-
12+
key: node_modules-{{ checksum "yarn.lock" }}
1413
- run: yarn
15-
1614
- save_cache:
15+
key: node_modules-{{ checksum "yarn.lock" }}
1716
paths:
1817
- node_modules
19-
key: deps-{{ checksum "package.json" }}
20-
21-
- run:
22-
name: Tests
23-
command: yarn test
24-
25-
- run:
26-
name: Type checks
27-
command: yarn tsc
28-
29-
- run:
30-
name: ESLint
31-
command: yarn lint
18+
- run: yarn test
19+
- persist_to_workspace:
20+
root: .
21+
paths:
22+
- lib
23+
release:
24+
<<: *defaults
25+
steps:
26+
- checkout
27+
- attach_workspace:
28+
at: .
29+
- run: |
30+
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
31+
npm publish --access public
32+
workflows:
33+
version: 2
34+
build:
35+
jobs:
36+
- test:
37+
filters:
38+
tags:
39+
only: /.*/
40+
- release:
41+
filters:
42+
branches:
43+
ignore: /.*/
44+
tags:
45+
only: /v[0-9]+(\.[0-9]+)*/
46+
requires:
47+
- test

.eslintrc.js

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,27 +5,15 @@ module.exports = {
55
extends: [
66
'@remix-run/eslint-config',
77
'@remix-run/eslint-config/node',
8-
'@remix-run/eslint-config/jest-testing-library',
9-
'prettier',
8+
'@remix-run/eslint-config/jest-testing-library'
109
],
11-
plugins: ['prettier'],
1210
rules: {
1311
'import/order': [
1412
'error',
1513
{
1614
'newlines-between': 'always',
1715
},
1816
],
19-
'prettier/prettier': [
20-
'error',
21-
{
22-
singleQuote: true,
23-
trailingComma: 'es5',
24-
useTabs: false,
25-
tabWidth: 2,
26-
printWidth: 100,
27-
},
28-
],
2917
'testing-library/render-result-naming-convention': 'off',
3018
},
3119
settings: {

.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
github: birdofpreyru

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
*.tgz
12
lib
23
node_modules

.husky/commit-msg

Lines changed: 0 additions & 1 deletion
This file was deleted.

.npmignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1+
*.tgz
2+
.*
13
.eslintrc.js
4+
__tests__
25
jest.setup.js
3-
*.config.js
46
node_modules
57
src
6-
__tests__

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18.17.1
1+
22.14.0

.prettierignore

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

0 commit comments

Comments
 (0)