foobara-empty-typescript-react-project-generator 0.0.1 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1286e91ba901f72d8f9f736e1b5cd2db051fd0166862f82f63a55b540ef091a1
4
- data.tar.gz: 37ffeae23c471ac91458209061c9aad77e8a71b6581cc6b3a31c7e28087c97eb
3
+ metadata.gz: 6868e43f6619b9b24990d71dfdb7d9eff332ac8770b2af04aed483b88684fda1
4
+ data.tar.gz: 5c2ee6300e9f4248e88f5428ab3692a1d5da435ce3ddcb8e175cbc956b8d8353
5
5
  SHA512:
6
- metadata.gz: b9a80685008c19d563d6fd49d4230e085b74b2d572295810577ea7eabe4ee6beca28ca205988f4713d0673b6ad45b0a1ba94c2077138994cbc11c3967586d01d
7
- data.tar.gz: 5fa61c002e65d3d75deef9838c55659a80bca7a8ed4e674029f10461a1f5f8bcb0d720c20660dc50a286965793b8fa7974251d9924c06662a63af9847ca42fed
6
+ metadata.gz: eb32ddf157e53e8fde840b8daf47500bd9f9f96e57790749bf075cf33e62f36eee02cc5071a569b800c65858e5703ff3c3ab73e97fd532e4dd151f6c91c01f62
7
+ data.tar.gz: ca53360a14e98eb82bd9e9a9ba08feefc99ded986c8101705576e522db6ee410644ae05c1b7bb3953f25105a36a19274a18ef893204987c7e998643ae958b7b0
data/CHANGELOG.md CHANGED
@@ -1,4 +1,12 @@
1
- ## [0.0.0] - 2024-06-17
1
+ ## [0.0.3] - 2024-06-21
2
+
3
+ - Include hidden template files/directories in gem
4
+
5
+ ## [0.0.2] - 2024-06-21
6
+
7
+ - Include templates in gem
8
+
9
+ ## [0.0.1] - 2024-06-17
2
10
 
3
11
  - Add Apache-2.0 license
4
12
 
data/templates/.env ADDED
@@ -0,0 +1 @@
1
+ REACT_APP_FOOBARA_GLOBAL_URL_BASE=http://localhost:9292
@@ -0,0 +1,43 @@
1
+ module.exports = {
2
+ "env": {
3
+ "browser": true,
4
+ "es2021": true
5
+ },
6
+ "extends": [
7
+ "standard-with-typescript",
8
+ "plugin:react/recommended"
9
+ ],
10
+ "overrides": [
11
+ {
12
+ "env": {
13
+ "node": true
14
+ },
15
+ "files": [
16
+ ".eslintrc.{js,cjs}"
17
+ ],
18
+ "parserOptions": {
19
+ "sourceType": "script"
20
+ }
21
+ }
22
+ ],
23
+ parser: '@typescript-eslint/parser',
24
+ "parserOptions": {
25
+ "ecmaVersion": "latest",
26
+ project: ['./tsconfig.json'],
27
+ "sourceType": "module"
28
+ },
29
+ "plugins": [
30
+ "react"
31
+ ],
32
+ settings: {
33
+ react: {
34
+ version: "detect"
35
+ },
36
+ },
37
+ "rules": {
38
+ "@typescript-eslint/explicit-function-return-type": "off",
39
+ "@typescript-eslint/triple-slash-reference": "off",
40
+ "@typescript-eslint/explicit-function-return-type": "off",
41
+ "@typescript-eslint/no-floating-promises": "off",
42
+ }
43
+ }
@@ -0,0 +1,18 @@
1
+ name: tests
2
+ on: push
3
+ jobs:
4
+ tests:
5
+ runs-on: ubuntu-latest
6
+ name: run test suite
7
+ steps:
8
+ - uses: actions/checkout@v2
9
+ - name: Use Node.js
10
+ if: always()
11
+ uses: actions/setup-node@v2
12
+ with:
13
+ # how to grab this from .nvmrc??
14
+ node-version: "20.9"
15
+ - name: Install dependencies
16
+ run: npm install
17
+ - name: Run test
18
+ run: npm run test
@@ -0,0 +1,26 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "es6",
4
+ "lib": [
5
+ "dom",
6
+ "dom.iterable",
7
+ "esnext"
8
+ ],
9
+ "allowJs": true,
10
+ "skipLibCheck": true,
11
+ "esModuleInterop": true,
12
+ "allowSyntheticDefaultImports": true,
13
+ "strict": true,
14
+ "forceConsistentCasingInFileNames": true,
15
+ "noFallthroughCasesInSwitch": true,
16
+ "module": "CommonJS",
17
+ "moduleResolution": "node",
18
+ "resolveJsonModule": true,
19
+ "isolatedModules": true,
20
+ "noEmit": true,
21
+ "jsx": "react-jsx"
22
+ },
23
+ "include": [
24
+ "src"
25
+ ]
26
+ }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foobara-empty-typescript-react-project-generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miles Georgi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-17 00:00:00.000000000 Z
11
+ date: 2024-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: foobara
@@ -55,6 +55,10 @@ files:
55
55
  - src/empty_typescript_react_project_generator.rb
56
56
  - src/generate_empty_typescript_react_project.rb
57
57
  - src/write_empty_typescript_react_project_to_disk.rb
58
+ - templates/.env
59
+ - templates/.eslintrc.js
60
+ - templates/.github/workflows/tests.yml
61
+ - templates/tsconfig.json
58
62
  homepage: https://github.com/foobara/generators-empty-typescript-react-project-generator
59
63
  licenses:
60
64
  - Apache-2.0