@kohost/api-client 1.0.0-beta.0 → 1.0.0-beta.1

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.
@@ -1,4 +1,4 @@
1
- image: node:14
1
+ image: node:16.17.1
2
2
 
3
3
  pipelines:
4
4
  pull-requests:
@@ -9,11 +9,6 @@ pipelines:
9
9
  - node
10
10
  script:
11
11
  - npm install
12
- - npm version prerelease --preid=alpha -m "Upgrade to %s [skip ci]"
13
- - git push && git push --tags
14
- - pipe: atlassian/npm-publish:0.2.6
15
- variables:
16
- NPM_TOKEN: $NPM_TOKEN
17
12
  branches:
18
13
  master:
19
14
  - step:
@@ -22,7 +17,7 @@ pipelines:
22
17
  - node
23
18
  script:
24
19
  - npm install
25
- - pipe: atlassian/npm-publish:0.2.6
20
+ - pipe: atlassian/npm-publish:0.3.2
26
21
  variables:
27
22
  NPM_TOKEN: $NPM_TOKEN
28
23
  dev:
@@ -34,6 +29,21 @@ pipelines:
34
29
  - npm install
35
30
  - npm version prerelease --preid=beta -m "Upgrade to %s [skip ci]"
36
31
  - git push && git push --tags
37
- - pipe: atlassian/npm-publish:0.2.6
32
+ - pipe: atlassian/npm-publish:0.3.2
33
+ variables:
34
+ NPM_TOKEN: $NPM_TOKEN
35
+ EXTRA_ARGS: --tag next
36
+
37
+ v1:
38
+ - step:
39
+ name: Build and publish to NPM
40
+ caches:
41
+ - node
42
+ script:
43
+ - npm install
44
+ - npm version prerelease --preid=beta -m "Upgrade to %s [skip ci]"
45
+ - git push && git push --tags
46
+ - pipe: atlassian/npm-publish:0.3.2
38
47
  variables:
39
48
  NPM_TOKEN: $NPM_TOKEN
49
+ EXTRA_ARGS: --tag next-v1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kohost/api-client",
3
- "version": "1.0.0-beta.0",
3
+ "version": "1.0.0-beta.1",
4
4
  "description": "API client for Kohost utils",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
package/vite.config.js DELETED
@@ -1,22 +0,0 @@
1
- /** @type {import('vite').UserConfig} */
2
-
3
- import { resolve } from "path";
4
- import { defineConfig } from "vite";
5
-
6
- export default defineConfig({
7
- build: {
8
- lib: {
9
- // Could also be a dictionary or array of multiple entry points
10
- entry: resolve(__dirname, "index.js"),
11
- name: "Kohost",
12
- // the proper extensions will be added
13
- fileName: "kohost",
14
- },
15
- // commonjsOptions: {
16
- // include: "**/*.js",
17
- // transformMixedEsModules: true,
18
- // esmExternals: true,
19
- // requireReturnsDefault: false,
20
- // },
21
- },
22
- });