zapier-platform-schema 18.0.1 → 18.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -10
- package/exported-schema.json +1 -1
- package/package.json +17 -17
- package/CHANGELOG.md +0 -1
package/README.md
CHANGED
|
@@ -14,18 +14,18 @@ See [CONTRIBUTING.md](https://github.com/zapier/zapier-platform/blob/main/CONTRI
|
|
|
14
14
|
|
|
15
15
|
Useful commands:
|
|
16
16
|
|
|
17
|
-
- `
|
|
18
|
-
- `
|
|
19
|
-
- `
|
|
20
|
-
- `
|
|
21
|
-
- `
|
|
22
|
-
- `
|
|
23
|
-
- `
|
|
24
|
-
- `
|
|
25
|
-
- `
|
|
17
|
+
- `pnpm` to install packages and get started
|
|
18
|
+
- `pnpm lint` to lint code
|
|
19
|
+
- `pnpm test` to run tests
|
|
20
|
+
- `pnpm smoke-test` to run smoke tests
|
|
21
|
+
- `pnpm coverage` to run tests and display test coverage
|
|
22
|
+
- `pnpm validate` to run tests, smoke tests, and linter
|
|
23
|
+
- `pnpm export` to update the exported-schema (even if only the version changes)
|
|
24
|
+
- `pnpm docs` to update docs (even if only the version changes)
|
|
25
|
+
- `pnpm build` to update docs and the exported-schema (even if only the version changes)
|
|
26
26
|
|
|
27
27
|
## Publishing
|
|
28
28
|
|
|
29
29
|
Only do this after merging your PR to `main`.
|
|
30
30
|
|
|
31
|
-
- `
|
|
31
|
+
- `pnpm version --[patch|minor|major]` will pull, test, update exported-schema, update docs, increment version in package.json, push tags, and publish to npm
|
package/exported-schema.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zapier-platform-schema",
|
|
3
|
-
"version": "18.0.
|
|
3
|
+
"version": "18.0.6",
|
|
4
4
|
"description": "Schema definition for CLI apps in the Zapier Developer Platform.",
|
|
5
5
|
"repository": "zapier/zapier-platform",
|
|
6
6
|
"homepage": "https://platform.zapier.com/",
|
|
@@ -12,21 +12,6 @@
|
|
|
12
12
|
"/lib/**/*.js",
|
|
13
13
|
"/schema.js"
|
|
14
14
|
],
|
|
15
|
-
"scripts": {
|
|
16
|
-
"preversion": "git pull && yarn test && yarn build",
|
|
17
|
-
"test": "mocha -t 10s --recursive test --exit",
|
|
18
|
-
"smoke-test": "mocha -t 10s --recursive smoke-test --exit",
|
|
19
|
-
"test:debug": "mocha --recursive --inspect-brk test",
|
|
20
|
-
"lint": "eslint lib",
|
|
21
|
-
"lint:fix": "eslint --fix lib",
|
|
22
|
-
"coverage": "istanbul cover _mocha -- --recursive",
|
|
23
|
-
"export": "node bin/export.js && prettier --write exported-schema.json",
|
|
24
|
-
"docs": "node bin/docs.js",
|
|
25
|
-
"build": "yarn docs && yarn export",
|
|
26
|
-
"git-add": "git add exported-schema.json README.md docs",
|
|
27
|
-
"precommit": "yarn build && yarn git-add",
|
|
28
|
-
"validate": "yarn test && yarn lint && yarn smoke-test"
|
|
29
|
-
},
|
|
30
15
|
"dependencies": {
|
|
31
16
|
"jsonschema": "1.5.0",
|
|
32
17
|
"lodash": "4.17.21"
|
|
@@ -36,5 +21,20 @@
|
|
|
36
21
|
"istanbul": "0.4.5",
|
|
37
22
|
"markdown-toc": "^1",
|
|
38
23
|
"node-fetch": "^2"
|
|
24
|
+
},
|
|
25
|
+
"scripts": {
|
|
26
|
+
"preversion": "git pull && pnpm test && pnpm build",
|
|
27
|
+
"test": "mocha -t 10s --recursive test --exit",
|
|
28
|
+
"smoke-test": "mocha -t 10s --recursive smoke-test --exit",
|
|
29
|
+
"test:debug": "mocha --recursive --inspect-brk test",
|
|
30
|
+
"lint": "eslint lib",
|
|
31
|
+
"lint:fix": "eslint --fix lib",
|
|
32
|
+
"coverage": "istanbul cover _mocha -- --recursive",
|
|
33
|
+
"export": "node bin/export.js && prettier --write exported-schema.json",
|
|
34
|
+
"build-docs": "node bin/docs.js",
|
|
35
|
+
"build": "pnpm build-docs && pnpm export",
|
|
36
|
+
"git-add": "git add exported-schema.json README.md docs",
|
|
37
|
+
"precommit": "pnpm build && pnpm git-add",
|
|
38
|
+
"validate": "pnpm test && pnpm lint && pnpm smoke-test"
|
|
39
39
|
}
|
|
40
|
-
}
|
|
40
|
+
}
|
package/CHANGELOG.md
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
See [CHANGELOG.md](https://github.com/zapier/zapier-platform/blob/main/CHANGELOG.md).
|