Comments (15)
I guess this was me doing deps upgrade without checking build results:
We now can't trick typescript to emit ESM for commonjs project, we need a real ESM project to emit ESM code.
from type-graphql.
Published v5, please check now if it works 😉
@MichalLytek the v5-package is nearly empty; the build
directory is missing.
from type-graphql.
Thanks for the report. Our publish workflow is not working so I do publish by myself and something went wrong.
Should be ok now with 2.0.0-beta.6
.
from type-graphql.
Should be fixed by 51ff280, will see in beta.5
if that works 😉
from type-graphql.
@carlocorradini Might this be related to ESM support?
from type-graphql.
ESM code is using require
instead of import
:
@MichalLytek How did you build the package?
I'll try locally to check if this is due to an upgrade of a dependency
from type-graphql.
@MichalLytek I confirm is the build process
from type-graphql.
from type-graphql.
@MichalLytek I've tried downgrading to typescript v5.1.6
(same as alpha) and manually:
npx tsc --build ./tsconfig.esm.json
And it does not works.
It looks like typescript
is ignoring esm
... WTF 😅
Any thoughts?
from type-graphql.
It was working as we've published beta 3 via gh actions 😄
from type-graphql.
@MichalLytek Yup, I've tried and we can't trick TypeScript anymore
from type-graphql.
Thanks!
from type-graphql.
@nemanjastanic Published v5, please check now if it works 😉
from type-graphql.
@MichalLytek I can confirm that the build
directory is missing in 2.0.0-beta.5
.
from type-graphql.
Apologize if the CI/CD is currently broken 😔
It's my fault
I'll fix it ASAP
from type-graphql.
Related Issues (20)
- @oneOf directive support HOT 1
- Update dependencies versions of type-graphql to allow for Apollo 4 and new GraphQL HOT 1
- Cannot find module 'class-validator' or its corresponding type declarations HOT 1
- Issue with unnamed @InputType() HOT 2
- Nested/2D arrays don't work with union types HOT 2
- directive graphql-rate-limit does not work HOT 9
- The types returned by 'subscribe(...)' are incompatible between these types. HOT 11
- registerEnumType not found in ES module (2.0.0-beta.4) HOT 2
- TypeDoc HOT 2
- Nested objects in queries HOT 1
- ArgsType explicite type required HOT 2
- Schema generation at build time HOT 2
- Allow orphan enums to be included in the schema, e.g. through `orphanTypes` HOT 2
- Subscriptions: New Implementation Proposal HOT 7
- mixins don't work with overridden properties and ArgsType HOT 3
- Subscription with subscribe require non-null return, asyncIterator yield not works HOT 5
- When multiple resolvers throw an error, the `errors` array in the response only contains one error HOT 5
- Types from 2.0.0-beta.6 have broken the alternative `subscribe` method signature. HOT 4
- Error when compiling with ESbuild (ESModule) HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from type-graphql.