Last active
June 7, 2021 21:35
-
-
Save matthewp/f5033180c65a0e6075aa2aff37f9a6ba to your computer and use it in GitHub Desktop.
Demo TypeScript/Lucy project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node_modules/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import createMachine from './machine.lucy'; | |
createMachine(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
initial state idle {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "demo-ts-proj", | |
"version": "1.0.0", | |
"lockfileVersion": 1, | |
"requires": true, | |
"dependencies": { | |
"@lucy/typescript-plugin": { | |
"version": "0.0.1", | |
"dev": true, | |
"dependencies": { | |
"typescript": { | |
"version": "4.3.2", | |
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.3.2.tgz", | |
"integrity": "sha512-zZ4hShnmnoVnAHpVHWpTcxdv7dWP60S2FsydQLV8V5PbS3FifjWFFRiHSWpDJahly88PRyV5teTSLoq4eG7mKw==" | |
} | |
} | |
}, | |
"typescript": { | |
"version": "4.3.2", | |
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.3.2.tgz", | |
"integrity": "sha512-zZ4hShnmnoVnAHpVHWpTcxdv7dWP60S2FsydQLV8V5PbS3FifjWFFRiHSWpDJahly88PRyV5teTSLoq4eG7mKw==", | |
"dev": true | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "demo-ts-proj", | |
"version": "1.0.0", | |
"description": "", | |
"main": "index.js", | |
"dependencies": {}, | |
"devDependencies": { | |
"@lucy/typescript-plugin": "^0.0.1", | |
"typescript": "^4.3.2" | |
}, | |
"scripts": { | |
"test": "echo \"Error: no test specified\" && exit 1" | |
}, | |
"keywords": [], | |
"author": "", | |
"license": "ISC" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"compilerOptions": { | |
"noImplicitAny": true, | |
"plugins": [{ "name": "@lucy/typescript-plugin" }] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment