Skip to content

Commit 7d4fc2a

Browse files
committed
port
1 parent b3dda68 commit 7d4fc2a

127 files changed

Lines changed: 22577 additions & 2 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.
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Feature Request
2+
description: Create a feature request
3+
labels: ['feature']
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: Thanks for taking the time to file a feature request! Please fill out this form as completely as possible.
8+
- type: markdown
9+
attributes:
10+
value: 'Feature requests will be converted to the GitHub Discussions "Ideas" section.'
11+
- type: textarea
12+
attributes:
13+
label: Describe the feature you'd like to request
14+
description: A clear and concise description of what you want and what your use case is.
15+
validations:
16+
required: true
17+
- type: textarea
18+
attributes:
19+
label: Describe the solution you'd like
20+
description: A clear and concise description of what you want to happen.
21+
validations:
22+
required: true
23+
- type: textarea
24+
attributes:
25+
label: Describe alternatives you've considered
26+
description: A clear and concise description of any alternative solutions or features you've considered.
27+
validations:
28+
required: true
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: Bug Report
2+
description: Create a bug report
3+
labels: ['bug']
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: Thanks for taking the time to file a bug report! Please fill out this form as completely as possible.
8+
- type: input
9+
attributes:
10+
label: What version of Idea are you using?
11+
description: 'For example: 0.1.1'
12+
validations:
13+
required: true
14+
- type: input
15+
attributes:
16+
label: What OS are you experiencing this issue?
17+
description: 'For example: Windows 10 Pro, MacOS Monterey, Ubuntu 23.10'
18+
validations:
19+
required: true
20+
- type: textarea
21+
attributes:
22+
label: Describe the Bug
23+
description: A clear and concise description of what the bug is.
24+
validations:
25+
required: true
26+
- type: textarea
27+
attributes:
28+
label: Expected Behavior
29+
description: A clear and concise description of what you expected to happen.
30+
validations:
31+
required: true
32+
- type: textarea
33+
attributes:
34+
label: To Reproduce
35+
description: Steps to reproduce the behavior, please provide a clear code snippets that always reproduces the issue or a GitHub repository. Screenshots can be provided in the issue body below.
36+
validations:
37+
required: true
38+
- type: input
39+
attributes:
40+
label: Include git repo/fork so we can easily reproduce the issue
41+
description: 'For example: https://github.com/username/repo.git'
42+
validations:
43+
required: false
44+
- type: markdown
45+
attributes:
46+
value: Before posting the issue go through the steps you've written down to make sure the steps provided are detailed and clear.
47+
- type: markdown
48+
attributes:
49+
value: Contributors should be able to follow the steps provided in order to reproduce the bug.
50+
- type: markdown
51+
attributes:
52+
value: These steps are used to add integration tests to ensure the same issue does not happen again. Thanks in advance!

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
blank_issues_enabled: false

.github/pull_request_template.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<!--
2+
Thanks for opening a PR! Your contribution is much appreciated.
3+
Please make sure you have followed our contributing guidelines. If you
4+
haven't done so in your commits, please reference the issue numbers as
5+
well as the time you spent on this in the comments below so we can track
6+
time. example `fixed button #1001 3h`. In order to make sure your PR is
7+
handled as smoothly as possible we request that you follow the checklist
8+
sections below. Choose the right checklist for the change that you're
9+
making:
10+
-->
11+
12+
## What is this PR for?
13+
14+
- [ ] Just updating content and/or documentation
15+
- [ ] This fixes issue #_____
16+
- [ ] Spot fix *(no issue #)*
17+
- [ ] Merging WIP feature #_____
18+
- [ ] Merging done feature #_____
19+
- [ ] This is a merge from a version branch
20+
- [ ] Adding/Updating tests
21+
- [ ] This is a conflict resolution
22+
- [ ] This is a branch cleanup
23+
- [ ] Other: ________________
24+
25+
## I verify that...
26+
27+
- [ ] I have logged my time in the commits
28+
- [ ] I have logged my time in this PR
29+
- [ ] I have tagged all the relevant issues
30+
- [ ] I am using VS Code for type checks and linting, or
31+
- [ ] I have ran `npm run test` with no errors
32+
- [ ] I have manually checked that this bug or feature is working

.github/workflows/comment.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Auto Comment
2+
on: [issues, pull_request]
3+
jobs:
4+
run:
5+
runs-on: ubuntu-latest
6+
steps:
7+
-
8+
if: github.event.pull_request.head.repo.full_name == github.repository
9+
uses: wow-actions/auto-comment@v1.1.2
10+
with:
11+
GITHUB_TOKEN: ${{ secrets.API_TOKEN_GITHUB }}
12+
issuesOpened: |
13+
👋 @{{ author }}
14+
Thank you for raising an issue! Please make sure you have given as much context as possible. Screenshots are appreciated!
15+
pullRequestOpened: |
16+
👋 @{{ author }}
17+
Thank you for raising your pull request. Please make sure you have followed our contributing guidelines. If you haven't done so in your commits, please reference the issue numbers as well as the time you spent on this in the comments below so we can track time. example `fixed button #1001 3h`

.github/workflows/stale.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Close inactive issues
2+
on:
3+
schedule:
4+
- cron: "30 1 * * *"
5+
jobs:
6+
close-issues:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/stale@v9.0.0
10+
with:
11+
days-before-issue-stale: 30
12+
days-before-issue-close: 14
13+
stale-issue-label: "stale"
14+
stale-issue-message: "This issue is stale because it has been open for 30 days with no activity."
15+
close-issue-message: "This issue was closed because it has been inactive for 14 days since being marked as stale."
16+
days-before-pr-stale: -1
17+
days-before-pr-close: -1
18+
repo-token: ${{ secrets.API_TOKEN_GITHUB }}

.github/workflows/test.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Idea Test Suite
2+
on: [push]
3+
jobs:
4+
test:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v4
8+
- name: Set up Node.js
9+
uses: actions/setup-node@v4
10+
with:
11+
node-version: '20.x'
12+
- name: Install dependencies
13+
run: yarn
14+
- name: Building code
15+
run: yarn build
16+
- name: Run tests
17+
run: yarn test

.gitignore

Lines changed: 147 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,147 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
lerna-debug.log*
8+
9+
# Diagnostic reports (https://nodejs.org/api/report.html)
10+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
11+
12+
# Runtime data
13+
pids
14+
*.pid
15+
*.seed
16+
*.pid.lock
17+
18+
# Directory for instrumented libs generated by jscoverage/JSCover
19+
lib-cov
20+
21+
# Coverage directory used by tools like istanbul
22+
coverage
23+
*.lcov
24+
25+
# nyc test coverage
26+
.nyc_output
27+
28+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
29+
.grunt
30+
31+
# Bower dependency directory (https://bower.io/)
32+
bower_components
33+
34+
# node-waf configuration
35+
.lock-wscript
36+
37+
# Compiled binary addons (https://nodejs.org/api/addons.html)
38+
build/Release
39+
40+
# Dependency directories
41+
node_modules/
42+
jspm_packages/
43+
44+
# TypeScript v1 declaration files
45+
typings/
46+
47+
# TypeScript cache
48+
*.tsbuildinfo
49+
50+
# Optional npm cache directory
51+
.npm
52+
53+
# Optional eslint cache
54+
.eslintcache
55+
56+
# Microbundle cache
57+
.rpt2_cache/
58+
.rts2_cache_cjs/
59+
.rts2_cache_es/
60+
.rts2_cache_umd/
61+
62+
# Optional REPL history
63+
.node_repl_history
64+
65+
# Output of 'npm pack'
66+
*.tgz
67+
68+
# Yarn Integrity file
69+
.yarn-integrity
70+
71+
# dotenv environment variables file
72+
.env
73+
.env.test
74+
.env.local
75+
76+
# parcel-bundler cache (https://parceljs.org/)
77+
.cache
78+
79+
# Next.js build output
80+
.next
81+
82+
# Nuxt.js build / generate output
83+
.nuxt
84+
dist
85+
86+
# Gatsby files
87+
.cache/
88+
# Comment in the public line in if your project uses Gatsby and *not* Next.js
89+
# https://nextjs.org/blog/next-9-1#public-directory-support
90+
# public
91+
92+
# vuepress build output
93+
.vuepress/dist
94+
95+
# Serverless directories
96+
.serverless/
97+
98+
# FuseBox cache
99+
.fusebox/
100+
101+
# DynamoDB Local files
102+
.dynamodb/
103+
104+
# TernJS port file
105+
.tern-port
106+
107+
# production
108+
build
109+
110+
# misc
111+
.DS_Store
112+
*.pem
113+
114+
# debug
115+
npm-debug.log*
116+
yarn-debug.log*
117+
yarn-error.log*
118+
.pnpm-debug.log*
119+
120+
# local env files
121+
.env*.local
122+
123+
# vercel
124+
.vercel
125+
.swc
126+
127+
# typescript
128+
*.tsbuildinfo
129+
next-env.d.ts
130+
131+
cache/
132+
archives/
133+
coverages/
134+
135+
*.dbg.json
136+
Session.vim
137+
*keypair.json
138+
139+
#cockroachdb
140+
cockroach-data
141+
142+
#custom
143+
archives
144+
example/src/enums.ts
145+
packages/idea-language/client/package-lock.json
146+
packages/idea-language/server/package-lock.json
147+
packages/idea-transformer/tests/out

0 commit comments

Comments
 (0)