@storm-software/workspace-tools 1.62.18 → 1.62.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/declarations.d.ts +129 -0
- package/executors.json +35 -0
- package/generators.json +53 -0
- package/index.js +4 -2410
- package/meta.json +1 -1
- package/package.json +16 -2
- package/src/executors/npm-publish/schema.d.ts +8 -0
- package/src/executors/npm-publish/schema.json +26 -0
- package/src/executors/tsup/executor.js +4 -2410
- package/src/executors/tsup/schema.d.ts +48 -0
- package/src/executors/tsup/schema.json +223 -0
- package/src/executors/tsup-browser/executor.js +4 -2410
- package/src/executors/tsup-browser/schema.d.ts +9 -0
- package/src/executors/tsup-browser/schema.json +11 -0
- package/src/executors/tsup-neutral/executor.js +4 -2410
- package/src/executors/tsup-neutral/schema.d.ts +5 -0
- package/src/executors/tsup-neutral/schema.json +11 -0
- package/src/executors/tsup-node/executor.js +4 -2410
- package/src/executors/tsup-node/schema.d.ts +7 -0
- package/src/executors/tsup-node/schema.json +20 -0
- package/src/executors/typia/schema.d.ts +6 -0
- package/src/executors/typia/schema.json +38 -0
- package/src/generators/browser-library/files/README.md +58 -0
- package/src/generators/browser-library/files/jest.config.ts +3 -0
- package/src/generators/browser-library/files/src/index.ts.template +10 -0
- package/src/generators/browser-library/files/tsconfig.spec.json +13 -0
- package/src/generators/browser-library/schema.d.ts +22 -0
- package/src/generators/browser-library/schema.json +82 -0
- package/src/generators/config-schema/schema.d.ts +3 -0
- package/src/generators/config-schema/schema.json +20 -0
- package/src/generators/init/schema.d.ts +3 -0
- package/src/generators/init/schema.json +16 -0
- package/src/generators/neutral-library/files/README.md +58 -0
- package/src/generators/neutral-library/files/jest.config.ts +3 -0
- package/src/generators/neutral-library/files/src/index.ts.template +10 -0
- package/src/generators/neutral-library/files/tsconfig.spec.json +13 -0
- package/src/generators/neutral-library/schema.d.ts +6 -0
- package/src/generators/neutral-library/schema.json +82 -0
- package/src/generators/node-library/files/README.md +58 -0
- package/src/generators/node-library/files/jest.config.ts +3 -0
- package/src/generators/node-library/files/src/index.ts.template +10 -0
- package/src/generators/node-library/files/tsconfig.spec.json +13 -0
- package/src/generators/node-library/schema.d.ts +22 -0
- package/src/generators/node-library/schema.json +82 -0
- package/src/generators/preset/files/.all-contributorsrc.template +48 -0
- package/src/generators/preset/files/.editorconfig +454 -0
- package/src/generators/preset/files/.env.template +43 -0
- package/src/generators/preset/files/.gitattributes +52 -0
- package/src/generators/preset/files/.github/.nvmrc +1 -0
- package/src/generators/preset/files/.github/.whitesource +14 -0
- package/src/generators/preset/files/.github/CODEOWNERS +1 -0
- package/src/generators/preset/files/.github/CODE_OF_CONDUCT.md +125 -0
- package/src/generators/preset/files/.github/CONTRIBUTING.md.template +15 -0
- package/src/generators/preset/files/.github/FUNDING.yml +3 -0
- package/src/generators/preset/files/.github/ISSUE_TEMPLATE/bug-report.yml.template +102 -0
- package/src/generators/preset/files/.github/ISSUE_TEMPLATE/documentation.yml.template +56 -0
- package/src/generators/preset/files/.github/ISSUE_TEMPLATE/feature-request.yml.template +60 -0
- package/src/generators/preset/files/.github/PULL_REQUEST_TEMPLATE.md.template +39 -0
- package/src/generators/preset/files/.github/SECURITY.md +9 -0
- package/src/generators/preset/files/.github/actions/setup-workspace/action.yaml +41 -0
- package/src/generators/preset/files/.github/codecov.yml +29 -0
- package/src/generators/preset/files/.github/labels.yml +78 -0
- package/src/generators/preset/files/.github/renovate.json.template +51 -0
- package/src/generators/preset/files/.github/stale.yml +50 -0
- package/src/generators/preset/files/.github/workflows/build-release.yml.template +94 -0
- package/src/generators/preset/files/.github/workflows/code-review.yml +18 -0
- package/src/generators/preset/files/.github/workflows/codeql.yml +84 -0
- package/src/generators/preset/files/.github/workflows/git-guardian.yml +23 -0
- package/src/generators/preset/files/.github/workflows/greetings.yml +24 -0
- package/src/generators/preset/files/.github/workflows/labels.yml +31 -0
- package/src/generators/preset/files/.github/workflows/lock.yml +26 -0
- package/src/generators/preset/files/.log4brains.yml.template +5 -0
- package/src/generators/preset/files/.markdownlint.json +28 -0
- package/src/generators/preset/files/.verdaccio/config.yml.template +40 -0
- package/src/generators/preset/files/.vscode/README.md +32 -0
- package/src/generators/preset/files/.vscode/cspell.json +3 -0
- package/src/generators/preset/files/.vscode/extensions.json +14 -0
- package/src/generators/preset/files/.vscode/launch.json +37 -0
- package/src/generators/preset/files/.vscode/settings.json +316 -0
- package/src/generators/preset/files/.vscode/tasks.json +19 -0
- package/src/generators/preset/files/LICENSE +201 -0
- package/src/generators/preset/files/README.md.template +273 -0
- package/src/generators/preset/files/assets/diagrams/.gitkeep +0 -0
- package/src/generators/preset/files/assets/icons/dark/.gitkeep +0 -0
- package/src/generators/preset/files/assets/icons/light/.gitkeep +0 -0
- package/src/generators/preset/files/assets/logos/.gitkeep +0 -0
- package/src/generators/preset/files/biome.json +4 -0
- package/src/generators/preset/files/docs/api-reference/.gitkeep +0 -0
- package/src/generators/preset/files/docs/readme-templates/README.footer.md.template +94 -0
- package/src/generators/preset/files/docs/readme-templates/README.header.md.template +17 -0
- package/src/generators/preset/files/lefthook.json +6 -0
- package/src/generators/preset/files/nx.json +3 -0
- package/src/generators/preset/files/pnpm-workspace.yaml +6 -0
- package/src/generators/preset/files/socket.yaml +20 -0
- package/src/generators/preset/files/tsconfig.base.json.template +11 -0
- package/src/generators/preset/schema.d.ts +14 -0
- package/src/generators/preset/schema.json +103 -0
- package/src/generators/release-version/schema.d.ts +3 -0
- package/src/generators/release-version/schema.json +66 -0
- package/src/utils/index.js +4 -2410
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# Configuration for probot-stale - https://github.com/probot/stale
|
|
2
|
+
|
|
3
|
+
# Number of days of inactivity before an Issue or Pull Request becomes stale
|
|
4
|
+
daysUntilStale: 60
|
|
5
|
+
|
|
6
|
+
# Number of days of inactivity before an Issue or Pull Request with the stale label is closed.
|
|
7
|
+
# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale.
|
|
8
|
+
daysUntilClose: 7
|
|
9
|
+
|
|
10
|
+
# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable
|
|
11
|
+
exemptLabels: []
|
|
12
|
+
|
|
13
|
+
# Set to true to ignore issues in a project (defaults to false)
|
|
14
|
+
exemptProjects: false
|
|
15
|
+
|
|
16
|
+
# Set to true to ignore issues in a milestone (defaults to false)
|
|
17
|
+
exemptMilestones: false
|
|
18
|
+
|
|
19
|
+
# Label to use when marking as stale
|
|
20
|
+
staleLabel: wontfix
|
|
21
|
+
|
|
22
|
+
# Comment to post when marking as stale. Set to `false` to disable
|
|
23
|
+
markComment: >
|
|
24
|
+
This issue has been automatically marked as stale because it has not had
|
|
25
|
+
recent activity. It will be closed if no further activity occurs. Thank you
|
|
26
|
+
for your contributions.
|
|
27
|
+
# Comment to post when removing the stale label.
|
|
28
|
+
# unmarkComment: >
|
|
29
|
+
# Your comment here.
|
|
30
|
+
|
|
31
|
+
# Comment to post when closing a stale Issue or Pull Request.
|
|
32
|
+
# closeComment: >
|
|
33
|
+
# Your comment here.
|
|
34
|
+
|
|
35
|
+
# Limit the number of actions per hour, from 1-30. Default is 30
|
|
36
|
+
limitPerRun: 30
|
|
37
|
+
# Limit to only `issues` or `pulls`
|
|
38
|
+
# only: issues
|
|
39
|
+
|
|
40
|
+
# Optionally, specify configuration settings that are specific to just 'issues' or 'pulls':
|
|
41
|
+
# pulls:
|
|
42
|
+
# daysUntilStale: 30
|
|
43
|
+
# markComment: >
|
|
44
|
+
# This pull request has been automatically marked as stale because it has not had
|
|
45
|
+
# recent activity. It will be closed if no further activity occurs. Thank you
|
|
46
|
+
# for your contributions.
|
|
47
|
+
|
|
48
|
+
# issues:
|
|
49
|
+
# exemptLabels:
|
|
50
|
+
# - confirmed
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
name: "Build and Release"
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
inputs:
|
|
6
|
+
tag:
|
|
7
|
+
description: override release tag
|
|
8
|
+
required: false
|
|
9
|
+
push:
|
|
10
|
+
branches:
|
|
11
|
+
- "main"
|
|
12
|
+
- "next"
|
|
13
|
+
- "alpha"
|
|
14
|
+
- "beta"
|
|
15
|
+
|
|
16
|
+
env:
|
|
17
|
+
CI: true
|
|
18
|
+
NX_VERBOSE_LOGGING: true
|
|
19
|
+
STORM_WORKER: stormie-bot
|
|
20
|
+
STORM_REPOSITORY: ${{ github.repositoryUrl }}
|
|
21
|
+
STORM_WORKSPACE_ROOT: ${{ github.workspace }}
|
|
22
|
+
NX_BASE: ${{ github.base_ref }}
|
|
23
|
+
NX_HEAD: ${{ github.head_ref }}
|
|
24
|
+
GITHUB_ACTOR: ${{ github.actor }}
|
|
25
|
+
GITHUB_TOKEN: ${{ github.token }}
|
|
26
|
+
NPM_TOKEN: ${{ secrets.STORMIE_NPM_TOKEN }}
|
|
27
|
+
|
|
28
|
+
jobs:
|
|
29
|
+
build-release:
|
|
30
|
+
if: github.repository == '<%= organization %>/<%= name %>' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/next' || github.ref == 'refs/heads/alpha' || github.ref == 'refs/heads/beta')
|
|
31
|
+
name: "Build & Release"
|
|
32
|
+
runs-on: ubuntu-latest
|
|
33
|
+
permissions:
|
|
34
|
+
contents: read
|
|
35
|
+
id-token: write
|
|
36
|
+
steps:
|
|
37
|
+
- uses: actions/checkout@v4
|
|
38
|
+
with:
|
|
39
|
+
fetch-depth: 0
|
|
40
|
+
token: ${{ secrets.STORMIE_GITHUB_TOKEN }}
|
|
41
|
+
|
|
42
|
+
- name: Setup workspace
|
|
43
|
+
uses: ./.github/actions/setup-workspace
|
|
44
|
+
|
|
45
|
+
- name: configure git
|
|
46
|
+
run: |
|
|
47
|
+
git config user.name "${{ env.STORM_WORKER }}"
|
|
48
|
+
git config user.email "${{ env.STORM_WORKER }}@users.noreply.github.com"
|
|
49
|
+
|
|
50
|
+
- name: Get appropriate base and head commits for `nx affected` commands
|
|
51
|
+
uses: nrwl/nx-set-shas@v4
|
|
52
|
+
with:
|
|
53
|
+
main-branch-name: "main"
|
|
54
|
+
|
|
55
|
+
- name: Set appropriate base and head commits for `nx affected` commands
|
|
56
|
+
run: |
|
|
57
|
+
echo "BASE: ${{ env.NX_BASE }}"
|
|
58
|
+
echo "HEAD: ${{ env.NX_HEAD }}"
|
|
59
|
+
|
|
60
|
+
- name: Build repository packages
|
|
61
|
+
run: pnpm nx run-many -t build --parallel=5
|
|
62
|
+
|
|
63
|
+
- name: Run Linters
|
|
64
|
+
run: pnpm lint
|
|
65
|
+
|
|
66
|
+
- name: Run Formatters
|
|
67
|
+
run: pnpm nx format
|
|
68
|
+
|
|
69
|
+
- name: Build repository packages
|
|
70
|
+
run: pnpm nx affected -t build --parallel=5 --base=${{ env.NX_BASE }} --head=${{ env.NX_HEAD }}
|
|
71
|
+
|
|
72
|
+
#- name: Run Tests
|
|
73
|
+
# uses: nick-fields/retry@v2.8.3
|
|
74
|
+
# with:
|
|
75
|
+
# command: npx nx affected -t test --parallel=3 --configuration=ci --base=${{ github.event.before }}
|
|
76
|
+
# timeout_minutes: 10
|
|
77
|
+
# max_attempts: 3
|
|
78
|
+
|
|
79
|
+
#- name: Upload coverage to Codecov
|
|
80
|
+
# uses: codecov/codecov-action@v3
|
|
81
|
+
|
|
82
|
+
- name: Release Library Version Updates
|
|
83
|
+
run: pnpm release --base=${{ env.NX_BASE }} --head=${{ env.NX_HEAD }}
|
|
84
|
+
env:
|
|
85
|
+
GITHUB_ACTOR: ${{ env.GITHUB_ACTOR }}
|
|
86
|
+
GITHUB_TOKEN: ${{ env.GITHUB_TOKEN }}
|
|
87
|
+
GH_TOKEN: ${{ env.GITHUB_TOKEN }}
|
|
88
|
+
NPM_TOKEN: ${{ env.NPM_TOKEN }}
|
|
89
|
+
NPM_AUTH_TOKEN: ${{ env.NPM_TOKEN }}
|
|
90
|
+
NODE_AUTH_TOKEN: ${{ env.NPM_TOKEN }}
|
|
91
|
+
STORM_WORKER: ${{ env.STORM_WORKER }}
|
|
92
|
+
STORM_WORKSPACE_ROOT: ${{ github.workspace }}
|
|
93
|
+
STORM_REPOSITORY: ${{ github.repositoryUrl }}
|
|
94
|
+
TAG: ${{ inputs.tag }}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
name: "Code Review"
|
|
2
|
+
permissions:
|
|
3
|
+
contents: read
|
|
4
|
+
pull-requests: write
|
|
5
|
+
on:
|
|
6
|
+
pull_request:
|
|
7
|
+
types:
|
|
8
|
+
- opened
|
|
9
|
+
- reopened
|
|
10
|
+
- synchronize
|
|
11
|
+
jobs:
|
|
12
|
+
test:
|
|
13
|
+
runs-on: ubuntu-latest
|
|
14
|
+
steps:
|
|
15
|
+
- uses: anc95/ChatGPT-CodeReview@main
|
|
16
|
+
env:
|
|
17
|
+
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
|
18
|
+
OPENAI_API_KEY: "${{ secrets.OPENAI_API_KEY }}"
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
# For most projects, this workflow file will not need changing; you simply need
|
|
2
|
+
# to commit it to your repository.
|
|
3
|
+
#
|
|
4
|
+
# You may wish to alter this file to override the set of languages analyzed,
|
|
5
|
+
# or to provide custom queries or build logic.
|
|
6
|
+
#
|
|
7
|
+
# ******** NOTE ********
|
|
8
|
+
# We have attempted to detect the languages in your repository. Please check
|
|
9
|
+
# the `language` matrix defined below to confirm you have the correct set of
|
|
10
|
+
# supported CodeQL languages.
|
|
11
|
+
#
|
|
12
|
+
name: "CodeQL"
|
|
13
|
+
|
|
14
|
+
on:
|
|
15
|
+
push:
|
|
16
|
+
branches: ["main"]
|
|
17
|
+
pull_request:
|
|
18
|
+
# The branches below must be a subset of the branches above
|
|
19
|
+
branches: ["main"]
|
|
20
|
+
schedule:
|
|
21
|
+
- cron: "37 16 * * 6"
|
|
22
|
+
|
|
23
|
+
jobs:
|
|
24
|
+
analyze:
|
|
25
|
+
name: Analyze
|
|
26
|
+
# Runner size impacts CodeQL analysis time. To learn more, please see:
|
|
27
|
+
# - https://gh.io/recommended-hardware-resources-for-running-codeql
|
|
28
|
+
# - https://gh.io/supported-runners-and-hardware-resources
|
|
29
|
+
# - https://gh.io/using-larger-runners
|
|
30
|
+
# Consider using larger runners for possible analysis time improvements.
|
|
31
|
+
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
|
|
32
|
+
timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}
|
|
33
|
+
permissions:
|
|
34
|
+
actions: read
|
|
35
|
+
contents: read
|
|
36
|
+
security-events: write
|
|
37
|
+
|
|
38
|
+
strategy:
|
|
39
|
+
fail-fast: false
|
|
40
|
+
matrix:
|
|
41
|
+
language: ["javascript"]
|
|
42
|
+
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby', 'swift' ]
|
|
43
|
+
# Use only 'java' to analyze code written in Java, Kotlin or both
|
|
44
|
+
# Use only 'javascript' to analyze code written in JavaScript, TypeScript or both
|
|
45
|
+
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
|
|
46
|
+
|
|
47
|
+
steps:
|
|
48
|
+
- name: Checkout repository
|
|
49
|
+
uses: actions/checkout@v4
|
|
50
|
+
with:
|
|
51
|
+
fetch-depth: 0
|
|
52
|
+
token: ${{ secrets.STORMIE_GITHUB_TOKEN }}
|
|
53
|
+
|
|
54
|
+
# Initializes the CodeQL tools for scanning.
|
|
55
|
+
- name: Initialize CodeQL
|
|
56
|
+
uses: github/codeql-action/init@v3
|
|
57
|
+
with:
|
|
58
|
+
languages: ${{ matrix.language }}
|
|
59
|
+
# If you wish to specify custom queries, you can do so here or in a config file.
|
|
60
|
+
# By default, queries listed here will override any specified in a config file.
|
|
61
|
+
# Prefix the list here with "+" to use these queries and those in the config file.
|
|
62
|
+
|
|
63
|
+
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
|
|
64
|
+
# queries: security-extended,security-and-quality
|
|
65
|
+
|
|
66
|
+
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
|
|
67
|
+
# If this step fails, then you should remove it and run the build manually (see below)
|
|
68
|
+
- name: Autobuild
|
|
69
|
+
uses: github/codeql-action/autobuild@v3
|
|
70
|
+
|
|
71
|
+
# ℹ️ Command-line programs to run using the OS shell.
|
|
72
|
+
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
|
|
73
|
+
|
|
74
|
+
# If the Autobuild fails above, remove it and uncomment the following three lines.
|
|
75
|
+
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
|
|
76
|
+
|
|
77
|
+
# - run: |
|
|
78
|
+
# echo "Run, Build Application using script"
|
|
79
|
+
# ./location_of_script_within_repo/buildscript.sh
|
|
80
|
+
|
|
81
|
+
- name: Perform CodeQL Analysis
|
|
82
|
+
uses: github/codeql-action/analyze@v3
|
|
83
|
+
with:
|
|
84
|
+
category: "/language:${{matrix.language}}"
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
name: "GitGuardian Scan"
|
|
2
|
+
|
|
3
|
+
on: [push, pull_request]
|
|
4
|
+
|
|
5
|
+
jobs:
|
|
6
|
+
scanning:
|
|
7
|
+
name: GitGuardian scan
|
|
8
|
+
runs-on: ubuntu-latest
|
|
9
|
+
steps:
|
|
10
|
+
- name: Checkout repository
|
|
11
|
+
uses: actions/checkout@v4
|
|
12
|
+
with:
|
|
13
|
+
fetch-depth: 0
|
|
14
|
+
token: ${{ secrets.STORMIE_GITHUB_TOKEN }}
|
|
15
|
+
|
|
16
|
+
- name: GitGuardian scan
|
|
17
|
+
uses: GitGuardian/ggshield-action@master
|
|
18
|
+
env:
|
|
19
|
+
GITHUB_PUSH_BEFORE_SHA: ${{ github.event.before }}
|
|
20
|
+
GITHUB_PUSH_BASE_SHA: ${{ github.event.base }}
|
|
21
|
+
GITHUB_PULL_BASE_SHA: ${{ github.event.pull_request.base.sha }}
|
|
22
|
+
GITHUB_DEFAULT_BRANCH: ${{ github.event.repository.default_branch }}
|
|
23
|
+
GITGUARDIAN_API_KEY: ${{ secrets.GITGUARDIAN_API_KEY }}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
name: "Greetings"
|
|
2
|
+
|
|
3
|
+
on: [pull_request_target, issues]
|
|
4
|
+
|
|
5
|
+
env:
|
|
6
|
+
CI: true
|
|
7
|
+
NX_DAEMON: false
|
|
8
|
+
NX_VERBOSE_LOGGING: true
|
|
9
|
+
GITHUB_ACTOR: ${{ github.actor }}
|
|
10
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
11
|
+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
12
|
+
|
|
13
|
+
jobs:
|
|
14
|
+
greeting:
|
|
15
|
+
runs-on: ubuntu-latest
|
|
16
|
+
permissions:
|
|
17
|
+
issues: write
|
|
18
|
+
pull-requests: write
|
|
19
|
+
steps:
|
|
20
|
+
- uses: actions/first-interaction@v1
|
|
21
|
+
with:
|
|
22
|
+
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
23
|
+
issue-message: "Thank you for your interest in this project! We will review this issue and reach out to you ASAP"
|
|
24
|
+
pr-message: "We sincerely appreciate your effort/interest in contributing to this project. We will review this change and get back to you ASAP. Please feel free to reach out to the DEV team if you have any questions/comments."
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Sync labels
|
|
3
|
+
|
|
4
|
+
on:
|
|
5
|
+
push:
|
|
6
|
+
branches:
|
|
7
|
+
- main
|
|
8
|
+
paths:
|
|
9
|
+
- .github/labels.yml
|
|
10
|
+
|
|
11
|
+
env:
|
|
12
|
+
CI: true
|
|
13
|
+
NX_DAEMON: false
|
|
14
|
+
NX_VERBOSE_LOGGING: true
|
|
15
|
+
SKIP_ENV_VALIDATION: true
|
|
16
|
+
|
|
17
|
+
jobs:
|
|
18
|
+
labels:
|
|
19
|
+
name: ♻️ Sync labels
|
|
20
|
+
runs-on: ubuntu-latest
|
|
21
|
+
steps:
|
|
22
|
+
- name: Checkout repository
|
|
23
|
+
uses: actions/checkout@v4
|
|
24
|
+
with:
|
|
25
|
+
fetch-depth: 0
|
|
26
|
+
token: ${{ secrets.GITHUB_TOKEN }}
|
|
27
|
+
|
|
28
|
+
- name: 🚀 Run Label Syncer
|
|
29
|
+
uses: micnncim/action-label-syncer@v1.3.0
|
|
30
|
+
env:
|
|
31
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Lock
|
|
3
|
+
|
|
4
|
+
on:
|
|
5
|
+
schedule:
|
|
6
|
+
- cron: "0 9 * * *"
|
|
7
|
+
workflow_dispatch:
|
|
8
|
+
|
|
9
|
+
env:
|
|
10
|
+
CI: true
|
|
11
|
+
NX_DAEMON: false
|
|
12
|
+
NX_VERBOSE_LOGGING: true
|
|
13
|
+
SKIP_ENV_VALIDATION: true
|
|
14
|
+
|
|
15
|
+
jobs:
|
|
16
|
+
lock:
|
|
17
|
+
name: 🔒 Lock closed issues and PRs
|
|
18
|
+
runs-on: ubuntu-latest
|
|
19
|
+
steps:
|
|
20
|
+
- uses: dessant/lock-threads@v5
|
|
21
|
+
with:
|
|
22
|
+
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
23
|
+
issue-inactive-days: "30"
|
|
24
|
+
issue-lock-reason: ""
|
|
25
|
+
pr-inactive-days: "1"
|
|
26
|
+
pr-lock-reason: ""
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"default": true,
|
|
3
|
+
"MD033": {
|
|
4
|
+
"allowed_elements": [
|
|
5
|
+
"h1",
|
|
6
|
+
"h2",
|
|
7
|
+
"h3",
|
|
8
|
+
"HR",
|
|
9
|
+
"p",
|
|
10
|
+
"a",
|
|
11
|
+
"b",
|
|
12
|
+
"div",
|
|
13
|
+
"img",
|
|
14
|
+
"br",
|
|
15
|
+
"details",
|
|
16
|
+
"summary",
|
|
17
|
+
"strong",
|
|
18
|
+
"table",
|
|
19
|
+
"tbody",
|
|
20
|
+
"tr",
|
|
21
|
+
"td",
|
|
22
|
+
"tfoot",
|
|
23
|
+
"sub"
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
"line-length": false,
|
|
27
|
+
"first-line-heading": false
|
|
28
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# path to a directory with all packages
|
|
2
|
+
storage: ../dist/local-registry/storage
|
|
3
|
+
|
|
4
|
+
# a list of other known repositories we can talk to
|
|
5
|
+
uplinks:
|
|
6
|
+
npmjs:
|
|
7
|
+
url: https://registry.npmjs.org/
|
|
8
|
+
maxage: 60m
|
|
9
|
+
|
|
10
|
+
packages:
|
|
11
|
+
'@<%= namespace %>/*':
|
|
12
|
+
access: $all
|
|
13
|
+
publish: $all
|
|
14
|
+
proxy: http://localhost:4873
|
|
15
|
+
|
|
16
|
+
'@*/*':
|
|
17
|
+
# scoped packages
|
|
18
|
+
access: $all
|
|
19
|
+
publish: $all
|
|
20
|
+
unpublish: $all
|
|
21
|
+
proxy: npmjs
|
|
22
|
+
|
|
23
|
+
'**':
|
|
24
|
+
# give all users (including non-authenticated users) full access
|
|
25
|
+
# because it is a local registry
|
|
26
|
+
access: $all
|
|
27
|
+
publish: $all
|
|
28
|
+
unpublish: $all
|
|
29
|
+
|
|
30
|
+
# if package is not available locally, proxy requests to npm registry
|
|
31
|
+
proxy: npmjs
|
|
32
|
+
|
|
33
|
+
# log settings
|
|
34
|
+
logs:
|
|
35
|
+
type: stdout
|
|
36
|
+
format: pretty
|
|
37
|
+
level: warn
|
|
38
|
+
|
|
39
|
+
publish:
|
|
40
|
+
allow_offline: true # set offline to true to allow publish offline
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
## VS Code Settings
|
|
2
|
+
|
|
3
|
+
This directory includes the global settings for the development of this Storm workspace.
|
|
4
|
+
|
|
5
|
+
See:
|
|
6
|
+
|
|
7
|
+
- [VS Code Doc: User and Workspace Settings](https://code.visualstudio.com/docs/getstarted/settings)
|
|
8
|
+
- [What is a VS Code Workspace?](https://stackoverflow.com/questions/44629890/what-is-a-workspace-in-visual-studio-code)
|
|
9
|
+
|
|
10
|
+
### Overriding Global Settings
|
|
11
|
+
|
|
12
|
+
It is possible to create your own "local" settings, overriding the global, via a `.code-workspace` file. See:
|
|
13
|
+
|
|
14
|
+
- [Workspace Settings](https://code.visualstudio.com/docs/editor/multi-root-workspaces#_settings)
|
|
15
|
+
- [Local settings overrides](https://github.com/microsoft/vscode/issues/37519)
|
|
16
|
+
|
|
17
|
+
> `*.code-workspace` files are included in `.gitignore`
|
|
18
|
+
|
|
19
|
+
For example, if you want a bright pink status background (and who doesn't?), create this file in the root of your project `mySettings.code-workspace`:
|
|
20
|
+
|
|
21
|
+
```
|
|
22
|
+
// mySettings.code-workspace
|
|
23
|
+
|
|
24
|
+
"workbench.colorCustomizations": {
|
|
25
|
+
"statusBar.background": "#ff007f",
|
|
26
|
+
},
|
|
27
|
+
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
> **WARNING:** If you create a custom file that is ignored by git, then _anytime_ you run `git clean -fxd` the file will be permanently deleted.
|
|
31
|
+
>
|
|
32
|
+
> You can avoid this by using the option `-e`, e.g. `git clean -fxd -e mySettings.code-workspace`.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"recommendations": [
|
|
3
|
+
"nrwl.angular-console",
|
|
4
|
+
"storm-software.acidic",
|
|
5
|
+
"esbenp.prettier-vscode",
|
|
6
|
+
"firsttris.vscode-jest-runner",
|
|
7
|
+
"dbaeumer.vscode-eslint",
|
|
8
|
+
"streetsidesoftware.code-spell-checker",
|
|
9
|
+
"editorconfig.editorconfig",
|
|
10
|
+
"ambar.bundle-size",
|
|
11
|
+
"vscode-icons-team.vscode-icons",
|
|
12
|
+
"davidanson.vscode-markdownlint"
|
|
13
|
+
]
|
|
14
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "0.2.0",
|
|
3
|
+
"configurations": [
|
|
4
|
+
{
|
|
5
|
+
"name": "Run Extension",
|
|
6
|
+
"type": "extensionHost",
|
|
7
|
+
"request": "launch",
|
|
8
|
+
"args": [
|
|
9
|
+
"--extensionDevelopmentPath=${workspaceFolder}/node_modules/@acidic/language"
|
|
10
|
+
]
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"name": "Run CodeGen",
|
|
14
|
+
"type": "extensionHost",
|
|
15
|
+
"request": "launch",
|
|
16
|
+
"args": [
|
|
17
|
+
"--extensionDevelopmentPath=${workspaceFolder}/node_modules/acidic"
|
|
18
|
+
]
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "Attach",
|
|
22
|
+
"port": 9229,
|
|
23
|
+
"request": "attach",
|
|
24
|
+
"skipFiles": ["<node_internals>/**"],
|
|
25
|
+
"type": "node"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "Attach to Language Server",
|
|
29
|
+
"type": "node",
|
|
30
|
+
"port": 6009,
|
|
31
|
+
"request": "attach",
|
|
32
|
+
"skipFiles": ["<node_internals>/**"],
|
|
33
|
+
"sourceMaps": true,
|
|
34
|
+
"outFiles": ["${workspaceFolder}/node_modules/@acidic/language/**/*.js"]
|
|
35
|
+
}
|
|
36
|
+
]
|
|
37
|
+
}
|