Socket
Socket
Sign inDemoInstall

@auto-canary/cocoapods

Package Overview
Dependencies
Maintainers
2
Versions
886
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@auto-canary/cocoapods - npm Package Compare versions

Comparing version 9.19.6-canary.1066.14005.0 to 9.19.6-canary.1066.14016.0

16

dist/index.d.ts
import { Auto, IPlugin } from '@auto-it/core';
export interface ICocoapodsPluginOptions {
/** path to podspec file */
podspecPath: string;
/** the Cocoapods repo to publish to */
specsRepo?: string;
}
import * as t from 'io-ts';
declare const pluginOptions: t.IntersectionC<[t.TypeC<{
/** Relative path to podspec file */
podspecPath: t.StringC;
}>, t.PartialC<{
/** The Cocoapods repo to publish to */
specsRepo: t.StringC;
}>]>;
export declare type ICocoapodsPluginOptions = t.TypeOf<typeof pluginOptions>;
/**

@@ -39,2 +42,3 @@ * Returns the regex'd version of the podspec file

}
export {};
//# sourceMappingURL=index.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const core_1 = require("@auto-it/core");
const semver_1 = require("semver");
const t = tslib_1.__importStar(require("io-ts"));
const utilities_1 = require("./utilities");

@@ -16,2 +18,11 @@ const logPrefix = '[Cocoapods-Plugin]';

const logMessage = (msg) => `${logPrefix} ${msg}`;
const required = t.interface({
/** Relative path to podspec file */
podspecPath: t.string
});
const optional = t.partial({
/** The Cocoapods repo to publish to */
specsRepo: t.string
});
const pluginOptions = t.intersection([required, optional]);
/**

@@ -82,2 +93,11 @@ * Returns the regex'd version of the podspec file

apply(auto) {
auto.hooks.validateConfig.tapPromise(this.name, async (name, options) => {
if (name === this.name || name === `@auto-it/${this.name}`) {
return core_1.validatePluginConfiguration(this.name, pluginOptions, options);
}
});
auto.hooks.modifyConfig.tap(this.name, (config) => {
config.noVersionPrefix = true;
return config;
});
auto.hooks.getPreviousVersion.tapPromise(this.name, async () => {

@@ -84,0 +104,0 @@ return auto.prefixRelease(getVersion(this.options.podspecPath));

{
"name": "@auto-canary/cocoapods",
"version": "9.19.6-canary.1066.14005.0",
"version": "9.19.6-canary.1066.14016.0",
"main": "dist/index.js",

@@ -39,6 +39,9 @@ "description": "Use auto to version your cocoapod",

"dependencies": {
"@auto-canary/core": "9.19.6-canary.1066.14005.0",
"@auto-canary/core": "9.19.6-canary.1066.14016.0",
"fp-ts": "^2.5.3",
"io-ts": "^2.1.2",
"semver": "^7.1.3",
"tslib": "1.10.0"
},
"gitHead": "e14aca3d6c8e59ddffcec799c41798971c4cef95"
"gitHead": "d217ac5a3d6262d3ab47557bcc69db1b1f97452b"
}
# Cocoapods Plugin
Use auto to version your [Cocoapod](https://cocoapods.org/), and push to your specs repository!
Use `auto` to version your [Cocoapod](https://cocoapods.org/), and push to your specs repository!

@@ -30,6 +30,3 @@ ## Installation

// other plugins
],
// THIS IS REQUIRED
// Cocoapods cannot work with tags in the format v1.0.0
"noVersionPrefix": true
]
}

@@ -46,6 +43,2 @@ ```

### Versioning
[Cocoapods](https://cocoapods.org/) does not work with the version prefix of `v1.0.0` so all versions must be the plain semver number (`1.0.0`). You are required to set the `noVersionPrefix` setting in your auto configuration.
### Pushing to the Cocoapods Trunk

@@ -52,0 +45,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc