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

Feature/tutorial setup#4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
ShMcK merged 12 commits intomasterfromfeature/tutorial-setup
Jun 9, 2019
Merged
Show file tree
Hide file tree
Changes from1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
absolute path typings
  • Loading branch information
@ShMcK
ShMcK committedJun 9, 2019
commitec2e0e0d6a428d1ca6c101315127dff3b480b31b
2 changes: 1 addition & 1 deletionsrc/editor/commands/index.ts
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -2,7 +2,7 @@ import * as vscode from 'vscode'
import { join } from 'path'
import { setStorage } from '../storage'
import ReactWebView from '../ReactWebView'
import * as CR from '../../typings'
import * as CR from 'typings'

const COMMANDS = {
START: 'coderoad.start',
Expand Down
2 changes: 1 addition & 1 deletionsrc/editor/index.ts
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
import * as vscode from 'vscode'
import * as CR from '../typings'
import * as CR from 'typings'
import { createCommands } from './commands'

interface Props {
Expand Down
2 changes: 1 addition & 1 deletionsrc/state/message.ts
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
// import panel from '../views/Panel'
import * as CR from '../typings'
import * as CR from 'typings'

export const onSend = (action: CR.Action) => {
// if (!panel || !panel.currentPanel) {
Expand Down
2 changes: 1 addition & 1 deletiontsconfig.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -22,7 +22,7 @@
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"paths": {
"typings": ["./typings/index.d.ts"],
"typings": ["../typings/index.d.ts"],
},
},
"exclude": [
Expand Down
File renamed without changes.
2 changes: 0 additions & 2 deletionssrc/typings/index.d.ts → typings/index.d.ts
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
import{onReceive}from"state/message";

exportinterfaceTutorialLevel{
stageList:string[]
content:{
Expand Down
2 changes: 1 addition & 1 deletionweb-app/src/components/Continue/index.tsx
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
import * as React from 'react'
import CR from '../../../../src/typings'
import CR from 'typings'

import ContinueItem from './ContinueItem'

Expand Down
2 changes: 1 addition & 1 deletionweb-app/src/components/Level/index.tsx
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
import*asReactfrom'react'
import{Button,Card}from'@alifd/next'
importCRfrom'../../../../src/typings'
importCRfrom'typings'

conststyles={
card:{
Expand Down
2 changes: 1 addition & 1 deletionweb-app/src/components/Stage/index.tsx
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
import * as React from 'react'
import { Button, Card } from '@alifd/next'
import CR from '../../../../src/typings'
import CR from 'typings'

import Step from '../Step'

Expand Down
2 changes: 1 addition & 1 deletionweb-app/src/components/Step/index.tsx
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
import * as React from 'react'
import { Checkbox } from '@alifd/next'
// import CC from '../../typings/client'
import CR from '../../../../src/typings'
import CR from 'typings'

const styles = {
card: {
Expand Down
2 changes: 1 addition & 1 deletionweb-app/src/components/Summary/index.tsx
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
import * as React from 'react'
import { Button, Card } from '@alifd/next'
import CR from '../../../../src/typings'
import CR from 'typings'

const styles = {
card: {
Expand Down
18 changes: 4 additions & 14 deletionsweb-app/tsconfig.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
{
"extends": "./tsconfig.paths.json",
"compilerOptions": {
"target": "es5",
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
Expand All@@ -16,21 +18,9 @@
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "preserve",
"sourceMap": true,
"rootDirs": ["src", "stories"],
"baseUrl": "src",
"outDir": "build"
"jsx": "preserve"
},
"include": [
"src",
"../src/typings"
],
"exclude": [
"node_modules",
"build",
"scripts",
"jest",
"public"
"src"
]
}
21 changes: 21 additions & 0 deletionsweb-app/tsconfig.paths.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
{
"compilerOptions": {
"baseUrl": "src",
"rootDirs": [
"src",
"stories"
],
"paths": {
"typings": [
"../../typings/index.d.ts"
],
}
},
"exclude": [
"node_modules",
"build",
"scripts",
"jest",
"public"
]
}

[8]ページ先頭

©2009-2025 Movatter.jp