@benefex/icons 0.0.1-PR1-BN38 → 0.0.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.
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@benefex/icons",
3
- "version": "0.0.1-PR1-BN38",
3
+ "version": "0.0.1",
4
4
  "description": "Benefex icon package",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "sideEffects": false,
8
8
  "scripts": {
9
- "test": "npx jest --coverage",
9
+ "test": "echo 'No tests'",
10
10
  "lint": "echo 'No linting'",
11
11
  "clean": "rm -rf ./generated && rm -rf ./dist",
12
12
  "build:icons": "npx @svgr/cli --out-dir generated ./src/svgs/ && cp src/svgr.ts generated",
@@ -50,7 +50,6 @@
50
50
  "@types/react": "^16.14.60",
51
51
  "@types/react-dom": "^16.9.24",
52
52
  "camelcase": "^8.0.0",
53
- "jest": "^29.7.0",
54
53
  "react": "^16.14.0",
55
54
  "storybook": "^8.1.5",
56
55
  "typescript": "^5.4.5"
package/.dockerignore DELETED
@@ -1,18 +0,0 @@
1
- # Items that don't need to be in a Docker image.
2
-
3
- Dockerfile
4
- .dockerignore
5
-
6
- .gitignore
7
- .gitattributes
8
- .editorconfig
9
- helm-dev.yml
10
- helm-prod.yml
11
-
12
- README.md
13
-
14
- # Artifacts that will be built during image creation.
15
-
16
- dist
17
- generated
18
- node_modules
package/Dockerfile DELETED
@@ -1,32 +0,0 @@
1
- FROM node:20-bullseye-slim
2
-
3
- ARG BUILD_DATE
4
- ARG BUILD_URL
5
- ARG NPM_TOKEN
6
- ARG COMMIT_ID
7
-
8
- LABEL io.benefexapps.build-date $BUILD_DATE
9
- LABEL io.benefexapps.build-url $BUILD_URL
10
- LABEL io.benefexapps.commit-id $COMMIT_ID
11
-
12
- # The base node image sets a very verbose log level.
13
- ENV NPM_CONFIG_LOGLEVEL warn
14
- ENV REACT_APP_COMMIT_ID $COMMIT_ID
15
-
16
- WORKDIR /usr/src/app
17
-
18
- # Install node dependencies
19
- COPY package*.json ./
20
- RUN echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ./.npmrc
21
- RUN npm ci
22
- COPY . .
23
-
24
- # Build for production.
25
- RUN npm run build-storybook
26
-
27
- # Tell Docker about the port we'll run on.
28
- EXPOSE 8080
29
-
30
- CMD ["npx", "http-server", "./storybook-static"]
31
-
32
- USER node
@@ -1,33 +0,0 @@
1
- const tmpl = require('./svgr-template');
2
-
3
- describe('SVGR', () => {
4
- it('should create the component file', () => {
5
- function tpl(strings, ...values) {
6
- return strings
7
- .map((s, i) => [s, values[i]].join(''))
8
- .flat()
9
- .join('');
10
- }
11
-
12
- expect(
13
- tmpl(
14
- {
15
- componentName: 'test-comp',
16
- jsx: '<svg />',
17
- },
18
- { tpl },
19
- ),
20
- ).toEqual(
21
- `
22
- import * as React from 'react';
23
- import { SVGRProps } from './svgr';
24
-
25
- const test-comp = ({ title, titleId, ...props }: SVGRProps) => (
26
- <svg />
27
- );
28
-
29
- export default test-comp;
30
- `,
31
- );
32
- });
33
- });