Skip to content

Commit

Permalink
Merge pull request #1 from AtidaTech/release-0.1.0
Browse files Browse the repository at this point in the history
Initial commit of Release 0.1.0
  • Loading branch information
fciacchi committed Oct 29, 2023
2 parents c22574d + e11390b commit 5d6d28c
Show file tree
Hide file tree
Showing 12 changed files with 5,614 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/javascript-node
{
"name": "Node.js",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/javascript-node:0-18-bullseye",
"features": {
"ghcr.io/devcontainers-contrib/features/jshint:2": {}
},

// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "npm i",

// Configure tool-specific properties.
"customizations": {
// Configure properties specific to VS Code.
"vscode": {
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"streetsidesoftware.code-spell-checker"
]
}
}

// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}
7 changes: 7 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
CMS_MANAGEMENT_TOKEN=placeholder-management-token
CMS_SPACE_ID=placeholder-space-id
CMS_RELEASE_MAX_SCHEDULED_ACTIONS=500
CMS_RELEASE_SYNC_DB=./cli-release.db
CMS_RELEASE_SYNC_CONFIG=./cli-release-config.js
CMS_RELEASE_ENVIRONMENT_PROTECTED=dev,staging,master
CMS_RELEASE_ENVIRONMENT_REGEX=release-[0-9]+[\\.]*[0-9]*[\\.]*[0-9]*
73 changes: 73 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
{
"parser": "@typescript-eslint/parser",
"reportUnusedDisableDirectives": false,
"extends": [
"plugin:import/errors",
"plugin:import/warnings",
"plugin:prettier/recommended",
"plugin:jsx-a11y/recommended"
],
"env": {
"jest": true
},
"plugins": [
"@typescript-eslint",
"react",
"react-hooks",
"import",
"jsx-a11y"
],
"rules": {
"import/no-extraneous-dependencies": ["error", { "devDependencies": true }],
"import/extensions": [
"error",
"never",
{
"json": "always",
"svg": "always",
"mock": "always",
"js": "always"
}
],
"import/no-unresolved": "off",
"jsx-a11y/anchor-is-valid": [
"error",
{
"components": ["Link"],
"specialLink": ["hrefLeft", "hrefRight"],
"aspects": ["invalidHref", "preferButton"]
}
], // next/link api incompatible with no-href aspect
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn"
},
"settings": {
"import/parser": "@typescript-eslint/parser",
"import/resolver": {
"node": {
"extensions": [".js", ".ts", ".tsx"]
}
}
},
"overrides": [
{
"files": ["*.ts", "*.tsx"],
"extends": [
"plugin:@typescript-eslint/recommended"
],
"rules": {
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-unused-vars": [
"error",
{
"vars": "all",
"args": "after-used",
"ignoreRestSiblings": true,
"argsIgnorePattern": "^_"
}
],
"@typescript-eslint/no-extra-semi": "off" // conflicts with prettier
}
}
]
}
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
build/*
export*
export/
export/*
migrations/
migrations/*
node_modules/*
.DS_Store
.env.*
test.js
test*.js
13 changes: 13 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.devcontainer/devcontainer.json
.vscode/settings.json
build/*
export*
export/
export/*
migrations/
migrations/*
node_modules/*
.DS_Store
.env.*
test.js
test*.js
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
engine-strict=true
8 changes: 8 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"semi": false,
"singleQuote": true,
"trailingComma": "none",
"bracketSpacing": true,
"bracketSameLine": false,
"arrowParens": "avoid"
}
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"cSpell.words": [
"contentful"
]
}

0 comments on commit 5d6d28c

Please sign in to comment.