@descope/angular-sdk 0.0.0-next-7be68a9b-20231226 → 0.0.0-next-33691177-20231227

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.
@@ -5,7 +5,6 @@ on:
5
5
  push:
6
6
  branches:
7
7
  - main
8
- - init # TODO: remove this branch
9
8
 
10
9
  env:
11
10
  NODE_VERSION: 20
@@ -4,7 +4,7 @@ on:
4
4
  push:
5
5
  branches:
6
6
  - main
7
- - init # TODO: remove this branch
7
+ - init # TODO: Remove this branch
8
8
 
9
9
  env:
10
10
  NODE_VERSION: 20
@@ -35,6 +35,7 @@ jobs:
35
35
  - name: Install dependencies
36
36
  run: npm ci
37
37
  - name: Publish to NPM Package Registry
38
- run: npm publish --access=public --tag next
38
+ run: |
39
+ npm publish --access=public --tag next
39
40
  env:
40
41
  NODE_AUTH_TOKEN: ${{ secrets.CI_NPM_REGISTRY }}
@@ -4,7 +4,6 @@ on:
4
4
  push:
5
5
  branches:
6
6
  - main
7
- - init # TODO: remove this branch
8
7
 
9
8
  jobs:
10
9
  bump-version:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@descope/angular-sdk",
3
- "version": "0.0.0-next-7be68a9b-20231226",
3
+ "version": "0.0.0-next-33691177-20231227",
4
4
  "license": "MIT",
5
5
  "engines": {
6
6
  "node": "^16.14.0 || >=18.10.0",
@@ -20,6 +20,7 @@
20
20
  "lint": "ng lint",
21
21
  "format": "prettier . -w --ignore-path .gitignore",
22
22
  "format-check": "prettier . --check --ignore-path .gitignore",
23
+ "prepublishOnly": "npm run build:ci",
23
24
  "leaks": "bash ./scripts/gitleaks/gitleaks.sh"
24
25
  },
25
26
  "lint-staged": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
3
- "dest": "../../dist/angular-sdk",
3
+ "dest": "../../dist",
4
4
  "lib": {
5
5
  "entryFile": "src/public-api.ts"
6
6
  },
@@ -1,6 +1,6 @@
1
1
  {
2
- "name": "angular-sdk",
3
- "version": "0.0.1",
2
+ "name": "@descope/angular-sdk",
3
+ "version": "0.0.1-alpha1",
4
4
  "engines": {
5
5
  "node": "^16.14.0 || ^18.10.0",
6
6
  "npm": ">= 8.1.0"
@@ -1,3 +1,3 @@
1
1
  export const environment = {
2
- buildVersion: '0.0.0' // Placeholder, replaced by pre-build script (setversion.js)
2
+ buildVersion: '0.0.0-next-33691177-20231227'
3
3
  };
@@ -1,5 +1,5 @@
1
1
  const { writeFile } = require('fs');
2
- const { version } = require('./package.json');
2
+ const { version } = require('./../../package.json');
3
3
  const envFile = `export const environment = {
4
4
  buildVersion: '${version}'
5
5
  };