Skip to content

Commit

Permalink
fix: try fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mym0404 committed Mar 28, 2024
1 parent 53996fe commit e6071f4
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 38 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:
run: yarn check:all

- name: Build
run: yarn lerna run build
run: yarn build
- name: Version
run: yarn lerna version --force-publish --yes
- name: 'NPM Identity'
Expand Down
1 change: 0 additions & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.1.1.cjs
nmHoistingLimits: 'workspaces'
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"check:all": "yarn check:lint && yarn check:type && yarn check:test",
"check:lint": "eslint packages --ext .ts,.tsx,.js,.jsx --max-warnings=0 --cache",
"check:type": "tsc --noEmit",
"check:test": "echo skip",
"build": "lerna run check:all"
"check:test": "jest",
"build": "lerna run prepack"
},
"devDependencies": {
"@commitlint/cli": "^19.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"module": "dist/esm/index.mjs",
"types": "dist/types/index.d.ts",
"scripts": {
"build": "rm -rf dist && tsup src --format esm --shims"
"prepack": "rm -rf dist && tsup src --format esm --shims"
},
"dependencies": {
"bundle-n-require": "^1.0.1",
Expand Down
3 changes: 1 addition & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@
"types": "lib/typescript/src/index.d.ts",
"homepage": "https://github.com/mj-studio-library/react-native-styled-system",
"scripts": {
"build": "bob build",
"gen": "node bin/theme-gen.js bin/theme.ts bin/ret.d.ts",
"prepare": "bob build"
"prepack": "bob build"
},
"repository": {
"type": "git",
Expand Down
34 changes: 3 additions & 31 deletions packages/core/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,35 +1,7 @@
{
"extends": "../../tsconfig",
"compilerOptions": {
"rootDir": ".",
"allowUnreachableCode": false,
"allowUnusedLabels": false,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"jsx": "react",
"lib": ["esnext"],
"module": "esnext",
"moduleResolution": "node",
"noFallthroughCasesInSwitch": true,
"noImplicitReturns": false,
"noImplicitUseStrict": false,
"noImplicitAny": false,
"noStrictGenericChecks": false,
"noUncheckedIndexedAccess": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"strict": true,
"target": "esnext",
"verbatimModuleSyntax": true,
"types": ["node", "jest"]
},
"include": [
"src/**/*.ts",
"src/**/*.tsx",
],
"exclude": [
"**/*.test.*",
"node_modules"
]
"outDir": "./lib/typescript"
}
}

0 comments on commit e6071f4

Please sign in to comment.