This commit is contained in:
MapleLeaf
2022-01-10 23:59:22 -06:00
parent 8482f6e91a
commit e93506409f
3 changed files with 4 additions and 19 deletions

View File

@@ -4,7 +4,7 @@
"scripts": {
"prepare": "remix setup node",
"dev": "concurrently 'typedoc --watch' 'remix dev'",
"test": "esmo ./scripts/test.ts",
"test": "node ./scripts/test.js",
"test-dev": "pnpm dev & wait-on http-get://localhost:3000 && cypress open",
"build": "typedoc && remix build",
"start": "remix-serve build",
@@ -38,7 +38,6 @@
"@types/wait-on": "^5.3.1",
"concurrently": "^7.0.0",
"cypress": "^9.2.1",
"esno": "^0.13.0",
"execa": "^6.0.0",
"rehype-prism-plus": "^1.3.0",
"typedoc": "^0.22.10",

View File

@@ -7,5 +7,3 @@ const app = execa("pnpm", ["start"], { stdio: "inherit" })
await waitOn({ resources: ["http-get://localhost:3000"] })
await cypress.run()
app.kill()
// eslint-disable-next-line unicorn/no-process-exit
process.exit(0)

18
pnpm-lock.yaml generated
View File

@@ -54,7 +54,6 @@ importers:
clsx: ^1.1.1
concurrently: ^7.0.0
cypress: ^9.2.1
esno: ^0.13.0
execa: ^6.0.0
fast-glob: ^3.2.10
gray-matter: ^4.0.3
@@ -96,13 +95,15 @@ importers:
'@types/wait-on': 5.3.1
concurrently: 7.0.0
cypress: 9.2.1
esno: 0.13.0_typescript@4.5.4
execa: 6.0.0
rehype-prism-plus: 1.3.0
typedoc: 0.22.10_typescript@4.5.4
typescript: 4.5.4
wait-on: 6.0.0
packages/docs/scripts:
specifiers: {}
packages/reacord:
specifiers:
'@types/lodash-es': ^4.17.5
@@ -3534,19 +3535,6 @@ packages:
- typescript
dev: true
/esno/0.13.0_typescript@4.5.4:
resolution: {integrity: sha512-rgVOc/t+4QgAHTsQiFKX2olzJLIcBOYGYUb/moEDLXcz0pIf8NxwuFu5nOAMmOsNiFfhSrfgcLgVCOtmBIBeuQ==}
hasBin: true
dependencies:
cross-spawn: 7.0.3
esbuild: 0.14.11
esbuild-node-loader: 0.6.3_typescript@4.5.4
esbuild-register: 3.3.1_esbuild@0.14.11
import-meta-resolve: 1.1.1
transitivePeerDependencies:
- typescript
dev: true
/espree/9.3.0:
resolution: {integrity: sha512-d/5nCsb0JcqsSEeQzFZ8DH1RmxPcglRWh24EFTlUEmCKoehXGdpsx0RkHDubqUI8LSAIKMQp4r9SzQ3n+sm4HQ==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}