Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: create shared, non-published package for e2e utils #3296

Merged
merged 1 commit into from
Jan 31, 2025

Conversation

schiller-manuel
Copy link
Contributor

No description provided.

Copy link

nx-cloud bot commented Jan 31, 2025

View your CI Pipeline Execution ↗ for commit c6fa2ed.

Command Status Duration Result
nx affected --targets=test:eslint,test:unit,tes... ✅ Succeeded 2m 9s View ↗
nx run-many --target=build --exclude=examples/*... ✅ Succeeded 4s View ↗

☁️ Nx Cloud last updated this comment at 2025-01-31 21:58:45 UTC

Copy link

pkg-pr-new bot commented Jan 31, 2025

Open in Stackblitz

More templates

@tanstack/arktype-adapter

npm i https://pkg.pr.new/@tanstack/arktype-adapter@3296

@tanstack/create-start

npm i https://pkg.pr.new/@tanstack/create-start@3296

@tanstack/create-router

npm i https://pkg.pr.new/@tanstack/create-router@3296

@tanstack/directive-functions-plugin

npm i https://pkg.pr.new/@tanstack/directive-functions-plugin@3296

@tanstack/eslint-plugin-router

npm i https://pkg.pr.new/@tanstack/eslint-plugin-router@3296

@tanstack/history

npm i https://pkg.pr.new/@tanstack/history@3296

@tanstack/react-cross-context

npm i https://pkg.pr.new/@tanstack/react-cross-context@3296

@tanstack/react-router

npm i https://pkg.pr.new/@tanstack/react-router@3296

@tanstack/react-router-with-query

npm i https://pkg.pr.new/@tanstack/react-router-with-query@3296

@tanstack/router-cli

npm i https://pkg.pr.new/@tanstack/router-cli@3296

@tanstack/router-core

npm i https://pkg.pr.new/@tanstack/router-core@3296

@tanstack/router-devtools

npm i https://pkg.pr.new/@tanstack/router-devtools@3296

@tanstack/router-plugin

npm i https://pkg.pr.new/@tanstack/router-plugin@3296

@tanstack/router-generator

npm i https://pkg.pr.new/@tanstack/router-generator@3296

@tanstack/router-utils

npm i https://pkg.pr.new/@tanstack/router-utils@3296

@tanstack/router-vite-plugin

npm i https://pkg.pr.new/@tanstack/router-vite-plugin@3296

@tanstack/server-functions-plugin

npm i https://pkg.pr.new/@tanstack/server-functions-plugin@3296

@tanstack/start

npm i https://pkg.pr.new/@tanstack/start@3296

@tanstack/start-api-routes

npm i https://pkg.pr.new/@tanstack/start-api-routes@3296

@tanstack/start-client

npm i https://pkg.pr.new/@tanstack/start-client@3296

@tanstack/start-config

npm i https://pkg.pr.new/@tanstack/start-config@3296

@tanstack/start-plugin

npm i https://pkg.pr.new/@tanstack/start-plugin@3296

@tanstack/start-router-manifest

npm i https://pkg.pr.new/@tanstack/start-router-manifest@3296

@tanstack/start-server

npm i https://pkg.pr.new/@tanstack/start-server@3296

@tanstack/start-server-functions-client

npm i https://pkg.pr.new/@tanstack/start-server-functions-client@3296

@tanstack/start-server-functions-fetcher

npm i https://pkg.pr.new/@tanstack/start-server-functions-fetcher@3296

@tanstack/start-server-functions-handler

npm i https://pkg.pr.new/@tanstack/start-server-functions-handler@3296

@tanstack/start-server-functions-server

npm i https://pkg.pr.new/@tanstack/start-server-functions-server@3296

@tanstack/start-server-functions-ssr

npm i https://pkg.pr.new/@tanstack/start-server-functions-ssr@3296

@tanstack/valibot-adapter

npm i https://pkg.pr.new/@tanstack/valibot-adapter@3296

@tanstack/virtual-file-routes

npm i https://pkg.pr.new/@tanstack/virtual-file-routes@3296

@tanstack/zod-adapter

npm i https://pkg.pr.new/@tanstack/zod-adapter@3296

commit: c6fa2ed

@schiller-manuel schiller-manuel force-pushed the e2e-utils branch 4 times, most recently from f54d96c to 804434f Compare January 31, 2025 21:55
@schiller-manuel schiller-manuel merged commit 3f1f24f into main Jan 31, 2025
5 checks passed
@schiller-manuel schiller-manuel deleted the e2e-utils branch January 31, 2025 22:49
Comment on lines +5 to +26
"clean": "rimraf ./dist && rimraf ./coverage",
"test:eslint": "eslint ./src",
"test:unit": "exit 0; vitest --typecheck",
"build": "vite build && tsc --noEmit"
},
"type": "module",
"types": "dist/esm/index.d.ts",
"main": "dist/cjs/index.cjs",
"module": "dist/esm/index.js",
"exports": {
".": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/cjs/index.d.cts",
"default": "./dist/cjs/index.cjs"
}
},
"./package.json": "./package.json"
},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should structure this package a bit differently: There isn’t an actual need to build this, as we are never publishing this. So we could have exports point to src directly:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants