Skip to content

Commit 9e182ed

Browse files
committed
modified prettier config
Signed-off-by: Maximilian Inckmann <[email protected]>
1 parent 9d6f695 commit 9e182ed

17 files changed

+3864
-3863
lines changed

.eslintrc.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
2-
"env": {
3-
"browser": true,
4-
"es2021": true
5-
},
6-
"extends": ["standard-with-typescript", "prettier"],
7-
"overrides": [],
8-
"parserOptions": {
9-
"ecmaVersion": "latest",
10-
"sourceType": "module"
11-
},
12-
"rules": {}
2+
"env": {
3+
"browser": true,
4+
"es2021": true
5+
},
6+
"extends": ["standard-with-typescript", "prettier"],
7+
"overrides": [],
8+
"parserOptions": {
9+
"ecmaVersion": "latest",
10+
"sourceType": "module"
11+
},
12+
"rules": {}
1313
}

.github/dependabot.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55

66
version: 2
77
updates:
8-
- package-ecosystem: "npm" # See documentation for possible values
9-
directory: "/" # Location of package manifests
10-
target-branch: "dev"
11-
schedule:
12-
interval: "weekly"
13-
- package-ecosystem: "github-actions"
14-
directory: "/"
15-
target-branch: "dev"
16-
schedule:
17-
interval: "weekly"
8+
- package-ecosystem: "npm" # See documentation for possible values
9+
directory: "/" # Location of package manifests
10+
target-branch: "dev"
11+
schedule:
12+
interval: "weekly"
13+
- package-ecosystem: "github-actions"
14+
directory: "/"
15+
target-branch: "dev"
16+
schedule:
17+
interval: "weekly"

.github/workflows/ci.yml

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -2,32 +2,32 @@
22
name: CI
33

44
on:
5-
push:
6-
branches: [main, "**"]
7-
pull_request:
8-
branches: [main]
5+
push:
6+
branches: [main, "**"]
7+
pull_request:
8+
branches: [main]
99

1010
permissions:
11-
contents: read
11+
contents: read
1212

1313
jobs:
14-
build:
15-
runs-on: ubuntu-latest
16-
steps:
17-
- uses: actions/checkout@v5
18-
- uses: actions/setup-node@v6
19-
with:
20-
node-version: 20
21-
cache: "npm"
22-
- name: Install dependencies
23-
run: npm ci
24-
- name: Lint
25-
run: npm run lint --if-present
26-
- name: Build
27-
run: npm run build
28-
- name: Upload dist artifact
29-
if: success()
30-
uses: actions/upload-artifact@v4
31-
with:
32-
name: dist
33-
path: dist/
14+
build:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v5
18+
- uses: actions/setup-node@v6
19+
with:
20+
node-version: 20
21+
cache: "npm"
22+
- name: Install dependencies
23+
run: npm ci
24+
- name: Lint
25+
run: npm run lint --if-present
26+
- name: Build
27+
run: npm run build
28+
- name: Upload dist artifact
29+
if: success()
30+
uses: actions/upload-artifact@v4
31+
with:
32+
name: dist
33+
path: dist/

.github/workflows/npm-publish.yml

Lines changed: 67 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -3,76 +3,76 @@
33
name: Publish Node.js Package
44

55
on:
6-
release:
7-
types: [published]
6+
release:
7+
types: [published]
88

99
permissions:
10-
contents: read
11-
packages: write
12-
id-token: write
10+
contents: read
11+
packages: write
12+
id-token: write
1313

1414
jobs:
15-
build:
16-
runs-on: ubuntu-latest
17-
permissions:
18-
contents: read
19-
steps:
20-
- uses: actions/checkout@v5
21-
- uses: actions/setup-node@v6
22-
with:
23-
node-version: 20
24-
cache: "npm" # Added caching
25-
- run: npm ci
26-
- run: npm run build
27-
- name: Upload build artifacts
28-
uses: actions/upload-artifact@v4
29-
with:
30-
name: build-output
31-
path: dist/
15+
build:
16+
runs-on: ubuntu-latest
17+
permissions:
18+
contents: read
19+
steps:
20+
- uses: actions/checkout@v5
21+
- uses: actions/setup-node@v6
22+
with:
23+
node-version: 20
24+
cache: "npm" # Added caching
25+
- run: npm ci
26+
- run: npm run build
27+
- name: Upload build artifacts
28+
uses: actions/upload-artifact@v4
29+
with:
30+
name: build-output
31+
path: dist/
3232

