Skip to content

Commit 23a0d88

Browse files
committed
chore: initial commit from template
0 parents  commit 23a0d88

24 files changed

+14162
-0
lines changed

.gitignore

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.ntli
2+
node_modules
3+
.cache
4+
dev-model.gql
5+
6+
# Local Netlify folder
7+
.netlify

README.md

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Netliclicker - a [Netlify Extension](https://sdk.netlify.com) game to play while deploying
2+
3+
## Make Your Own Game
4+
5+
Delete all the files from the `src/components` directory and start building your own game from scratch. The file you will name `Game.tsx` will be the main file for your game.
6+
7+
Before the launch of the game directory, you will need to add yourself to the feature flag to test games in the Netlify app. The feature flag is called `site_build_game_surface`.
8+
9+
**Remember to test in dark mode! And light mode!**
10+
11+
## Publish
12+
13+
Are you ready to deploy and publish your extension? Check out our documentation on [publishing your extension](https://developers.netlify.com/sdk/publish/).

assets/netlify-logo.png

4.16 KB
Loading

details.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Netliclicker
2+
3+
Install this extension to be able to play it while waiting for your site to deploy.
4+
5+
## Objective
6+
7+
Do some clickin'

extension.yaml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# yaml-language-server: $schema=https://sdk.netlify.com/sdk/config-schema.json
2+
config:
3+
slug: fixme
4+
name: Netliclicker
5+
scopes:
6+
site: ["read", "write"]
7+
ui: ["read", "write"]
8+
9+
# set this to true to add a global require shim to esbuild. Workaround for https://github.com/evanw/esbuild/issues/1921
10+
use_cjs_shims: false
11+
12+
ui:
13+
surfaces:
14+
- extension-site-build-game

netlify.toml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[build]
2+
command = "netlify-extension build"
3+
publish = ".ntli/site/static"
4+
5+
[dev]
6+
command = "netlify-extension dev"
7+
8+
[[plugins]]
9+
package = "@netlify/netlify-plugin-netlify-extension"

package.json

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"name": "netliclicker",
3+
"version": "0.0.1",
4+
"license": "UNLICENSED",
5+
"main": "src/index.ts",
6+
"type": "module",
7+
"scripts": {
8+
"build": "netlify-extension build --all",
9+
"dev": "netlify-extension dev --open",
10+
"dev-connector": "netlify-extension dev --connector"
11+
},
12+
"dependencies": {
13+
"@netlify/functions": "^3.0.0",
14+
"@netlify/sdk": "^2.24.2",
15+
"react": "^19.0.0",
16+
"react-dom": "^19.0.0"
17+
},
18+
"devDependencies": {
19+
"@netlify/netlify-plugin-netlify-extension": "^1.1.0",
20+
"@tsconfig/node18": "^18.2.4",
21+
"@tsconfig/recommended": "^1.0.8",
22+
"@tsconfig/strictest": "^2.0.5",
23+
"@tsconfig/vite-react": "^3.4.0",
24+
"@types/react": "^19.0.10",
25+
"@types/react-dom": "^19.0.4",
26+
"@vitejs/plugin-react": "^4.3.4",
27+
"autoprefixer": "^10.4.20",
28+
"netlify-cli": "^19.0.0",
29+
"tailwindcss": "^3.4.3",
30+
"typescript": "^5.8.2",
31+
"vite": "^6.2.0"
32+
}
33+
}

0 commit comments

Comments
 (0)