Skip to content

Commit

Permalink
chore(cli): fix bun:test ts error
Browse files Browse the repository at this point in the history
  • Loading branch information
frankcalise committed Dec 14, 2023
1 parent b86d9b5 commit a0769bf
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 73 deletions.
Binary file modified bun.lockb
Binary file not shown.
143 changes: 72 additions & 71 deletions cli/package.json
Original file line number Diff line number Diff line change
@@ -1,73 +1,74 @@
{
"name": "create-expo-stack",
"version": "2.3.5",
"description": "CLI tool to initialize a React Native application with Expo",
"repository": {
"type": "git",
"url": "https://github.com/danstepanov/create-expo-stack.git",
"directory": "cli"
},
"license": "MIT",
"types": "build/types/types.d.ts",
"bin": {
"create-expo-stack": "bin/create-expo-stack.js"
},
"files": [
"build",
"LICENSE",
"readme.md",
"docs",
"bin"
],
"scripts": {
"build": "bun run clean-build && bun run compile && bun run copy-templates && bun run lint-templates",
"bump": "bun run ./src/utilities/bumpVersion.ts",
"clean-build": "rm -rf ./build",
"compile": "tsc -p .",
"copy-templates": "bun run copyfiles -u 2 -a \"./src/templates/**/*\" ./build/templates",
"format": "eslint \"**/*.{js,jsx,ts,tsx}\" --fix && prettier \"**/*.{js,jsx,ts,tsx,json}\" --write",
"lint-templates": "bun run ejslint ./src/templates",
"prepublishOnly": "bun run build",
"publishPublic": "bun run build && npm publish --access public",
"snapupdate": "jest --updateSnapshot",
"test:watch": "bun test --watch",
"test": "bun test --timeout 25000"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
},
"prettier": {
"arrowParens": "always",
"bracketSameLine": false,
"bracketSpacing": true,
"printWidth": 120,
"semi": true,
"singleQuote": true,
"tabWidth": 4,
"trailingComma": "none",
"useTabs": true
},
"dependencies": {
"ejs-lint": "^2.0.0",
"figlet": "^1.6.0",
"gluegun": "latest",
"gradient-string": "^2.0.2"
},
"devDependencies": {
"@types/gradient-string": "^1.1.2",
"@typescript-eslint/eslint-plugin": "^6.9.1",
"@typescript-eslint/parser": "^6.9.1",
"copyfiles": "^2.4.1",
"eslint": "^8.53.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.1",
"husky": "^5.1.3",
"prettier": "^2.2.1",
"pretty-quick": "^3.1.0"
},
"publishConfig": {
"provenance": false
}
"name": "create-expo-stack",
"version": "2.3.5",
"description": "CLI tool to initialize a React Native application with Expo",
"repository": {
"type": "git",
"url": "https://github.com/danstepanov/create-expo-stack.git",
"directory": "cli"
},
"license": "MIT",
"types": "build/types/types.d.ts",
"bin": {
"create-expo-stack": "bin/create-expo-stack.js"
},
"files": [
"build",
"LICENSE",
"readme.md",
"docs",
"bin"
],
"scripts": {
"build": "bun run clean-build && bun run compile && bun run copy-templates && bun run lint-templates",
"bump": "bun run ./src/utilities/bumpVersion.ts",
"clean-build": "rm -rf ./build",
"compile": "tsc -p .",
"copy-templates": "bun run copyfiles -u 2 -a \"./src/templates/**/*\" ./build/templates",
"format": "eslint \"**/*.{js,jsx,ts,tsx}\" --fix && prettier \"**/*.{js,jsx,ts,tsx,json}\" --write",
"lint-templates": "bun run ejslint ./src/templates",
"prepublishOnly": "bun run build",
"publishPublic": "bun run build && npm publish --access public",
"snapupdate": "jest --updateSnapshot",
"test:watch": "bun test --watch",
"test": "bun test --timeout 25000"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
},
"prettier": {
"arrowParens": "always",
"bracketSameLine": false,
"bracketSpacing": true,
"printWidth": 120,
"semi": true,
"singleQuote": true,
"tabWidth": 4,
"trailingComma": "none",
"useTabs": true
},
"dependencies": {
"ejs-lint": "^2.0.0",
"figlet": "^1.6.0",
"gluegun": "latest",
"gradient-string": "^2.0.2"
},
"devDependencies": {
"@types/gradient-string": "^1.1.2",
"@typescript-eslint/eslint-plugin": "^6.9.1",
"@typescript-eslint/parser": "^6.9.1",
"bun-types": "^1.0.18",
"copyfiles": "^2.4.1",
"eslint": "^8.53.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.1",
"husky": "^5.1.3",
"prettier": "^2.2.1",
"pretty-quick": "^3.1.0"
},
"publishConfig": {
"provenance": false
}
}
5 changes: 3 additions & 2 deletions cli/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@
"declaration": true,
"declarationDir": "build/types",
"resolveJsonModule": true,
"esModuleInterop": true
"esModuleInterop": true,
"types": ["bun-types"]
},
"include": ["src/**/*"],
"include": ["src/**/*", "__tests__/**/*"],
"exclude": ["node_modules"]
}

0 comments on commit a0769bf

Please sign in to comment.