From 92f30d0934e152c6d1742038a958e91846f92158 Mon Sep 17 00:00:00 2001 From: Peter Brottveit Bock Date: Tue, 10 Aug 2021 10:33:23 +0200 Subject: [PATCH] init create-react-library --- .editorconfig | 9 +++++ .eslintignore | 5 +++ .eslintrc | 34 ++++++++++++++++++ .gitignore | 3 ++ .prettierrc | 10 ++++++ README.md | 30 ++++++++++++++++ example/README.md | 5 +++ example/package.json | 43 ++++++++++++++++++++++ example/public/favicon.ico | Bin 0 -> 3870 bytes example/public/index.html | 48 +++++++++++++++++++++++++ example/public/manifest.json | 15 ++++++++ example/src/App.test.tsx | 9 +++++ example/src/App.tsx | 10 ++++++ example/src/index.css | 14 ++++++++ example/src/index.tsx | 7 ++++ example/src/react-app-env.d.ts | 1 + example/src/setupTests.ts | 5 +++ example/tsconfig.json | 38 ++++++++++++++++++++ package.json | 63 +++++++++++++++++++++++++++++++++ src/.eslintrc | 5 +++ src/index.test.tsx | 7 ++++ src/index.tsx | 10 ++++++ src/styles.module.css | 9 +++++ src/typings.d.ts | 17 +++++++++ tsconfig.json | 22 ++++++++++++ tsconfig.test.json | 6 ++++ 26 files changed, 425 insertions(+) create mode 100644 .editorconfig create mode 100644 .eslintignore create mode 100644 .eslintrc create mode 100644 .gitignore create mode 100644 .prettierrc create mode 100644 README.md create mode 100644 example/README.md create mode 100644 example/package.json create mode 100644 example/public/favicon.ico create mode 100644 example/public/index.html create mode 100644 example/public/manifest.json create mode 100644 example/src/App.test.tsx create mode 100644 example/src/App.tsx create mode 100644 example/src/index.css create mode 100644 example/src/index.tsx create mode 100644 example/src/react-app-env.d.ts create mode 100644 example/src/setupTests.ts create mode 100644 example/tsconfig.json create mode 100644 package.json create mode 100644 src/.eslintrc create mode 100644 src/index.test.tsx create mode 100644 src/index.tsx create mode 100644 src/styles.module.css create mode 100644 src/typings.d.ts create mode 100644 tsconfig.json create mode 100644 tsconfig.test.json diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..9d08a1a --- /dev/null +++ b/.editorconfig @@ -0,0 +1,9 @@ +root = true + +[*] +charset = utf-8 +indent_style = space +indent_size = 2 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 0000000..a804767 --- /dev/null +++ b/.eslintignore @@ -0,0 +1,5 @@ +build/ +dist/ +node_modules/ +.snapshots/ +*.min.js \ No newline at end of file diff --git a/.eslintrc b/.eslintrc new file mode 100644 index 0000000..4c6c567 --- /dev/null +++ b/.eslintrc @@ -0,0 +1,34 @@ +{ + "parser": "@typescript-eslint/parser", + "extends": [ + "standard", + "standard-react", + "plugin:prettier/recommended", + "prettier/standard", + "prettier/react", + "plugin:@typescript-eslint/eslint-recommended" + ], + "env": { + "node": true + }, + "parserOptions": { + "ecmaVersion": 2020, + "ecmaFeatures": { + "legacyDecorators": true, + "jsx": true + } + }, + "settings": { + "react": { + "version": "16" + } + }, + "rules": { + "space-before-function-paren": 0, + "react/prop-types": 0, + "react/jsx-handler-names": 0, + "react/jsx-fragments": 0, + "react/no-unused-prop-types": 0, + "import/export": 0 + } +} diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..229c3aa --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +dist +node_modules/ +package-lock.json diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..a9646d4 --- /dev/null +++ b/.prettierrc @@ -0,0 +1,10 @@ +{ + "singleQuote": true, + "jsxSingleQuote": true, + "semi": false, + "tabWidth": 2, + "bracketSpacing": true, + "jsxBracketSameLine": false, + "arrowParens": "always", + "trailingComma": "none" +} diff --git a/README.md b/README.md new file mode 100644 index 0000000..73f9149 --- /dev/null +++ b/README.md @@ -0,0 +1,30 @@ +# arbeidsgiver-notifikasjon-widget + +> React component som viser notifikasjoner for innlogget arbeidsgiver. + +[![NPM](https://img.shields.io/npm/v/arbeidsgiver-notifikasjon-widget.svg)](https://www.npmjs.com/package/arbeidsgiver-notifikasjon-widget) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com) + +## Install + +```bash +npm install --save arbeidsgiver-notifikasjon-widget +``` + +## Usage + +```tsx +import React, { Component } from 'react' + +import MyComponent from 'arbeidsgiver-notifikasjon-widget' +import 'arbeidsgiver-notifikasjon-widget/dist/index.css' + +class Example extends Component { + render() { + return + } +} +``` + +## License + +MIT © [navikt](https://github.com/navikt) diff --git a/example/README.md b/example/README.md new file mode 100644 index 0000000..2c638d8 --- /dev/null +++ b/example/README.md @@ -0,0 +1,5 @@ +This example was bootstrapped with [Create React App](https://github.com/facebook/create-react-app). + +It is linked to the arbeidsgiver-notifikasjon-widget package in the parent directory for development purposes. + +You can run `npm install` and then `npm start` to test your package. diff --git a/example/package.json b/example/package.json new file mode 100644 index 0000000..534fbba --- /dev/null +++ b/example/package.json @@ -0,0 +1,43 @@ +{ + "name": "arbeidsgiver-notifikasjon-widget-example", + "homepage": ".", + "version": "0.0.0", + "private": true, + "scripts": { + "start": "node ../node_modules/react-scripts/bin/react-scripts.js start", + "build": "node ../node_modules/react-scripts/bin/react-scripts.js build", + "test": "node ../node_modules/react-scripts/bin/react-scripts.js test", + "eject": "node ../node_modules/react-scripts/bin/react-scripts.js eject" + }, + "dependencies": { + "@testing-library/jest-dom": "file:../node_modules/@testing-library/jest-dom", + "@testing-library/react": "file:../node_modules/@testing-library/react", + "@testing-library/user-event": "file:../node_modules/@testing-library/user-event", + "@types/jest": "file:../node_modules/@types/jest", + "@types/node": "file:../node_modules/@types/node", + "@types/react": "file:../node_modules/@types/react", + "@types/react-dom": "file:../node_modules/@types/react-dom", + "arbeidsgiver-notifikasjon-widget": "file:..", + "react": "file:../node_modules/react", + "react-dom": "file:../node_modules/react-dom", + "react-scripts": "file:../node_modules/react-scripts" + }, + "devDependencies": { + "@babel/plugin-syntax-object-rest-spread": "^7.8.3" + }, + "eslintConfig": { + "extends": "react-app" + }, + "browserslist": { + "production": [ + ">0.2%", + "not dead", + "not op_mini all" + ], + "development": [ + "last 1 chrome version", + "last 1 firefox version", + "last 1 safari version" + ] + } +} diff --git a/example/public/favicon.ico b/example/public/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..a11777cc471a4344702741ab1c8a588998b1311a GIT binary patch literal 3870 zcma);c{J4h9>;%nil|2-o+rCuEF-(I%-F}ijC~o(k~HKAkr0)!FCj~d>`RtpD?8b; zXOC1OD!V*IsqUwzbMF1)-gEDD=A573Z-&G7^LoAC9|WO7Xc0Cx1g^Zu0u_SjAPB3vGa^W|sj)80f#V0@M_CAZTIO(t--xg= z!sii`1giyH7EKL_+Wi0ab<)&E_0KD!3Rp2^HNB*K2@PHCs4PWSA32*-^7d{9nH2_E zmC{C*N*)(vEF1_aMamw2A{ZH5aIDqiabnFdJ|y0%aS|64E$`s2ccV~3lR!u<){eS` z#^Mx6o(iP1Ix%4dv`t@!&Za-K@mTm#vadc{0aWDV*_%EiGK7qMC_(`exc>-$Gb9~W!w_^{*pYRm~G zBN{nA;cm^w$VWg1O^^<6vY`1XCD|s_zv*g*5&V#wv&s#h$xlUilPe4U@I&UXZbL z0)%9Uj&@yd03n;!7do+bfixH^FeZ-Ema}s;DQX2gY+7g0s(9;`8GyvPY1*vxiF&|w z>!vA~GA<~JUqH}d;DfBSi^IT*#lrzXl$fNpq0_T1tA+`A$1?(gLb?e#0>UELvljtQ zK+*74m0jn&)5yk8mLBv;=@}c{t0ztT<v;Avck$S6D`Z)^c0(jiwKhQsn|LDRY&w(Fmi91I7H6S;b0XM{e zXp0~(T@k_r-!jkLwd1_Vre^v$G4|kh4}=Gi?$AaJ)3I+^m|Zyj#*?Kp@w(lQdJZf4 z#|IJW5z+S^e9@(6hW6N~{pj8|NO*>1)E=%?nNUAkmv~OY&ZV;m-%?pQ_11)hAr0oAwILrlsGawpxx4D43J&K=n+p3WLnlDsQ$b(9+4 z?mO^hmV^F8MV{4Lx>(Q=aHhQ1){0d*(e&s%G=i5rq3;t{JC zmgbn5Nkl)t@fPH$v;af26lyhH!k+#}_&aBK4ba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O7I)Q$uZsV+xS4E7aUn+U(K baj7?x%VD!5Cxk2YbYLNVeiXvvpMCWYo=by@ literal 0 HcmV?d00001 diff --git a/example/public/index.html b/example/public/index.html new file mode 100644 index 0000000..c796c3b --- /dev/null +++ b/example/public/index.html @@ -0,0 +1,48 @@ + + + + + + + + + + + + + arbeidsgiver-notifikasjon-widget + + + + + +
+ + + + diff --git a/example/public/manifest.json b/example/public/manifest.json new file mode 100644 index 0000000..c99f7fc --- /dev/null +++ b/example/public/manifest.json @@ -0,0 +1,15 @@ +{ + "short_name": "arbeidsgiver-notifikasjon-widget", + "name": "arbeidsgiver-notifikasjon-widget", + "icons": [ + { + "src": "favicon.ico", + "sizes": "64x64 32x32 24x24 16x16", + "type": "image/x-icon" + } + ], + "start_url": ".", + "display": "standalone", + "theme_color": "#000000", + "background_color": "#ffffff" +} diff --git a/example/src/App.test.tsx b/example/src/App.test.tsx new file mode 100644 index 0000000..4bf1935 --- /dev/null +++ b/example/src/App.test.tsx @@ -0,0 +1,9 @@ +import React from 'react' +import ReactDOM from 'react-dom' +import App from './App' + +it('renders without crashing', () => { + const div = document.createElement('div') + ReactDOM.render(, div) + ReactDOM.unmountComponentAtNode(div) +}) diff --git a/example/src/App.tsx b/example/src/App.tsx new file mode 100644 index 0000000..f6e05bc --- /dev/null +++ b/example/src/App.tsx @@ -0,0 +1,10 @@ +import React from 'react' + +import { ExampleComponent } from 'arbeidsgiver-notifikasjon-widget' +import 'arbeidsgiver-notifikasjon-widget/dist/index.css' + +const App = () => { + return +} + +export default App diff --git a/example/src/index.css b/example/src/index.css new file mode 100644 index 0000000..e2bd8f3 --- /dev/null +++ b/example/src/index.css @@ -0,0 +1,14 @@ +body { + margin: 0; + padding: 0; + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', + 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', + sans-serif; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +code { + font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', + monospace; +} diff --git a/example/src/index.tsx b/example/src/index.tsx new file mode 100644 index 0000000..90b6253 --- /dev/null +++ b/example/src/index.tsx @@ -0,0 +1,7 @@ +import './index.css' + +import React from 'react' +import ReactDOM from 'react-dom' +import App from './App' + +ReactDOM.render(, document.getElementById('root')) diff --git a/example/src/react-app-env.d.ts b/example/src/react-app-env.d.ts new file mode 100644 index 0000000..6431bc5 --- /dev/null +++ b/example/src/react-app-env.d.ts @@ -0,0 +1 @@ +/// diff --git a/example/src/setupTests.ts b/example/src/setupTests.ts new file mode 100644 index 0000000..74b1a27 --- /dev/null +++ b/example/src/setupTests.ts @@ -0,0 +1,5 @@ +// jest-dom adds custom jest matchers for asserting on DOM nodes. +// allows you to do things like: +// expect(element).toHaveTextContent(/react/i) +// learn more: https://github.com/testing-library/jest-dom +import '@testing-library/jest-dom/extend-expect'; diff --git a/example/tsconfig.json b/example/tsconfig.json new file mode 100644 index 0000000..c4063c7 --- /dev/null +++ b/example/tsconfig.json @@ -0,0 +1,38 @@ +{ + "compilerOptions": { + "outDir": "dist", + "module": "esnext", + "lib": [ + "dom", + "esnext" + ], + "moduleResolution": "node", + "jsx": "react", + "sourceMap": true, + "declaration": true, + "esModuleInterop": true, + "noImplicitReturns": true, + "noImplicitThis": true, + "noImplicitAny": true, + "strictNullChecks": true, + "suppressImplicitAnyIndexErrors": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "allowSyntheticDefaultImports": true, + "target": "es5", + "allowJs": true, + "skipLibCheck": true, + "strict": true, + "forceConsistentCasingInFileNames": true, + "resolveJsonModule": true, + "isolatedModules": true, + "noEmit": true + }, + "include": [ + "src" + ], + "exclude": [ + "node_modules", + "build" + ] +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..254730c --- /dev/null +++ b/package.json @@ -0,0 +1,63 @@ +{ + "name": "arbeidsgiver-notifikasjon-widget", + "version": "1.0.0", + "description": "React component som viser notifikasjoner for innlogget arbeidsgiver.", + "author": "navikt", + "license": "MIT", + "repository": "navikt/arbeidsgiver-notifikasjon-widget", + "main": "dist/index.js", + "module": "dist/index.modern.js", + "source": "src/index.tsx", + "engines": { + "node": ">=10" + }, + "scripts": { + "build": "microbundle-crl --no-compress --format modern,cjs", + "start": "microbundle-crl watch --no-compress --format modern,cjs", + "prepare": "run-s build", + "test": "run-s test:unit test:lint test:build", + "test:build": "run-s build", + "test:lint": "eslint .", + "test:unit": "cross-env CI=1 react-scripts test --env=jsdom", + "test:watch": "react-scripts test --env=jsdom", + "predeploy": "cd example && npm install && npm run build", + "deploy": "gh-pages -d example/build" + }, + "peerDependencies": { + "react": "^16.0.0" + }, + "devDependencies": { + "@testing-library/jest-dom": "^4.2.4", + "@testing-library/react": "^9.5.0", + "@testing-library/user-event": "^7.2.1", + "@types/jest": "^25.1.4", + "@types/node": "^12.12.38", + "@types/react": "^16.9.27", + "@types/react-dom": "^16.9.7", + "@typescript-eslint/eslint-plugin": "^2.26.0", + "@typescript-eslint/parser": "^2.26.0", + "babel-eslint": "^10.0.3", + "cross-env": "^7.0.2", + "eslint": "^6.8.0", + "eslint-config-prettier": "^6.7.0", + "eslint-config-standard": "^14.1.0", + "eslint-config-standard-react": "^9.2.0", + "eslint-plugin-import": "^2.18.2", + "eslint-plugin-node": "^11.0.0", + "eslint-plugin-prettier": "^3.1.1", + "eslint-plugin-promise": "^4.2.1", + "eslint-plugin-react": "^7.17.0", + "eslint-plugin-standard": "^4.0.1", + "gh-pages": "^2.2.0", + "microbundle-crl": "^0.13.10", + "npm-run-all": "^4.1.5", + "prettier": "^2.0.4", + "react": "^16.13.1", + "react-dom": "^16.13.1", + "react-scripts": "^3.4.1", + "typescript": "^3.7.5" + }, + "files": [ + "dist" + ] +} diff --git a/src/.eslintrc b/src/.eslintrc new file mode 100644 index 0000000..55f121d --- /dev/null +++ b/src/.eslintrc @@ -0,0 +1,5 @@ +{ + "env": { + "jest": true + } +} diff --git a/src/index.test.tsx b/src/index.test.tsx new file mode 100644 index 0000000..a0f0449 --- /dev/null +++ b/src/index.test.tsx @@ -0,0 +1,7 @@ +import { ExampleComponent } from '.' + +describe('ExampleComponent', () => { + it('is truthy', () => { + expect(ExampleComponent).toBeTruthy() + }) +}) diff --git a/src/index.tsx b/src/index.tsx new file mode 100644 index 0000000..c06ff11 --- /dev/null +++ b/src/index.tsx @@ -0,0 +1,10 @@ +import * as React from 'react' +import styles from './styles.module.css' + +interface Props { + text: string +} + +export const ExampleComponent = ({ text }: Props) => { + return
Example Component: {text}
+} diff --git a/src/styles.module.css b/src/styles.module.css new file mode 100644 index 0000000..41006b5 --- /dev/null +++ b/src/styles.module.css @@ -0,0 +1,9 @@ +/* add css module styles here (optional) */ + +.test { + margin: 2em; + padding: 0.5em; + border: 2px solid #000; + font-size: 2em; + text-align: center; +} diff --git a/src/typings.d.ts b/src/typings.d.ts new file mode 100644 index 0000000..cd16102 --- /dev/null +++ b/src/typings.d.ts @@ -0,0 +1,17 @@ +/** + * Default CSS definition for typescript, + * will be overridden with file-specific definitions by rollup + */ +declare module '*.css' { + const content: { [className: string]: string }; + export default content; +} + +interface SvgrComponent extends React.StatelessComponent> {} + +declare module '*.svg' { + const svgUrl: string; + const svgComponent: SvgrComponent; + export default svgUrl; + export { svgComponent as ReactComponent } +} diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..52c2390 --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,22 @@ +{ + "compilerOptions": { + "outDir": "dist", + "module": "esnext", + "lib": ["dom", "esnext"], + "moduleResolution": "node", + "jsx": "react", + "sourceMap": true, + "declaration": true, + "esModuleInterop": true, + "noImplicitReturns": true, + "noImplicitThis": true, + "noImplicitAny": true, + "strictNullChecks": true, + "suppressImplicitAnyIndexErrors": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "allowSyntheticDefaultImports": true + }, + "include": ["src"], + "exclude": ["node_modules", "dist", "example"] +} diff --git a/tsconfig.test.json b/tsconfig.test.json new file mode 100644 index 0000000..65ffdd4 --- /dev/null +++ b/tsconfig.test.json @@ -0,0 +1,6 @@ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "module": "commonjs" + } +} \ No newline at end of file