create-qwik 0.0.27 → 0.0.28

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,6 +1,6 @@
1
1
  {
2
2
  "name": "create-qwik",
3
- "version": "0.0.27",
3
+ "version": "0.0.28",
4
4
  "description": "Interactive CLI and API for generating Qwik projects.",
5
5
  "bin": "create-qwik",
6
6
  "main": "index.js",
@@ -5,16 +5,22 @@
5
5
  "scripts": {
6
6
  "build": "npm run typecheck && npm run build.client && npm run build.ssr",
7
7
  "build.client": "vite build",
8
- "build.ssr": "vite build --ssr src/entry.server.tsx",
8
+ "build.ssr": "vite build --ssr src/entry.ssr.tsx",
9
9
  "dev": "vite",
10
10
  "dev.ssr": "node --inspect node_modules/vite/bin/vite.js --mode ssr",
11
11
  "dev.debug": "node --inspect-brk node_modules/vite/bin/vite.js --mode ssr",
12
12
  "start": "npm run dev",
13
+ "lint": "eslint \"src/**/*.ts*\"",
13
14
  "typecheck": "tsc --noEmit"
14
15
  },
15
16
  "devDependencies": {
16
- "@builder.io/qwik": "0.0.27",
17
+ "@builder.io/qwik": "0.0.28",
18
+ "@types/eslint": "8.4.2",
17
19
  "@types/node": "latest",
20
+ "@typescript-eslint/eslint-plugin": "5.27.0",
21
+ "@typescript-eslint/parser": "5.27.0",
22
+ "eslint-plugin-qwik": "latest",
23
+ "eslint": "8.16.0",
18
24
  "node-fetch": "2.6.7",
19
25
  "typescript": "4.7.2",
20
26
  "vite": "2.9.9"
@@ -28,8 +28,7 @@
28
28
  "priority": -1,
29
29
  "selectServer": false,
30
30
  "featureOptions": [
31
- "prettier",
32
- "eslint"
31
+ "prettier"
33
32
  ]
34
33
  }
35
34
  }
@@ -4,7 +4,6 @@
4
4
  "priority": 1,
5
5
  "featureOptions": [
6
6
  "prettier",
7
- "eslint",
8
7
  "tailwindcss"
9
8
  ]
10
9
  },
@@ -1,10 +1,9 @@
1
1
  {
2
2
  "description": "Blank Qwik starter app.",
3
- "qwi__qwik__k": {
3
+ "__qwik__": {
4
4
  "priority": 0,
5
5
  "featureOptions": [
6
6
  "prettier",
7
- "eslint",
8
7
  "tailwindcss"
9
8
  ]
10
9
  }
@@ -4,7 +4,6 @@
4
4
  "priority": 0,
5
5
  "featureOptions": [
6
6
  "prettier",
7
- "eslint",
8
7
  "tailwindcss"
9
8
  ]
10
9
  }
@@ -7,7 +7,6 @@
7
7
  "priority": 0,
8
8
  "featureOptions": [
9
9
  "prettier",
10
- "eslint",
11
10
  "tailwindcss"
12
11
  ]
13
12
  }
@@ -56,7 +56,7 @@ export const App = component$(() => {
56
56
  Try interacting with this component by changing{' '}
57
57
  <input
58
58
  value={state.name}
59
- onKeyup$={(event) => {
59
+ onKeyUp$={(event) => {
60
60
  const input = event.target as HTMLInputElement;
61
61
  state.name = input.value;
62
62
  }}
@@ -18,7 +18,7 @@ export const Header = component$(
18
18
  placeholder="What needs to be done?"
19
19
  autoFocus
20
20
  value={state.text}
21
- onKeyup$={(event: any) => {
21
+ onKeyUp$={(event: any) => {
22
22
  const inputValue = (event.target as HTMLInputElement).value;
23
23
  state.text = inputValue;
24
24
  if (event.key === 'Enter' && inputValue) {
@@ -58,7 +58,7 @@ export const Item = component$(
58
58
  ref={editInput}
59
59
  value={props.item.title}
60
60
  onBlur$={() => (state.editing = false)}
61
- onKeyup$={(event: any) => {
61
+ onKeyUp$={(event: any) => {
62
62
  const inputValue = (event.target as HTMLInputElement).value;
63
63
  props.item.title = inputValue;
64
64
  if (event.key === 'Enter') {
@@ -1,28 +0,0 @@
1
- **/*.log
2
- **/.DS_Store
3
- *.
4
- .vscode/settings.json
5
- .history
6
- .yarn
7
- bazel-*
8
- bazel-bin
9
- bazel-out
10
- bazel-qwik
11
- bazel-testlogs
12
- dist
13
- dist-dev
14
- etc
15
- external
16
- node_modules
17
- temp
18
- tsc-out
19
- tsdoc-metadata.json
20
- target
21
- output
22
- rollup.config.js
23
- build
24
- .cache
25
- .vscode
26
- .rollup.cache
27
- dist
28
- tsconfig.tsbuildinfo
@@ -1,39 +0,0 @@
1
- module.exports = {
2
- env: {
3
- browser: true,
4
- es2021: true,
5
- node: true,
6
- },
7
- extends: [
8
- 'eslint:recommended',
9
- 'plugin:@typescript-eslint/recommended',
10
- 'plugin:qwik/recommended',
11
- ],
12
- parser: '@typescript-eslint/parser',
13
- parserOptions: {
14
- tsconfigRootDir: __dirname,
15
- project: ['./tsconfig.json'],
16
- ecmaVersion: 2021,
17
- sourceType: 'module',
18
- ecmaFeatures: {
19
- jsx: true,
20
- },
21
- },
22
- plugins: ['@typescript-eslint'],
23
- rules: {
24
- '@typescript-eslint/no-explicit-any': 'off',
25
- '@typescript-eslint/explicit-module-boundary-types': 'off',
26
- '@typescript-eslint/no-inferrable-types': 'off',
27
- '@typescript-eslint/no-non-null-assertion': 'off',
28
- '@typescript-eslint/no-empty-interface': 'off',
29
- '@typescript-eslint/no-namespace': 'off',
30
- '@typescript-eslint/no-empty-function': 'off',
31
- '@typescript-eslint/no-this-alias': 'off',
32
- '@typescript-eslint/ban-types': 'off',
33
- '@typescript-eslint/ban-ts-comment': 'off',
34
- 'prefer-spread': 'off',
35
- 'no-case-declarations': 'off',
36
- 'no-console': 'off',
37
- '@typescript-eslint/no-unused-vars': ['error'],
38
- },
39
- };
@@ -1,13 +0,0 @@
1
- {
2
- "description": "Eslint code linting.",
3
- "scripts": {
4
- "lint": "eslint \"**/*.ts*\""
5
- },
6
- "devDependencies": {
7
- "@types/eslint": "8.4.2",
8
- "@typescript-eslint/eslint-plugin": "5.27.0",
9
- "@typescript-eslint/parser": "5.27.0",
10
- "eslint-plugin-qwik": "latest",
11
- "eslint": "8.16.0"
12
- }
13
- }