GithubHelp home page GithubHelp logo

tanstack / config Goto Github PK

View Code? Open in Web Editor NEW
147.0 147.0 3.0 716 KB

Configuration and tools for publishing and maintaining high-quality JavaScript packages

License: MIT License

JavaScript 74.09% TypeScript 22.29% CSS 0.77% Vue 2.84%

config's People

Contributors

crutchcorn avatar dependabot[bot] avatar jprosevear avatar lachlancollins avatar tannerlinsley avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

config's Issues

Unable to add external dependencies for package

Describe the bug

If I add external deps in my vite.config.ts and merge with the tanstack build, my external deps are lost and only the tanstack/config deps generated by 'vite-plugin-externalize-deps' are available.

Steps to reproduce

import { tanstackBuildConfig } from '@tanstack/config/build';
import { defineConfig, mergeConfig } from 'vitest/config';
import react from '@vitejs/plugin-react';

const config = defineConfig({
  plugins: [react()],
  build: {
    rollupOptions: {
      external: ['rhino.config', 'virtual:@rhino-project/config/env']
    }
  }
});

export default mergeConfig(
  config,
  tanstackBuildConfig({
    entry: ['./src/index.ts', './src/env.ts'],
    srcDir: './src'
  })
);

Expected behavior

Have a method to preserve externals. In my case I am trying to externalize a virtual module so I can't use peerDeps, devDeps, etc to achieve this.

How often does this bug happen?

None

Screenshots or Videos

No response

TanStack Config version

0.4.4

TypeScript version

5.3.2

Additional context

No response

Link in docs broken

Describe the bug

Link on docs are broken when you open the repository (an article brought me to the repo directly, and when you see the link on the readme, is broken.

image

Steps to reproduce

Just go to the repo and open the link into the readme.

Expected behavior

Open the docs correctly to see whats the repo is all about.

How often does this bug happen?

None

Screenshots or Videos

No response

TanStack Config version

v0.1.3

TypeScript version

No response

Additional context

No response

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.