Skip to content

Commit

Permalink
refactor:delete historical useless files
Browse files Browse the repository at this point in the history
  • Loading branch information
yanghang committed Sep 22, 2024
2 parents b75a0ee + 1ef812a commit e50d4c4
Show file tree
Hide file tree
Showing 230 changed files with 23,864 additions and 14,799 deletions.
59 changes: 0 additions & 59 deletions .eslintrc.cjs

This file was deleted.

3 changes: 0 additions & 3 deletions .gitattributes

This file was deleted.

15 changes: 15 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,22 @@ yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*
<<<<<<< HEAD

=======
pnpm-lock.yaml
package-lock.yaml
>>>>>>> develop
node_modules
dist
dist-ssr
*.local
<<<<<<< HEAD
pnpm-lock.yaml
=======
lib

>>>>>>> develop
# Editor directories and files
.vscode/*
!.vscode/extensions.json
Expand All @@ -22,6 +32,11 @@ pnpm-lock.yaml
*.njsproj
*.sln
*.sw?
<<<<<<< HEAD
stats.html
cache
lib
=======
cache

>>>>>>> develop
39 changes: 39 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*
pnpm-lock.yaml
package-lock.yaml
node_modules
<<<<<<< HEAD
.DS_Store
dist
dist-ssr
Expand All @@ -23,3 +34,31 @@ mock
config
.gitattributes
gulpfile.js
=======
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

docs
api
mock
public
src
www
.npmignore
jsconfig.json
vite.config.js


>>>>>>> develop
111 changes: 0 additions & 111 deletions README.md

This file was deleted.

4 changes: 4 additions & 0 deletions .editorconfig → api/.editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,9 @@ charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[{package.json,*.yml}]
indent_style = space
indent_size = 4

[*.md]
trim_trailing_whitespace = false
7 changes: 7 additions & 0 deletions api/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
HOST=0.0.0.0
PORT=1337
APP_KEYS="toBeModified1,toBeModified2"
API_TOKEN_SALT=tobemodified
ADMIN_JWT_SECRET=tobemodified
TRANSFER_TOKEN_SALT=tobemodified
JWT_SECRET=tobemodified
3 changes: 3 additions & 0 deletions api/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.cache
build
**/node_modules/**
42 changes: 42 additions & 0 deletions api/.eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"parser": "babel-eslint",
"extends": "eslint:recommended",
"env": {
"commonjs": true,
"es6": true,
"node": true,
"browser": false
},
"parserOptions": {
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": false
},
"sourceType": "module"
},
"globals": {
"strapi": true
},
"rules": {
"indent": [
"error",
2,
{
"SwitchCase": 1
}
],
"linebreak-style": [
"error",
"unix"
],
"no-console": 0,
"quotes": [
"error",
"single"
],
"semi": [
"error",
"always"
]
}
}
Loading

0 comments on commit e50d4c4

Please sign in to comment.