Skip to content

Commit 7afa82d

Browse files
HedgehogCodeChristianAlbrecht
authored andcommitted
Restructuring - added publish, build and audit scripts
1 parent 62ef1be commit 7afa82d

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

Diff for: .gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ build/Release
4141
# Dependency directories
4242
node_modules/
4343
jspm_packages/
44+
.pnpm-store/
4445

4546
# TypeScript v1 declaration files
4647
typings/

Diff for: .prettierignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ pnpm-lock.yaml
33
coverage
44
dist
55
test-results
6-
**/opensourcecredits/used-packages.json
6+
**/opensourcecredits/used-packages.json
7+
.pnpm-store

Diff for: package.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,15 @@
1515
"ci:lint-format": "run-p ci:lint:* format:check -c",
1616
"ci:lint:js": "npm run lint:js && npm run lint:js -- -f json -o test-results/eslint.json",
1717
"ci:lint:css": "npm run lint:css -- -f json -o test-results/stylelint.json",
18+
"build:packages": "pnpm run build:styles",
19+
"build:styles": "pnpm --filter @knime/styles build",
1820
"test:unit-components": "pnpm --filter @knime/base-components test:unit",
1921
"test:unit-ui-extensions-renderer": "pnpm --filter @knime/ui-extensions-renderer test:unit",
2022
"changeset": "npx changeset",
2123
"changeset:version": "npx changeset version",
22-
"changeset:publish": "npx changeset publish"
24+
"changeset:publish": "npx changeset publish",
25+
"publish": "pnpm run build:packages && pnpm run changeset:publish",
26+
"audit": "pnpm audit --prod"
2327
},
2428
"engines": {
2529
"node": "18.x - 20.x"

0 commit comments

Comments
 (0)