diff --git a/.gitignore b/.gitignore index ceaea36..13bde94 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,9 @@ +# Object files +obj + +# Editor backups +*~ + # ---> Node # Logs logs diff --git a/package.json5 b/package.json5 index b358bd8..c435e47 100644 --- a/package.json5 +++ b/package.json5 @@ -3,14 +3,24 @@ version: '0.0.1', description: 'Uncovering lost digital mathematical treasures', scripts: { - "test": 'echo "Error: no test specified" && exit 1' + test: 'echo "Error: no test specified" && exit 1', + build: 'civet --js -c src/*.civet -o obj/.js', + start: 'node obj', + go: 'pnpm --sequential "/build|start/"', }, packageManager: 'pnpm', - keywords: ['math', 'browser', 'plugin'], + keywords: [ + 'math', + 'browser', + 'plugin', + ], author: 'Glen Whitney', license: 'MIT', repository: { type: 'git', url: 'https://code.studioinfinity.org/glen/archematics.git', }, + devDependencies: { + '@danielx/civet': '^0.6.26', + }, } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml new file mode 100644 index 0000000..6d08aa8 --- /dev/null +++ b/pnpm-lock.yaml @@ -0,0 +1,43 @@ +lockfileVersion: '6.0' + +settings: + autoInstallPeers: true + excludeLinksFromLockfile: false + +devDependencies: + '@danielx/civet': + specifier: ^0.6.26 + version: 0.6.26 + +packages: + + /@cspotcode/source-map-support@0.8.1: + resolution: {integrity: sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==} + engines: {node: '>=12'} + dependencies: + '@jridgewell/trace-mapping': 0.3.9 + dev: true + + /@danielx/civet@0.6.26: + resolution: {integrity: sha512-YQKANR9Ow3NvzOZAVjTpiniSRWBjIWW8v6KAgVIlrzd8XBbAP1cyeAaWFXzAqOXylzL0map0gyw2tQO5pQq7bw==} + engines: {node: '>=19 || ^18.6.0 || ^16.17.0'} + hasBin: true + dependencies: + '@cspotcode/source-map-support': 0.8.1 + dev: true + + /@jridgewell/resolve-uri@3.1.1: + resolution: {integrity: sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==} + engines: {node: '>=6.0.0'} + dev: true + + /@jridgewell/sourcemap-codec@1.4.15: + resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==} + dev: true + + /@jridgewell/trace-mapping@0.3.9: + resolution: {integrity: sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==} + dependencies: + '@jridgewell/resolve-uri': 3.1.1 + '@jridgewell/sourcemap-codec': 1.4.15 + dev: true diff --git a/src/index.civet b/src/index.civet new file mode 100644 index 0000000..faae65c --- /dev/null +++ b/src/index.civet @@ -0,0 +1,4 @@ +console.log """ + Hello, world -- + This is the beginning of something! +""" diff --git a/src/tsconfig.json b/src/tsconfig.json new file mode 100644 index 0000000..dbfd749 --- /dev/null +++ b/src/tsconfig.json @@ -0,0 +1,9 @@ +{ + "compilerOptions": { + "strict": true, + "lib": ["esnext"], + "forceConsistentCasingInFileNames": true, + "resolveJsonModule": true, + "esModuleInterop": true + } +}