Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
data
.DS_Store
node_modules
package-lock.json
jwt
jwt.txt
jwt.txt
out
6 changes: 6 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
engine-strict=true
save-exact=true
always-auth=true
@mapped:registry=https://npm.pkg.github.com/mapped
//npm.pkg.github.com/mapped/:_authToken=${MAPPED_GPR_TOKEN}
//npm.pkg.github.com/download/:_authToken=${MAPPED_GPR_TOKEN}
18 changes: 18 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"arrowParens": "always",
"bracketSpacing": true,
"htmlWhitespaceSensitivity": "css",
"insertPragma": false,
"jsxBracketSameLine": false,
"jsxSingleQuote": false,
"printWidth": 120,
"proseWrap": "preserve",
"quoteProps": "as-needed",
"requirePragma": false,
"semi": false,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false,
"vueIndentScriptAndStyle": false
}
15 changes: 15 additions & 0 deletions .swcrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"$schema": "https://json.schemastore.org/swcrc",
"jsc": {
"parser": {
"syntax": "typescript",
"decorators": true
},
"transform": {
"legacyDecorator": true,
"decoratorMetadata": true
},
"target": "es2016"
},
"sourceMaps": true
}
13 changes: 11 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,29 @@
"name": "point-report",
"version": "1.0.0",
"description": "The input to this program is the result of running this GraphQL query:",
"main": "report.js",
"main": "report.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/mapped/point-report.git"
},
"scripts": {
"start": "NODE_OPTIONS='--max-old-space-size=8120' ts-node report.ts"
},
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/mapped/point-report/issues"
},
"homepage": "https://github.com/mapped/point-report#readme",
"dependencies": {
"@mapped/rivet-proto": "^1.22.113",
"@mapped/schema-graph-react-apollo": "^1.67.4",
"@types/node": "^20.12.7",
"commander": "^9.2.0",
"csv-parser": "3.0.0",
"graphql": "^16.4.0",
"graphql-request": "^4.2.0"
"graphql-request": "^4.2.0",
"ts-node": "^10.9.2",
"typescript": "^5.4.5"
}
}
Loading