33-
publish-gpr:
34-
needs: build
35-
runs-on: ubuntu-latest
36-
permissions:
37-
contents: read
38-
packages: write
39-
steps:
40-
- uses: actions/checkout@v5
41-
- uses: actions/setup-node@v6
42-
with:
43-
node-version: 20
44-
cache: "npm"
45-
registry-url: "https://npm.pkg.github.com"
46-
scope: "@kit-data-manager"
47-
- name: Download build artifacts
48-
uses: actions/download-artifact@v4
49-
with:
50-
name: build-output
51-
path: dist/
52-
- run: npm ci
53-
- run: npm publish
54-
env:
55-
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
33+
publish-gpr:
34+
needs: build
35+
runs-on: ubuntu-latest
36+
permissions:
37+
contents: read
38+
packages: write
39+
steps:
40+
- uses: actions/checkout@v5
41+
- uses: actions/setup-node@v6
42+
with:
43+
node-version: 20
44+
cache: "npm"
45+
registry-url: "https://npm.pkg.github.com"
46+
scope: "@kit-data-manager"
47+
- name: Download build artifacts
48+
uses: actions/download-artifact@v4
49+
with:
50+
name: build-output
51+
path: dist/
52+
- run: npm ci
53+
- run: npm publish
54+
env:
55+
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
5656

57-
publish-npm:
58-
needs: build
59-
runs-on: ubuntu-latest
60-
permissions:
61-
contents: read
62-
id-token: write
63-
steps:
64-
- uses: actions/checkout@v5
65-
- uses: actions/setup-node@v6
66-
with:
67-
node-version: 20
68-
cache: "npm"
69-
registry-url: "https://registry.npmjs.org"
70-
- name: Download build artifacts
71-
uses: actions/download-artifact@v4
72-
with:
73-
name: build-output
74-
path: dist/
75-
- run: npm ci
76-
- run: npm publish --provenance --access public
77-
env:
78-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
57+
publish-npm:
58+
needs: build
59+
runs-on: ubuntu-latest
60+
permissions:
61+
contents: read
62+
id-token: write
63+
steps:
64+
- uses: actions/checkout@v5
65+
- uses: actions/setup-node@v6
66+
with:
67+
node-version: 20
68+
cache: "npm"
69+
registry-url: "https://registry.npmjs.org"
70+
- name: Download build artifacts
71+
uses: actions/download-artifact@v4
72+
with:
73+
name: build-output
74+
path: dist/
75+
- run: npm ci
76+
- run: npm publish --provenance --access public
77+
env:
78+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.pre-commit-config.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# See https://pre-commit.com for more information
22
# See https://pre-commit.com/hooks.html for more hooks
33
repos:
4-
- repo: https://github.com/pre-commit/pre-commit-hooks
5-
rev: v3.2.0
6-
hooks:
7-
- id: trailing-whitespace
8-
- id: check-yaml
9-
- id: check-added-large-files
10-
- repo: https://github.com/Materials-Data-Science-and-Informatics/somesy
11-
rev: "v0.7.3"
12-
hooks:
13-
- id: somesy
4+
- repo: https://github.com/pre-commit/pre-commit-hooks
5+
rev: v3.2.0
6+
hooks:
7+
- id: trailing-whitespace
8+
- id: check-yaml
9+
- id: check-added-large-files
10+
- repo: https://github.com/Materials-Data-Science-and-Informatics/somesy
11+
rev: "v0.7.3"
12+
hooks:
13+
- id: somesy

