create-paiza-ts 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "create-paiza-ts",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "",
5
5
  "bin": {
6
6
  "create-paiza-ts": "./bin/main.js"
7
7
  },
8
8
  "files": [
9
- "dist"
9
+ "bin",
10
+ "template"
10
11
  ],
11
12
  "keywords": [],
12
13
  "author": "vrcalphabet",
@@ -0,0 +1,18 @@
1
+ {
2
+ "singleQuote": true,
3
+ "semi": false,
4
+ "printWidth": 85,
5
+ "checkIgnorePragma": true,
6
+ "experimentalTernaries": true,
7
+ "importOrder": [
8
+ "^node:.+",
9
+ "<THIRD_PARTY_MODULES>",
10
+ "^(?!.*\\.\\w+(\\?.+)?$)\\.\\./",
11
+ "^(?!.*\\.\\w+(\\?.+)?$)\\./",
12
+ "\\.\\w+(\\?.+)?$"
13
+ ],
14
+ "importOrderSeparation": false,
15
+ "importOrderSortSpecifiers": true,
16
+ "importOrderParserPlugins": ["typescript", "decorators-legacy"],
17
+ "plugins": ["@trivago/prettier-plugin-sort-imports"]
18
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "cSpell.words": [
3
+ "paiza"
4
+ ]
5
+ }
@@ -0,0 +1 @@
1
+ // ここにはユーティリティ関数などを記述する
@@ -0,0 +1,22 @@
1
+ {
2
+ "name": "paiza-ts-playground",
3
+ "version": "1.0.0",
4
+ "description": "",
5
+ "private": true,
6
+ "main": "index.js",
7
+ "scripts": {
8
+ "start": "paiza-ts"
9
+ },
10
+ "keywords": [],
11
+ "author": "",
12
+ "license": "MIT",
13
+ "type": "module",
14
+ "devDependencies": {
15
+ "@trivago/prettier-plugin-sort-imports": "^6.0.2",
16
+ "@types/node": "^25.6.0",
17
+ "prettier": "^3.8.1"
18
+ },
19
+ "dependencies": {
20
+ "@vrcalphabet/paiza-ts": "^1.0.3"
21
+ }
22
+ }
@@ -0,0 +1,5 @@
1
+ // ここにはチャレンジ問題のコードを書く
2
+ import fs from 'node:fs'
3
+
4
+ const lines = fs.readFileSync(0, 'utf8').split('\n')
5
+ console.log(lines[0]!)
@@ -0,0 +1,31 @@
1
+ {
2
+ "compilerOptions": {
3
+ // ===== 必要に応じてコメントアウトしてください ===== //
4
+ "noImplicitReturns": true,
5
+ "noImplicitOverride": true,
6
+ // "noUnusedLocals": true,
7
+ // "noUnusedParameters": true,
8
+ "noFallthroughCasesInSwitch": true,
9
+ "noPropertyAccessFromIndexSignature": true,
10
+ // ===== 必要に応じてコメントアウトしてください ===== //
11
+
12
+ "module": "nodenext",
13
+ "target": "esnext",
14
+ "types": ["node"],
15
+
16
+ "noUncheckedIndexedAccess": true,
17
+ "exactOptionalPropertyTypes": true,
18
+
19
+ "strict": true,
20
+ "verbatimModuleSyntax": true,
21
+ "isolatedModules": true,
22
+ "noUncheckedSideEffectImports": true,
23
+ "moduleDetection": "force",
24
+ "skipLibCheck": true,
25
+ "paths": {
26
+ "@/src/*": ["./src/*"],
27
+ "@/lib/*": ["./lib/*"]
28
+ }
29
+ },
30
+ "include": ["src", "lib"]
31
+ }