mirror of
https://github.com/enso-org/enso.git
synced 2024-12-25 16:53:10 +03:00
fa4b980d67
Probably fixes the first point in #8942 My guess is that the mockExpressionUpdate may be not set in cases when the test runs before App mounting. To make sure all the setup is done, we wait for `App` widget to being mounted before proceeding. # Important Notes This PR also change the way we run test's server. Before it was always a production build, but this makes development iteration long. Now we test production build only on CI or when `PROD=true` env variable is set.
138 lines
4.8 KiB
JSON
138 lines
4.8 KiB
JSON
{
|
|
"version": "0.1.0",
|
|
"name": "enso-gui2",
|
|
"private": true,
|
|
"type": "module",
|
|
"author": {
|
|
"name": "Enso Team",
|
|
"email": "contact@enso.org"
|
|
},
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "npm --workspace enso-dashboard run compile && run-p typecheck build-only",
|
|
"build:cloud": "cross-env CLOUD_BUILD=true npm run build",
|
|
"preview": "vite preview",
|
|
"test": "vitest run && playwright test",
|
|
"test:unit": "vitest",
|
|
"test:e2e": "playwright test",
|
|
"story:dev": "histoire dev",
|
|
"story:build": "histoire build",
|
|
"story:preview": "histoire preview",
|
|
"build-only": "vite build",
|
|
"compile-server": "tsc -p tsconfig.server.json",
|
|
"typecheck": "vue-tsc --noEmit -p tsconfig.app.json --composite false",
|
|
"lint": "eslint .",
|
|
"format": "prettier --version && prettier --write src/ && eslint . --fix",
|
|
"clean-old-generated-directory": "rimraf src/generated",
|
|
"build-rust-ffi": "wasm-pack build ./rust-ffi --release --target web && wasm-pack build ./rust-ffi --out-dir node-pkg --target nodejs",
|
|
"generate-ast-schema": "cargo run -p enso-parser-schema > shared/ast/generated/ast-schema.json",
|
|
"generate-ast-types": "tsx ./parser-codegen/index.ts shared/ast/generated/ast-schema.json shared/ast/generated/ast.ts",
|
|
"preinstall": "npm run clean-old-generated-directory && npm run build-rust-ffi && npm run generate-ast-schema && npm run generate-ast-types && npm run generate-metadata && npm run download-fonts",
|
|
"postinstall": "playwright install",
|
|
"generate-metadata": "node scripts/generateIconMetadata.js",
|
|
"download-fonts": "node scripts/downloadFonts.js"
|
|
},
|
|
"//": [
|
|
"'ag-grid-community' is required as a peer dependency of 'ag-grid-enterprise'."
|
|
],
|
|
"dependencies": {
|
|
"@ag-grid-community/client-side-row-model": "^30.2.0",
|
|
"@ag-grid-community/core": "^30.2.0",
|
|
"@ag-grid-community/styles": "^30.2.0",
|
|
"@ag-grid-enterprise/core": "^30.2.0",
|
|
"@ag-grid-enterprise/range-selection": "^30.2.1",
|
|
"@babel/parser": "^7.22.16",
|
|
"@fast-check/vitest": "^0.0.8",
|
|
"@lezer/common": "^1.1.0",
|
|
"@lezer/highlight": "^1.1.6",
|
|
"@noble/hashes": "^1.3.2",
|
|
"@open-rpc/client-js": "^1.8.1",
|
|
"@pinia/testing": "^0.1.3",
|
|
"@vueuse/core": "^10.4.1",
|
|
"ag-grid-community": "^30.2.1",
|
|
"ag-grid-enterprise": "^30.2.1",
|
|
"codemirror": "^6.0.1",
|
|
"culori": "^3.2.0",
|
|
"enso-dashboard": "^0.1.0",
|
|
"events": "^3.3.0",
|
|
"fast-diff": "^1.3.0",
|
|
"hash-sum": "^2.0.0",
|
|
"install": "^0.13.0",
|
|
"isomorphic-ws": "^5.0.0",
|
|
"lib0": "^0.2.85",
|
|
"magic-string": "^0.30.3",
|
|
"murmurhash": "^2.0.1",
|
|
"pinia": "^2.1.6",
|
|
"postcss-inline-svg": "^6.0.0",
|
|
"postcss-nesting": "^12.0.1",
|
|
"rimraf": "^5.0.5",
|
|
"semver": "^7.5.4",
|
|
"sucrase": "^3.34.0",
|
|
"vue": "^3.3.4",
|
|
"ws": "^8.13.0",
|
|
"y-codemirror.next": "^0.3.2",
|
|
"y-protocols": "^1.0.5",
|
|
"y-textarea": "^1.0.0",
|
|
"y-websocket": "^1.5.0",
|
|
"yjs": "^13.6.7",
|
|
"zod": "^3.22.4"
|
|
},
|
|
"devDependencies": {
|
|
"@danmarshall/deckgl-typings": "^4.9.28",
|
|
"@eslint/eslintrc": "^2.1.2",
|
|
"@eslint/js": "^8.49.0",
|
|
"@histoire/plugin-vue": "^0.17.1",
|
|
"@open-rpc/server-js": "^1.9.4",
|
|
"@playwright/test": "^1.40.0",
|
|
"@rushstack/eslint-patch": "^1.3.2",
|
|
"@tsconfig/node18": "^18.2.0",
|
|
"@types/css.escape": "^1.5.2",
|
|
"@types/culori": "^2.0.1",
|
|
"@types/d3": "^7.4.0",
|
|
"@types/hash-sum": "^1.0.0",
|
|
"@types/jsdom": "^21.1.1",
|
|
"@types/mapbox-gl": "^2.7.13",
|
|
"@types/node": "^18.17.5",
|
|
"@types/shuffle-seed": "^1.1.0",
|
|
"@types/unbzip2-stream": "^1.4.3",
|
|
"@types/wicg-file-system-access": "^2023.10.2",
|
|
"@types/ws": "^8.5.5",
|
|
"@vitejs/plugin-react": "^4.0.4",
|
|
"@vitejs/plugin-vue": "^4.3.1",
|
|
"@vitest/coverage-v8": "^0.34.6",
|
|
"@volar/vue-typescript": "^1.6.5",
|
|
"@vue/eslint-config-prettier": "^8.0.0",
|
|
"@vue/eslint-config-typescript": "^12.0.0",
|
|
"@vue/test-utils": "^2.4.1",
|
|
"@vue/tsconfig": "^0.4.0",
|
|
"change-case": "^4.1.2",
|
|
"cross-env": "^7.0.3",
|
|
"css.escape": "^1.5.1",
|
|
"d3": "^7.4.0",
|
|
"esbuild": "^0.19.3",
|
|
"eslint": "^8.49.0",
|
|
"eslint-plugin-vue": "^9.16.1",
|
|
"floating-vue": "^2.0.0-beta.24",
|
|
"hash-wasm": "^4.10.0",
|
|
"histoire": "^0.17.2",
|
|
"jsdom": "^22.1.0",
|
|
"playwright": "^1.39.0",
|
|
"postcss-nesting": "^12.0.1",
|
|
"prettier": "^3.0.0",
|
|
"prettier-plugin-organize-imports": "^3.2.3",
|
|
"shuffle-seed": "^1.1.6",
|
|
"sql-formatter": "^13.0.0",
|
|
"tailwindcss": "^3.2.7",
|
|
"tar": "^6.2.0",
|
|
"tsx": "^3.12.6",
|
|
"typescript": "~5.2.2",
|
|
"unbzip2-stream": "^1.4.3",
|
|
"vite": "^4.4.9",
|
|
"vite-plugin-inspect": "^0.7.38",
|
|
"vite-plugin-top-level-await": "^1.3.1",
|
|
"vitest": "^0.34.2",
|
|
"vue-react-wrapper": "^0.3.1",
|
|
"vue-tsc": "^1.8.8"
|
|
}
|
|
}
|