.prettierrc.json

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
{
2-
"$schema": "https://json.schemastore.org/prettierrc",
3-
"printWidth": 100,
4-
"tabWidth": 2,
5-
"useTabs": false,
6-
"semi": true,
7-
"singleQuote": true,
8-
"trailingComma": "all",
9-
"bracketSpacing": true,
10-
"arrowParens": "always",
11-
"endOfLine": "lf",
12-
"quoteProps": "as-needed",
13-
"proseWrap": "preserve",
14-
"overrides": [
15-
{
16-
"files": ["*.yml", "*.yaml"],
17-
"options": { "singleQuote": false }
18-
}
19-
]
2+
"$schema": "https://json.schemastore.org/prettierrc",
3+
"printWidth": 100,
4+
"tabWidth": 4,
5+
"useTabs": false,
6+
"semi": true,
7+
"singleQuote": true,
8+
"trailingComma": "all",
9+
"bracketSpacing": true,
10+
"arrowParens": "always",
11+
"endOfLine": "lf",
12+
"quoteProps": "as-needed",
13+
"proseWrap": "preserve",
14+
"overrides": [
15+
{
16+
"files": ["*.yml", "*.yaml"],
17+
"options": { "singleQuote": false }
18+
}
19+
]
2020
}

CITATION.cff

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -3,39 +3,39 @@ message: If you use this software, please cite it using these metadata.
33
type: software
44
title: '@kit-data-manager/mapping-service-input'
55
abstract: The mapping-service-input provides a minimalistic user interface for
6-
the KIT Data Manager Mapping Service. It allows users to select an existing
7-
mapping schema and use it to map their data.
6+
the KIT Data Manager Mapping Service. It allows users to select an existing
7+
mapping schema and use it to map their data.
88
version: 1.2.1
99
keywords:
10-
- metadata
11-
- JSON
12-
- mapping
13-
- form
14-
- kit-data-manager
15-
- typescript
10+
- metadata
11+
- JSON
12+
- mapping
13+
- form
14+
- kit-data-manager
15+
- typescript
1616
authors:
17-
- orcid: https://orcid.org/0009-0005-2800-4833
18-
given-names: Maximilian
19-
affiliation: Karlsruhe Institute of Technology (KIT)
20-
21-
family-names: Inckmann
22-
- orcid: https://orcid.org/0000-0003-2804-688X
23-
affiliation: Karlsruhe Institute of Technology (KIT)
24-
given-names: Thomas
25-
family-names: Jejkal
26-
- orcid: https://orcid.org/0000-0001-6575-1022
27-
affiliation: Karlsruhe Institute of Technology (KIT)
28-
given-names: Andreas
29-
family-names: Pfeil
30-
- given-names: Ajay
31-
orcid: https://orcid.org/0009-0008-3532-7018
32-
family-names: Kirar
17+
- orcid: https://orcid.org/0009-0005-2800-4833
18+
given-names: Maximilian
19+
affiliation: Karlsruhe Institute of Technology (KIT)
20+
21+
family-names: Inckmann
22+
- orcid: https://orcid.org/0000-0003-2804-688X
23+
affiliation: Karlsruhe Institute of Technology (KIT)
24+
given-names: Thomas
25+
family-names: Jejkal
26+
- orcid: https://orcid.org/0000-0001-6575-1022
27+
affiliation: Karlsruhe Institute of Technology (KIT)
28+
given-names: Andreas
29+
family-names: Pfeil
30+
- given-names: Ajay
31+
orcid: https://orcid.org/0009-0008-3532-7018
32+
family-names: Kirar
3333
license: Apache-2.0
3434
url: https://kit-data-manager.github.io/com_mapping-service-input
3535
repository-code: https://github.com/kit-data-manager/com_mapping-service-input.git
3636
contact:
37-
- affiliation: Karlsruhe Institute of Technology (KIT)
38-
family-names: Inckmann
39-
40-
given-names: Maximilian
41-
orcid: https://orcid.org/0009-0005-2800-4833
37+
- affiliation: Karlsruhe Institute of Technology (KIT)
38+
family-names: Inckmann
39+
40+
given-names: Maximilian
41+
orcid: https://orcid.org/0009-0005-2800-4833

0 commit comments

Comments
 (0)