-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
157 additions
and
163 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,30 @@ | ||
{ | ||
"$schema": "https://biomejs.dev/schemas/1.7.3/schema.json", | ||
"organizeImports": { | ||
"enabled": true | ||
}, | ||
"linter": { | ||
"enabled": true, | ||
"rules": { | ||
"recommended": true | ||
} | ||
}, | ||
"formatter": { | ||
"enabled": true, | ||
"indentStyle": "tab" | ||
}, | ||
"javascript": { | ||
"formatter": { | ||
"arrowParentheses": "asNeeded", | ||
"quoteStyle": "single", | ||
"semicolons": "always", | ||
"trailingComma": "none" | ||
} | ||
} | ||
"$schema": "https://biomejs.dev/schemas/1.7.3/schema.json", | ||
"organizeImports": { | ||
"enabled": true | ||
}, | ||
"linter": { | ||
"enabled": true, | ||
"rules": { | ||
"recommended": true | ||
} | ||
}, | ||
"formatter": { | ||
"enabled": true, | ||
"indentStyle": "tab" | ||
}, | ||
"javascript": { | ||
"formatter": { | ||
"arrowParentheses": "asNeeded", | ||
"quoteStyle": "single", | ||
"semicolons": "always", | ||
"trailingComma": "none" | ||
} | ||
}, | ||
"json": { | ||
"formatter": { | ||
"indentStyle": "space", | ||
"indentWidth": 2 | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
{ | ||
"name": "@titaniumlib/monorepo", | ||
"private": true, | ||
"type": "module", | ||
"scripts": { | ||
"build": "turbo run build", | ||
"check": "biome check --apply .", | ||
"coverage": "vitest run --coverage", | ||
"lint": "biome lint --apply .", | ||
"test": "vitest" | ||
}, | ||
"devDependencies": { | ||
"@biomejs/biome": "1.7.3", | ||
"@types/node": "20.12.13", | ||
"@vitest/coverage-v8": "1.6.0", | ||
"turbo": "1.13.3", | ||
"typescript": "5.4.5", | ||
"vitest": "1.6.0" | ||
} | ||
"name": "@titaniumlib/monorepo", | ||
"private": true, | ||
"type": "module", | ||
"scripts": { | ||
"build": "turbo run build", | ||
"check": "biome check --apply .", | ||
"coverage": "vitest run --coverage", | ||
"lint": "biome lint --apply .", | ||
"test": "vitest" | ||
}, | ||
"devDependencies": { | ||
"@biomejs/biome": "1.7.3", | ||
"@types/node": "20.12.13", | ||
"@vitest/coverage-v8": "1.6.0", | ||
"turbo": "1.13.3", | ||
"typescript": "5.4.5", | ||
"vitest": "1.6.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
{ | ||
"private": true, | ||
"name": "@titaniumlib/android", | ||
"type": "module", | ||
"exports": { | ||
".": "./dist/index.js", | ||
"./types": "./dist/types/index.d.ts" | ||
}, | ||
"scripts": { | ||
"build": "tsc" | ||
}, | ||
"devDependencies": { | ||
"typescript": "5.4.5" | ||
} | ||
"private": true, | ||
"name": "@titaniumlib/android", | ||
"type": "module", | ||
"exports": { | ||
".": "./dist/index.js", | ||
"./types": "./dist/types/index.d.ts" | ||
}, | ||
"scripts": { | ||
"build": "tsc" | ||
}, | ||
"devDependencies": { | ||
"typescript": "5.4.5" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
{ | ||
"private": true, | ||
"name": "@titaniumlib/ios", | ||
"type": "module", | ||
"exports": { | ||
".": "./dist/index.js", | ||
"./types": "./dist/types/index.d.ts" | ||
}, | ||
"scripts": { | ||
"build": "tsc" | ||
}, | ||
"devDependencies": { | ||
"typescript": "5.4.5" | ||
} | ||
"private": true, | ||
"name": "@titaniumlib/ios", | ||
"type": "module", | ||
"exports": { | ||
".": "./dist/index.js", | ||
"./types": "./dist/types/index.d.ts" | ||
}, | ||
"scripts": { | ||
"build": "tsc" | ||
}, | ||
"devDependencies": { | ||
"typescript": "5.4.5" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,42 @@ | ||
{ | ||
"name": "titaniumlib", | ||
"version": "4.0.0", | ||
"description": "The Node.js library for Titanium SDK", | ||
"type": "module", | ||
"exports": { | ||
".": "./dist/index.js", | ||
"./android": "./dist/android/index.js", | ||
"./ios": "./dist/ios/index.js", | ||
"./types": "./dist/types/index.d.ts" | ||
}, | ||
"author": "TiDev, Inc. <[email protected]>", | ||
"license": "Apache-2.0", | ||
"keywords": [ | ||
"titanium", | ||
"tidev" | ||
], | ||
"scripts": { | ||
"build": "rimraf dist && pnpm build:bundle && pnpm build:types", | ||
"build:bundle": "rollup -c rollup.config.ts --configPlugin typescript", | ||
"build:types": "pnpm build:types:temp && pnpm build:types:roll && pnpm build:types:check", | ||
"build:types:temp": "tsc --emitDeclarationOnly --outDir temp --project tsconfig.build.json", | ||
"build:types:roll": "rollup --config rollup.dts.config.ts --configPlugin typescript && rimraf temp", | ||
"build:types:check": "tsc --project tsconfig.check.json", | ||
"prepublishOnly": "pnpm run build" | ||
}, | ||
"devDependencies": { | ||
"@rollup/plugin-node-resolve": "15.2.3", | ||
"@rollup/plugin-typescript": "11.1.6", | ||
"@titaniumlib/android": "workspace:*", | ||
"@titaniumlib/ios": "workspace:*", | ||
"esbuild": "0.21.4", | ||
"rimraf": "5.0.7", | ||
"rollup": "4.18.0", | ||
"rollup-plugin-dts": "6.1.1", | ||
"rollup-plugin-esbuild": "6.1.1", | ||
"tslib": "2.6.2", | ||
"typescript": "5.4.5" | ||
}, | ||
"bugs": "https://github.com/tidev/titaniumlib/issues", | ||
"repository": "https://github.com/tidev/titaniumlib", | ||
"engines": { | ||
"node": ">=18.17" | ||
} | ||
"name": "titaniumlib", | ||
"version": "4.0.0", | ||
"description": "The Node.js library for Titanium SDK", | ||
"type": "module", | ||
"exports": { | ||
".": "./dist/index.js", | ||
"./android": "./dist/android/index.js", | ||
"./ios": "./dist/ios/index.js", | ||
"./types": "./dist/types/index.d.ts" | ||
}, | ||
"author": "TiDev, Inc. <[email protected]>", | ||
"license": "Apache-2.0", | ||
"keywords": ["titanium", "tidev"], | ||
"scripts": { | ||
"build": "rimraf dist && pnpm build:bundle && pnpm build:types", | ||
"build:bundle": "rollup -c rollup.config.ts --configPlugin typescript", | ||
"build:types": "pnpm build:types:temp && pnpm build:types:roll && pnpm build:types:check", | ||
"build:types:temp": "tsc --emitDeclarationOnly --outDir temp --project tsconfig.build.json", | ||
"build:types:roll": "rollup --config rollup.dts.config.ts --configPlugin typescript && rimraf temp", | ||
"build:types:check": "tsc --project tsconfig.check.json", | ||
"prepublishOnly": "pnpm run build" | ||
}, | ||
"devDependencies": { | ||
"@rollup/plugin-node-resolve": "15.2.3", | ||
"@rollup/plugin-typescript": "11.1.6", | ||
"@titaniumlib/android": "workspace:*", | ||
"@titaniumlib/ios": "workspace:*", | ||
"esbuild": "0.21.4", | ||
"rimraf": "5.0.7", | ||
"rollup": "4.18.0", | ||
"rollup-plugin-dts": "6.1.1", | ||
"rollup-plugin-esbuild": "6.1.1", | ||
"tslib": "2.6.2", | ||
"typescript": "5.4.5" | ||
}, | ||
"bugs": "https://github.com/tidev/titaniumlib/issues", | ||
"repository": "https://github.com/tidev/titaniumlib", | ||
"engines": { | ||
"node": ">=18.17" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,35 @@ | ||
import { defineConfig } from 'rollup'; | ||
import typescript from '@rollup/plugin-typescript'; | ||
import { nodeResolve } from '@rollup/plugin-node-resolve'; | ||
import typescript from '@rollup/plugin-typescript'; | ||
import { defineConfig } from 'rollup'; | ||
import { minify as esbuildMinifyPlugin } from 'rollup-plugin-esbuild'; | ||
|
||
export default defineConfig([ | ||
{ | ||
input: { | ||
'index': 'src/index.ts', | ||
'android/index': 'src/android/index.ts', | ||
'ios/index': 'src/ios/index.ts' | ||
}, | ||
output: { | ||
dir: './dist', | ||
externalLiveBindings: false, | ||
format: 'es', | ||
freeze: false, | ||
sourcemap: true | ||
}, | ||
plugins: [ | ||
nodeResolve({ preferBuiltins: true }), | ||
esbuildMinifyPlugin({ | ||
minify: true, | ||
minifySyntax: true | ||
}), | ||
typescript({ | ||
declaration: false, | ||
outDir: './dist', | ||
rootDir: './src', | ||
sourceMap: true, | ||
tsconfig: './tsconfig.build.json' | ||
}), | ||
] | ||
} | ||
{ | ||
input: { | ||
index: 'src/index.ts', | ||
'android/index': 'src/android/index.ts', | ||
'ios/index': 'src/ios/index.ts' | ||
}, | ||
output: { | ||
dir: './dist', | ||
externalLiveBindings: false, | ||
format: 'es', | ||
freeze: false, | ||
sourcemap: true | ||
}, | ||
plugins: [ | ||
nodeResolve({ preferBuiltins: true }), | ||
esbuildMinifyPlugin({ | ||
minify: true, | ||
minifySyntax: true | ||
}), | ||
typescript({ | ||
declaration: false, | ||
outDir: './dist', | ||
rootDir: './src', | ||
sourceMap: true, | ||
tsconfig: './tsconfig.build.json' | ||
}) | ||
] | ||
} | ||
]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters