Skip to content

Commit

Permalink
refactor: sunset package as outlined in RFC 0759
Browse files Browse the repository at this point in the history
  • Loading branch information
byCedric committed Jun 5, 2024
1 parent a1614e4 commit 83aca28
Show file tree
Hide file tree
Showing 13 changed files with 4,763 additions and 4,576 deletions.
289 changes: 0 additions & 289 deletions __tests__/index-test.js

This file was deleted.

11 changes: 0 additions & 11 deletions babel.config.js

This file was deleted.

8 changes: 8 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/** @type {import('jest').Config} */
module.exports = {
...require('expo-module-scripts/jest-preset-cli'),
preset: 'ts-jest',
displayName: require('./package').name,
rootDir: __dirname,
roots: ['./src'],
};
45 changes: 13 additions & 32 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "create-react-native-app",
"//": "crna",
"version": "3.9.0",
"version": "4.0.0",
"main": "build",
"description": "Create React Native apps with no build configuration.",
"license": "BSD-3-Clause",
Expand All @@ -26,12 +26,12 @@
},
"scripts": {
"prepublishOnly": "yarn run clean && yarn run build",
"lint": "eslint .",
"test": "jest",
"lint": "expo-module lint",
"test": "expo-module test",
"watch": "yarn run build:dev -w",
"build:dev": "ncc build ./src/index.ts -o build/",
"build": "ncc build ./src/index.ts -o build/ --minify --no-cache --no-source-map-register",
"clean": "rimraf ./build/"
"clean": "expo-module clean"
},
"husky": {
"hooks": {
Expand All @@ -46,37 +46,18 @@
]
},
"devDependencies": {
"@babel/core": "^7.9.6",
"@babel/preset-env": "^7.9.6",
"@expo/babel-preset-cli": "0.2.8",
"@expo/json-file": "^8.2.21",
"@expo/package-manager": "^0.0.28",
"@expo/spawn-async": "^1.5.0",
"@types/fs-extra": "^8.1.0",
"@types/getenv": "^1.0.0",
"@types/node": "^12.6.8",
"@types/prompts": "2.0.8",
"@types/tar": "4.0.3",
"@vercel/ncc": "^0.36.1",
"babel-jest": "^26.0.1",
"@types/node": "^20.14.2",
"@vercel/ncc": "^0.38.1",
"babel-jest": "^29.7.0",
"chalk": "2.4.2",
"commander": "2.20.0",
"eslint": "^6.6.0",
"eslint-config-universe": "^2.1.0",
"eslint": "^8.57.0",
"eslint-config-universe": "^13.0.0",
"execa": "^4.0.1",
"fs-extra": "^9.0.0",
"getenv": "^1.0.0",
"got": "^11.1.3",
"expo-module-scripts": "^3.5.2",
"husky": "^1.1.3",
"jest": "^26.0.1",
"jest": "^29.7.0",
"lint-staged": "^8.0.4",
"minipass": "^3.1.1",
"ora": "^4.0.3",
"prettier": "^1.19.0",
"prompts": "2.3.2",
"tar": "^6.0.1",
"terminal-link": "^2.1.1",
"typescript": "3.7.3",
"update-check": "1.5.4"
"prettier": "^3.3.1",
"typescript": "^5.4.5"
}
}
Loading

0 comments on commit 83aca28

Please sign in to comment.