generated from technologiestiftung/template-repo-citylab
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from technologiestiftung/first-draft
chore(init): Setup first draft for testing
- Loading branch information
Showing
22 changed files
with
11,656 additions
and
110 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 |
---|---|---|
@@ -1,16 +1,13 @@ | ||
{ | ||
"projectName": "template-default", | ||
"projectOwner": "technologiestiftung", | ||
"repoType": "github", | ||
"repoHost": "https://github.com", | ||
"files": [ | ||
"README.md" | ||
], | ||
"imageSize": 64, | ||
"commit": true, | ||
"commitConvention": "angular", | ||
"contributors": [ | ||
], | ||
"contributorsPerLine": 7, | ||
"skipCi": true | ||
"projectName": "template-default", | ||
"projectOwner": "technologiestiftung", | ||
"repoType": "github", | ||
"repoHost": "https://github.com", | ||
"files": ["README.md"], | ||
"imageSize": 64, | ||
"commit": true, | ||
"commitConvention": "angular", | ||
"contributors": [], | ||
"contributorsPerLine": 7, | ||
"skipCi": 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,7 @@ | ||
--- | ||
name: Custom issue template | ||
about: Describe this issue template's purpose here. | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
title: "" | ||
labels: "" | ||
assignees: "" | ||
--- | ||
|
||
|
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,4 +1,4 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"extends": ["github>technologiestiftung/renovate-config"] | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"extends": ["github>technologiestiftung/renovate-config"] | ||
} |
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 |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# This workflow will do a clean install of node dependencies, build the source code and run tests | ||
name: Node.js CI | ||
permissions: | ||
contents: write | ||
packages: write | ||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
branches: [main] | ||
|
||
jobs: | ||
build: | ||
env: | ||
CI: true | ||
ESLINT_USE_FLAT_CONFIG: true | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Use Node.js from .nvmrc | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version-file: ".nvmrc" | ||
- run: npm ci | ||
- run: npm run build --if-present | ||
- run: npm run test --if-present | ||
release: | ||
name: semantic-release | ||
needs: [build] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
persist-credentials: false | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version-file: ".nvmrc" | ||
- run: | | ||
npm ci | ||
npx semantic-release --ci | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
v20.11.1 |
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 @@ | ||
test/* |
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,23 +1,32 @@ | ||
{ | ||
"workbench.colorCustomizations": { | ||
"activityBar.activeBackground": "#185ded", | ||
"activityBar.activeBorder": "#76092d", | ||
"activityBar.background": "#185ded", | ||
"activityBar.foreground": "#e7e7e7", | ||
"activityBar.inactiveForeground": "#e7e7e799", | ||
"activityBarBadge.background": "#76092d", | ||
"activityBarBadge.foreground": "#e7e7e7", | ||
"sash.hoverBorder": "#185ded", | ||
"statusBar.background": "#0f49c3", | ||
"statusBar.foreground": "#e7e7e7", | ||
"statusBarItem.hoverBackground": "#185ded", | ||
"statusBarItem.remoteBackground": "#0f49c3", | ||
"statusBarItem.remoteForeground": "#e7e7e7", | ||
"titleBar.activeBackground": "#0f49c3", | ||
"titleBar.activeForeground": "#e7e7e7", | ||
"titleBar.inactiveBackground": "#0f49c399", | ||
"titleBar.inactiveForeground": "#e7e7e799", | ||
"commandCenter.border": "#e7e7e799" | ||
}, | ||
"peacock.color": "#0f49c3" | ||
} | ||
"workbench.colorCustomizations": { | ||
"activityBar.activeBackground": "#185ded", | ||
"activityBar.activeBorder": "#76092d", | ||
"activityBar.background": "#185ded", | ||
"activityBar.foreground": "#e7e7e7", | ||
"activityBar.inactiveForeground": "#e7e7e799", | ||
"activityBarBadge.background": "#76092d", | ||
"activityBarBadge.foreground": "#e7e7e7", | ||
"sash.hoverBorder": "#185ded", | ||
"statusBar.background": "#0f49c3", | ||
"statusBar.foreground": "#e7e7e7", | ||
"statusBarItem.hoverBackground": "#185ded", | ||
"statusBarItem.remoteBackground": "#0f49c3", | ||
"statusBarItem.remoteForeground": "#e7e7e7", | ||
"titleBar.activeBackground": "#0f49c3", | ||
"titleBar.activeForeground": "#e7e7e7", | ||
"titleBar.inactiveBackground": "#0f49c399", | ||
"titleBar.inactiveForeground": "#e7e7e799", | ||
"commandCenter.border": "#e7e7e799", | ||
"editorGroup.border": "#185ded", | ||
"panel.border": "#185ded", | ||
"sideBar.border": "#185ded", | ||
"statusBar.border": "#0f49c3", | ||
"statusBar.debuggingBackground": "#c3890f", | ||
"statusBar.debuggingBorder": "#c3890f", | ||
"statusBar.debuggingForeground": "#15202b", | ||
"tab.activeBorder": "#185ded", | ||
"titleBar.border": "#0f49c3" | ||
}, | ||
"peacock.color": "#0f49c3" | ||
} |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
// https://eslint.org/blog/2022/08/new-config-system-part-2/ | ||
import technologiestiftung from "./index.js"; | ||
export default [...technologiestiftung]; |
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,45 @@ | ||
// @ts-check | ||
|
||
import eslint from "@eslint/js"; | ||
import tseslint from "typescript-eslint"; | ||
|
||
export default tseslint.config( | ||
eslint.configs.recommended, | ||
...tseslint.configs.recommended, | ||
...tseslint.configs.strict, | ||
{ | ||
rules: { | ||
"prefer-const": "error", | ||
curly: "error", | ||
"no-console": "error", | ||
"no-undef": "error", | ||
"no-var": "error", | ||
//FIXME: default case not working? | ||
"default-case": ["error"], | ||
"arrow-parens": "error", | ||
"consistent-return": "error", | ||
"default-param-last": ["error"], | ||
eqeqeq: "error", | ||
"func-style": ["error", "declaration", { allowArrowFunctions: true }], | ||
"max-depth": ["error", 4], | ||
"max-lines": ["error", 150], | ||
"max-params": ["error", 3], | ||
complexity: ["error", 3], | ||
"new-cap": ["error", { newIsCap: true }], | ||
"no-else-return": "error", | ||
"no-eval": "error", | ||
"no-implicit-globals": "error", | ||
"no-lonely-if": "error", | ||
"no-loop-func": "error", | ||
"no-multi-assign": "error", | ||
"no-multi-str": "error", | ||
"no-nested-ternary": "error", | ||
"no-new": "error", | ||
"no-param-reassign": "error", | ||
"no-return-assign": "error", | ||
"no-shadow": "error", | ||
"no-throw-literal": "error", | ||
"no-unneeded-ternary": "error", | ||
}, | ||
}, | ||
); |
Oops, something went wrong.