Skip to content

Commit

Permalink
Use Vite; Add TypeScript (#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
agentcooper committed Aug 28, 2021
1 parent 8f707b5 commit 428479e
Show file tree
Hide file tree
Showing 85 changed files with 51,589 additions and 85,775 deletions.
1 change: 0 additions & 1 deletion .editorconfig

This file was deleted.

7 changes: 1 addition & 6 deletions .github/workflows/nodejs.yml
Expand Up @@ -26,11 +26,6 @@ jobs:
run: |
npm ci
npm run format:check
unset CI # https://github.com/facebook/create-react-app/issues/1947#issuecomment-304072915
npm run build --if-present
CI=true
npm test
env:
CI: true
Expand All @@ -40,4 +35,4 @@ jobs:
env:
ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }}
PUBLISH_BRANCH: gh-pages
PUBLISH_DIR: ./packages/example/build
PUBLISH_DIR: ./dist-example
6 changes: 6 additions & 0 deletions .gitignore
@@ -1 +1,7 @@
node_modules
.DS_Store
dist
dist-ssr
dist-example
*.local
types
5 changes: 3 additions & 2 deletions .prettierignore
@@ -1,4 +1,5 @@
package.json
package-lock.json
build
flow-typed
dist
dist-example
node_modules
6 changes: 1 addition & 5 deletions .prettierrc
@@ -1,5 +1 @@
{
"arrowParens": "avoid",
"printWidth": 80,
"trailingComma": "none"
}
{}
12 changes: 2 additions & 10 deletions .vscode/settings.json
@@ -1,14 +1,6 @@
{
"javascript.validate.enable": false,
"flow.useNPMPackagedFlow": true,
"editor.formatOnSave": true,
"cSpell.words": [
"LTWH",
"Pointable",
"pagesinit",
"textlayerrendered"
],
"[javascript]": {
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}
}
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -19,7 +19,7 @@ npm install
npm start
```

While docs are in progress, feel free to check the source annotated with Flow
While docs are in progress, feel free to check the source annotated with TypeScript
type signatures.

### Installation
Expand Down
1 change: 1 addition & 0 deletions create-react-app-example/.env
@@ -0,0 +1 @@
SKIP_PREFLIGHT_CHECK=true
File renamed without changes.

0 comments on commit 428479e

Please sign in to comment.