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
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
publish = "packages/playground/build"

# Default build command.
command = "yarn build"
command = "pnpm build"

[build.environment]
NODE_OPTIONS = "--max_old_space_size=4096"
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
]
},
"scripts": {
"build": "yarn workspace eel-wasm run build && yarn workspace playground run build",
"test": "yarn workspaces run test"
"build": "pnpm --filter eel-wasm run build && pnpm --filter playground run build",
"test": "pnpm -r run test"
}
}
7 changes: 4 additions & 3 deletions packages/compiler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,22 @@
],
"scripts": {
"test": "jest",
"ci": "yarn test && yarn build",
"ci": "pnpm test && pnpm build",
"benchmark": "node tools/benchmark/performance.js perf",
"consistency": "node tools/benchmark/performance.js consistency",
"test-parse": "node tools/parseMilk.js --stats --summary --dir=./fixtures/mega",
"test-compile": "node tools/parseMilk.js --stats --summary --compile --dir=./fixtures/mega",
"build-parser": "node ./tools/buildParser.js > ./build/parser.js",
"build": "yarn build-parser && tsc && parcel build src/index.ts -o dist/index.bundle.js --experimental-scope-hoisting",
"build": "pnpm build-parser && tsc && parcel build src/index.ts -o dist/index.bundle.js --experimental-scope-hoisting",
"clean": "rm -rf build/*",
"prepublishOnly": "yarn test && yarn clean && yarn build"
"prepublishOnly": "pnpm test && pnpm clean && pnpm build"
},
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/preset-env": "^7.9.5",
"@babel/preset-typescript": "^7.9.0",
"@types/jest": "^25.2.1",
"@types/node": "^13.11.1",
"babel-jest": "^25.3.0",
"jest": "^24.9.0",
"jison": "^0.4.18",
Expand Down
3 changes: 2 additions & 1 deletion packages/compiler/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"strictNullChecks": true,
"esModuleInterop": true,
"target": "ES2017",
"module": "commonjs"
"module": "commonjs",
"types": ["node", "jest"]
},
"include": ["./src/**/*"]
}
6 changes: 3 additions & 3 deletions packages/playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"@types/node": "^13.11.1",
"@types/react": "^16.9.34",
"@types/react-dom": "^16.9.6",
"eel-wasm": "workspace:^",
"monaco-editor": "^0.20.0",
"react": "^16.12.0",
"react-dom": "^16.12.0",
Expand All @@ -19,9 +20,8 @@
"wabt": "^1.0.12"
},
"scripts": {
"start": "react-scripts start",
"build": "set NODE_OPTIONS=--openssl-legacy-provider react-scripts build",
"test": "react-scripts test",
"start": "NODE_OPTIONS=--openssl-legacy-provider react-scripts start",
"build": "NODE_OPTIONS=--openssl-legacy-provider react-scripts build",
"eject": "react-scripts eject"
},
"eslintConfig": {
Expand Down
Loading
Loading