Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
142 changes: 71 additions & 71 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,73 +1,73 @@
{
"name": "coderoad-vscode",
"displayName": "CodeRoad",
"description": "Interactive tutorials in your editor",
"version": "0.0.1",
"engines": {
"vscode": "^1.34.0"
},
"categories": [
"Other"
],
"publisher": "Shawn McKay",
"author": {
"name": "Shawn McKay <[email protected]>"
},
"bugs": {
"url": "https://github.com/shmck/coderoad-vscode/issues",
"email": "[email protected]"
},
"repository": {
"type": "git",
"url": "https://github.com/shmck/coderoad-vscode.git"
},
"homepage": "https://github.com/shmck/coderoad-vscode/README.md",
"galleryBanner": {
"color": "#C80000",
"theme": "dark"
},
"activationEvents": [
"onCommand:coderoad.start"
],
"main": "./build/extension.js",
"contributes": {
"commands": [
{
"command": "coderoad.start",
"title": "Start",
"category": "CodeRoad"
},
{
"command": "coderoad.set_layout",
"title": "Set Layout",
"category": "CodeRoad"
}
]
},
"scripts": {
"vscode:prepublish": "npm run build",
"machine": "node ./out/state/index.js",
"build": "rm -rf build && concurrently \"npm run build:ext\" \"npm run build:web\"",
"build:ext": "npm run compile",
"build:web": "cd web-app && npm run build",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"storybook": "cd web-app && npm run storybook",
"test": "npm run build && node ./node_modules/vscode/bin/test"
},
"devDependencies": {
"@types/mocha": "^5.2.7",
"@types/node": "^12.6.2",
"concurrently": "^4.1.1",
"prettier": "^1.18.2",
"tslint": "^5.18.0",
"tslint-config-prettier": "^1.18.0",
"typescript": "^3.5.3"
},
"dependencies": {
"vscode": "^1.1.35",
"xstate": "^4.6.7"
},
"license": "SEE LICENSE IN LICENSE.md"
"name": "coderoad-vscode",
"displayName": "CodeRoad",
"description": "Interactive tutorials in your editor",
"version": "0.0.1",
"engines": {
"vscode": "^1.34.0"
},
"categories": [
"Other"
],
"publisher": "Shawn McKay",
"author": {
"name": "Shawn McKay <[email protected]>"
},
"bugs": {
"url": "https://github.com/shmck/coderoad-vscode/issues",
"email": "[email protected]"
},
"repository": {
"type": "git",
"url": "https://github.com/shmck/coderoad-vscode.git"
},
"homepage": "https://github.com/shmck/coderoad-vscode/README.md",
"galleryBanner": {
"color": "#C80000",
"theme": "dark"
},
"activationEvents": [
"onCommand:coderoad.start"
],
"main": "./build/extension.js",
"contributes": {
"commands": [
{
"command": "coderoad.start",
"title": "Start",
"category": "CodeRoad"
},
{
"command": "coderoad.set_layout",
"title": "Set Layout",
"category": "CodeRoad"
}
]
},
"scripts": {
"vscode:prepublish": "npm run build",
"machine": "node ./out/state/index.js",
"build": "rm -rf build && concurrently \"npm run build:ext\" \"npm run build:web\"",
"build:ext": "npm run compile",
"build:web": "cd web-app && npm run build",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"storybook": "cd web-app && npm run storybook",
"test": "npm run build && node ./node_modules/vscode/bin/test"
},
"devDependencies": {
"@types/mocha": "^5.2.7",
"@types/node": "^12.6.2",
"concurrently": "^4.1.1",
"prettier": "^1.18.2",
"tslint": "^5.18.0",
"tslint-config-prettier": "^1.18.0",
"typescript": "^3.5.3"
},
"dependencies": {
"vscode": "^1.1.35",
"xstate": "^4.6.7"
},
"license": "SEE LICENSE IN LICENSE.md"
}
57 changes: 24 additions & 33 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,35 +1,26 @@
{
"compilerOptions": {
"module": "commonjs",
"target": "es6",
"outDir": "build",
"lib": [
"es6",
"dom"
],
"sourceMap": true,
"rootDir": "src",
"baseUrl": "src",
"strict": true, /* enable all strict type-checking options */
/* Additional Checks */
"forceConsistentCasingInFileNames": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noImplicitAny": true,
"strictNullChecks": true,
"suppressImplicitAnyIndexErrors": true,
"noUnusedLocals": false,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"paths": {
"typings": ["../typings/index.d.ts"]
},
},
"exclude": [
"node_modules",
".vscode-test",
"build",
"resources",
"web-app"
]
"compilerOptions": {
"module": "commonjs",
"target": "es6",
"outDir": "build",
"lib": ["es6", "dom"],
"sourceMap": true,
"rootDir": "src",
"baseUrl": "src",
"strict": true /* enable all strict type-checking options */,
/* Additional Checks */
"forceConsistentCasingInFileNames": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noImplicitAny": true,
"strictNullChecks": true,
"suppressImplicitAnyIndexErrors": true,
"noUnusedLocals": false,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"paths": {
"typings": ["../typings/index.d.ts"]
}
},
"exclude": ["node_modules", ".vscode-test", "build", "resources", "web-app"]
}
35 changes: 13 additions & 22 deletions tslint.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,15 @@
{
"extends": [
"tslint:latest",
"tslint-config-prettier"
],
"rules": {
"no-string-throw": true,
"no-unused-expression": true,
"no-duplicate-variable": true,
"curly": true,
"class-name": true,
"semicolon": [
true,
"never"
],
"triple-equals": true,
"interface-name": [
true,
"never-prefix"
]
},
"defaultSeverity": "warning",
"no-submodule-imports": false,
"extends": ["tslint:latest", "tslint-config-prettier"],
"rules": {
"no-string-throw": true,
"no-unused-expression": true,
"no-duplicate-variable": true,
"curly": true,
"class-name": true,
"semicolon": [true, "never"],
"triple-equals": true,
"interface-name": [true, "never-prefix"]
},
"defaultSeverity": "warning",
"no-submodule-imports": false
}
3 changes: 3 additions & 0 deletions web-app/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# storybook
storybook-static
3 changes: 2 additions & 1 deletion web-app/.storybook/addons.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import '@storybook/addon-actions/register'
import '@storybook/addon-links/register'
import '@storybook/addon-knobs/register'
import '@storybook/addon-links/register'

2 changes: 1 addition & 1 deletion web-app/.storybook/config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { configure } from '@storybook/react'
import '@alifd/next/dist/next.css'
import { configure } from '@storybook/react'

// automatically import all files ending in *.stories.tsx
const req = require.context('../stories', true, /\.stories\.tsx$/)
Expand Down
Loading