Skip to content

Commit

Permalink
feat: update
Browse files Browse the repository at this point in the history
  • Loading branch information
Allen Zhang (张涛) committed Oct 25, 2024
1 parent 234c99f commit 4d4be80
Show file tree
Hide file tree
Showing 6 changed files with 72 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/vanilla-nyc/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.nyc_output
package-lock.json
10 changes: 10 additions & 0 deletions examples/vanilla-nyc/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
function test(num) {
if (num > 0){
return 1
} else {
return 2
}
}

console.log(test(1))

15 changes: 15 additions & 0 deletions examples/vanilla-nyc/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "vanilla-nyc",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "nyc node main.js && nyc report --reporter=html"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"nyc": "^17.1.0"
}
}
45 changes: 45 additions & 0 deletions tools/canyon-playground/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

# IDE / Editor
.idea/*
!.idea/rcb-settings.xml

# PNPM
.pnpm-store


pnpm-lock.yaml

.env

db/sql


coverage

schema.gql

target/
Cargo.lock
Empty file.
Empty file.

0 comments on commit 4d4be80

Please sign in to comment.