Skip to content

Commit

Permalink
remove turbo & replace from vite to tsup (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
NEKOYASAN authored Apr 12, 2024
1 parent def8620 commit 9bd9f9a
Show file tree
Hide file tree
Showing 58 changed files with 2,104 additions and 2,195 deletions.
31 changes: 6 additions & 25 deletions .eslintrc.js → .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,47 +1,28 @@
/** @type import('eslint').Linter.BaseConfig */
module.exports = {
root: true,
env: {
node: true,
'vitest-globals/env': true,
},
extends: [
'airbnb-base',
'airbnb-typescript/base',
'plugin:unicorn/recommended',
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:@typescript-eslint/recommended-requiring-type-checking',
'plugin:vitest/all',
'plugin:vitest-globals/recommended',
'prettier',
],
parserOptions: {
project: 'tsconfig.json',
tsconfigRootDir: __dirname,
},
parser: '@typescript-eslint/parser',
rules: {
'import/prefer-default-export': 'off',
'import/extensions': 'off',
'@typescript-eslint/restrict-template-expressions': 'off',
'@typescript-eslint/no-floating-promises': 'off',
'@typescript-eslint/naming-convention': 'off',
'@typescript-eslint/no-var-requires': 'off',
'unicorn/prevent-abbreviations': 'off',
'unicorn/no-useless-undefined': 'off',
'unicorn/no-await-expression-member': 'off',
'unicorn/prefer-module': 'off',
'unicorn/no-null': 'off',
'no-console': [
'error',
{
allow: ['error'],
},
],
'vitest/require-top-level-describe': 'off',
"@typescript-eslint/no-unused-vars": "off",
},
overrides: [
{
files: ['**/*.test.tsx', '**/*.test.ts'],
plugins: ["vitest"],
rules: {
'vitest/require-top-level-describe': 'off',
'@typescript-eslint/await-thenable': 'off',
'@typescript-eslint/no-unsafe-assignment': 'off',
'@typescript-eslint/no-unsafe-call': 'off',
Expand Down
54 changes: 3 additions & 51 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,8 @@ coverage
# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/
Expand All @@ -53,54 +40,19 @@ typings/
# Optional eslint cache
.eslintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
.env.test

# parcel-bundler cache (https://parceljs.org/)
.cache

# Next.js build output
.next

# Nuxt.js build / generate output
.nuxt
dist

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and *not* Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port

licenses.txt
licenses.json

.idea
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20.1.0
20.12.0
File renamed without changes.
8 changes: 8 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"printWidth": 100,
"trailingComma": "es5",
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"endOfLine": "lf"
}
7 changes: 0 additions & 7 deletions .prettierrc.js

This file was deleted.

6 changes: 6 additions & 0 deletions packages/pnpm-license-exporter/CHANGELOG.md → CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @luco-inc/pnpm-license-exporter

## 2.0.0

### Major Changes

- Overall revamp of package internals

## 1.0.1

### Patch Changes
Expand Down
Empty file removed apps/.gitkeep
Empty file.
35 changes: 0 additions & 35 deletions apps/mock-app/.gitignore

This file was deleted.

34 changes: 0 additions & 34 deletions apps/mock-app/README.md

This file was deleted.

8 changes: 0 additions & 8 deletions apps/mock-app/next.config.js

This file was deleted.

21 changes: 0 additions & 21 deletions apps/mock-app/package.json

This file was deleted.

1 change: 0 additions & 1 deletion apps/mock-app/public/next.svg

This file was deleted.

1 change: 0 additions & 1 deletion apps/mock-app/public/vercel.svg

This file was deleted.

Binary file removed apps/mock-app/src/app/favicon.ico
Binary file not shown.
107 changes: 0 additions & 107 deletions apps/mock-app/src/app/globals.css

This file was deleted.

Loading

0 comments on commit 9bd9f9a

Please sign in to comment.