openapi-sync 1.0.5 → 1.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 +2 -5
- package/bin/cli +0 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -6,9 +6,6 @@
|
|
|
6
6
|
|
|
7
7
|
Add a `openapi.sync.json` file at the root of your project (check out `openapi.sync.sample.json`)
|
|
8
8
|
|
|
9
|
-
##
|
|
9
|
+
## Run `openapi-sync`
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
`import 'openapi-sync'`
|
|
13
|
-
|
|
14
|
-
## Run your app
|
|
11
|
+
Run `openapi-sync` in terminal to start (you can also add it as a script in package.json)
|
package/bin/cli
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "openapi-sync",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"description": "sync openapi variables",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
"openapi-sync": "./bin/cli"
|
|
9
9
|
},
|
|
10
10
|
"scripts": {
|
|
11
|
-
"test": "echo \"Error: no test specified\"
|
|
11
|
+
"test": "echo \"Error: no test specified\"",
|
|
12
12
|
"build": "tsc",
|
|
13
|
-
"publish": "npm run build && npm version patch && npm publish",
|
|
13
|
+
"publish": "npm run build && npm version patch && npm publish && exit 0",
|
|
14
14
|
"start": "ts-node index.ts"
|
|
15
15
|
},
|
|
16
16
|
"author": "P-Technologies",
|