Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix!: cleanup and re-organize npm library #389

Merged
merged 29 commits into from
Apr 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
73d0637
refactor: update structure of exported objects for apps
beawar Mar 5, 2024
e1da5e3
style: add consistent type import/export rules
beawar Mar 5, 2024
1a34f91
build: improve lib build with api-extractor
beawar Mar 6, 2024
53f35e3
chore: move configs to ts/esm where possible
beawar Mar 6, 2024
cd11b57
fix: add missing direct exports from lib
beawar Mar 6, 2024
5058499
fix: add missing exports and improve jsns typing
beawar Mar 7, 2024
3541f02
fix: add missing exports
beawar Mar 7, 2024
c970f80
fix: make __ZAPP_SHARED_LIBRARIES__ object respect exports of npm lib…
beawar Mar 8, 2024
cb854d2
fix: update pre-push script
beawar Mar 13, 2024
1952f29
fix: remove import of src files from d.ts and improve exports
beawar Mar 13, 2024
be6b6dd
refactor: improve typings
beawar Mar 13, 2024
cbc6780
chore: commit api-report
beawar Mar 14, 2024
14f8c70
refactor: restore generics on integration register functions
beawar Mar 15, 2024
045e64b
chore: update thirdparties
beawar Mar 15, 2024
928d050
refactor: remove commented out code
beawar Mar 15, 2024
19affa0
build: update build:dev script
beawar Mar 20, 2024
c822dca
Merge branch 'devel' into SHELL-157-cleanup-and-reorganize-types-api-…
beawar Mar 20, 2024
e681aaf
chore: update husky init command
beawar Mar 22, 2024
d176e24
Merge branch 'devel' into SHELL-157-cleanup-and-reorganize-types-api-…
beawar Mar 22, 2024
db1ba8e
Merge branch 'devel' into SHELL-157-cleanup-and-reorganize-types-api-…
beawar Mar 26, 2024
7d8d4a6
refactor: improve Batch types and replace fetch types on account sett…
beawar Mar 29, 2024
d197478
refactor: flat i18n store and remove unused code
beawar Mar 29, 2024
90e6fc5
refactor: deduplicate code for integration utils
beawar Mar 29, 2024
6645295
build(deps): restore redux toolkit version
beawar Mar 29, 2024
f8313bc
fix: add export of SoapHeader type
beawar Apr 9, 2024
289f0ff
Merge remote-tracking branch 'origin/devel' into SHELL-157-cleanup-an…
beawar Apr 10, 2024
e3d41af
chore: update api report
beawar Apr 10, 2024
79278d0
Merge remote-tracking branch 'origin/devel' into SHELL-157-cleanup-an…
beawar Apr 15, 2024
6930e81
Merge branch 'devel' into SHELL-157-cleanup-and-reorganize-types-api-…
beawar Apr 15, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ module.exports = {
}
}
},
parserOptions: {
project: ['tsconfig.json']
},
globals: {
BASE_PATH: 'readonly',
__CARBONIO_DEV__: 'readonly',
Expand All @@ -37,7 +40,9 @@ module.exports = {
],
'sonarjs/cognitive-complexity': 'warn',
// TODO: enable when this will be released https://github.com/SonarSource/eslint-plugin-sonarjs/pull/405
'sonarjs/no-duplicate-string': 'off'
'sonarjs/no-duplicate-string': 'off',
'@typescript-eslint/consistent-type-exports': 'error',
'@typescript-eslint/consistent-type-imports': 'error'
},
overrides: [
{
Expand All @@ -52,7 +57,7 @@ module.exports = {
}
},
{
files: ['carbonio.webpack.ts'],
files: ['carbonio.webpack.ts', '*.config.ts'],
rules: {
'import/no-extraneous-dependencies': 'off'
}
Expand Down
5 changes: 5 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# SPDX-FileCopyrightText: 2024 Zextras <https://www.zextras.com>

# SPDX-License-Identifier: CC0-1.0

api-extractor.json linguist-language=JSON-with-Comments
1 change: 0 additions & 1 deletion .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
npm run build:clean
npm run build
29 changes: 0 additions & 29 deletions .npmignore

This file was deleted.

7 changes: 0 additions & 7 deletions .prettierrc.js

This file was deleted.

8 changes: 8 additions & 0 deletions .reuse/dep5
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,11 @@ License: CC0-1.0
Files: THIRDPARTIES
Copyright: 2024 Zextras <https://www.zextras.com>
License: CC0-1.0

Files: api-extractor/*
Copyright: 2024 Zextras <https://www.zextras.com>
License: CC0-1.0

Files: api-extractor.json
Copyright: 2024 Zextras <https://www.zextras.com>
License: CC0-1.0
2 changes: 2 additions & 0 deletions THIRDPARTIES
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@ MIT License (MIT) applies to:
@commitlint/cli, Copyright (c) 2016 - present Mario Nebl
@commitlint/config-conventional, Copyright (c) 2016 - present Mario Nebl
@faker-js/faker, Faker - Copyright (c) 2022-2024, faker.js - Copyright (c) 2020 Marak Squires
@microsoft/api-extractor, Copyright (c) Microsoft Corporation. All rights reserved.
@reduxjs/toolkit, Copyright (c) 2018 Mark Erikson
@sentry/browser, Copyright (c) 2019 Sentry (https://sentry.io) and individual contributors. All rights reserved.
@svgr/webpack, Copyright 2017 Smooth Code
@testing-library/jest-dom, Copyright (c) 2017 Kent C. Dodds
@testing-library/react, Copyright (c) 2017 Kent C. Dodds
@testing-library/user-event, Copyright (c) 2020 Giorgio Polvara
@tinymce/tinymce-react, Copyright (c) 2022 Ephox Corporation DBA Tiny Technologies, Inc.
@tsconfig/node18, Copyright (c) Microsoft Corporation.
@types/jest, Copyright (c) Microsoft Corporation.
@types/lodash, Copyright (c) Microsoft Corporation.
@types/node, Copyright (c) Microsoft Corporation.
Expand Down
Loading