chore: cleanup tsup configs (#8381)

This commit is contained in:
Parbez
2022-07-28 22:27:57 +05:30
committed by GitHub
parent ff5dd1fcb4
commit c258bdf083
34 changed files with 17 additions and 346 deletions

View File

@@ -5,5 +5,4 @@ dist/
docs/**/*
!docs/index.yml
!docs/README.md
coverage/
tsup.config.*.mjs
coverage/

View File

@@ -54,7 +54,6 @@
"eslint": "^8.20.0",
"prettier": "^2.7.1",
"rollup-plugin-typescript2": "0.32.1",
"tsup": "^6.2.0",
"typescript": "^4.7.4",
"unbuild": "^0.7.6",
"vitest": "^0.19.1"

View File

@@ -1,9 +0,0 @@
import { createTsupConfig } from '../../tsup.config';
export default createTsupConfig({
entry: ['src/index.ts', 'src/formatTag/index.ts'],
format: ['cjs'],
skipNodeModulesBundle: false,
noExternal: ['@actions/core'],
minify: true,
});

View File

@@ -5,5 +5,4 @@ dist/
docs/**/*
!docs/index.yml
!docs/README.md
coverage/
tsup.config.*.mjs
coverage/

View File

@@ -70,7 +70,6 @@
"eslint": "^8.20.0",
"prettier": "^2.7.1",
"rollup-plugin-typescript2": "0.32.1",
"tsup": "^6.2.0",
"typescript": "^4.7.4",
"unbuild": "^0.7.6",
"vitest": "^0.19.1"

View File

@@ -1,3 +0,0 @@
import { createTsupConfig } from '../../tsup.config';
export default createTsupConfig();

View File

@@ -5,5 +5,4 @@ dist/
docs/**/*
!docs/index.yml
!docs/README.md
coverage/
tsup.config.*.mjs
coverage/

View File

@@ -59,7 +59,6 @@
"eslint": "^8.20.0",
"prettier": "^2.7.1",
"rollup-plugin-typescript2": "0.32.1",
"tsup": "^6.2.0",
"typescript": "^4.7.4",
"unbuild": "^0.7.6",
"vitest": "^0.19.1"

View File

@@ -1,3 +0,0 @@
import { createTsupConfig } from '../../tsup.config';
export default createTsupConfig();

View File

@@ -5,5 +5,4 @@ dist/
docs/**/*
!docs/index.yml
!docs/README.md
coverage/
tsup.config.*.mjs
coverage/

View File

@@ -5,5 +5,4 @@ dist/
docs/**/*
!docs/index.yml
!docs/README.md
coverage/
tsup.config.*.mjs
coverage/

View File

@@ -55,7 +55,6 @@
"eslint": "^8.20.0",
"prettier": "^2.7.1",
"rollup-plugin-typescript2": "0.32.1",
"tsup": "^6.2.0",
"typescript": "^4.7.4",
"unbuild": "^0.7.6"
},

View File

@@ -1,5 +0,0 @@
import { createTsupConfig } from '../../tsup.config';
export default createTsupConfig({
minify: true,
});

View File

@@ -3,7 +3,7 @@ FROM node:16-alpine
WORKDIR /usr/proxy
# First copy over dependencies separate from src for better caching
COPY package.json yarn.lock tsconfig.json .yarnrc.yml tsup.config.ts ./
COPY package.json yarn.lock tsconfig.json .yarnrc.yml build.config.ts ./
COPY .yarn ./.yarn
COPY ./packages/proxy-container/package.json ./packages/proxy-container/

View File

@@ -53,7 +53,6 @@
"eslint": "^8.20.0",
"prettier": "^2.7.1",
"rollup-plugin-typescript2": "0.32.1",
"tsup": "^6.2.0",
"typescript": "^4.7.4",
"unbuild": "^0.7.6"
},

View File

@@ -1,4 +0,0 @@
import { createTsupConfig } from '../../tsup.config';
// TODO: Set options to bundle node_modules - making the Docker image smaller
export default createTsupConfig({ minify: true, dts: false });

View File

@@ -5,5 +5,4 @@ dist/
docs/**/*
!docs/index.yml
!docs/README.md
coverage/
tsup.config.*.mjs
coverage/

View File

@@ -70,7 +70,6 @@
"prettier": "^2.7.1",
"rollup-plugin-typescript2": "0.32.1",
"supertest": "^6.2.4",
"tsup": "^6.2.0",
"typescript": "^4.7.4",
"unbuild": "^0.7.6",
"vitest": "^0.19.1"

View File

@@ -1,3 +0,0 @@
import { createTsupConfig } from '../../tsup.config';
export default createTsupConfig();

View File

@@ -5,5 +5,4 @@ dist/
docs/**/*
!docs/index.yml
!docs/README.md
coverage/
tsup.config.*.mjs
coverage/

View File

@@ -70,7 +70,6 @@
"eslint": "^8.20.0",
"prettier": "^2.7.1",
"rollup-plugin-typescript2": "0.32.1",
"tsup": "^6.2.0",
"typescript": "^4.7.4",
"unbuild": "^0.7.6",
"vitest": "^0.19.1"

View File

@@ -1,3 +0,0 @@
import { createTsupConfig } from '../../tsup.config';
export default createTsupConfig();

View File

@@ -5,5 +5,4 @@ dist/
docs/**/*
!docs/index.yml
!docs/README.md
coverage/
tsup.config.*.mjs
coverage/

View File

@@ -53,7 +53,6 @@
"eslint": "^8.20.0",
"prettier": "^2.7.1",
"rollup-plugin-typescript2": "0.32.1",
"tsup": "^6.2.0",
"typescript": "^4.7.4",
"unbuild": "^0.7.6",
"vitest": "^0.19.1"

View File

@@ -1,5 +0,0 @@
import { createTsupConfig } from '../../tsup.config';
export default createTsupConfig({
minify: true,
});

View File

@@ -5,5 +5,4 @@ dist/
docs/**/*
!docs/index.yml
!docs/README.md
coverage/
tsup.config.*.mjs
coverage/

View File

@@ -75,7 +75,6 @@
"mock-socket": "^9.1.5",
"prettier": "^2.7.1",
"rollup-plugin-typescript2": "0.32.1",
"tsup": "^6.2.0",
"tweetnacl": "^1.0.3",
"typescript": "^4.7.4",
"unbuild": "^0.7.6"

View File

@@ -1,3 +0,0 @@
import { createTsupConfig } from '../../tsup.config';
export default createTsupConfig();

View File

@@ -6,7 +6,6 @@ docs/**/*
!docs/index.yml
!docs/README.md
coverage/
tsup.config.*.mjs
.cache
build/
src/styles/unocss.css

View File

@@ -6,4 +6,3 @@ docs/**/*
!docs/index.yml
!docs/README.md
coverage/
tsup.config.*.mjs

View File

@@ -71,7 +71,6 @@
"mock-socket": "^9.1.5",
"prettier": "^2.7.1",
"rollup-plugin-typescript2": "0.32.1",
"tsup": "^6.2.0",
"typescript": "^4.7.4",
"unbuild": "^0.7.6",
"undici": "^5.8.0",

View File

@@ -1,3 +0,0 @@
import { createTsupConfig } from '../../tsup.config';
export default createTsupConfig({ entry: ['./src/**/*.ts'], bundle: false });