@aparajita/capacitor-native-decorator
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -29,2 +29,3 @@ #! /usr/bin/env node | ||
const pluginMPath = path_1.default.join(iosPath, 'Plugin.m'); | ||
const greenCheck = '\x1b[32m✔\x1b[0m'; | ||
function fail(message) { | ||
@@ -72,3 +73,3 @@ console.error(`❌ ${message}`); | ||
(0, fs_1.writeFileSync)(pluginMPath, template, { encoding: 'utf-8' }); | ||
console.log(`✅ Created ${pluginMPath}`); | ||
console.log(`${greenCheck} Created ${pluginMPath}`); | ||
} | ||
@@ -81,2 +82,1 @@ catch (e) { | ||
exports.default = cli; | ||
//# sourceMappingURL=make-ios-plugin.js.map |
@@ -10,2 +10,1 @@ /** | ||
})(PluginReturnType || (PluginReturnType = {})); | ||
//# sourceMappingURL=definitions.js.map |
@@ -0,3 +1,4 @@ | ||
import { name, version } from './package.json'; | ||
console.log(`loaded ${name} v${version}`); | ||
export * from './definitions'; | ||
export * from './native-decorator'; | ||
//# sourceMappingURL=index.js.map |
@@ -113,2 +113,1 @@ import { Capacitor } from '@capacitor/core'; | ||
} | ||
//# sourceMappingURL=native-decorator.js.map |
@@ -7,2 +7,5 @@ 'use strict'; | ||
var name = "@aparajita/capacitor-native-decorator"; | ||
var version = "2.0.0"; | ||
/** | ||
@@ -129,3 +132,4 @@ * The type of plugin call. | ||
console.log(`loaded ${name} v${version}`); | ||
exports.native = native; | ||
//# sourceMappingURL=plugin.cjs.js.map |
var capacitorNativeDecorator = (function (exports, core) { | ||
'use strict'; | ||
var name = "@aparajita/capacitor-native-decorator"; | ||
var version = "2.0.0"; | ||
/** | ||
@@ -125,2 +128,4 @@ * The type of plugin call. | ||
console.log(`loaded ${name} v${version}`); | ||
exports.native = native; | ||
@@ -133,2 +138,1 @@ | ||
})({}, capacitorExports); | ||
//# sourceMappingURL=plugin.js.map |
{ | ||
"name": "@aparajita/capacitor-native-decorator", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Decorator for Capacitor plugins that allows painless TypeScript<->native integration", | ||
"keywords": [ | ||
"capacitor", | ||
"plugin" | ||
], | ||
"author": "Aparajita Fishman", | ||
"license": "MIT", | ||
"main": "dist/plugin.cjs.js", | ||
@@ -23,8 +29,2 @@ "module": "dist/esm/index.js", | ||
}, | ||
"keywords": [ | ||
"capacitor", | ||
"plugin" | ||
], | ||
"author": "Aparajita Fishman", | ||
"license": "MIT", | ||
"bugs": { | ||
@@ -41,2 +41,3 @@ "url": "https://github.com/aparajita/capacitor-native-decorator/issues" | ||
"@aparajita/prettier-config": "^1.0.0", | ||
"@rollup/plugin-json": "^4.1.0", | ||
"@types/node": "^18.0.0", | ||
@@ -63,14 +64,17 @@ "@typescript-eslint/eslint-plugin": "^5.30.2", | ||
"build": "pnpm check && pnpm build.only", | ||
"build.only": "pnpm clean && tsc && tsc --build tsconfig-cli.json && rollup -c rollup.config.js", | ||
"build.dev": "SOURCE_MAP=--sourceMap pnpm build", | ||
"build.only": "pnpm clean && pnpm tsc && rollup -c rollup.config.js", | ||
"build.only.dev": "SOURCE_MAP=--sourceMap pnpm build.only", | ||
"tsc": "tsc $SOURCE_MAP && tsc --build tsconfig-cli.json", | ||
"watch": "nodemon -w ./src -w ./cli -w tsconfig.json -w tsconfig-cli.json --exec 'pnpm run build.only --silent' -e ts", | ||
"lint": "eslint --ext .js,.cjs,.mjs,.ts .", | ||
"lint.fix": "pnpm lint --fix", | ||
"check": "pnpm lint && pnpm typecheck && pnpm prettier && echo '✅ All good!'", | ||
"check.fix": "pnpm lint.fix && pnpm typecheck && pnpm prettier.fix && echo '✅ All good!'", | ||
"check": "pnpm lint && pnpm typecheck && pnpm prettier && echo '\u001b[32m✔︎\u001b[0mAll good!'", | ||
"check.fix": "pnpm lint.fix && pnpm typecheck && pnpm prettier.fix && echo '\u001b[32m✔︎\u001b[0mAll good!'", | ||
"prettier": "prettier --check .", | ||
"prettier.fix": "pnpm prettier --write", | ||
"typecheck": "tsc --noEmit", | ||
"release": "pnpm build && commit-and-tag-version", | ||
"release": "commit-and-tag-version", | ||
"push": "git push --follow-tags origin main" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
482
0
42062
20
13