Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit84ba844

Browse files
committed
build extension package progress
1 parent3be6199 commit84ba844

File tree

7 files changed

+17
-58
lines changed

7 files changed

+17
-58
lines changed

‎.vscodeignore

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,27 @@
11
## Common
22
.gitignore
33

4-
## Docs
5-
DEV.md
6-
74
## VSCode
85
.vscode/**
96
.vscode-test/**
107
vsc-extension-quickstart.md
11-
*.vsix
8+
9+
## TypeScript
10+
**/tsconfig.json
11+
**/tslint.json
12+
**/*.ts
1213

1314
## Dev Folders
1415
src/**
1516
web-app/**
17+
scripts/**
18+
docs/**
1619
.env
1720
.prettierrc.js
1821
jest.config.js
1922

20-
## TypeScript
21-
**/tsconfig.json
22-
**/tslint.json
23-
**/*.ts
24-
2523
## Tests
26-
build/test/**
24+
build/test/**
25+
26+
## Docs
27+
DEV.md

‎package-lock.json

Lines changed: 0 additions & 33 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎package.json

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,11 @@
1717
},
1818
"main":"./build/extension.js",
1919
"scripts": {
20-
"build":"rm -rf build && npm run build:ext && npm run build:web",
21-
"build:ext":"tsc -p ./",
22-
"build:web":"cd web-app && npm run build",
23-
"postbuild:web":"cp -R ./web-app/build/ ./build/ && node scripts/fixFontPaths.js",
20+
"build":"./scripts/build.sh",
2421
"postinstall":"node ./node_modules/vscode/bin/install",
2522
"lint":"eslint src/**/*ts",
26-
"machine":"node ./out/state/index.js",
2723
"storybook":"cd web-app && npm run storybook",
2824
"test":"jest",
29-
"test:ext":"node ./build/test/runTest.js",
3025
"vscode:prepublish":"npm run build",
3126
"watch":"tsc -watch -p ./"
3227
},
@@ -38,8 +33,6 @@
3833
},
3934
"devDependencies": {
4035
"@types/assert":"^1.4.6",
41-
"@types/chokidar":"^2.1.3",
42-
"@types/dotenv":"^8.2.0",
4336
"@types/jest":"^25.1.4",
4437
"@types/jsdom":"^16.2.0",
4538
"@types/node":"^13.9.8",
@@ -48,7 +41,6 @@
4841
"eslint":"^6.8.0",
4942
"eslint-config-prettier":"^6.10.1",
5043
"eslint-plugin-prettier":"^3.1.2",
51-
"graphql":"^14.6.0",
5244
"jest":"^25.2.4",
5345
"prettier":"^2.0.2",
5446
"ts-jest":"^25.2.1",

‎web-app/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727
"dependencies": {
2828
"@alifd/next":"^1.19.21",
2929
"@alifd/theme-4":"^0.2.3",
30+
"@emotion/babel-preset-css-prop":"^10.0.27",
3031
"@emotion/core":"^10.0.28",
3132
"@sentry/browser":"^5.15.4",
32-
"graphql":"^14.6.0",
3333
"markdown-it":"^10.0.0",
3434
"markdown-it-emoji":"^1.4.0",
3535
"markdown-it-prism":"^2.0.5",
@@ -39,12 +39,10 @@
3939
"react-addons-css-transition-group":"^15.6.2",
4040
"react-dom":"^16.13.1",
4141
"reselect":"^4.0.0",
42-
"typescript":"^3.8.3",
4342
"xstate":"^4.8.0"
4443
},
4544
"devDependencies": {
4645
"@babel/core":"^7.5.4",
47-
"@emotion/babel-preset-css-prop":"^10.0.27",
4846
"@storybook/addon-actions":"^5.3.17",
4947
"@storybook/addon-knobs":"^5.3.17",
5048
"@storybook/addon-links":"^5.3.17",
@@ -73,6 +71,7 @@
7371
"react-app-rewired":"^2.1.5",
7472
"react-scripts":"^3.4.1",
7573
"sass-loader":"^8.0.2",
74+
"typescript":"^3.8.3",
7675
"typescript-eslint-parser":"^22.0.0"
7776
}
7877
}

‎web-app/src/containers/Tutorial/LevelPage/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ interface PageProps {
1010
}
1111

1212
constLevelSummaryPageContainer=(props:PageProps)=>{
13-
const{ position, progress, processes, testStatus, error}=props.context
13+
const{ position, progress, processes, testStatus}=props.context
1414

1515
consttutorial=selectors.currentTutorial(props.context)
1616
constlevelData:TT.Level=selectors.currentLevel(props.context)

‎web-app/src/services/hooks/useFetch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import*asReactfrom'react'
22

3-
constuseFetch=<T>(url:string,options?:object):{data:T|null;error:string|null;loading:boolean}=>{
3+
constuseFetch=<T>(url:string,options:object={}):{data:T|null;error:string|null;loading:boolean}=>{
44
const[data,setData]=React.useState(null)
55
const[error,setError]=React.useState(null)
66
const[loading,setLoading]=React.useState(true)

‎web-app/src/services/state/machine.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import*asCRfrom'typings'
2-
import{assign,Machine,MachineOptions}from'xstate'
2+
import{Machine,MachineOptions}from'xstate'
33
importcreateActionsfrom'./actions'
44

55
constcreateOptions=({ editorSend}:any):MachineOptions<CR.MachineContext,CR.MachineEvent>=>({

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp