alexaegis / js-tooling Goto Github PK
View Code? Open in Web Editor NEWOpinionated tooling configurations for TypeScript development
Home Page: https://alexaegis.github.io/js-tooling/
License: MIT License
Opinionated tooling configurations for TypeScript development
Home Page: https://alexaegis.github.io/js-tooling/
License: MIT License
For apps they are fine. (Unless it's a public microfrontend?)
On release, if a package has a bin with the same name as the package (the common usecase), the shim entry in the packageJson is also replaced with a version number.
Running pnpm i
after a release should not modify any package.json files.
This would allow for a better and faster setup where all distributor scripts can run together, not worrig about race conditions
Simple, single file tsconfigs work okay now.
The main purpose of a composite setup would be to overlay two ts compilation scopes over eachother. One for the actual source code and the other for tests. The test ones can include some extra globals, and the source code can compile itself without the tests.
But when you don't use tsc
for compilation this doesn't matter anymore. And vitest
is perfecly fine to use with explicit imports instead of global describe
, it
etc functions.
The only downside is that vite-plugin-dts
will use the scope defined in tsconfig
, and that includes everything, meaning you will also export types for all the tests. Which won't be used and is unnecessary to compile.
But does this worth having a much more complicated tsconfig setup? Is there any more benefit?
check prelink step for bins
postinstall bins are not found
support pnpm-workspace like the workspaces option in package.json
Same with cjs bundles, do only esm
files.readonlyInclude
idea: https://www.peterbe.com/plog/programmatically-control-the-matrix-in-a-github-action-workflow
Collect all non-private packages in the workspace
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.