pn-design-assets 1.7.0 → 1.7.2
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/.bitbucket/pipelines/generated/pipeline/pipes/sonarsource/sonarqube-scan/report-task.txt +6 -0
- package/.nvmrc +1 -0
- package/bitbucket-pipelines.yml +56 -9
- package/bom.xml +3089 -0
- package/package.json +12 -4
- package/pn-assets/styles/_pn-colors.scss +1 -0
- package/pn-assets/colors.d.ts +0 -34
- package/pn-assets/colors.d.ts.map +0 -1
- package/pn-assets/colors.js +0 -33
- package/pn-assets/colors.ts +0 -33
- package/pn-assets/icons.d.ts +0 -234
- package/pn-assets/icons.d.ts.map +0 -1
- package/pn-assets/icons.js +0 -233
- package/pn-assets/icons.ts +0 -233
- package/pn-assets/iconsCamel.d.ts +0 -234
- package/pn-assets/iconsCamel.d.ts.map +0 -1
- package/pn-assets/iconsCamel.js +0 -233
- package/pn-assets/iconsCamel.ts +0 -233
- package/pn-assets/illustrations.d.ts +0 -129
- package/pn-assets/illustrations.d.ts.map +0 -1
- package/pn-assets/illustrations.js +0 -128
- package/pn-assets/illustrations.ts +0 -128
- package/pn-assets/illustrationsCamel.d.ts +0 -129
- package/pn-assets/illustrationsCamel.d.ts.map +0 -1
- package/pn-assets/illustrationsCamel.js +0 -128
- package/pn-assets/illustrationsCamel.ts +0 -128
package/.bitbucket/pipelines/generated/pipeline/pipes/sonarsource/sonarqube-scan/report-task.txt
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
projectKey=avupublicapis_DOCS_pn-design-guidelines
|
|
2
|
+
serverUrl=https://sqc.ess.postnord.com
|
|
3
|
+
serverVersion=9.9.0.65466
|
|
4
|
+
dashboardUrl=https://sqc.ess.postnord.com/dashboard?id=avupublicapis_DOCS_pn-design-guidelines&branch=master
|
|
5
|
+
ceTaskId=AY1pIRSTSYNwO7b8PuMv
|
|
6
|
+
ceTaskUrl=https://sqc.ess.postnord.com/api/ce/task?id=AY1pIRSTSYNwO7b8PuMv
|
package/.nvmrc
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
lts/hydrogen
|
package/bitbucket-pipelines.yml
CHANGED
|
@@ -1,13 +1,60 @@
|
|
|
1
|
-
image: node:18
|
|
1
|
+
image: node:18
|
|
2
|
+
|
|
3
|
+
definitions:
|
|
4
|
+
services:
|
|
5
|
+
docker:
|
|
6
|
+
memory: 3072
|
|
7
|
+
|
|
8
|
+
stepdefinitions:
|
|
9
|
+
- build: &build
|
|
10
|
+
name: Build
|
|
11
|
+
size: 2x
|
|
12
|
+
caches:
|
|
13
|
+
- node
|
|
14
|
+
script:
|
|
15
|
+
- npm install
|
|
16
|
+
- npm run build
|
|
17
|
+
- npm run bom
|
|
18
|
+
artifacts: # Pass the folders to future steps
|
|
19
|
+
- bom.xml
|
|
20
|
+
|
|
21
|
+
- publish: &publish
|
|
22
|
+
name: Publish package to NPM
|
|
23
|
+
trigger: manual
|
|
24
|
+
script:
|
|
25
|
+
# Setup NPM registry with scope and token
|
|
26
|
+
- npm config set @postnord:registry https://registry.npmjs.org/ && npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN
|
|
27
|
+
- cat ~/.npmrc
|
|
28
|
+
- ./scripts/publish_package.sh
|
|
29
|
+
|
|
30
|
+
- sonarqube: &sonarqube
|
|
31
|
+
name: Analyze on SonarQube
|
|
32
|
+
size: 2x
|
|
33
|
+
script:
|
|
34
|
+
- pipe: sonarsource/sonarqube-scan:2.0.1
|
|
35
|
+
variables:
|
|
36
|
+
SONAR_HOST_URL: ${SONARQUBE_URL}
|
|
37
|
+
SONAR_TOKEN: ${SONARQUBE_PIPELINE_TOKEN}
|
|
38
|
+
SONAR_SCANNER_OPTS: -Xmx2048m
|
|
39
|
+
EXTRA_ARGS: -Dsonar.projectKey=${BITBUCKET_REPO_OWNER}_${BITBUCKET_PROJECT_KEY}_${BITBUCKET_REPO_SLUG} -Dsonar.projectName=${BITBUCKET_REPO_SLUG}
|
|
40
|
+
|
|
41
|
+
- dependancyTrackUpload: &dependancyTrackUpload
|
|
42
|
+
name: Dependency-Track upload
|
|
43
|
+
script:
|
|
44
|
+
- pipe: docker://pndigital/dependency-track-upload:1.0
|
|
45
|
+
variables:
|
|
46
|
+
PROJECT_NAME: ${BITBUCKET_REPO_SLUG}
|
|
47
|
+
PROJECT_VERSION: ${BITBUCKET_BRANCH}
|
|
48
|
+
DEPENDENCY_TRACK_URL: ${DEPENDENCY_TRACK_URL}
|
|
49
|
+
BOM_FILE: "bom.xml"
|
|
50
|
+
X_API_KEY: "${DEPENDENCY_TRACK_APIKEY}"
|
|
51
|
+
AUTO_CREATE: "true"
|
|
52
|
+
|
|
2
53
|
|
|
3
54
|
pipelines:
|
|
4
55
|
branches:
|
|
5
56
|
master:
|
|
6
|
-
- step:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
- printf "//`node -p \"require('url').parse('https://registry.npmjs.org').host\"`/:_authToken=${NPM_TOKEN}\nregistry=https://registry.npmjs.org\n" >> ~/.npmrc
|
|
11
|
-
- npm install
|
|
12
|
-
- npm run build
|
|
13
|
-
- npm publish
|
|
57
|
+
- step: *build
|
|
58
|
+
- step: *sonarqube
|
|
59
|
+
- step: *dependancyTrackUpload
|
|
60
|
+
- step: *publish
|