Skip to content

Commit 9d8118e

Browse files
committed
feat: no zalando
BREAKING CHANGE: no zalando
1 parent 8b8fff4 commit 9d8118e

142 files changed

Lines changed: 9763 additions & 9968 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.depcheckrc

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

.eleventyignore

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

.eslintrc.json

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
11
{
2-
"extends": [
3-
"eslint-config-qiwi",
4-
"prettier"
5-
],
6-
"ignorePatterns": ["src/main/tpl/**/*.js"],
7-
"rules": {
8-
"unicorn/prefer-type-error": 0,
9-
"unicorn/consistent-function-scoping": 0
10-
}
2+
"extends": "eslint-config-qiwi"
113
}

.github/workflows/ci.yaml

Lines changed: 35 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,59 +1,57 @@
1-
# This is a Github Workflow that runs tests on any push or pull request.
21
name: CI
3-
on: [push, pull_request]
2+
on: [ push, pull_request ]
43
jobs:
54
test:
5+
name: Test
66
runs-on: ubuntu-latest
77
steps:
88
- name: Checkout
99
uses: actions/checkout@v4
1010

11-
- name: Setup NodeJS
11+
- name: Setup
1212
uses: actions/setup-node@v4
13-
with:
14-
node-version: 16
1513

16-
- name: Install deps
14+
- name: Install
1715
run: yarn
1816

17+
- name: Install
18+
run: npx packasso install
19+
1920
- name: Test
20-
run: yarn test
21+
run: npx packasso test
2122

22-
release_radar:
23-
name: Publish radar to gh-pages
24-
# https://github.community/t/trigger-job-on-tag-push-only/18076
23+
publish:
24+
name: Publish
2525
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
2626
runs-on: ubuntu-latest
2727
needs: test
2828
steps:
29-
- name: Checkuout
29+
- name: Checkout
3030
uses: actions/checkout@v4
3131

32-
- name: Setup NodeJS
32+
- name: Setup
3333
uses: actions/setup-node@v4
34-
with:
35-
node-version: 16
3634

37-
- name: Install deps
35+
- name: Install
3836
run: yarn
3937

40-
- name: Generate
41-
run: |
42-
yarn generate
43-
yarn docs
38+
- name: Install
39+
run: npx packasso install
40+
41+
- name: Build
42+
run: yarn build
4443

45-
- name: Publish gh-pages
44+
- name: Publish
4645
uses: peaceiris/actions-gh-pages@v3
4746
with:
4847
github_token: ${{ secrets.GITHUB_TOKEN }}
49-
publish_dir: ./dist
48+
publish_dir: ./target/radar
5049
commit_message: "docs: update tech-radar static"
5150
allow_empty_commit: true
5251
enable_jekyll: false
5352

54-
release_lib:
55-
name: Release lib
56-
# https://github.community/t/trigger-job-on-tag-push-only/18076
53+
release:
54+
name: Release
5755
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
5856
needs: test
5957
runs-on: ubuntu-latest
@@ -64,28 +62,33 @@ jobs:
6462
persist-credentials: false
6563
fetch-depth: 0
6664

67-
- uses: actions/setup-node@v4
68-
with:
69-
node-version: 16
65+
- name: Setup
66+
uses: actions/setup-node@v4
7067

71-
- name: Install deps
68+
- name: Install
7269
run: yarn
7370

71+
- name: Install
72+
run: npx packasso install
73+
74+
- name: Build
75+
run: npx packasso build
76+
7477
- name: Test
75-
run: yarn test:unit
78+
run: npx packasso test
7679

77-
- name: Codeclimate
80+
- name: Code Climate
7881
uses: paambaati/[email protected]
7982
env:
8083
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
8184
with:
8285
coverageLocations: |
83-
${{ github.workspace }}/coverage/lcov.info:lcov
86+
${{ github.workspace }}/target/coverage/lcov.info:lcov
8487
8588
- name: Release
8689
env:
8790
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
8891
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
8992
GIT_COMMITTER_EMAIL: ${{ secrets.GIT_COMMITTER_EMAIL }}
9093
GIT_COMMITTER_NAME: ${{ secrets.GIT_COMMITTER_NAME }}
91-
run: npm_config_yes=true npx zx-semrel
94+
run: npx packasso release

.gitignore

Lines changed: 25 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -1,82 +1,33 @@
1-
# Logs
2-
logs
3-
*.log
4-
npm-debug.log*
5-
yarn-debug.log*
6-
yarn-error.log*
7-
lerna-debug.log*
1+
# misc
82

9-
# Diagnostic reports (https://nodejs.org/api/report.html)
10-
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
3+
.DS_Store
4+
/.idea
115

12-
# Runtime data
13-
pids
14-
*.pid
15-
*.seed
16-
*.pid.lock
6+
# local
177

18-
# Coverage
19-
flow-coverage
20-
lib-cov
21-
coverage
22-
.nyc_output
23-
*.lcov
8+
*.local
249

25-
# Bundles
26-
bundle/
27-
build/
28-
dist/
29-
target/
30-
typings/
31-
flow-typed/
32-
buildstamp.json
10+
# yarn
3311

34-
# Docs
35-
docs
36-
doc
12+
/.pnp.*
13+
/.yarn/cache
14+
/.yarn/unplugged
15+
/.yarn/install-state.gz
16+
/yarn-error.log
3717

38-
# Deps
39-
node_modules
40-
jspm_packages
41-
bower_components
42-
package-lock.json
43-
npm-shrinkwrap.json
18+
# open-ssl
4419

45-
#IDE
46-
.idea
47-
.idea/
48-
49-
# Yarn Integrity file
50-
.yarn-integrity
51-
52-
.npm
53-
.eslintcache
54-
.node_repl_history
55-
.env
56-
57-
# Typescript
58-
*.tsbuildinfo
59-
.tsbuildinfo
60-
buildcache
61-
.buildcache
62-
63-
# Microbundle cache
64-
.rpt2_cache/
65-
.rts2_cache_cjs/
66-
.rts2_cache_es/
67-
.rts2_cache_umd/
68-
69-
# Temp
70-
src/test/js/temp
71-
72-
# Code Climate
73-
cc-reporter
74-
cc-reporter.*
75-
codeclimate.*
76-
coverage.*
77-
78-
# Creds
79-
*.asc
80-
*.key
20+
*.ca
21+
*.crt
22+
*.csr
23+
*.der
24+
*.kdb
25+
*.org
26+
*.p12
8127
*.pem
82-
*.cert
28+
*.rnd
29+
*.ssleay
30+
*.smime
31+
32+
/node_modules
33+
/target

.prettierrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"prettier-config-qiwi"

.releaserc.json

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

.yarn/releases/yarn-4.0.1.cjs

Lines changed: 893 additions & 0 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
compressionLevel: mixed
2+
3+
enableGlobalCache: false
4+
5+
nodeLinker: node-modules
6+
7+
yarnPath: .yarn/releases/yarn-4.0.1.cjs

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2020
3+
Copyright (c) 2023 QIWI
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)