Skip to content

Commit ba07ebb

Browse files
committed
Rename 'apps' to 'examples'
1 parent c39e7b5 commit ba07ebb

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+840
-529
lines changed

.eslintrc.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ module.exports = {
2929
node: true,
3030
},
3131
ignorePatterns: [
32-
'apps',
3332
'build',
3433
'coverage',
3534
'dist',
35+
'examples',
3636
'lib',
3737
'node_modules',
3838
'next-env.d.ts',

.github/CONTRIBUTING.md

+1-1

README.md

+2-2
File renamed without changes.
File renamed without changes.

apps/example-cli/package.json examples/example-cli/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"name": "example-cli",
44
"version": "0.11.1",
55
"scripts": {
6-
"transform": "stylex --config .stylex.json5"
6+
"example:build": "stylex --config .stylex.json5"
77
},
88
"dependencies": {
99
"@stylexjs/open-props": "0.11.1",
File renamed without changes.
File renamed without changes.
File renamed without changes.

apps/example-esbuild/package.json examples/example-esbuild/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"description": "Simple esbuild example for @stylexjs/esbuild-plugin",
66
"main": "src/App.jsx",
77
"scripts": {
8-
"app:build": "node scripts/build.mjs",
9-
"app:lint": "eslint \"**/*.{js,jsx}\""
8+
"example:build": "node scripts/build.mjs",
9+
"example:lint": "eslint \"**/*.{js,jsx}\""
1010
},
1111
"license": "MIT",
1212
"dependencies": {
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

apps/example-nextjs/package.json examples/example-nextjs/package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@
44
"version": "0.11.1",
55
"scripts": {
66
"clean": "rimraf .next",
7-
"app:build": "next build",
8-
"app:dev": "next dev",
9-
"app:start": "next start",
10-
"app:lint": "next lint"
7+
"example:build": "next build",
8+
"example:dev": "next dev",
9+
"example:lint": "next lint",
10+
"example:start": "next start"
1111
},
1212
"dependencies": {
1313
"@stylexjs/stylex": "0.11.1",
1414
"@stylexjs/open-props": "0.11.1",
15+
"next": "14.2.21",
1516
"react": "^18.3.0",
16-
"react-dom": "^18.3.0",
17-
"next": "14.2.21"
17+
"react-dom": "^18.3.0"
1818
},
1919
"devDependencies": {
2020
"@stylexjs/eslint-plugin": "0.11.1",
File renamed without changes.
File renamed without changes.

apps/example-rollup/package.json examples/example-rollup/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"description": "A simple rollup example to test stylexjs/rollup-plugin",
66
"main": "index.js",
77
"scripts": {
8-
"app:build": "rollup --config ./rollup.config.mjs",
9-
"app:dev": "rollup --config ./rollup.config.mjs --watch"
8+
"example:build": "rollup --config ./rollup.config.mjs",
9+
"example:dev": "rollup --config ./rollup.config.mjs --watch"
1010
},
1111
"license": "MIT",
1212
"dependencies": {
File renamed without changes.
File renamed without changes.
File renamed without changes.

apps/example-webpack/package.json examples/example-webpack/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"description": "A simple webpack example to test stylexjs/webpack-plugin",
66
"main": "index.js",
77
"scripts": {
8-
"app:build": "webpack",
9-
"app:dev": "webpack --watch"
8+
"example:build": "webpack",
9+
"example:dev": "webpack --watch"
1010
},
1111
"license": "MIT",
1212
"dependencies": {

0 commit comments

Comments
 (0)