Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: egoist/tsup
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v5.12.1
Choose a base ref
...
head repository: egoist/tsup
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v5.12.2
Choose a head ref
  • 9 commits
  • 8 files changed
  • 6 contributors

Commits on Mar 17, 2022

  1. chore: setting up codespace

    egoist authored Mar 17, 2022
    Copy the full SHA
    ca5f714 View commit details
  2. Copy the full SHA
    f08cde4 View commit details

Commits on Mar 26, 2022

  1. chore(deps): update dependency typescript to v4.6.3 (#549)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Mar 26, 2022
    Copy the full SHA
    79e16df View commit details
  2. chore(deps): update dependency @types/node to v14.18.12 (#532)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Mar 26, 2022
    Copy the full SHA
    7a36bf5 View commit details
  3. chore(deps): update dependency postcss to v8.4.12 (#592)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Mar 26, 2022
    Copy the full SHA
    2516ef9 View commit details
  4. chore(deps): update dependency svelte to v3.46.4 (#535)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Mar 26, 2022
    Copy the full SHA
    2dfb209 View commit details
  5. chore(deps): pin dependencies (#555)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Mar 26, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    c42eb9d View commit details

Commits on Apr 1, 2022

  1. chore(deps): update vitest

    egoist committed Apr 1, 2022
    Copy the full SHA
    93bf6e8 View commit details
  2. fix: build promise resolves before types are emitted (#597)

    Co-authored-by: hanyue.ph <hanyue.ph@cainiao.com>
    Co-authored-by: EGOIST <0x142857@gmail.com>
    3 people authored Apr 1, 2022
    1
    Copy the full SHA
    d30f813 View commit details
Showing with 769 additions and 348 deletions.
  1. +16 −0 .devcontainer/Dockerfile
  2. +29 −0 .devcontainer/devcontainer.json
  3. +8 −8 package.json
  4. +446 −151 pnpm-lock.yaml
  5. +154 −144 src/index.ts
  6. +1 −0 src/rollup.ts
  7. +110 −40 test/__snapshots__/index.test.ts.snap
  8. +5 −5 test/index.test.ts
16 changes: 16 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.222.0/containers/javascript-node/.devcontainer/base.Dockerfile

# [Choice] Node.js version (use -bullseye variants on local arm64/Apple Silicon): 16, 14, 12, 16-bullseye, 14-bullseye, 12-bullseye, 16-buster, 14-buster, 12-buster
ARG VARIANT="16-bullseye"
FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:0-${VARIANT}

# [Optional] Uncomment this section to install additional OS packages.
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
# && apt-get -y install --no-install-recommends <your-package-list-here>

# [Optional] Uncomment if you want to install an additional version of node using nvm
# ARG EXTRA_NODE_VERSION=10
# RUN su node -c "source /usr/local/share/nvm/nvm.sh && nvm install ${EXTRA_NODE_VERSION}"

# [Optional] Uncomment if you want to install more global node modules
RUN su node -c "npm install -g pnpm"
29 changes: 29 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.222.0/containers/javascript-node
{
"name": "Node.js",
"build": {
"dockerfile": "Dockerfile",
// Update 'VARIANT' to pick a Node version: 16, 14, 12.
// Append -bullseye or -buster to pin to an OS version.
// Use -bullseye variants on local arm64/Apple Silicon.
"args": { "VARIANT": "16-bullseye" }
},

// Set *default* container specific settings.json values on container create.
"settings": {},

// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"dbaeumer.vscode-eslint"
],

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "pnpm install",

// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "node"
}
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -29,7 +29,7 @@
"cac": "^6.7.12",
"chokidar": "^3.5.1",
"debug": "^4.3.1",
"esbuild": "^0.14.2",
"esbuild": "^0.14.25",
"execa": "^5.0.0",
"globby": "^11.0.3",
"joycon": "^3.0.1",
@@ -46,26 +46,26 @@
"@types/debug": "4.1.7",
"@types/flat": "5.0.2",
"@types/fs-extra": "9.0.13",
"@types/node": "14.18.4",
"@types/node": "14.18.12",
"@types/resolve": "1.20.1",
"colorette": "2.0.16",
"consola": "2.15.3",
"flat": "5.0.2",
"fs-extra": "10.0.0",
"postcss": "8.4.5",
"postcss": "8.4.12",
"postcss-simple-vars": "6.0.3",
"prettier": "2.5.1",
"resolve": "1.20.0",
"rollup-plugin-dts": "4.1.0",
"rollup-plugin-dts": "4.2.0",
"rollup-plugin-hashbang": "2.2.2",
"string-argv": "0.3.1",
"strip-json-comments": "^4.0.0",
"svelte": "3.44.3",
"strip-json-comments": "4.0.0",
"svelte": "3.46.4",
"ts-essentials": "9.1.2",
"tsconfig-paths": "3.12.0",
"tsup": "5.11.10",
"typescript": "4.5.4",
"vitest": "^0.2.5",
"typescript": "4.6.3",
"vitest": "0.8.1",
"wait-for-expect": "3.0.2"
},
"peerDependencies": {
Loading