-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "chore: added remix.init to the template gitignore just in case"
This reverts commit 2b06336.
- Loading branch information
Showing
5 changed files
with
409 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
node_modules | ||
dist | ||
reports | ||
postcss.config.js | ||
remix.config.js | ||
.eslintrc.js | ||
cdk.* | ||
**/tsconfig*.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
/** @type {import('eslint').Linter.Config} */ | ||
module.exports = { | ||
env: { | ||
commonjs: false, | ||
es6: true, | ||
node: true | ||
}, | ||
extends: [ | ||
'tailored-tunes', | ||
'plugin:json/recommended', | ||
'plugin:security/recommended', | ||
'plugin:@typescript-eslint/recommended', | ||
'@remix-run/eslint-config', | ||
'@remix-run/eslint-config/node', | ||
'plugin:i18next/recommended', | ||
'plugin:sonarjs/recommended' | ||
], | ||
overrides: [ | ||
{ | ||
files: [ | ||
'**/*.test.ts', | ||
'**/*.test.tsx', | ||
'test/**/*.ts', | ||
'test/**/*.tsx' | ||
], | ||
rules: { | ||
'@typescript-eslint/no-non-null-assertion': 'off', | ||
'@typescript-eslint/no-empty-function': 'off', | ||
'@typescript-eslint/ban-ts-comment': 'off', | ||
'no-use-before-define': 'off', | ||
'max-nested-callbacks': 'off', | ||
'sonarjs/no-duplicate-string': 'off' | ||
} | ||
} | ||
], | ||
parser: '@typescript-eslint/parser', | ||
parserOptions: { | ||
sourceType: 'module', | ||
ecmaVersion: 'latest', | ||
ecmaFeatures: { | ||
jsx: true | ||
}, | ||
project: ['./tsconfig.json', './.storybook/tsconfig.json'] | ||
}, | ||
settings: { | ||
jest: { | ||
version: 28 | ||
} | ||
}, | ||
plugins: [ | ||
'i18next', | ||
'json', | ||
'@typescript-eslint', | ||
'sonarjs' | ||
], | ||
root: true, | ||
rules: { | ||
'import/order': [ | ||
2, | ||
{ | ||
alphabetize: { | ||
caseInsensitive: false, | ||
order: 'asc' | ||
}, | ||
groups: [ | ||
'builtin', | ||
'external', | ||
'internal', | ||
'parent', | ||
'sibling', | ||
'index', | ||
'type' | ||
], | ||
pathGroups: [ | ||
{ | ||
pattern: 'react', | ||
group: 'external', | ||
position: 'before' | ||
} | ||
], | ||
pathGroupsExcludedImportTypes: ['type'] | ||
} | ||
], | ||
'sonarjs/no-duplicate-string': 'off', | ||
'no-continue': 'off', | ||
'dot-notation': 'error', | ||
'@typescript-eslint/dot-notation': 'error', | ||
'no-console': 'off', | ||
'no-warning-comments': 'warn', | ||
'no-unused-vars': 'off', | ||
'security/detect-object-injection': 0, | ||
'security/detect-non-literal-fs-filename': 0, | ||
'no-underscore-dangle': [ | ||
'error', | ||
{ | ||
'allow': [ | ||
'__dirname', | ||
'__filename' | ||
] | ||
} | ||
] | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,243 @@ | ||
{ | ||
"version": "0.0.0-dev", | ||
"name": "remix-trance-stack", | ||
"private": true, | ||
"sideEffects": false, | ||
"license": "MIT", | ||
"publishConfig": { | ||
"ignore": [ | ||
"*.ts", | ||
"!*.d.ts", | ||
".cdk.staging", | ||
"cdk.out", | ||
"cdk.context.json", | ||
"deployment.result.json", | ||
"deploymentSummary.md" | ||
] | ||
}, | ||
"scripts": { | ||
"build": "remix build", | ||
"ci": "run-s build && run-p lint report cpd", | ||
"clean": "run-p clean:basics clean:remix clean:deployments", | ||
"clean:all": "run-s clean:basics clean:remix clean:deployments clean:node", | ||
"clean:basics": "rimraf .cache storybook-static reports", | ||
"clean:deployments": "rimraf deployment.result.json deploymentSummary.md cdk.out .cdk.staging", | ||
"clean:node": "rimraf node_modules", | ||
"clean:remix": "rimraf public/build server/index.js server/index.mjs server/*.map server/node_modules remix.init/node_modules", | ||
"cpd": "jscpd", | ||
"delete:ephemeral": "cdk destroy remix-trance-stack-ephemeral --require-approval never --force", | ||
"deploy:cdk": "npx cdk deploy remix-trance-stack-deployment --require-approval never -O deployment.result.json", | ||
"deploy:dev": "run-s build deploy:ephemeral", | ||
"deploy:ephemeral": "npx cdk deploy remix-trance-stack-ephemeral --require-approval never -O deployment.result.json", | ||
"deploy:prod": "run-s build deploy:cdk", | ||
"dev": "run-p dev:remix dev:arc", | ||
"dev:arc": "wait-on -l ./server/index.js && cross-env NODE_ENV=development arc sandbox -p 3000", | ||
"dev:remix": "cross-env NODE_ENV=development remix watch", | ||
"int": "playwright test", | ||
"lint": "run-p \"lint:*\"", | ||
"lint:css": "postcss src/**/*.css -d .cache/postcss && rimraf .cache/postcss", | ||
"lint:eslint": "eslint --ext .ts,.tsx,.json **/*.{ts,tsx,json}", | ||
"lint:typecheck": "tsc", | ||
"playwright:install": "playwright install --with-deps", | ||
"postinstall": "remix-esbuild-override", | ||
"prepack": "npmignore --auto", | ||
"prepare": "lefthook install 1>/dev/null 2>/dev/null || true", | ||
"release": "semantic-release", | ||
"report": "vitest --coverage", | ||
"storybook": "run-s storybook:serve", | ||
"storybook:build": "storybook build", | ||
"storybook:deploy": "gh-pages -d storybook-static -m 'chore(deploy): storybook to gh-pages'", | ||
"storybook:serve": "storybook dev -p 6005", | ||
"test": "run-p test:*", | ||
"test:unit": "vitest", | ||
"validate": "run-s \"validate:unit\"", | ||
"validate:e2e": "run-s \"playwright:install\" int", | ||
"validate:unit": "run-s ci" | ||
}, | ||
"dependencies": { | ||
"@aws-sdk/smithy-client": "^3.0.0", | ||
"@aws-sdk/types": "^3.0.0", | ||
"@remix-run/architect": "^1.14.1", | ||
"@remix-run/node": "^1.14.1", | ||
"@remix-run/react": "^1.14.1", | ||
"@remix-run/server-runtime": "^1.14.1", | ||
"@sentry/remix": "^7.40.0", | ||
"@sentry/serverless": "^7.40.0", | ||
"@splitsoftware/splitio": "^10.22.3", | ||
"auth0-remix-server": "^1.0.0", | ||
"aws-cdk-lib": "^2.66.0", | ||
"constructs": "^10.1.257", | ||
"cross-env": "^7.0.3", | ||
"csp-header": "^5.1.0", | ||
"esbuild": "^0.17.10", | ||
"i18next": "^22.4.9", | ||
"i18next-browser-languagedetector": "^7.0.1", | ||
"i18next-fs-backend": "^2.1.1", | ||
"i18next-http-backend": "^2.1.1", | ||
"isbot": "^3.6.6", | ||
"jose": "^4.12.0", | ||
"mixpanel-browser": "^2.45.0", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"react-i18next": "^12.1.5", | ||
"remix-auth": "^3.4.0", | ||
"remix-auth-auth0": "^1.5.1", | ||
"remix-i18next": "^5.0.0", | ||
"uuid": "^9.0.0" | ||
}, | ||
"devDependencies": { | ||
"@actions/core": "^1.10.0", | ||
"@actions/github": "^5.1.1", | ||
"@architect/architect": "^10.10.2", | ||
"@aws-cdk/aws-apigatewayv2-alpha": "2.66.0-alpha.0", | ||
"@aws-cdk/aws-apigatewayv2-integrations-alpha": "2.66.0-alpha.0", | ||
"@babel/core": "^7.20.12", | ||
"@babel/preset-env": "^7.20.2", | ||
"@babel/preset-react": "^7.18.6", | ||
"@babel/preset-typescript": "^7.21.0", | ||
"@commitlint/cli": "17.4.4", | ||
"@commitlint/config-conventional": "17.4.4", | ||
"@commitlint/prompt-cli": "17.4.4", | ||
"@evilmartians/lefthook": "^1.3.3", | ||
"@jscpd/badge-reporter": "^3.4.5", | ||
"@jscpd/html-reporter": "^3.5.3", | ||
"@meza/adr-tools": "^1.0.10", | ||
"@playwright/test": "^1.30.0", | ||
"@remix-run/dev": "^1.14.1", | ||
"@remix-run/eslint-config": "^1.14.1", | ||
"@remix-run/serve": "^1.14.1", | ||
"@remix-run/testing": "^1.14.1", | ||
"@semantic-release/commit-analyzer": "^9.0.2", | ||
"@semantic-release/github": "^8.0.7", | ||
"@semantic-release/release-notes-generator": "^10.0.3", | ||
"@storybook/addon-a11y": "^7.0.0-rc.1", | ||
"@storybook/addon-actions": "^7.0.0-rc.1", | ||
"@storybook/addon-controls": "^7.0.0-rc.1", | ||
"@storybook/addon-docs": "^7.0.0-rc.1", | ||
"@storybook/addon-essentials": "^7.0.0-rc.1", | ||
"@storybook/addon-interactions": "^7.0.0-rc.1", | ||
"@storybook/addon-links": "^7.0.0-rc.1", | ||
"@storybook/addon-postcss": "^2.0.0", | ||
"@storybook/addons": "^7.0.0-rc.1", | ||
"@storybook/api": "^7.0.0-rc.1", | ||
"@storybook/blocks": "^7.0.0-rc.1", | ||
"@storybook/components": "^7.0.0-rc.1", | ||
"@storybook/core-events": "^7.0.0-rc.1", | ||
"@storybook/manager-api": "^7.0.0-rc.1", | ||
"@storybook/react": "^7.0.0-rc.1", | ||
"@storybook/react-webpack5": "^7.0.0-rc.1", | ||
"@storybook/testing-library": "^0.0.14-next.1", | ||
"@storybook/theming": "^7.0.0-rc.1", | ||
"@testing-library/dom": "^9.0.0", | ||
"@testing-library/jest-dom": "^5.16.5", | ||
"@testing-library/react": "^14.0.0", | ||
"@testing-library/user-event": "^14.4.3", | ||
"@types/is-ci": "^3.0.0", | ||
"@types/jsdom": "^21.1.0", | ||
"@types/mixpanel-browser": "^2.38.1", | ||
"@types/node": "^18.13.0", | ||
"@types/react": "^18.0.25", | ||
"@types/react-dom": "^18.0.8", | ||
"@types/testing-library__jest-dom": "^5.14.5", | ||
"@types/uuid": "^9.0.0", | ||
"@types/webpack": "^5.28.0", | ||
"@typescript-eslint/eslint-plugin": "5.55.0", | ||
"@typescript-eslint/parser": "5.55.0", | ||
"@vitejs/plugin-react": "^3.1.0", | ||
"@vitest/coverage-c8": "^0.28.5", | ||
"autoprefixer": "^10.4.13", | ||
"aws-cdk": "^2.66.0", | ||
"c8": "7.13.0", | ||
"colorguard": "^1.2.1", | ||
"config-ini-parser": "^1.6.1", | ||
"cssnano": "^5.1.14", | ||
"doiuse": "^4.4.1", | ||
"esbuild-copy-static-files": "^0.1.0", | ||
"esbuild-plugin-env": "^1.0.5", | ||
"esbuild-plugin-environment": "^0.2.4", | ||
"eslint": "^8.27.0", | ||
"eslint-config-tailored-tunes": "5.0.2", | ||
"eslint-gitignore": "^0.1.0", | ||
"eslint-plugin-i18next": "^6.0.0-2", | ||
"eslint-plugin-import": "^2.27.5", | ||
"eslint-plugin-json": "3.1.0", | ||
"eslint-plugin-security": "1.7.1", | ||
"eslint-plugin-sonarjs": "^0.18.0", | ||
"eslint-plugin-storybook": "^0.6.10", | ||
"happy-dom": "^8.4.0", | ||
"is-ci": "^3.0.1", | ||
"jscpd": "^3.5.3", | ||
"jsdom": "^21.1.0", | ||
"npm-run-all": "^4.1.5", | ||
"npmignore": "^0.3.0", | ||
"postcss": "^8.4.21", | ||
"postcss-advanced-variables": "^3.0.1", | ||
"postcss-cli": "^10.1.0", | ||
"postcss-custom-media": "^9.1.2", | ||
"postcss-nested": "^6.0.0", | ||
"postcss-preset-env": "^8.0.1", | ||
"postcss-reporter": "^7.0.5", | ||
"postcss-scss": "^4.0.6", | ||
"postcss-sorting": "^8.0.1", | ||
"react-docgen-typescript": "^2.2.2", | ||
"reflect-metadata": "^0.1.13", | ||
"remix-esbuild-override": "^3.0.4", | ||
"require-from-string": "^2.0.2", | ||
"rimraf": "^4.3.0", | ||
"semantic-release": "^20.1.0", | ||
"semantic-release-export-data": "^1.0.1", | ||
"storybook": "^7.0.0-rc.1", | ||
"storybook-addon-themes": "^6.1.0", | ||
"storybook-dark-mode-v7": "^3.0.0-alpha.0", | ||
"stylelint": "^15.1.0", | ||
"stylelint-config-standard": "^30.0.1", | ||
"stylelint-order": "^6.0.2", | ||
"ts-node": "^10.9.1", | ||
"tsconfig-paths": "^4.1.2", | ||
"tsconfig-paths-webpack-plugin": "^4.0.0", | ||
"typescript": "^4.9.5", | ||
"vite": "^4.1.1", | ||
"vite-tsconfig-paths": "^4.0.5", | ||
"vitest": "^0.28.5", | ||
"wait-on": "^7.0.1", | ||
"webpack": "^5.75.0" | ||
}, | ||
"browserslist": [ | ||
">0.2%", | ||
"not dead", | ||
"not op_mini all" | ||
], | ||
"commitlint": { | ||
"extends": [ | ||
"@commitlint/config-conventional" | ||
], | ||
"rules": { | ||
"header-max-length": [ | ||
0, | ||
"always", | ||
100 | ||
] | ||
} | ||
}, | ||
"jscpd": { | ||
"output": "./reports/jscpd", | ||
"pattern": "src/**/*.{js,jsx,ts,tsx}", | ||
"threshold": 0.1, | ||
"reporters": [ | ||
"html", | ||
"console", | ||
"badge", | ||
"markdown" | ||
], | ||
"ignore": [ | ||
"**/__snapshots__/**", | ||
"**/*.test.(tsx|ts)" | ||
], | ||
"absolute": true, | ||
"gitignore": true, | ||
"exitCode": 1 | ||
}, | ||
"engines": { | ||
"node": ">=18" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,6 @@ storybook-static | |
server/index.js.map | ||
server/index.js | ||
public/build | ||
remix.init | ||
|
||
# ARC | ||
sam.json | ||
|
Oops, something went wrong.