yurickh / ouxe Goto Github PK
View Code? Open in Web Editor NEWCLI for my common configurations
License: MIT License
CLI for my common configurations
License: MIT License
Right now we leave the exercise to the user to figure out exactly what happened. We can be better than that :)~
TypeError: Cannot destructure property 'name' of 'packagerConfig[manager]' as it is undefined.
at packageManager (/Users/yurick/github/oss/ouxe/src/helpers/package-manager.ts:37:11)
at installDependencies (/Users/yurick/github/oss/ouxe/src/helpers/install-dependencies.ts:29:20)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at Object.handler (/Users/yurick/github/oss/ouxe/src/commands/prettier/index.ts:38:20)
at Object.routeFeatures [as handler] (/Users/yurick/github/oss/ouxe/src/index.ts:21:5)
Something that I've been doing in my repos is to rename the default branch into main.
It would be great if ouxe had support to, when running npx ouxe default-branch main
, execute in order:
main
branchWe want to run tests and create builds when Pull Requests are created, in order to verify their mergeability
Preferably the Contributor Covenant
Running ouxe
in the root of a monorepo with yarn workspaces will warn with:
error Running this command will add the dependency to the workspace root rather than the workspace itself, which might not be what you want - if you really meant it, make it explicit by running this command again with the -W flag (or --ignore-workspace-root-check).
We probably want to add the --ignore-workspace-root-check
flag for installs that should go on the root, like eslint or prettier.
When executing npx ouxe
, it prints out
/Users/yurick/github/oss/ouxe/node_modules/.bin/ouxe: line 1: syntax error near unexpected token `('
And then the whole of the build file (namely lib/ouxe.js
, which is the one that goes to .bin`).
I couldn't find a syntax error in the built package, so I suspect this is related to the node version npx is using to execute.
Although it's a really good library, micro bundle is intended to be used to bundle small packages for the browser, thus it acts and produces a build that it's not really aligned with the goal of this package: to be used in a node environment.
List of possible alternatives:
(feel free to recommend alternatives in the comments)
This is needed in order to support proper .eslintrc
creation, as we need to conditionally add libraries like @typescript-eslint
for typescript, or prettier-config-eslint
if prettier is detected.
We should be able to detect:
@typescript-eslint/eslint-plugin
@typescript-eslint/parser
eslint-config-prettier
eslint-config-react-app
and its peerseslint-plugin-react-hooks
babel-eslint
Frequently the process just hangs while installing (which could be solved by checking out pnp) or timeouts during the prettier integration test.
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.