Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 4 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# See http://help.github.com/ignore-files/ for more about ignoring files.

# compiled output
dist
tmp
/out-tsc
*.orig
# dist
# tmp
# /out-tsc
# *.orig

# dependencies
node_modules
Expand Down
4 changes: 4 additions & 0 deletions .npmrc.orig
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
link-workspace-packages=true
auto-install-peers=true
package-manager-strict=true
package-manager-strict-version=true
27 changes: 26 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,25 @@
"version": "0.0.0",
"license": "MIT",
"type": "module",
"bin": {
"rock": "./packages/cli/dist/src/bin.js"
},
"files": [
"packages/cli",
"packages/config",
"packages/tools",
"packages/platform-android",
"packages/platform-harmony",
"packages/platform-ios",
"packages/platform-apple-helpers",
"packages/plugin-metro",
"packages/plugin-repack",
"packages/plugin-brownfield-android",
"packages/plugin-brownfield-ios",
"packages/provider-github",
"packages/provider-s3",
"pnpm-workspace.yaml"
],
"scripts": {
"build": "pnpm -r run build",
"test": "vitest run",
Expand All @@ -20,8 +39,14 @@
"verdaccio:publish": "node ./scripts/verdaccio-publish.mjs",
"verdaccio:reset": "./scripts/verdaccio-reset.sh"
},
"private": true,
"dependencies": {
"@react-native-community/cli-config": "^20.0.0",
"@rock-js/config": "^0.11.9",
"@rock-js/tools": "^0.11.9",
"adm-zip": "^0.5.16",
"commander": "^12.1.0",
"node-apk": "^1.2.1",
"tar": "^7.5.1",
"tslib": "^2.8.1"
},
"devDependencies": {
Expand Down
2 changes: 2 additions & 0 deletions packages/cli/dist/src/bin.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/usr/bin/env node
export {};
7 changes: 7 additions & 0 deletions packages/cli/dist/src/bin.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/cli/dist/src/bin.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions packages/cli/dist/src/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export * from './lib/cli.js';
export type { Config } from '@rock-js/config';
2 changes: 2 additions & 0 deletions packages/cli/dist/src/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/cli/dist/src/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions packages/cli/dist/src/lib/adHocTemplates.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
export declare function templateIndexHtmlIOS({ appName, version, bundleIdentifier, }: {
appName: string;
version: string;
bundleIdentifier: string;
}): string;
export declare function templateManifestPlist({ baseUrl, ipaName, bundleIdentifier, version, appName, platformIdentifier, }: {
baseUrl: string;
ipaName: string;
bundleIdentifier: string;
version: string;
appName: string;
platformIdentifier: string;
}): string;
export declare function templateIndexHtmlAndroid({ appName, version, packageName, }: {
appName: string;
version: string;
packageName: string;
}): string;
Loading