Skip to content

Commit abfac40

Browse files
committed
refactor: start monorepo setup
1 parent 7dbb03b commit abfac40

File tree

15 files changed

+649
-471
lines changed

15 files changed

+649
-471
lines changed

.gitignore

Lines changed: 55 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,49 @@
1-
# Logs
2-
logs
3-
*.log
4-
npm-debug.log*
5-
yarn-debug.log*
6-
yarn-error.log*
7-
lerna-debug.log*
8-
.pnpm-debug.log*
1+
.actrc
2+
.env*
3+
# Dependencies
4+
node_modules/
5+
.pnp
6+
.pnp.js
97

10-
# Diagnostic reports (https://nodejs.org/api/report.html)
11-
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
8+
.yarn/cache
9+
.yarn/install-state.gz
10+
11+
.claude
12+
# Production builds
13+
dist/
14+
build/
15+
lib/
16+
out/
17+
current-codeql-setup/
1218

1319
# Runtime data
1420
pids
1521
*.pid
1622
*.seed
1723
*.pid.lock
1824

19-
# Directory for instrumented libs generated by jscoverage/JSCover
20-
lib-cov
21-
2225
# Coverage directory used by tools like istanbul
23-
coverage
26+
coverage/
2427
*.lcov
2528

2629
# nyc test coverage
2730
.nyc_output
2831

29-
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
32+
# Grunt intermediate storage
3033
.grunt
3134

32-
# Bower dependency directory (https://bower.io/)
35+
# Bower dependency directory
3336
bower_components
3437

3538
# node-waf configuration
3639
.lock-wscript
3740

38-
# Compiled binary addons (https://nodejs.org/api/addons.html)
41+
# Compiled binary addons
3942
build/Release
4043

4144
# Dependency directories
42-
node_modules/
4345
jspm_packages/
4446

45-
# Snowpack dependency directory (https://snowpack.dev/)
46-
web_modules/
47-
4847
# TypeScript cache
4948
*.tsbuildinfo
5049

@@ -54,9 +53,6 @@ web_modules/
5453
# Optional eslint cache
5554
.eslintcache
5655

57-
# Optional stylelint cache
58-
.stylelintcache
59-
6056
# Microbundle cache
6157
.rpt2_cache/
6258
.rts2_cache_cjs/
@@ -72,41 +68,30 @@ web_modules/
7268
# Yarn Integrity file
7369
.yarn-integrity
7470

75-
# dotenv environment variable files
71+
# dotenv environment variables file
7672
.env
77-
.env.development.local
78-
.env.test.local
79-
.env.production.local
73+
.env.test
74+
.env.production
8075
.env.local
8176

82-
# parcel-bundler cache (https://parceljs.org/)
77+
# parcel-bundler cache
8378
.cache
8479
.parcel-cache
8580

8681
# Next.js build output
8782
.next
88-
out
8983

9084
# Nuxt.js build / generate output
9185
.nuxt
9286
dist
9387

9488
# Gatsby files
9589
.cache/
96-
# Comment in the public line in if your project uses Gatsby and not Next.js
97-
# https://nextjs.org/blog/next-9-1#public-directory-support
98-
# public
90+
public
9991

10092
# vuepress build output
10193
.vuepress/dist
10294

103-
# vuepress v2.x temp and cache directory
104-
.temp
105-
.cache
106-
107-
# Docusaurus cache and generated files
108-
.docusaurus
109-
11095
# Serverless directories
11196
.serverless/
11297

@@ -128,3 +113,33 @@ dist
128113
.yarn/build-state.yml
129114
.yarn/install-state.gz
130115
.pnp.*
116+
117+
# IDE
118+
.vscode/
119+
.idea/
120+
*.swp
121+
*.swo
122+
123+
# OS
124+
.DS_Store
125+
.DS_Store?
126+
._*
127+
.Spotlight-V100
128+
.Trashes
129+
ehthumbs.db
130+
Thumbs.db
131+
132+
# Logs
133+
logs
134+
*.log
135+
npm-debug.log*
136+
yarn-debug.log*
137+
yarn-error.log*
138+
lerna-debug.log*
139+
140+
# SARIF files
141+
*.sarif
142+
143+
# Temporary files
144+
tmp/
145+
temp/

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20
1+
20

.prettierignore

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Ignore EJS template files
2+
packages/codeql-action/config/codeql-template.yml
3+
packages/*/rule.template.*
4+
**/template.*
5+
**/*.template.*
6+
7+
# Ignore generated files
8+
**/generated/**
9+
**/*.generated.*
10+
11+
# Ignore lock files and cache
12+
yarn.lock
13+
package-lock.json
14+
.yarn/
15+
node_modules/
16+
17+
# Ignore build outputs
18+
dist/
19+
build/
20+
lib/
21+
out/
22+
23+
# Ignore logs and temp files
24+
*.log
25+
*.sarif
26+
tmp/
27+
temp/

.prettierrc.js

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,4 @@
1-
// All of these are defaults except singleQuote, but we specify them
2-
// for explicitness
3-
const config = {
4-
quoteProps: 'as-needed',
5-
singleQuote: true,
6-
tabWidth: 2,
7-
trailingComma: 'all',
8-
plugins: [
9-
'prettier-plugin-packagejson',
10-
'prettier-plugin-sh',
11-
],
12-
};
1+
// Import shared prettier configuration
2+
import sharedConfig from './shared/configs/prettier.config.js';
133

14-
export default config;
4+
export default sharedConfig;

.yarnrc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ nodeLinker: node-modules
1515
plugins:
1616
- checksum: 026e73679828ee4858db990ba2c3bf75db99d3cbe7c17386a595ede2d01f6bff43b344a285d944de310513e9d16c8fcb55ff6bd368b063adafb19e59f767d158
1717
path: .yarn/plugins/@yarnpkg/plugin-allow-scripts.cjs
18-
spec: "https://raw.githubusercontent.com/LavaMoat/LavaMoat/main/packages/yarn-plugin-allow-scripts/bundles/@yarnpkg/plugin-allow-scripts.js"
18+
spec: "https://raw.githubusercontent.com/LavaMoat/LavaMoat/main/packages/yarn-plugin-allow-scripts/bundles/@yarnpkg/plugin-allow-scripts.js"

0 commit comments

Comments
 (0)