Skip to content

Commit

Permalink
Merge pull request #79 from galacean/refactor/2.0
Browse files Browse the repository at this point in the history
Merge origin/refactor/2.0 into origin/main
  • Loading branch information
yiiqii authored Aug 21, 2024
2 parents 84cb3c9 + 10175c6 commit c91aa15
Show file tree
Hide file tree
Showing 71 changed files with 3,620 additions and 9,758 deletions.
14 changes: 2 additions & 12 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,9 @@ module.exports = {
env: {
browser: true,
node: true,
mocha: true,
},
globals: { 'chai': true },
ignorePatterns: [
'**/{node_modules,libs}',
'**/{node_modules,es}',
'*.js',
'*.d.ts',
],
Expand Down Expand Up @@ -137,13 +135,5 @@ module.exports = {
},
],
"compat/compat": "error",
},
overrides: [
{
"files": ["**/test/**/*.ts", "**/demo/**/*.ts"],
"rules": {
"compat/compat": "off"
}
}
]
}
};
5 changes: 1 addition & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,4 @@ typings/

.idea
.history
dist
dist-rollup
test/dev/*
node/index.js
es
2 changes: 1 addition & 1 deletion .lintstagedrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"{src,fallback,test}/**/*.{ts,mjs}": [
"src/**/*.ts": [
"eslint --cache --fix",
"sh -c 'tsc -b tsconfig.check.json'"
]
Expand Down
12 changes: 2 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,7 @@

``` bash
# 1. Install dependencies (first time)
npm install
pnpm install
# 2. Build
npm run build
pnpm run build
```

## Testing

``` bash
npm run test
```

> Open browser and open: http://localhost:9003/test/
45 changes: 0 additions & 45 deletions fallback/camera.ts

This file was deleted.

33 changes: 0 additions & 33 deletions fallback/filter.ts

This file was deleted.

Loading

0 comments on commit c91aa15

Please sign in to comment.