Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 6 additions & 17 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,14 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Use Node.js
uses: actions/setup-node@v1
- name: Use Bun
uses: oven-sh/setup-bun@v2
with:
node-version: '16.x'
bun-version: latest
- name: Install dependencies
run: npm ci
run: bun i --frozen-lockfile
- name: Release
run: npm run release
run: bun run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
1 change: 0 additions & 1 deletion .npmignore

This file was deleted.

646 changes: 646 additions & 0 deletions bun.lock

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"extends": "../tsconfig.base.json",
"compilerOptions": {
"emitDecoratorMetadata": true,
"module": "es2022",
"target": "es2022"
"target": "ESNext"
}
}
6 changes: 0 additions & 6 deletions configs/lib/tsconfig.cjs.json

This file was deleted.

File renamed without changes.
9 changes: 0 additions & 9 deletions configs/node-lts/tsconfig.cjs.json

This file was deleted.

18 changes: 15 additions & 3 deletions configs/tsconfig.base.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{
"compilerOptions": {
"strict": true,
"target": "ES2020",
"target": "ES2022",
"lib": ["es5", "es6", "es7", "es2017", "dom", "dom.iterable", "es2018", "es2019", "es2020", "es2021", "es2022", "esnext"],
"sourceMap": true,
"allowJs": false,
"jsx": "react",
"module": "esnext",
"moduleResolution": "nodenext",
"moduleResolution": "bundler",
"moduleDetection": "force",
"noImplicitReturns": true,
"noUnusedLocals": false,
"forceConsistentCasingInFileNames": true,
Expand All @@ -25,6 +26,17 @@
"exactOptionalPropertyTypes": false,
"noFallthroughCasesInSwitch": true,
"resolveJsonModule": true,
"importHelpers": true
"importHelpers": true,
"rootDir": "${configDir}/src",
"outDir": "${configDir}/lib"
},
"include": [
"${configDir}/src/**/*"
],
"exclude": [
"${configDir}/src/**/*.test.ts",
"${configDir}/src/**/*.spec.ts",
"${configDir}/src/**/*.test.tsx",
"${configDir}/src/**/*.spec.tsx"
]
}
70 changes: 32 additions & 38 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,40 +1,34 @@
{
"name": "@getresponse/tsconfig",
"version": "1.1.0",
"description": "Common tsconfig.json files",
"homepage": "https://github.com/GetResponse/tsconfig",
"main": "configs/",
"repository": {
"type": "git",
"url": "git@github.com:GetResponse/tsconfig.git"
},
"keywords": [
"typescript",
"ts",
"config",
"tsconfig"
],
"author": "GetResponse",
"license": "MIT",
"files": [
"configs"
],
"scripts": {
"release": "semantic-release"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"devDependencies": {
"@semantic-release/changelog": "6.0.2",
"@semantic-release/commit-analyzer": "9.0.2",
"@semantic-release/git": "10.0.1",
"@semantic-release/github": "^8.0.7",
"@semantic-release/npm": "9.0.2",
"@semantic-release/release-notes-generator": "10.0.3",
"cz-conventional-changelog": "^3.3.0",
"semantic-release": "^19.0.5"
}
"name": "@getresponse/tsconfig",
"version": "1.1.0",
"description": "Common tsconfig.json files",
"homepage": "https://github.com/GetResponse/tsconfig",
"main": "configs/",
"repository": {
"type": "git",
"url": "git@github.com:GetResponse/tsconfig.git"
},
"keywords": [
"typescript",
"ts",
"config",
"tsconfig"
],
"author": "GetResponse",
"license": "MIT",
"files": [
"configs"
],
"scripts": {
"release": "semantic-release"
},
"devDependencies": {
"@semantic-release/changelog": "6.0.2",
"@semantic-release/commit-analyzer": "9.0.2",
"@semantic-release/git": "10.0.1",
"@semantic-release/github": "^8.0.7",
"@semantic-release/npm": "9.0.2",
"@semantic-release/release-notes-generator": "10.0.3",
"semantic-release": "^19.0.5"
}
}