Skip to content

Commit f459397

Browse files
authored
Clean up gitignore and yarn (#337)
* Clean up gitignore and yarn * Add back the pages/docs/manual/ stuff and add explanation
1 parent aefd2e7 commit f459397

File tree

3 files changed

+5
-10
lines changed

3 files changed

+5
-10
lines changed

.gitignore

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
out
2-
31
.DS_Store
42
*.swp
53
*.swo
@@ -11,17 +9,14 @@ node_modules/
119
.next/
1210
index_data/*.json
1311

12+
# these docs are checked in, but we consider them frozen.
13+
# git add -f file to update them
1414
pages/docs/manual/v8.0.0/
1515
pages/docs/manual/v9.0.0/
1616

17-
yarn-error.log
18-
1917
.bsb.lock
2018
.merlin
2119
lib/
2220
.vscode/
2321

2422
.vercel
25-
26-
# for IDE tooling tests
27-
bin.exe

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ If you can't find any relevant issues, feel free to create a new one to start a
2222

2323
**Always make sure to get feedback from the core maintainers before starting any work**
2424

25-
The project follows very specific goals and tries to deliver the highest value with the least amount of resources. Please help us focus on the tasks at hand and don't submit any code / bigger refactorings without any proper discussion on the issue tracker. Otherwise your PR might not be accepted!
25+
The project follows very specific goals and tries to deliver the highest value with the least amount of resources. Please help us focus on the tasks at hand and don't submit any code / bigger refactorings without any proper discussion on the issue tracker. Otherwise your PR might not be accepted!
2626

2727
If you need inspiration on what to work on, you can check out issues tagged with [`good first issue`](https://github.com/reason-association/rescript-lang.org/issues?q=is%3Aissue+is%3Aopen+label%3A"good+first+issue") or [`help wanted`](https://github.com/reason-association/rescript-lang.org/issues?q=is%3Aissue+is%3Aopen+label%3A"help+wanted").
2828

@@ -84,6 +84,6 @@ Most of the stuff we want to build can be built as components with Tailwind clas
8484

8585
- Clone the project and follow the [README](README.md) instructions
8686
- Always run the page locally and verify your changes (especially when working on code examples)
87-
- When writing markdown with code examples, always run `yarn test` to prevent broken code
87+
- When writing markdown with code examples, always run `npm test` to prevent broken code
8888
- Feel free to open `Draft PRs` when you are working on bigger features (good for visibility and asking for feedback)
8989
- Improve code based on last feedback until the code is ready to be merged

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
},
3535
"scripts": {
3636
"dev": "next",
37-
"build": "rescript && yarn run update-index && next build",
37+
"build": "rescript && npm run update-index && next build",
3838
"test": "node scripts/test-examples.mjs && node scripts/test-hrefs.mjs",
3939
"reanalyze": "reanalyze -all-cmt .",
4040
"update-index": "node scripts/extract-indices.mjs && node scripts/extract-tocs.mjs && node scripts/extract-syntax.mjs && node scripts/generate_feed.mjs > public/blog/feed.xml"

0 commit comments

Comments
 (0)